FreeBSD Bugzilla – Attachment 11551 Details for
Bug 22711
[PATCH] non-root users can't debug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 657 bytes, created by
brooks
on 2000-11-09 07:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
brooks
Created:
2000-11-09 07:20:01 UTC
Size:
657 bytes
patch
obsolete
>Index: sys/kern/kern_prot.c >=================================================================== >RCS file: /home/ncvs/src/sys/kern/kern_prot.c,v >retrieving revision 1.66 >diff -u -r1.66 kern_prot.c >--- sys/kern/kern_prot.c 2000/10/30 20:30:03 1.66 >+++ sys/kern/kern_prot.c 2000/11/09 07:06:05 >@@ -1084,7 +1084,7 @@ > /* add a CAP_SYS_PTRACE here? */ > if (p1->p_cred->pc_ucred->cr_uid != p2->p_cred->p_ruid || > p1->p_cred->p_ruid != p2->p_cred->p_ruid || >- p1->p_cred->p_svuid == p2->p_cred->p_ruid || >+ p1->p_cred->p_svuid != p2->p_cred->p_ruid || > p2->p_flag & P_SUGID) { > if ((error = suser_xxx(0, p1, PRISON_ROOT))) > return (error);
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 22711
: 11551