summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-12-19 02:55:34 +0000
committerjulian <julian@FreeBSD.org>1998-12-19 02:55:34 +0000
commit61490236bcee0615867517e76eb92c1b20075f82 (patch)
tree9a109f9996daee77886aee1062aa97f90896dd47 /bin
parentda7c7a2e129d402169d2fbc6d83f596d7d16d83a (diff)
downloadFreeBSD-src-61490236bcee0615867517e76eb92c1b20075f82.zip
FreeBSD-src-61490236bcee0615867517e76eb92c1b20075f82.tar.gz
Reviewed by: Luoqi Chen, Jordan Hubbard
Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours.
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/keyword.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index a0c60b1..023c55d 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.19 1998/05/25 05:07:17 steve Exp $";
+ "$Id: keyword.c,v 1.20 1998/09/14 08:32:20 dfr Exp $";
#endif
#endif /* not lint */
@@ -157,10 +157,12 @@ VAR var[] = {
{"ruser", "RUSER", NULL, LJUST|DSIZ, runame, s_runame, USERLEN},
{"sess", "SESS", NULL, 0, evar, NULL, 6, EOFF(e_sess), KPTR, "lx"},
{"sig", "PENDING", NULL, 0, pvar, NULL, 8, POFF(p_siglist), INT, "x"},
+#ifndef COMPAT_LINUX_THREADS
{"sigcatch", "CAUGHT",
NULL, 0, pvar, NULL, 8, POFF(p_sigcatch), UINT, "x"},
{"sigignore", "IGNORED",
NULL, 0, pvar, NULL, 8, POFF(p_sigignore), UINT, "x"},
+#endif /* COMPAT_LINUX_THREADS */
{"sigmask", "BLOCKED",
NULL, 0, pvar, NULL, 8, POFF(p_sigmask), UINT, "x"},
{"sl", "SL", NULL, 0, pvar, NULL, 3, POFF(p_slptime), UINT, "d"},
OpenPOWER on IntegriCloud