summaryrefslogtreecommitdiffstats
path: root/sys/sys/pioctl.h
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1997-12-07 03:59:26 +0000
committersef <sef@FreeBSD.org>1997-12-07 03:59:26 +0000
commita53f702faee437c3fb644c0956d58753da835701 (patch)
treeab13fa504e91184e654afc397a6f64c51deb09a8 /sys/sys/pioctl.h
parent5e4975d7f9fea4c43d8c6ff2ff59932d2e1efe2e (diff)
downloadFreeBSD-src-a53f702faee437c3fb644c0956d58753da835701.zip
FreeBSD-src-a53f702faee437c3fb644c0956d58753da835701.tar.gz
Add a procfs-related flag for procp->p_pfsflags.
Diffstat (limited to 'sys/sys/pioctl.h')
-rw-r--r--sys/sys/pioctl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/sys/pioctl.h b/sys/sys/pioctl.h
index bc264e9..2964ca7 100644
--- a/sys/sys/pioctl.h
+++ b/sys/sys/pioctl.h
@@ -1,7 +1,7 @@
/*
* procfs ioctl definitions.
*
- * $Id$
+ * $Id: pioctl.h,v 1.1 1997/12/06 04:11:14 sef Exp $
*/
#ifndef _SYS_PIOCTL_H
@@ -33,4 +33,12 @@ struct procfs_status {
# define S_CORE 0x00000010 /* stop on coredump */
# define S_EXIT 0x00000020 /* stop on exit */
+/*
+ * If PF_LINGER is set in procp->p_pfsflags, then the last close
+ * of a /proc/<pid>/mem file will nto clear out the stops and continue
+ * the process.
+ */
+
+# define PF_LINGER 0x01 /* Keep stops around after last close */
+
#endif
OpenPOWER on IntegriCloud