From 93fc8e768e49d2737c73c10e780d085f9fe2de7d Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 29 Mar 2007 02:11:46 +0000 Subject: Implement the openat() linux syscall Submitted by: Roman Divacky (rdivacky@) MFC after: 2 weeks --- sys/amd64/linux32/linux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/amd64/linux32/linux.h') diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h index cf9b14c..b998402 100644 --- a/sys/amd64/linux32/linux.h +++ b/sys/amd64/linux32/linux.h @@ -531,6 +531,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 @@ -565,6 +566,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 */ -- cgit v1.1