procps/ps
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
..
common.h crazy Debian GNU/kFreeBSD guy wanted this 2005-01-27 04:08:10 +00:00
COPYING procps 010114 2002-02-01 22:47:29 +00:00
display.c enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
global.c dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg 2005-10-30 00:04:21 +00:00
HACKING procps 010114 2002-02-01 22:47:29 +00:00
help.c update help text 2004-07-30 04:49:14 +00:00
it procps 010114 2002-02-01 22:47:29 +00:00
module.mk turn off new SE Linux code for now 2005-10-30 03:44:26 +00:00
output.c enhanced libproc cgroup/cmdline support, exploited by top 2011-05-18 10:33:44 +02:00
p avoid truncating long usernames 2004-07-21 00:37:38 +00:00
parser.c new /proc/meminfo fields 2008-03-24 04:41:26 +00:00
ps.1 ps.1 manual page fixes 2011-02-24 14:23:31 +01:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c hard disk about to die 2003-09-28 02:45:05 +00:00
sortformat.c new /proc/meminfo fields 2008-03-24 04:41:26 +00:00
stacktrace.c procps 010114 2002-02-01 22:47:29 +00:00
TRANSLATION misc 2004-08-18 02:22:13 +00:00