summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysproto.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
committerrwatson <rwatson@FreeBSD.org>1999-12-19 06:08:07 +0000
commit4b6baecfc724bac12be9de99924e828b1e68046e (patch)
treeccf64e27cf5f979dcaaf7e55bb2a486df8b3f567 /sys/sys/sysproto.h
parent114c517da1a1c0bab8d9fa884b67102ec0768fa1 (diff)
downloadFreeBSD-src-4b6baecfc724bac12be9de99924e828b1e68046e.zip
FreeBSD-src-4b6baecfc724bac12be9de99924e828b1e68046e.tar.gz
Second pass commit to introduce new ACL and Extended Attribute system
calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r--sys/sys/sysproto.h76
1 files changed, 75 insertions, 1 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index dba7ab0..0689a9a 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.67 1999/11/17 21:32:33 brian Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.68 1999/12/19 05:54:46 rwatson Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -11,6 +11,8 @@
#include <sys/signal.h>
+#include <sys/acl.h>
+
struct proc;
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
@@ -927,6 +929,66 @@ struct sigpending_args {
struct sigreturn_args {
ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
};
+struct acl_syscall_get_file_args {
+ char * path; char path_[PAD_(char *)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct acl_syscall_set_file_args {
+ char * path; char path_[PAD_(char *)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct acl_syscall_get_fd_args {
+ int filedes; char filedes_[PAD_(int)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct acl_syscall_set_fd_args {
+ int filedes; char filedes_[PAD_(int)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct acl_syscall_delete_file_args {
+ char * path; char path_[PAD_(char *)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+};
+struct acl_syscall_delete_fd_args {
+ int filedes; char filedes_[PAD_(int)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+};
+struct acl_syscall_aclcheck_file_args {
+ char * path; char path_[PAD_(char *)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct acl_syscall_aclcheck_fd_args {
+ int filedes; char filedes_[PAD_(int)];
+ acl_type_t type; char type_[PAD_(acl_type_t)];
+ struct acl * aclp; char aclp_[PAD_(struct acl *)];
+};
+struct extattrctl_args {
+ char * path; char path_[PAD_(char *)];
+ int cmd; char cmd_[PAD_(int)];
+ char * attrname; char attrname_[PAD_(char *)];
+ caddr_t arg; char arg_[PAD_(caddr_t)];
+};
+struct extattr_set_file_args {
+ char * path; char path_[PAD_(char *)];
+ char * attrname; char attrname_[PAD_(char *)];
+ struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
+ u_int iovcnt; char iovcnt_[PAD_(u_int)];
+};
+struct extattr_get_file_args {
+ char * path; char path_[PAD_(char *)];
+ char * attrname; char attrname_[PAD_(char *)];
+ struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
+ u_int iovcnt; char iovcnt_[PAD_(u_int)];
+};
+struct extattr_delete_file_args {
+ char * path; char path_[PAD_(char *)];
+ char * attrname; char attrname_[PAD_(char *)];
+};
int nosys __P((struct proc *, struct nosys_args *));
void exit __P((struct proc *, struct rexit_args *)) __dead2;
int fork __P((struct proc *, struct fork_args *));
@@ -1140,6 +1202,18 @@ int sigsuspend __P((struct proc *, struct sigsuspend_args *));
int sigaction __P((struct proc *, struct sigaction_args *));
int sigpending __P((struct proc *, struct sigpending_args *));
int sigreturn __P((struct proc *, struct sigreturn_args *));
+int acl_syscall_get_file __P((struct proc *, struct acl_syscall_get_file_args *));
+int acl_syscall_set_file __P((struct proc *, struct acl_syscall_set_file_args *));
+int acl_syscall_get_fd __P((struct proc *, struct acl_syscall_get_fd_args *));
+int acl_syscall_set_fd __P((struct proc *, struct acl_syscall_set_fd_args *));
+int acl_syscall_delete_file __P((struct proc *, struct acl_syscall_delete_file_args *));
+int acl_syscall_delete_fd __P((struct proc *, struct acl_syscall_delete_fd_args *));
+int acl_syscall_aclcheck_file __P((struct proc *, struct acl_syscall_aclcheck_file_args *));
+int acl_syscall_aclcheck_fd __P((struct proc *, struct acl_syscall_aclcheck_fd_args *));
+int extattrctl __P((struct proc *, struct extattrctl_args *));
+int extattr_set_file __P((struct proc *, struct extattr_set_file_args *));
+int extattr_get_file __P((struct proc *, struct extattr_get_file_args *));
+int extattr_delete_file __P((struct proc *, struct extattr_delete_file_args *));
#ifdef COMPAT_43
OpenPOWER on IntegriCloud