diff options
author | rwatson <rwatson@FreeBSD.org> | 2011-08-14 00:42:09 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2011-08-14 00:42:09 +0000 |
commit | 35b7068df54aac6d028b50251a320efb190b6c41 (patch) | |
tree | ca429aeb22aa1af4b3462fdb8fb86944947b7dde /lib/libprocstat/libprocstat.h | |
parent | ae4052d3f376c0fa7111ebe2cc007fd43435d701 (diff) | |
download | FreeBSD-src-35b7068df54aac6d028b50251a320efb190b6c41.zip FreeBSD-src-35b7068df54aac6d028b50251a320efb190b6c41.tar.gz |
Updates to libprocstat(3) and procstat(1) to allow monitoring Capsicum
capability mode and capabilities.
Right now no attempt is made to unwrap capabilities when operating on
a crashdump, so further refinement is required.
Approved by: re (bz)
Sponsored by: Google Inc
Diffstat (limited to 'lib/libprocstat/libprocstat.h')
-rw-r--r-- | lib/libprocstat/libprocstat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libprocstat/libprocstat.h b/lib/libprocstat/libprocstat.h index 62b1bd5..f1ca109 100644 --- a/lib/libprocstat/libprocstat.h +++ b/lib/libprocstat/libprocstat.h @@ -88,6 +88,7 @@ #define PS_FST_FFLAG_DIRECT 0x1000 #define PS_FST_FFLAG_EXEC 0x2000 #define PS_FST_FFLAG_HASLOCK 0x4000 +#define PS_FST_FFLAG_CAPABILITY 0x8000 struct procstat; struct filestat { @@ -101,6 +102,7 @@ struct filestat { void *fs_typedep; /* Type dependent data. */ char *fs_path; STAILQ_ENTRY(filestat) next; + cap_rights_t fs_cap_rights; /* Capability rights, if flag set. */ }; struct vnstat { uint64_t vn_fileid; |