Add several fcntl flags.
Differential Revision: https://reviews.freebsd.org/D1088 Reviewed by: trasz
This commit is contained in:
parent
db8a000521
commit
c7d9312243
@ -91,6 +91,33 @@
|
||||
#define LINUX_F_SETOWN 8
|
||||
#define LINUX_F_GETOWN 9
|
||||
#endif
|
||||
#ifndef LINUX_F_SETSIG
|
||||
#define LINUX_F_SETSIG 10
|
||||
#define LINUX_F_GETSIG 11
|
||||
#endif
|
||||
#ifndef LINUX_F_SETOWN_EX
|
||||
#define LINUX_F_SETOWN_EX 15
|
||||
#define LINUX_F_GETOWN_EX 16
|
||||
#define LINUX_F_GETOWNER_UIDS 17
|
||||
#endif
|
||||
|
||||
#define LINUX_F_SPECIFIC_BASE 1024
|
||||
|
||||
#define LINUX_F_SETLEASE (LINUX_F_SPECIFIC_BASE + 0)
|
||||
#define LINUX_F_GETLEASE (LINUX_F_SPECIFIC_BASE + 1)
|
||||
#define LINUX_F_CANCELLK (LINUX_F_SPECIFIC_BASE + 5)
|
||||
#define LINUX_F_DUPFD_CLOEXEC (LINUX_F_SPECIFIC_BASE + 6)
|
||||
#define LINUX_F_NOTIFY (LINUX_F_SPECIFIC_BASE + 2)
|
||||
#define LINUX_F_SETPIPE_SZ (LINUX_F_SPECIFIC_BASE + 7)
|
||||
#define LINUX_F_GETPIPE_SZ (LINUX_F_SPECIFIC_BASE + 8)
|
||||
|
||||
#define LINUX_F_GETLKP 36
|
||||
#define LINUX_F_SETLKP 37
|
||||
#define LINUX_F_SETLKPW 38
|
||||
|
||||
#define LINUX_F_OWNER_TID 0
|
||||
#define LINUX_F_OWNER_PID 1
|
||||
#define LINUX_F_OWNER_PGRP 2
|
||||
|
||||
#ifndef LINUX_F_RDLCK
|
||||
#define LINUX_F_RDLCK 0
|
||||
|
Loading…
Reference in New Issue
Block a user