summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mqueue.c
diff options
context:
space:
mode:
authorjonathan <jonathan@FreeBSD.org>2011-08-12 14:26:47 +0000
committerjonathan <jonathan@FreeBSD.org>2011-08-12 14:26:47 +0000
commitc33150a2f079dce042e79044a48e03cec65832f6 (patch)
treedf03e0025d6c4b3492e5b174440d8e2352802d2c /sys/kern/uipc_mqueue.c
parent588f0ae2614efd69a40886c2d781400791a14acc (diff)
downloadFreeBSD-src-c33150a2f079dce042e79044a48e03cec65832f6.zip
FreeBSD-src-c33150a2f079dce042e79044a48e03cec65832f6.tar.gz
Rename CAP_*_KEVENT to CAP_*_EVENT.
Change the names of a couple of capability rights to be less FreeBSD-specific. Approved by: re (kib), mentor (rwatson) Sponsored by: Google Inc
Diffstat (limited to 'sys/kern/uipc_mqueue.c')
-rw-r--r--sys/kern/uipc_mqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c
index e13912c..0ca4161 100644
--- a/sys/kern/uipc_mqueue.c
+++ b/sys/kern/uipc_mqueue.c
@@ -2119,7 +2119,7 @@ static __inline int
getmq(struct thread *td, int fd, struct file **fpp, struct mqfs_node **ppn,
struct mqueue **pmq)
{
- return _getmq(td, fd, CAP_POLL_KEVENT, fget, fpp, ppn, pmq);
+ return _getmq(td, fd, CAP_POLL_EVENT, fget, fpp, ppn, pmq);
}
static __inline int
@@ -2274,7 +2274,7 @@ again:
error = EBADF;
goto out;
}
- error = cap_funwrap(fp2, CAP_POLL_KEVENT, &fp2);
+ error = cap_funwrap(fp2, CAP_POLL_EVENT, &fp2);
if (error) {
FILEDESC_SUNLOCK(fdp);
goto out;
OpenPOWER on IntegriCloud