diff options
author | Theo Schlossnagle <jesus@omniti.com> | 2013-03-31 04:00:15 +0000 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2013-04-03 17:34:56 -0400 |
commit | b075ad5b007248d50e4c2e838b460c9c7cfd9fad (patch) | |
tree | 2df4132aec9c5613e95766e82631e06c8b048d1f /usr/src/uts/common/sys/file.h | |
parent | 3cc3202e63472d673bcac160bfb86d1865dd9fe7 (diff) | |
download | illumos-joyent-b075ad5b007248d50e4c2e838b460c9c7cfd9fad.tar.gz |
3665 Implement O_CLOEXEC as an open() flag
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/sys/file.h')
-rw-r--r-- | usr/src/uts/common/sys/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/file.h b/usr/src/uts/common/sys/file.h index f402bc7079..03acc088c2 100644 --- a/usr/src/uts/common/sys/file.h +++ b/usr/src/uts/common/sys/file.h @@ -26,6 +26,8 @@ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ +/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */ + #ifndef _SYS_FILE_H #define _SYS_FILE_H @@ -113,6 +115,8 @@ typedef struct fpollinfo { #define FSEARCH 0x200000 /* O_SEARCH = 0x200000 */ #define FEXEC 0x400000 /* O_EXEC = 0x400000 */ +#define FCLOEXEC 0x800000 /* O_CLOEXEC = 0x800000 */ + #ifdef _KERNEL /* |