From 6a9f247c85e52e467ffc2e16d7a30c104b6aa7c1 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Mon, 11 Feb 2013 00:10:35 +0000 Subject: [PATCH] Capability rights for process management via process descriptors do exist already, so uncomment them. Sponsored by: The FreeBSD Foundation --- usr.bin/procstat/procstat_files.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/procstat/procstat_files.c b/usr.bin/procstat/procstat_files.c index 2d50cd64c8f6..377390080a55 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]);