summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-07-30 16:50:25 +0000
committerrwatson <rwatson@FreeBSD.org>2002-07-30 16:50:25 +0000
commitf7a9497e2d506eb4ebf50768e9f16fdcc106e059 (patch)
tree47869c0f368a1855d73f8b4b43f1a7d1df4e01b6 /sys/kern/syscalls.master
parent20b0ab1150a487cd77ac9cc805b26eba3e2cdd77 (diff)
downloadFreeBSD-src-f7a9497e2d506eb4ebf50768e9f16fdcc106e059.zip
FreeBSD-src-f7a9497e2d506eb4ebf50768e9f16fdcc106e059.tar.gz
Introduce a mac_policy() system call that will provide MAC policies
with a general purpose front end entry point for user applications to invoke. The MAC framework will route the system call to the appropriate policy by name. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index bf64f0f..64aa65b 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -565,3 +565,5 @@
392 STD BSD { int uuidgen(struct uuid *store, int count); }
393 MSTD BSD { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
+394 MNOIMPL BSD { int mac_policy(const char *policy, int call, \
+ void *arg); }
OpenPOWER on IntegriCloud