-/* $OpenBSD: print.c,v 1.86 2023/03/08 14:47:02 tobhe Exp $ */
+/* $OpenBSD: print.c,v 1.87 2024/01/16 19:08:37 deraadt Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
*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';
-.\" $OpenBSD: ps.1,v 1.131 2023/11/10 09:17:02 kn Exp $
+.\" $OpenBSD: ps.1,v 1.132 2024/01/16 19:08:37 deraadt Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: November 10 2023 $
+.Dd $Mdocdate: January 16 2024 $
.Dt PS 1
.Os
.Sh NAME
PS_ORPHAN 0x00800000 process is on an orphan list
PS_CHROOT 0x01000000 process is chrooted
PS_NOBTCFI 0x02000000 no Branch Target CFI
+PS_PIN 0x08000000 ld.so or static executable that
+ has syscalls pinned
+PS_LIBCPIN 0x10000000 libc.so has syscalls pinned
.Ed
.It Cm re
Core residency time (in seconds; 127 = infinity).
.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