library: add a single vector string choice for 'environ'

In preparation for top scrollable environment display,
the new flag PROC_EDITENVRCVT was added to mirror the
existing single vector string handling for cgroup and
cmdline.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2012-07-01 00:00:11 -05:00
committed by Craig Small
parent a2086dfdf6
commit 348e6091cb
2 changed files with 25 additions and 7 deletions

View File

@ -272,6 +272,7 @@ extern proc_t * get_proc_stats(pid_t pid, proc_t *p);
#define PROC_EDITCGRPCVT 0x10000 // edit `cgroup' as single vector
#define PROC_EDITCMDLCVT 0x20000 // edit `cmdline' as single vector
#define PROC_EDITENVRCVT 0x40000 // edit `environ' as single vector
// it helps to give app code a few spare bits
#define PROC_SPARE_1 0x01000000