From 0a6b8011f4a7208eaf14987044c6f6180f290f13 Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 30 Aug 2010 14:24:44 +0000 Subject: [PATCH] Make the syscalls reserved for AFS usable by OpenAFS port. Submitted by: Benjamin Kaduk MFC after: 2 weeks --- sys/kern/syscalls.master | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 75f775a62e0d..ef6082847ca3 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -594,7 +594,9 @@ 337 AUE_NULL STD { int kldsym(int fileid, int cmd, \ void *data); } 338 AUE_JAIL STD { int jail(struct jail *jail); } -339 AUE_NULL UNIMPL pioctl +339 AUE_NULL NOSTD|NOTSTATIC { int nnpfs_syscall(int operation, \ + char *a_pathP, int a_opcode, \ + void *a_paramsP, int a_followSymlinks); } 340 AUE_SIGPROCMASK STD { int sigprocmask(int how, \ const sigset_t *set, sigset_t *oset); } 341 AUE_SIGSUSPEND STD { int sigsuspend(const sigset_t *sigmask); } @@ -670,7 +672,9 @@ 374 AUE_NULL STD { int __setugid(int flag); } 375 AUE_NULL UNIMPL nfsclnt 376 AUE_EACCESS STD { int eaccess(char *path, int flags); } -377 AUE_NULL UNIMPL afs_syscall +377 AUE_NULL NOSTD|NOTSTATIC { int afs3_syscall(long syscall, \ + long parm1, long parm2, long parm3, \ + long parm4, long parm5, long parm6); } 378 AUE_NMOUNT STD { int nmount(struct iovec *iovp, \ unsigned int iovcnt, int flags); } 379 AUE_NULL UNIMPL kse_exit