/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | opendir.c | 55 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0) return(0); 58 #if !O_cloexec
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tvtouch.c | 150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch() 254 if ((fd = open(path, O_RDWR|O_cloexec)) >= 0) in tvtouch() 274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso-fcntl.c | 120 …if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexe…
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
|
H A D | readlink.c | 48 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0)
|
H A D | symlink.c | 48 …if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IW…
|
H A D | syslog.c | 271 if ((log.fd = open(s, O_WRONLY|O_APPEND|O_NOCTTY|O_cloexec)) < 0 && (log.fd = sockopen(s)) < 0) 273 #if !O_cloexec
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | _sfopen.c | 84 #if !O_cloexec 172 oflags |= O_cloexec;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vec/ |
H A D | vecfile.c | 48 if ((fd = open(file, O_RDONLY|O_cloexec)) >= 0) in vecfile()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | setenviron.c | 84 close(open(".", O_RDONLY|O_cloexec)); in setenviron()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astwinsize.c | 132 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0) in ttctl()
|
H A D | astlicense.c | 39 #ifndef O_cloexec 41 #define O_cloexec 0 macro 43 #define O_cloexec 0 macro 456 if ((i = open(file, O_RDONLY|O_cloexec)) < 0) in push() 466 i = open(file, O_RDONLY|O_cloexec); in push()
|
H A D | astconf.c | 1154 if (streq(p->name, "RELEASE") && (i = open("/proc/version", O_RDONLY|O_cloexec)) >= 0) in print()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | tee.c | 113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY|O_cloexec; in b_tee()
|
H A D | cp.c | 453 if (S_ISLNK(st.st_mode) && (n = -1) || (n = open(state->path, O_RDWR|O_BINARY|O_cloexec)) >= 0) in visit() 593 if (ent->fts_statp->st_size > 0 && (rfd = open(ent->fts_path, O_RDONLY|O_BINARY|O_cloexec)) < 0) in visit() 598 …n(state->path, (st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags)|O_cloexec, ent->fts_statp-… in visit()
|
H A D | rm.c | 287 if ((n = open(path, O_WRONLY|O_cloexec)) < 0) in rm()
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|