summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-02-11 00:10:35 +0000
committerpjd <pjd@FreeBSD.org>2013-02-11 00:10:35 +0000
commit8ae789894e165bba62ecbe87f1a575089f76413b (patch)
tree198801ce07894a015969d8143287925cec2b9c1d /usr.bin
parent90e3b216d43245011f0581998baa4ee1628ed197 (diff)
downloadFreeBSD-src-8ae789894e165bba62ecbe87f1a575089f76413b.zip
FreeBSD-src-8ae789894e165bba62ecbe87f1a575089f76413b.tar.gz
Capability rights for process management via process descriptors do exist
already, so uncomment them. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/procstat/procstat_files.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/procstat/procstat_files.c b/usr.bin/procstat/procstat_files.c
index 2d50cd6..3773900 100644
--- a/usr.bin/procstat/procstat_files.c
+++ b/usr.bin/procstat/procstat_files.c
@@ -209,11 +209,10 @@ static struct cap_desc {
{ CAP_IOCTL, "io" },
{ CAP_TTYHOOK, "ty" },
-#ifdef NOTYET
+ /* Process management via process descriptors. */
{ CAP_PDGETPID, "pg" },
- { CAP_PDWAIT4, "pw" },
+ { CAP_PDWAIT, "pw" },
{ CAP_PDKILL, "pk" },
-#endif
};
static const u_int cap_desc_count = sizeof(cap_desc) /
sizeof(cap_desc[0]);
OpenPOWER on IntegriCloud