diff --git a/NEWS b/NEWS index b2612c8e..cac2a6ab 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ procps-3.1.9 --> procps-3.1.10 +kill: better man page +skill: better man page procps-3.1.8 --> procps-3.1.9 diff --git a/kill.1 b/kill.1 index 5c473f8f..aef9dbfa 100644 --- a/kill.1 +++ b/kill.1 @@ -7,7 +7,7 @@ .\" Michael K. Johnson .TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual" .SH NAME -kill \- report process status +kill \- send a signal to a process .SH SYNOPSIS .TS @@ -18,7 +18,7 @@ kill -s signal pid ... Send a signal to every process listed. kill -l List all signal names. kill -L List all signal names in a nice table. kill -l signal Convert a signal number into a name. -kill -V,--version Show version of program +kill -V,--version Show version of program .TE .SH DESCRIPTION @@ -38,6 +38,7 @@ lB rB lB lB lfCW r l l. Name Num Action Description .TH +0 0 n/a exit code indicates if a signal may be sent ALRM 14 exit HUP 1 exit INT 2 exit @@ -104,7 +105,7 @@ Send the default signal, SIGTERM, to all those processes. .fi .PP .SH "SEE ALSO" -top(1) skill(1) kill(2) renice(1) nice(1) +pkill(1) skill(1) kill(2) renice(1) nice(1) signal(7) killall(1) .SH STANDARDS This command meets appropriate standards. The -L flag is Linux-specific. diff --git a/proc/readproc.c b/proc/readproc.c index e3d9448a..6eefc09e 100644 --- a/proc/readproc.c +++ b/proc/readproc.c @@ -560,6 +560,7 @@ next_proc: /* get next PID for consideration */ p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */ p->euid = sb.st_uid; /* need a way to get real uid */ + p->egid = sb.st_gid; /* need a way to get real gid */ #ifdef FLASK_LINUX p->secsid = secsid; #endif @@ -663,6 +664,7 @@ next_proc: /* get next PID for consideration */ p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */ p->euid = sb.st_uid; /* need a way to get real uid */ + p->egid = sb.st_gid; /* need a way to get real gid */ #ifdef FLASK_LINUX p->secsid = secsid; #endif diff --git a/skill.1 b/skill.1 index 38132680..284e11eb 100644 --- a/skill.1 +++ b/skill.1 @@ -8,7 +8,7 @@ .\" .TH SKILL 1 "March 12, 1999" "Linux" "Linux User's Manual" .SH NAME -skill, snice \- report process status +skill, snice \- send a signal or report process status .SH SYNOPSIS .nf @@ -60,6 +60,7 @@ lB rB lB lB lfCW r l l. Name Num Action Description .TH +0 0 n/a exit code indicates if a signal may be sent ALRM 14 exit HUP 1 exit INT 2 exit @@ -107,7 +108,7 @@ snice -17 root bash Give priority to root's shell .TE .SH "SEE ALSO" -killall(1) pkill(1) kill(1) renice(1) nice(1) +killall(1) pkill(1) kill(1) renice(1) nice(1) signal(7) kill(2) .SH STANDARDS No standards apply. diff --git a/top.c b/top.c index fa75da6f..3e6fe2a8 100644 --- a/top.c +++ b/top.c @@ -1131,7 +1131,7 @@ static FLD_t Fieldstab[] = { #endif // next entry's special: '.head' will be formatted using table entry's own // '.fmts' plus runtime supplied conversion args! - { "XxXx", "Command ", "%-*.*s ", -1, -1, SF(CMD), "Command name/line", L_EITHER }, + { "XxXx", "COMMAND ", "%-*.*s ", -1, -1, SF(CMD), "Command name/line", L_EITHER }, { "YyUu", "WCHAN ", "%-9.9s ", -1, -1, SF(WCH), "Sleeping in Function", L_stat }, // next entry's special: the 0's will be replaced with '.'! #ifdef CASEUP_HEXES