summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-12-03 19:10:21 +0000
committerrwatson <rwatson@FreeBSD.org>2001-12-03 19:10:21 +0000
commitfb311b7cce2693ac7337b1575904b1f71dc02570 (patch)
treed04e4fc8b6436a1be5cd4d2214b15698587f21d6 /sys/kern/kern_prot.c
parent8694133670e050a2493ec36e7235fda524f9df9c (diff)
downloadFreeBSD-src-fb311b7cce2693ac7337b1575904b1f71dc02570.zip
FreeBSD-src-fb311b7cce2693ac7337b1575904b1f71dc02570.tar.gz
o Update an instance of 'unprivileged_procdebug_permitted' missed
in the previous commit: the comment should also call it 'unprivileged_proc_debug'.
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index ef45c5b..c5e1dcf 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1464,12 +1464,12 @@ p_cansched(struct proc *p1, struct proc *p2)
}
/*
- * The 'unprivileged_procdebug_permitted' flag may be used to disable
- * a variety of unprivileged inter-process debugging services, including
- * some procfs functionality, ptrace(), and ktrace(). In the past,
- * inter-process debugging has been involved in a variety of security
- * problems, and sites not requiring the service might choose to disable it
- * when hardening systems.
+ * The 'unprivileged_proc_debug' flag may be used to disable a variety of
+ * unprivileged inter-process debugging services, including some procfs
+ * functionality, ptrace(), and ktrace(). In the past, inter-process
+ * debugging has been involved in a variety of security problems, and sites
+ * not requiring the service might choose to disable it when hardening
+ * systems.
*
* XXX: Should modifying and reading this variable require locking?
* XXX: data declarations should be together near the beginning of the file.
OpenPOWER on IntegriCloud