diff options
author | julian <julian@FreeBSD.org> | 2007-03-29 02:11:46 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-03-29 02:11:46 +0000 |
commit | 93fc8e768e49d2737c73c10e780d085f9fe2de7d (patch) | |
tree | f48ac269cb2bbda7e0d9278c796db1a7d0a2cb59 /sys/i386/linux/linux.h | |
parent | fdf75b902074d70bcb83a0421e1e7a1ef8f5bed5 (diff) | |
download | FreeBSD-src-93fc8e768e49d2737c73c10e780d085f9fe2de7d.zip FreeBSD-src-93fc8e768e49d2737c73c10e780d085f9fe2de7d.tar.gz |
Implement the openat() linux syscall
Submitted by: Roman Divacky (rdivacky@)
MFC after: 2 weeks
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r-- | sys/i386/linux/linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h index c7219ba..ef41399 100644 --- a/sys/i386/linux/linux.h +++ b/sys/i386/linux/linux.h @@ -502,6 +502,7 @@ int linux_ioctl_unregister_handler(struct linux_ioctl_handler *h); #define LINUX_O_RDONLY 00000000 #define LINUX_O_WRONLY 00000001 #define LINUX_O_RDWR 00000002 +#define LINUX_O_ACCMODE 00000003 #define LINUX_O_CREAT 00000100 #define LINUX_O_EXCL 00000200 #define LINUX_O_NOCTTY 00000400 @@ -536,6 +537,8 @@ int linux_ioctl_unregister_handler(struct linux_ioctl_handler *h); #define LINUX_F_WRLCK 1 #define LINUX_F_UNLCK 2 +#define LINUX_AT_FDCWD -100 + /* * mount flags */ |