Deleted Added
full compact
keyword.c (42612) keyword.c (43208)
1/*-
2 * Copyright (c) 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
37#else
38static const char rcsid[] =
1/*-
2 * Copyright (c) 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
37#else
38static const char rcsid[] =
39 "$Id: keyword.c,v 1.21 1998/12/19 02:55:32 julian Exp $";
39 "$Id: keyword.c,v 1.22 1999/01/13 03:11:43 julian Exp $";
40#endif
41#endif /* not lint */
42
43#include <sys/param.h>
44#include <sys/time.h>
45#include <sys/resource.h>
46#include <sys/proc.h>
47#include <sys/sysctl.h>

--- 104 unchanged lines hidden (view full) ---

152 {"rssize", "", "rsz"},
153 {"rsz", "RSZ", NULL, 0, rssize, NULL, 4},
154 {"rtprio", "RTPRIO", NULL, 0, rtprior, NULL, 7, POFF(p_rtprio)},
155 {"ruid", "RUID", NULL, 0, evar, NULL, UIDLEN, EOFF(e_pcred.p_ruid),
156 UINT, UIDFMT},
157 {"ruser", "RUSER", NULL, LJUST|DSIZ, runame, s_runame, USERLEN},
158 {"sess", "SESS", NULL, 0, evar, NULL, 6, EOFF(e_sess), KPTR, "lx"},
159 {"sig", "PENDING", NULL, 0, pvar, NULL, 8, POFF(p_siglist), INT, "x"},
40#endif
41#endif /* not lint */
42
43#include <sys/param.h>
44#include <sys/time.h>
45#include <sys/resource.h>
46#include <sys/proc.h>
47#include <sys/sysctl.h>

--- 104 unchanged lines hidden (view full) ---

152 {"rssize", "", "rsz"},
153 {"rsz", "RSZ", NULL, 0, rssize, NULL, 4},
154 {"rtprio", "RTPRIO", NULL, 0, rtprior, NULL, 7, POFF(p_rtprio)},
155 {"ruid", "RUID", NULL, 0, evar, NULL, UIDLEN, EOFF(e_pcred.p_ruid),
156 UINT, UIDFMT},
157 {"ruser", "RUSER", NULL, LJUST|DSIZ, runame, s_runame, USERLEN},
158 {"sess", "SESS", NULL, 0, evar, NULL, 6, EOFF(e_sess), KPTR, "lx"},
159 {"sig", "PENDING", NULL, 0, pvar, NULL, 8, POFF(p_siglist), INT, "x"},
160#ifndef COMPAT_LINUX_THREADS
161 {"sigcatch", "CAUGHT",
160 {"sigcatch", "CAUGHT",
162 NULL, 0, pvar, NULL, 8, POFF(p_sigcatch), UINT, "x"},
163 {"sigignore", "IGNORED",
164 NULL, 0, pvar, NULL, 8, POFF(p_sigignore), UINT, "x"},
165#else
166 {"sigcatch", "CAUGHT",
167 NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigcatch), UINT, "x"},
168 {"sigignore", "IGNORED",
169 NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigignore), UINT, "x"},
161 NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigcatch), UINT, "x"},
162 {"sigignore", "IGNORED",
163 NULL, 0, evar, NULL, 8, EOFF(e_procsig.ps_sigignore), UINT, "x"},
170#endif /* COMPAT_LINUX_THREADS */
171 {"sigmask", "BLOCKED",
172 NULL, 0, pvar, NULL, 8, POFF(p_sigmask), UINT, "x"},
173 {"sl", "SL", NULL, 0, pvar, NULL, 3, POFF(p_slptime), UINT, "d"},
174 {"start", "STARTED", NULL, LJUST|USER, started, NULL, 7},
175 {"stat", "", "state"},
176 {"state", "STAT", NULL, 0, state, NULL, 4},
177 {"svgid", "SVGID", NULL, 0,
178 evar, NULL, UIDLEN, EOFF(e_pcred.p_svgid), UINT, UIDFMT},

--- 112 unchanged lines hidden ---
164 {"sigmask", "BLOCKED",
165 NULL, 0, pvar, NULL, 8, POFF(p_sigmask), UINT, "x"},
166 {"sl", "SL", NULL, 0, pvar, NULL, 3, POFF(p_slptime), UINT, "d"},
167 {"start", "STARTED", NULL, LJUST|USER, started, NULL, 7},
168 {"stat", "", "state"},
169 {"state", "STAT", NULL, 0, state, NULL, 4},
170 {"svgid", "SVGID", NULL, 0,
171 evar, NULL, UIDLEN, EOFF(e_pcred.p_svgid), UINT, UIDFMT},

--- 112 unchanged lines hidden ---