Module Name:    src
Committed By:   chs
Date:           Tue Nov 19 03:52:07 UTC 2013

Modified Files:
        src/sys/compat/linux/arch/alpha: syscalls.master
        src/sys/compat/linux/arch/arm: syscalls.master
        src/sys/compat/linux/arch/m68k: syscalls.master
        src/sys/compat/linux/arch/mips: syscalls.master

Log Message:
add the *at() syscalls.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/linux/arch/mips/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/alpha/syscalls.master
diff -u src/sys/compat/linux/arch/alpha/syscalls.master:1.79 src/sys/compat/linux/arch/alpha/syscalls.master:1.80
--- src/sys/compat/linux/arch/alpha/syscalls.master:1.79	Tue Sep 24 13:27:49 2013
+++ src/sys/compat/linux/arch/alpha/syscalls.master	Tue Nov 19 03:52:07 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp $
+	$NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp $
 ;
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -698,19 +698,31 @@
 447	UNIMPL		fdatasync
 448	UNIMPL		kexec_load
 449	UNIMPL		migrate_pages
-450	UNIMPL		openat
-451	UNIMPL		mkdirat
-452	UNIMPL		mknodat
-453	UNIMPL		fchownat
+450	STD 		{ int|linux_sys||openat(int fd, const char *path, \
+			    int flags, ... linux_umode_t mode); }
+451	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
+			    linux_umode_t mode); }
+452	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
+			    linux_umode_t mode, unsigned dev); }
+453	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
+			    uid_t owner, gid_t group, int flag); }
 454	UNIMPL		futimesat
-455	UNIMPL		fstatat64
-456	UNIMPL		unlinkat
-457	UNIMPL		renameat
-458	UNIMPL		linkat
-459	UNIMPL		symlinkat
-460	UNIMPL		readlinkat
-461	UNIMPL		fchmodat
-462	UNIMPL		faccessat
+455	UNIMPL		{ int|linux_sys||fstatat64(int fd, const char *path, \
+			    struct linux_stat64 *sp, int flag); }
+456	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
+			    int flag); }
+457	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
+			    int tofd, const char *to); }
+458	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
+			    int fd2, const char *name2, int flags); }
+459	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
+			    const char *path2); }
+460	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
+			    char *buf, size_t bufsize); }
+461	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
+			    linux_umode_t mode); }
+462	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
+			    int amode); }
 463	UNIMPL		pselect6
 464	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
 			    struct linux_timespec *timeout, \

Index: src/sys/compat/linux/arch/arm/syscalls.master
diff -u src/sys/compat/linux/arch/arm/syscalls.master:1.52 src/sys/compat/linux/arch/arm/syscalls.master:1.53
--- src/sys/compat/linux/arch/arm/syscalls.master:1.52	Thu Nov  7 19:37:18 2013
+++ src/sys/compat/linux/arch/arm/syscalls.master	Tue Nov 19 03:52:07 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:18 njoly Exp $
+	$NetBSD: syscalls.master,v 1.53 2013/11/19 03:52:07 chs Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -503,19 +503,31 @@
 319	UNIMPL		mbind
 320	UNIMPL		get_mempolicy
 321	UNIMPL		set_mempolicy
-322	UNIMPL		openat
-323	UNIMPL		mkdirat
-324	UNIMPL		mknodat
-325	UNIMPL		fchownat
+322	STD 		{ int|linux_sys||openat(int fd, const char *path, \
+			    int flags, ... linux_umode_t mode); }
+323	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
+			    linux_umode_t mode); }
+324	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
+			    linux_umode_t mode, unsigned dev); }
+325	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
+			    uid_t owner, gid_t group, int flag); }
 326	UNIMPL		futimesat
-327	UNIMPL		fstatat64
-328	UNIMPL		unlinkat
-329	UNIMPL		renameat
-330	UNIMPL		linkat
-331	UNIMPL		symlinkat
-332	UNIMPL		readlinkat
-333	UNIMPL		fchmodat
-334	UNIMPL		faccessat
+327	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
+			    struct linux_stat64 *sp, int flag); }
+328	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
+			    int flag); }
+329	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
+			    int tofd, const char *to); }
+330	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
+			    int fd2, const char *name2, int flags); }
+331	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
+			    const char *path2); }
+332	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
+			    char *buf, size_t bufsize); }
+333	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
+			    linux_umode_t mode); }
+334	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
+			    int amode); }
 335	UNIMPL		pselect6
 336	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
 			    struct linux_timespec *timeout, \

