bde also tells me that he is confident that P_SYSTEM will not work

any better on 4.x than it does on 5.2. If that's true then there
is no point to the __FreeBSD_version check that I had added.
This commit is contained in:
gad 2004-03-27 06:49:57 +00:00
parent df297ea749
commit 0544a9076c

View File

@ -68,15 +68,8 @@ __FBSDID("$FreeBSD$");
#define STATUS_BADUSAGE 2
#define STATUS_ERROR 3
#ifdef __FreeBSD__
#if __FreeBSD_version > 502000
/* Check for system-processes which should always be ignored. */
#define IS_KERNPROC(kp) ((kp)->ki_flag & P_KTHREAD)
#endif
#endif
#ifndef IS_KERNPROC
#define IS_KERNPROC(kp) ((kp)->ki_flag & P_SYSTEM)
#endif
enum listtype {
LT_GENERIC,