summaryrefslogtreecommitdiff
path: root/usr.bin/procstat/procstat_files.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2013-03-02 21:11:30 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2013-03-02 21:11:30 +0000
commit7493f24ee6846df33931904c87493b08400df5bd (patch)
tree5dbc48bdb7b78718e22183ef377b76f2e3bc74c2 /usr.bin/procstat/procstat_files.c
parent136b1ada11e4b3ec91b4b15562ba803e5ab66c10 (diff)
downloadsrc-test2-7493f24ee6846df33931904c87493b08400df5bd.tar.gz
src-test2-7493f24ee6846df33931904c87493b08400df5bd.zip
Notes
Diffstat (limited to 'usr.bin/procstat/procstat_files.c')
-rw-r--r--usr.bin/procstat/procstat_files.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/procstat/procstat_files.c b/usr.bin/procstat/procstat_files.c
index 030bba138f46..a3137db0852a 100644
--- a/usr.bin/procstat/procstat_files.c
+++ b/usr.bin/procstat/procstat_files.c
@@ -215,6 +215,13 @@ static struct cap_desc {
{ CAP_PDWAIT, "pw" },
{ CAP_PDKILL, "pk" },
+ /*
+ * Rights that allow to use bindat(2) and connectat(2) syscalls on a
+ * directory descriptor.
+ */
+ { CAP_BINDAT, "ba" },
+ { CAP_CONNECTAT, "ca" },
+
/* Aliases and defines that combine multiple rights. */
{ CAP_PREAD, "prd" },
{ CAP_PWRITE, "pwr" },