summaryrefslogtreecommitdiffstats
path: root/sys/sys/priv.h
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2013-07-06 00:10:52 +0000
committerjamie <jamie@FreeBSD.org>2013-07-06 00:10:52 +0000
commit7dc297170af5eabf1057a01c6c01381ea1d9c381 (patch)
tree84b0aac8fb769a82835e471ee446abf897933b7d /sys/sys/priv.h
parentc6a6dc71e90012e4be1c261a84301910796ee2d0 (diff)
downloadFreeBSD-src-7dc297170af5eabf1057a01c6c01381ea1d9c381.zip
FreeBSD-src-7dc297170af5eabf1057a01c6c01381ea1d9c381.tar.gz
Make the comments a little more clear about PRIV_KMEM_*, explicitly
referring to /dev/[k]mem and noting it's about opening the files rather than actually reading and writing. Reviewed by: jmallett
Diffstat (limited to 'sys/sys/priv.h')
-rw-r--r--sys/sys/priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index 5104a10..3fedccd 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -494,10 +494,10 @@
#define PRIV_RCTL_REMOVE_RULE 674
/*
- * Kernel memory privileges.
+ * mem(4) privileges.
*/
-#define PRIV_KMEM_READ 680 /* Read from kernel memory. */
-#define PRIV_KMEM_WRITE 681 /* Write to kernel memory. */
+#define PRIV_KMEM_READ 680 /* Open mem/kmem for reading. */
+#define PRIV_KMEM_WRITE 681 /* Open mem/kmem for writing. */
/*
* Track end of privilege list.
OpenPOWER on IntegriCloud