FreeBSD Bugzilla – Attachment 6665 Details for
Bug 14941
/etc/init vs kern.securelevel incoherence
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 642 bytes, created by
Cyrille Lefevre
on 1999-11-17 13:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Cyrille Lefevre
Created:
1999-11-17 13:10:00 UTC
Size:
642 bytes
patch
obsolete
>*** kern_mib.c.orig Wed Nov 17 03:16:52 1999 >--- kern_mib.c Wed Nov 17 03:22:46 1999 >*************** >*** 138,144 **** > error = sysctl_handle_int(oidp, &level, 0, req); > if (error || !req->newptr) > return (error); >! if (level < securelevel) > return (EPERM); > securelevel = level; > return (error); >--- 138,148 ---- > error = sysctl_handle_int(oidp, &level, 0, req); > if (error || !req->newptr) > return (error); >! #ifdef notdef >! printf ("pid=%d curproc=%p initproc=%p\n", >! curproc->p_pid, curproc, initproc); >! #endif >! if (curproc != initproc && level < securelevel) > return (EPERM); > securelevel = level; > 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 14941
: 6665 |
6666