PERFORCE change 163654 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jun 6 16:36:32 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163654
Change 163654 by rwatson at rwatson_freebsd_capabilities on 2009/06/06 16:36:06
Fix capability name spelling.
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/sys/kern/vfs_syscalls.c#13 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/sys/kern/vfs_syscalls.c#13 (text+ko) ====
@@ -3961,8 +3961,8 @@
/* XXX arbitrary sanity limit on `count'. */
if (uap->count > 64 * 1024)
return (EINVAL);
- if ((error = getvnode_cap(td->td_proc->p_fd, uap->fd, CAP_GETREAD,
- &fp)) != 0)
+ if ((error = getvnode_cap(td->td_proc->p_fd, uap->fd, CAP_READ, &fp))
+ != 0)
return (error);
if ((fp->f_flag & FREAD) == 0) {
fdrop(fp, td);
More information about the p4-projects
mailing list