From e04a2ca5b57df7b96581384c2e97eb8d18519c04 Mon Sep 17 00:00:00 2001 From: albert <> Date: Wed, 9 Oct 2002 07:27:34 +0000 Subject: [PATCH] 3.0.0 apps should run on 3.0.1 lib --- proc/readproc.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/proc/readproc.h b/proc/readproc.h index 383e3367..07b24368 100644 --- a/proc/readproc.h +++ b/proc/readproc.h @@ -192,22 +192,22 @@ extern void freeproc(proc_t* p); * argument is the length of the list (currently only used for lists of user * id's since unsigned short[] supports no convenient termination sentinel.) */ -#define PROC_FILLMEM 0x001 /* read statm */ -#define PROC_FILLENV 0x002 /* alloc and fill in `environ' */ -#define PROC_FILLUSR 0x004 /* resolve user id number -> user name */ -#define PROC_FILLGRP 0x008 /* resolve group id number -> group name */ -#define PROC_FILLSTATUS 0x010 /* read status -- currently unconditional */ -#define PROC_FILLSTAT 0x020 /* read stat -- currently unconditional */ -#define PROC_FILLWCHAN 0x040 /* look up WCHAN name */ -#define PROC_FILLCOM 0x080 /* alloc and fill in `cmdline' */ -#define PROC_FILLARG 0x100 /* alloc and fill in `cmdline' */ +#define PROC_FILLMEM 0x0001 /* read statm */ +#define PROC_FILLCOM 0x0002 /* alloc and fill in `cmdline' */ +#define PROC_FILLENV 0x0004 /* alloc and fill in `environ' */ +#define PROC_FILLUSR 0x0008 /* resolve user id number -> user name */ +#define PROC_FILLGRP 0x0010 /* resolve group id number -> group name */ +#define PROC_FILLSTATUS 0x0020 /* read status -- currently unconditional */ +#define PROC_FILLSTAT 0x0040 /* read stat -- currently unconditional */ +#define PROC_FILLWCHAN 0x0080 /* look up WCHAN name */ +#define PROC_FILLARG 0x1000 /* alloc and fill in `cmdline' */ -#define PROC_FILLBUG ~0 /* No idea what we need */ -#define PROC_FILLANY 0x00 /* either stat or status will do */ +#define PROC_FILLBUG 0xf0ff /* No idea what we need */ +#define PROC_FILLANY 0x0000 /* either stat or status will do */ /* Obsolete, consider only processes with one of the passed: */ -#define PROC_PID 0x1000 /* process id numbers ( 0 terminated) */ -#define PROC_TTY 0x2000 /* ctty device nos. ( 0 terminated) */ -#define PROC_UID 0x4000 /* user id numbers ( length needed ) */ +#define PROC_PID 0x0100 /* process id numbers ( 0 terminated) */ +#define PROC_TTY 0x0200 /* ctty device nos. ( 0 terminated) */ +#define PROC_UID 0x0400 /* user id numbers ( length needed ) */ #endif