summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-01-13 03:11:43 +0000
committerjulian <julian@FreeBSD.org>1999-01-13 03:11:43 +0000
commite9b13157adc0dcf82b368db4a29c2728850d35b9 (patch)
tree32f3c30cb42c2a0c4c22e7ac7764e0a431e9a5e4 /bin
parent2932c02b42074fca679fe67898f398003dfbd687 (diff)
downloadFreeBSD-src-e9b13157adc0dcf82b368db4a29c2728850d35b9.zip
FreeBSD-src-e9b13157adc0dcf82b368db4a29c2728850d35b9.tar.gz
Re-enable the options in ps(1) that were disabled with the Linux
threads support. Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/keyword.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 023c55d..6cd2c35 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#else
static const char rcsid[] =
- "$Id: keyword.c,v 1.20 1998/09/14 08:32:20 dfr Exp $";
+ "$Id: keyword.c,v 1.21 1998/12/19 02:55:32 julian Exp $";
#endif
#endif /* not lint */
@@ -162,6 +162,11 @@ VAR var[] = {
NULL, 0, pvar, NULL, 8, POFF(p_sigcatch), UINT, "x"},
{"sigignore", "IGNORED",
NULL, 0, pvar, NULL, 8, POFF(p_sigignore), UINT, "x"},
+#else
+ {"sigcatch", "CAUGHT",
+ NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigcatch), UINT, "x"},
+ {"sigignore", "IGNORED",
+ NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigignore), UINT, "x"},
#endif /* COMPAT_LINUX_THREADS */
{"sigmask", "BLOCKED",
NULL, 0, pvar, NULL, 8, POFF(p_sigmask), UINT, "x"},
OpenPOWER on IntegriCloud