diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-27 07:58:30 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-27 07:58:30 +0000 |
commit | fbc1c7d05df50c7d7c364d0e9b52e1b00553e34c (patch) | |
tree | 9114447bbe58e598ec010991f28ad2f4a78a24a1 /usr.bin | |
parent | a96a9d8365aefd6be525bce7599c249fd21ef912 (diff) |
Stop mentionning/testing the for the ASU bit (S flag).
It is of no use since suser() no longer set this bit.
ok millert@, bluhm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/lastcomm/lastcomm.1 | 7 | ||||
-rw-r--r-- | usr.bin/lastcomm/lastcomm.c | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/lastcomm/lastcomm.1 b/usr.bin/lastcomm/lastcomm.1 index 0fca39005b7..cf2cc35b4f7 100644 --- a/usr.bin/lastcomm/lastcomm.1 +++ b/usr.bin/lastcomm/lastcomm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lastcomm.1,v 1.18 2017/06/08 17:14:02 bluhm Exp $ +.\" $OpenBSD: lastcomm.1,v 1.19 2018/02/27 07:58:29 mpi Exp $ .\" $NetBSD: lastcomm.1,v 1.5 1995/10/22 01:43:41 ghudson Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)lastcomm.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: June 8 2017 $ +.Dd $Mdocdate: February 27 2018 $ .Dt LASTCOMM 1 .Os .Sh NAME @@ -99,9 +99,6 @@ Elapsed time of the process. .El .Pp The flags are encoded as follows: -.Sq S -indicates the command was -executed by the superuser, .Sq F indicates the command ran after a fork, but without a following diff --git a/usr.bin/lastcomm/lastcomm.c b/usr.bin/lastcomm/lastcomm.c index 5d12ad76a6e..f263fecd79e 100644 --- a/usr.bin/lastcomm/lastcomm.c +++ b/usr.bin/lastcomm/lastcomm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lastcomm.c,v 1.26 2017/06/08 17:14:02 bluhm Exp $ */ +/* $OpenBSD: lastcomm.c,v 1.27 2018/02/27 07:58:29 mpi Exp $ */ /* $NetBSD: lastcomm.c,v 1.9 1995/10/22 01:43:42 ghudson Exp $ */ /* @@ -168,7 +168,6 @@ flagbits(int f) #define BIT(flag, ch) if (f & flag) *p++ = ch p = flags + 1; - BIT(ASU, 'S'); BIT(AFORK, 'F'); BIT(ACOMPAT, 'C'); BIT(ACORE, 'D'); |