* configure.in checks for tinfo library
* both above fixes from ALTLinux
+ * Removed old FLASK_LINUX define in pstree
+
Changes in 21.6
.SH SYNOPSIS
.ad l
.B killall
-.RB [ \-Z , \-\-context ]
+.RB [ \-Z , \-\-context
+.IR pattern ]
.RB [ \-e , \-\-exact ]
.RB [ \-g , \-\-process\-group ]
.RB [ \-i , \-\-interactive ]
.RB [ \-q , \-\-quiet ]
+.RB [ \-r , \-\-regexp ]
.RB [ \-s , \-\-signal
.IR signal ]
+.RB [ \-u , \-\-user
+.IR user ]
.RB [ \-v , \-\-verbose ]
.RB [ \-w , \-\-wait ]
.RB [ \-I , \-\-ignore-case ]
signal name is specified, SIGTERM is sent.
.PP
Signals can be specified either by name (e.g. \fB\-HUP\fP) or by number
-(e.g. \fB\-1\fP).
+(e.g. \fB\-1\fP) or by option \fB-s\fP.
.PP
-If the command name contains a slash (\fB/\fP), processes executing that
+If the command name is not regular expression (option \fB-r\fP)
+and contains a slash (\fB/\fP), processes executing that
particular file will be selected for killing, independent of their name.
.PP
\fBkillall\fP returns a zero return code if at least one process has been
while ((dt = readdir(taskdir)) != NULL) {
if ((thread=atoi(dt->d_name)) !=0) {
if (thread != pid) {
-#ifdef FLASK_LINUX
- add_proc(threadname, thread, pid, st.st_uid, NULL, 0, sid);
-#else /*FLASK_LINUX*/
+#ifdef WITH_SELINUX
+ add_proc(threadname, thread, pid, st.st_uid, NULL, 0, scontext);
+#else /*WITH_SELINUX*/
add_proc(threadname, thread, pid, st.st_uid, NULL, 0);
-#endif /*FLASK_LINUX*/
+#endif /*WITH_SELINUX*/
}
}
}
char termcap_area[1024];
char *termname;
int c;
- char *tmpstr;
if (ioctl (1, TIOCGWINSZ, &winsz) >= 0)
if (winsz.ws_col)