diff options
author | Christopher Zimmermann <chrisz@cvs.openbsd.org> | 2021-08-28 20:54:55 +0000 |
---|---|---|
committer | Christopher Zimmermann <chrisz@cvs.openbsd.org> | 2021-08-28 20:54:55 +0000 |
commit | 8b029e5b425678a7cd1b4f849a162d4a02392669 (patch) | |
tree | 1d391382ac4d59b1bbd1b1b19d7cbc156daab5b5 /bin/ps/keyword.c | |
parent | ca9e692d6bbdbb1629318df44ce740f47442f9be (diff) |
/bin/ps: Implement reporting of supplemental groups
with help from sthen@ and tim@. OK tim@
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r-- | bin/ps/keyword.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 60d7a87ede3..2600dd0b8f9 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keyword.c,v 1.47 2019/06/23 17:18:50 deraadt Exp $ */ +/* $OpenBSD: keyword.c,v 1.48 2021/08/28 20:54:54 chrisz Exp $ */ /* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */ /*- @@ -168,6 +168,8 @@ VAR var[] = { {"start", "STARTED", NULL, LJUST|USER, started, 8}, {"stat", "", "state"}, {"state", "STAT", NULL, LJUST|NLIST, printstate, 6}, + {"supgid", "SUPGID", NULL, LJUST, supgid, 64}, + {"supgrp", "SUPGRP", NULL, LJUST, supgrp, 64}, GID("svgid", "SVGID", pvar, POFF(p_svgid)), UID("svuid", "SVUID", pvar, POFF(p_svuid)), {"tdev", "TDEV", NULL, 0, tdev, 4}, |