procps/proc
Jim Warner 7b0fc19e9d enhanced libproc cgroup/cmdline support, exploited by top
Library Changes
. added PROC_EDITCMDLCVT flag
. added an internal (static) fill_cmdline_cvt function:
  - reads and "escapes" /proc/#/cmdline
  - returns result as a single string in a single vector
  - callers are guaranteed a cmdline (no more NULL)
. added vectorize_this_str function, exploited by
  fill_cgroup_cvt, fill_cmdline_cvt
. generalized read_cmdline function as read_unvectored, now
  exploited by fill_cgroup_cvt, fill_cmdline_cvt, read_cmdline
  ( cgroup and cmdline no longer need be converted to string )
  ( vectors before being transformed to final representation )
. fixed bug regarding skipped group numbers (when enabled)
. escape_str made responsible for all single byte translation
  with distinction between control chars + other unprintable
. added escaped_copy function for already escaped strings
. reorganized parts of proc_t to restore formatting standards
  ( displacement changes shouldn't matter with new version # )
. former ZAP_SUSEONLY #define now OOMEM_ENABLE
. added to library.map: escaped_copy; read_cmdline

Top Program Changes
. exploited the new PROC_EDITCMDLCVT provision
. eliminated now obsolete #include "proc/escape.h"
. changed the P_WCH display format if no kernel symbol table
. fixed very old bug in lflgs for out-of-view sort fields
. former ZAP_SUSEONLY #define now OOMEM_ENABLE

Ps Program Changes
. exploited the new PROC_EDITCMDLCVT provision
. exploited the new escaped_copy function
. consolidated pr_args and pr_comm into pr_argcom

Signed-off-by: Jan Görig <jgorig@redhat.com>
2011-05-18 10:33:44 +02:00
..
alloc.c satisfy GPL section 2a and LGPL section 2b name+date requirement 2002-12-15 00:30:17 +00:00
alloc.h big header clean-up 2002-12-09 07:00:07 +00:00
COPYING
devname.c update /dev/tty* info to May 2009 devices.txt 2009-05-03 06:39:33 +00:00
devname.h hard disk about to die 2003-09-28 02:45:05 +00:00
escape.c enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
escape.h enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
ksym.c Linux 2.6.17 tty devices. Lose support for original pty numbering. 2006-07-09 04:41:30 +00:00
library.map enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
module.mk fix warnings; put CFLAGS on lib link command 2004-09-23 13:41:33 +00:00
procps.h more MIPS crud 2005-02-28 03:29:57 +00:00
pwcache.c fix pwcache again 2004-08-10 04:47:07 +00:00
pwcache.h better handling of long usernames 2004-07-20 23:31:12 +00:00
readproc.c enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
readproc.h enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
sig.c SKIP 2003-03-19 01:15:58 +00:00
sig.h SKIP 2003-03-19 01:15:58 +00:00
slab.c g is criteria 2006-06-24 20:12:29 +00:00
slab.h fix overflow on huge NUMA boxes 2005-01-05 21:46:22 +00:00
sysinfo.c enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
sysinfo.h enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
version.c Call libproc constructors in strict order 2011-01-19 12:50:26 +01:00
version.h Call libproc constructors in strict order 2011-01-19 12:50:26 +01:00
wchan.h Linux 2.6.17 tty devices. Lose support for original pty numbering. 2006-07-09 04:41:30 +00:00
whattime.c leftovers in the 3.2.4 release 2004-11-04 20:50:59 +00:00
whattime.h big header clean-up 2002-12-09 07:00:07 +00:00