FreeBSD Bugzilla – Attachment 205368 Details for
Bug 238837
init: Remove P_SYSTEM flag from PID 1 to allow easier debugging of init(8)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
allow-ptrace-attach-1.diff
allow-ptrace-attach-1.diff (text/plain), 444 bytes, created by
WHR
on 2019-06-27 03:07:12 UTC
(
hide
)
Description:
allow-ptrace-attach-1.diff
Filename:
MIME Type:
Creator:
WHR
Created:
2019-06-27 03:07:12 UTC
Size:
444 bytes
patch
obsolete
>Index: sys/kern/init_main.c >=================================================================== >--- sys/kern/init_main.c (revision 349450) >+++ sys/kern/init_main.c (working copy) >@@ -822,7 +822,7 @@ > newcred = crget(); > sx_xlock(&proctree_lock); > PROC_LOCK(initproc); >- initproc->p_flag |= P_SYSTEM | P_INMEM; >+ initproc->p_flag |= P_INMEM; > initproc->p_treeflag |= P_TREE_REAPER; > oldcred = initproc->p_ucred; > crcopy(newcred, oldcred);
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 238837
:
205367
| 205368