From 300d4098cfd89ed7f8fca1a3333256308124f41b Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 4 Mar 2007 22:36:48 +0000 Subject: Remove 'MPSAFE' annotations from the comments above most system calls: all system calls now enter without Giant held, and then in some cases, acquire Giant explicitly. Remove a number of other MPSAFE annotations in the credential code and tweak one or two other adjacent comments. --- sys/security/mac/mac_syscalls.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'sys/security/mac/mac_syscalls.c') diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index 3bccf0d..9b5a39d 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -67,9 +67,6 @@ __FBSDID("$FreeBSD$"); #ifdef MAC -/* - * MPSAFE - */ int __mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) { @@ -119,9 +116,6 @@ __mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) return (error); } -/* - * MPSAFE - */ int __mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) { @@ -155,9 +149,6 @@ __mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) return (error); } -/* - * MPSAFE - */ int __mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) { @@ -224,9 +215,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) { @@ -313,9 +301,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_get_file(struct thread *td, struct __mac_get_file_args *uap) { @@ -366,9 +351,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_get_link(struct thread *td, struct __mac_get_link_args *uap) { @@ -419,9 +401,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) { @@ -514,9 +493,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_set_file(struct thread *td, struct __mac_set_file_args *uap) { @@ -568,9 +544,6 @@ out: return (error); } -/* - * MPSAFE - */ int __mac_set_link(struct thread *td, struct __mac_set_link_args *uap) { @@ -622,9 +595,6 @@ out: return (error); } -/* - * MPSAFE - */ int mac_syscall(struct thread *td, struct mac_syscall_args *uap) { -- cgit v1.1