Index: src/sys/compat/linux/arch/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.77 src/sys/compat/linux/arch/m68k/syscalls.master:1.78
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.77	Thu Nov  7 19:37:19 2013
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Tue Nov 19 03:52:07 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.77 2013/11/07 19:37:19 njoly Exp $
+	$NetBSD: syscalls.master,v 1.78 2013/11/19 03:52:07 chs Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -484,19 +484,31 @@
 285	UNIMPL		inotify_add_watch
 286	UNIMPL		inotify_rm_watch
 287	UNIMPL		migrate_pages
-288	UNIMPL		openat
-289	UNIMPL		mkdirat
-290	UNIMPL		mknodat
-291	UNIMPL		fchownat
+288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
+			    int flags, ... linux_umode_t mode); }
+289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
+			    linux_umode_t mode); }
+290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
+			    linux_umode_t mode, unsigned dev); }
+291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
+			    uid_t owner, gid_t group, int flag); }
 292	UNIMPL		futimesat
-293	UNIMPL		fstatat64
-294	UNIMPL		unlinkat
-295	UNIMPL		renameat
-296	UNIMPL		linkat
-297	UNIMPL		symlinkat
-298	UNIMPL		readlinkat
-299	UNIMPL		fchmodat
-300	UNIMPL		faccessat
+293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
+			    struct linux_stat64 *sp, int flag); }
+294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
+			    int flag); }
+295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
+			    int tofd, const char *to); }
+296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
+			    int fd2, const char *name2, int flags); }
+297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
+			    const char *path2); }
+298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
+			    char *buf, size_t bufsize); }
+299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
+			    linux_umode_t mode); }
+300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
+			    int amode); }
 301	UNIMPL		pselect6
 302	STD             { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
 			    struct linux_timespec *timeout, \

Index: src/sys/compat/linux/arch/mips/syscalls.master
diff -u src/sys/compat/linux/arch/mips/syscalls.master:1.47 src/sys/compat/linux/arch/mips/syscalls.master:1.48
--- src/sys/compat/linux/arch/mips/syscalls.master:1.47	Thu Nov  7 19:37:19 2013
+++ src/sys/compat/linux/arch/mips/syscalls.master	Tue Nov 19 03:52:07 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.47 2013/11/07 19:37:19 njoly Exp $  
+	$NetBSD: syscalls.master,v 1.48 2013/11/19 03:52:07 chs Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -473,19 +473,31 @@
 285	UNIMPL		inotify_add_watch
 286	UNIMPL		inotify_rm_watch
 287	UNIMPL		migrate_pages
-288	UNIMPL		openat
-289	UNIMPL		mkdirat
-290	UNIMPL		mknodat
-291	UNIMPL		fchownat
+288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
+			    int flags, ... linux_umode_t mode); }
+289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
+			    linux_umode_t mode); }
+290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
+			    linux_umode_t mode, unsigned dev); }
+291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
+			    uid_t owner, gid_t group, int flag); }
 292	UNIMPL		futimesat
-293	UNIMPL		fstatat64
-294	UNIMPL		unlinkat
-295	UNIMPL		renameat
-296	UNIMPL		linkat
-297	UNIMPL		symlinkat
-298	UNIMPL		readlinkat
-299	UNIMPL		fchmodat
-300	UNIMPL		faccessat
+293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
+			    struct linux_stat64 *sp, int flag); }
+294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
+			    int flag); }
+295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
+			    int tofd, const char *to); }
+296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
+			    int fd2, const char *name2, int flags); }
+297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
+			    const char *path2); }
+298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
+			    char *buf, size_t bufsize); }
+299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
+			    linux_umode_t mode); }
+300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
+			    int amode); }
 301	UNIMPL		pselect6
 302	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
 			    struct linux_timespec *timeout, \

Reply via email to