|
|
@@ -803,11 +803,12 @@ check(pid_t pid)
|
|
|
{
|
|
|
#if defined(OSLinux) || defined(OShpux)
|
|
|
if (execname && !pid_is_exec(pid, &exec_stat))
|
|
|
+ return;
|
|
|
#elif defined(OSHURD) || defined(OSFreeBSD) || defined(OSNetBSD)
|
|
|
/* Let's try this to see if it works */
|
|
|
if (execname && !pid_is_cmd(pid, execname))
|
|
|
-#endif
|
|
|
return;
|
|
|
+#endif
|
|
|
if (userspec && !pid_is_user(pid, user_id))
|
|
|
return;
|
|
|
if (cmdname && !pid_is_cmd(pid, cmdname))
|