version 1.88, 2015/11/05 17:17:13 |
version 1.89, 2017/03/15 04:24:14 |
|
|
new_message(MT_standout, |
new_message(MT_standout, |
"Processes should be a " |
"Processes should be a " |
"non-negative number"); |
"non-negative number"); |
putr(); |
putr(); |
no_command = Yes; |
no_command = Yes; |
} |
} |
} else |
} else |
|
|
} |
} |
} else if ((uid = userid(tempbuf)) == (uid_t)-1) { |
} else if ((uid = userid(tempbuf)) == (uid_t)-1) { |
new_message(MT_standout, |
new_message(MT_standout, |
" %s: unknown user", tempbuf); |
" %s: unknown user", tempbuf); |
no_command = Yes; |
no_command = Yes; |
} else { |
} else { |
ps.uid = uid; |
ps.uid = uid; |
|
|
case CMD_command: |
case CMD_command: |
show_args = (show_args == No) ? Yes : No; |
show_args = (show_args == No) ? Yes : No; |
break; |
break; |
|
|
case CMD_threads: |
case CMD_threads: |
ps.threads = !ps.threads; |
ps.threads = !ps.threads; |
old_threads = ps.threads; |
old_threads = ps.threads; |
|
|
case CMD_add: |
case CMD_add: |
ps.uid = (uid_t)-1; /* uid */ |
ps.uid = (uid_t)-1; /* uid */ |
ps.huid = (uid_t)-1; |
ps.huid = (uid_t)-1; |
ps.pid = (pid_t)-1; /* pid */ |
ps.pid = (pid_t)-1; /* pid */ |
ps.system = old_system; |
ps.system = old_system; |
ps.command = NULL; /* grep */ |
ps.command = NULL; /* grep */ |
hlpid = -1; |
hlpid = -1; |