summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2000-03-28 07:16:37 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2000-03-28 07:16:37 +0000
commit36e9f877dfd3d74af3d5a0faac2dc12671faf56a (patch)
tree97eeb7aac884e843e070fb55d061e31dfe981bfa /sys/kern/kern_prot.c
parent6d23c3828e14a4109f7e82d10c369db4812b71db (diff)
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 2ac10da6aca8..06bc88931fa4 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -62,6 +62,9 @@ struct getpid_args {
};
#endif
+/*
+ * NOT MP SAFE due to p_pptr access
+ */
/* ARGSUSED */
int
getpid(p, uap)
@@ -92,7 +95,11 @@ getppid(p, uap)
return (0);
}
-/* Get process group ID; note that POSIX getpgrp takes no parameter */
+/*
+ * Get process group ID; note that POSIX getpgrp takes no parameter
+ *
+ * MP SAFE
+ */
#ifndef _SYS_SYSPROTO_H_
struct getpgrp_args {
int dummy;
@@ -168,6 +175,9 @@ struct getuid_args {
};
#endif
+/*
+ * MP SAFE
+ */
/* ARGSUSED */
int
getuid(p, uap)
@@ -205,6 +215,9 @@ struct getgid_args {
};
#endif
+/*
+ * MP SAFE
+ */
/* ARGSUSED */
int
getgid(p, uap)