diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-11-01 13:11:07 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-01 13:11:07 +0300 |
commit | e87a3dd33eab30b4db539500064a9584867e4f2c (patch) | |
tree | 2f7ad16e46ae30518ff63bb5391b63f7f7cc74dd /include/asm-generic/fcntl.h | |
parent | b14f5de731ae657d498d18d713c6431bfbeefb4b (diff) | |
parent | 3d00941371a765779c4e3509214c7e5793cce1fe (diff) | |
download | linux-e87a3dd33eab30b4db539500064a9584867e4f2c.tar.xz |
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'include/asm-generic/fcntl.h')
-rw-r--r-- | include/asm-generic/fcntl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index 4d3e48373e74..0c3dd8603927 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h @@ -73,6 +73,19 @@ #define F_SETSIG 10 /* for sockets. */ #define F_GETSIG 11 /* for sockets. */ #endif +#ifndef F_SETOWN_EX +#define F_SETOWN_EX 12 +#define F_GETOWN_EX 13 +#endif + +#define F_OWNER_TID 0 +#define F_OWNER_PID 1 +#define F_OWNER_GID 2 + +struct f_owner_ex { + int type; + pid_t pid; +}; /* for F_[GET|SET]FL */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ |