From f7a9497e2d506eb4ebf50768e9f16fdcc106e059 Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 30 Jul 2002 16:50:25 +0000 Subject: 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 --- sys/kern/syscalls.master | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/kern') 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); } -- cgit v1.1