Upon further reflection, back out previous commit, partly for the reasons

Bruce stated and partly because it introduces gratuitous incompatibilities
with -STABLE.
This commit is contained in:
Dag-Erling Smørgrav 2001-10-22 15:08:14 +00:00
parent cb34210012
commit e9745b9961
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85316
2 changed files with 7 additions and 9 deletions

View File

@ -59,6 +59,13 @@ struct procfs_status {
# define PIOCSTATUS _IOR('p', 6, struct procfs_status) # define PIOCSTATUS _IOR('p', 6, struct procfs_status)
# define PIOCGFL _IOR('p', 7, unsigned int) /* Get flags */ # define PIOCGFL _IOR('p', 7, unsigned int) /* Get flags */
# define S_EXEC 0x00000001 /* stop-on-exec */
# define S_SIG 0x00000002 /* stop-on-signal */
# define S_SCE 0x00000004 /* stop on syscall entry */
# define S_SCX 0x00000008 /* stop on syscall exit */
# 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 * 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 * of a /proc/<pid>/mem file will nto clear out the stops and continue

View File

@ -448,15 +448,6 @@ struct proc {
#define SWAIT 6 /* Waiting for interrupt. */ #define SWAIT 6 /* Waiting for interrupt. */
#define SMTX 7 /* Blocked on a mutex. */ #define SMTX 7 /* Blocked on a mutex. */
/* Stop events */
#define S_EXEC 0x00001 /* stop on exec */
#define S_SIG 0x00002 /* stop on signal */
#define S_SCE 0x00004 /* stop on syscall entry */
#define S_SCX 0x00008 /* stop on syscall exit */
#define S_CORE 0x00010 /* stop on coredump */
#define S_EXIT 0x00020 /* stop on exit */
#define S_ALLSTOPS 0x0003f /* all of the above */
/* These flags are kept in p_flag. */ /* These flags are kept in p_flag. */
#define P_ADVLOCK 0x00001 /* Process may hold a POSIX advisory lock. */ #define P_ADVLOCK 0x00001 /* Process may hold a POSIX advisory lock. */
#define P_CONTROLT 0x00002 /* Has a controlling terminal. */ #define P_CONTROLT 0x00002 /* Has a controlling terminal. */