summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.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/kern/subr_trap.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/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 5e7446c..15c8fdd 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -69,10 +69,8 @@ __FBSDID("$FreeBSD$");
#include <security/mac/mac_framework.h>
/*
- * Define the code needed before returning to user mode, for
- * trap and syscall.
- *
- * MPSAFE
+ * Define the code needed before returning to user mode, for trap and
+ * syscall.
*/
void
userret(struct thread *td, struct trapframe *frame)
OpenPOWER on IntegriCloud