diff options
author | jamie <jamie@FreeBSD.org> | 2013-07-06 00:10:52 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2013-07-06 00:10:52 +0000 |
commit | 7dc297170af5eabf1057a01c6c01381ea1d9c381 (patch) | |
tree | 84b0aac8fb769a82835e471ee446abf897933b7d /sys/sys/priv.h | |
parent | c6a6dc71e90012e4be1c261a84301910796ee2d0 (diff) | |
download | FreeBSD-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.h | 6 |
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. |