diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2008-04-08 09:45:49 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-04-08 09:45:49 +0000 |
commit | 48b05c3f8217016d464c5cd6dc8e61de1f8eda9c (patch) | |
tree | 27aa9d496f901903e5e31001326287aab78c768b /sys/compat/linux/linux_util.c | |
parent | 1cf165afe7ea0188d85fa96d7b7480935b4edcb8 (diff) |
Implement the linux syscalls
openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat,
renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.
Submitted by: rdivacky
Sponsored by: Google Summer of Code 2007
Tested by: pho
Notes
Notes:
svn path=/head/; revision=177997
Diffstat (limited to 'sys/compat/linux/linux_util.c')
-rw-r--r-- | sys/compat/linux/linux_util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 2186e9a39872..76d62885fab2 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -66,16 +66,17 @@ const char linux_emul_path[] = "/compat/linux"; * named file, i.e. we check if the directory it should be in exists. */ int -linux_emul_convpath(td, path, pathseg, pbuf, cflag) +linux_emul_convpath(td, path, pathseg, pbuf, cflag, dfd) struct thread *td; - char *path; + const char *path; enum uio_seg pathseg; char **pbuf; int cflag; + int dfd; { return (kern_alternate_path(td, linux_emul_path, path, pathseg, pbuf, - cflag)); + cflag, dfd)); } void |