summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_syscalls.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
committerrwatson <rwatson@FreeBSD.org>2007-03-04 22:36:48 +0000
commit300d4098cfd89ed7f8fca1a3333256308124f41b (patch)
treef27b57bdc76f93b33f438468bf58343b920adf0f /sys/security/mac/mac_syscalls.c
parentcabb128e116189b28979fed24ecb43c60be0ffcf (diff)
downloadFreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.zip
FreeBSD-src-300d4098cfd89ed7f8fca1a3333256308124f41b.tar.gz
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.
Diffstat (limited to 'sys/security/mac/mac_syscalls.c')
-rw-r--r--sys/security/mac/mac_syscalls.c30
1 files changed, 0 insertions, 30 deletions
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)
{
OpenPOWER on IntegriCloud