const syscall.O_CLOEXEC
12 uses
syscall (current package)
exec_linux.go#L569: _, _, err1 = RawSyscall(SYS_DUP3, uintptr(pipe), uintptr(nextfd), O_CLOEXEC)
exec_linux.go#L581: _, _, err1 = RawSyscall(SYS_DUP3, uintptr(fd[i]), uintptr(nextfd), O_CLOEXEC)
forkpipe2.go#L14: return Pipe2(p, O_CLOEXEC)
zerrors_linux_amd64.go#L623: O_CLOEXEC = 0x80000
internal/poll
splice_linux.go#L226: if err := syscall.Pipe2(fds[:], syscall.O_CLOEXEC|syscall.O_NONBLOCK); err != nil {
os
file_unix.go#L260: r, s, e = open(name, flag|syscall.O_CLOEXEC, syscallMode(perm))
file_unix.go#L290: r, s, e = open(name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY, 0)
pipe2_unix.go#L16: e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
root_unix.go#L27: fd, _, err = open(name, syscall.O_CLOEXEC, 0)
root_unix.go#L67: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC, 0)
root_unix.go#L85: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC|flag, uint32(perm))
root_unix.go#L116: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC|syscall.O_DIRECTORY, 0)