FreeBSD Bugzilla – Attachment 150270 Details for
Bug 195749
FreeBSD 10.1 cap_rights_limit wrong example of usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
freebsd cap_rights_limit man page fix
file_195749.txt (text/plain), 455 bytes, created by
logan
on 2014-12-06 16:40:37 UTC
(
hide
)
Description:
freebsd cap_rights_limit man page fix
Filename:
MIME Type:
Creator:
logan
Created:
2014-12-06 16:40:37 UTC
Size:
455 bytes
patch
obsolete
>--- cap_rights_limit.2.orig 2014-12-06 20:36:26.000000000 +0400 >+++ cap_rights_limit.2 2014-12-06 20:36:48.000000000 +0400 >@@ -97,8 +97,8 @@ if (fd < 0) > if (cap_enter() < 0) > err(1, "cap_enter() failed"); > >-cap_rights_init(&setrights, CAP_READ); >-if (cap_rights_limit(fd, &setrights) < 0) >+cap_rights_init(&rights, CAP_READ); >+if (cap_rights_limit(fd, &rights) < 0) > err(1, "cap_rights_limit() failed"); > > buf[0] = 'X';
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195749
: 150270