From: deraadt Date: Sun, 28 Jan 2024 19:05:33 +0000 (+0000) Subject: Remove the 'l' and 'L' flag printing in 'STAT' column. These were added X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=58457bb1d450ae2ebc1e96e3af33eabfafcddd43;p=openbsd Remove the 'l' and 'L' flag printing in 'STAT' column. These were added to provide visibility of the internal behaviour of pinsyscalls(2) during introduction. These flags remain (less) visible in the "-o procflags" option, as 0x08000000 (PS_PIN) and 0x10000000 (PS_LIBCPIN). That's good enough. --- diff --git a/bin/ps/print.c b/bin/ps/print.c index b493e37bd73..7c7f75d74b8 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.87 2024/01/16 19:08:37 deraadt Exp $ */ +/* $OpenBSD: print.c,v 1.88 2024/01/28 19:05:33 deraadt Exp $ */ /* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */ /*- @@ -303,10 +303,6 @@ printstate(const struct pinfo *pi, VARENT *ve) *cp++ = '+'; if (kp->p_psflags & PS_PLEDGE) *cp++ = 'p'; - if (kp->p_psflags & PS_PIN) - *cp++ = 'l'; - if (kp->p_psflags & PS_LIBCPIN) - *cp++ = 'L'; if (kp->p_eflag & EPROC_UNVEIL) { if (kp->p_eflag & EPROC_LKUNVEIL) *cp++ = 'U'; diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index f28a3c68aa6..51e6b6740b0 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ps.1,v 1.132 2024/01/16 19:08:37 deraadt Exp $ +.\" $OpenBSD: ps.1,v 1.133 2024/01/28 19:05:33 deraadt Exp $ .\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: January 16 2024 $ +.Dd $Mdocdate: January 28 2024 $ .Dt PS 1 .Os .Sh NAME @@ -478,11 +478,6 @@ scheduling priority. .It p The process has called .Xr pledge 2 . -.It l -.Xr ld.so 1 -or a static executable has syscall pinning. -.It L -libc.so has syscall pinning. .\" .It S .\" The process has asked for FIFO .\" page replacement