FreeBSD Bugzilla – Attachment 9821 Details for
Bug 19946
possible bug in sh(1) with -p flag (privileged mode)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 711 bytes, created by
alex
on 2000-07-15 10:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
alex
Created:
2000-07-15 10:00:02 UTC
Size:
711 bytes
patch
obsolete
>Index: options.c >=================================================================== >RCS file: /home/ncvs/src/bin/sh/options.c,v >retrieving revision 1.16 >diff -u -r1.16 options.c >--- options.c 2000/04/20 09:49:16 1.16 >+++ options.c 2000/07/15 08:54:26 >@@ -193,6 +193,7 @@ > if (c == 'p' && !val && privileged) { > (void) setuid(getuid()); > (void) setgid(getgid()); >+ privileged = 0; > } > setoption(c, val); > } >@@ -218,6 +219,7 @@ > if (!val && privileged && equal(name, "privileged")) { > (void) setuid(getuid()); > (void) setgid(getgid()); >+ privileged = 0; > } > setoption(optlist[i].letter, val); > return; >cvs server: Diffing bltin >cvs server: Diffing funcs
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 19946
: 9821