diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-24 00:00:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-24 00:00:57 +0000 |
commit | c1f79de8c7e95092759b8bf882668ce50bc83a7c (patch) | |
tree | affb696135e5bafb9ef35aa4bddc59b5f810ab27 /bin/ps/extern.h | |
parent | f39fb18da2b62bda9a9ba207ddb60f83ec48c7e9 (diff) | |
download | FreeBSD-src-c1f79de8c7e95092759b8bf882668ce50bc83a7c.zip FreeBSD-src-c1f79de8c7e95092759b8bf882668ce50bc83a7c.tar.gz |
Use the MAC interface to list process MAC labels rather than using
the LOMAC-specific interface (which is being deprecated). The
revised LOMAC using the MAC framework will export levels listable
using this mechanism.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r-- | bin/ps/extern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h index c113462..76c4cfb 100644 --- a/bin/ps/extern.h +++ b/bin/ps/extern.h @@ -54,7 +54,7 @@ void elapsed(KINFO *, VARENT *); const char *fmt_argv(char **, char *, size_t); double getpcpu(const KINFO *); void kvar(KINFO *, VARENT *); -void lattr(KINFO *, VARENT *); +void label(KINFO *, VARENT *); void logname(KINFO *, VARENT *); void longtname(KINFO *, VARENT *); void lstarted(KINFO *, VARENT *); @@ -71,6 +71,7 @@ void priorityr(KINFO *, VARENT *); void rgroupname(KINFO *, VARENT *); void runame(KINFO *, VARENT *); void rvar(KINFO *, VARENT *); +int s_label(KINFO *); int s_rgroupname(KINFO *); int s_runame(KINFO *); int s_uname(KINFO *); |