FreeBSD Bugzilla – Attachment 16753 Details for
Bug 30608
kern.ps_showallproc=0 doesn't limit queries for a single pid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 392 bytes, created by
_
on 2001-09-16 17:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
_
Created:
2001-09-16 17:00:00 UTC
Size:
392 bytes
patch
obsolete
>*** kern_proc.c.orig Sun Sep 16 18:27:38 2001 >--- kern_proc.c Sun Sep 16 19:10:38 2001 >*************** >*** 451,456 **** >--- 451,458 ---- > p = pfind((pid_t)name[0]); > if (!p) > return (0); >+ if((!ps_showallprocs) && p_trespass(curproc, p)) >+ return(0); > if (!PRISON_CHECK(curproc, p)) > return (0); > error = sysctl_out_proc(p, req, 0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30608
: 16753