FreeBSD Bugzilla – Attachment 74960 Details for
Bug 108346
[patch] tmpnam(3) should note that that TMPDIR env may be ignored
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 756 bytes, created by
Anton Yuzhaniov
on 2007-01-25 17:40:21 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Anton Yuzhaniov
Created:
2007-01-25 17:40:21 UTC
Size:
756 bytes
patch
obsolete
>--- lib/libc/stdio/tmpnam.3.orig Thu Jan 25 20:02:50 2007 >+++ lib/libc/stdio/tmpnam.3 Thu Jan 25 20:19:59 2007 >@@ -156,6 +156,16 @@ > .Dv NULL > pointer > on error. >+.Sh ENVIRONMENT >+The >+.Fn tmpfile >+ignores the >+.Ev TMPDIR >+environment variable if process created as a result of an >+.Xr execve 2 >+system call which had either of the setuid or setgid bits set (and extra >+privileges were given as a result) or if it has changed any of its real, >+effective or saved user or group ID's since it began execution. > .Sh COMPATIBILITY > These interfaces are provided from System V and > .Tn ANSI >@@ -228,7 +238,8 @@ > the FSA.) > .Sh SEE ALSO > .Xr mkstemp 3 , >-.Xr mktemp 3 >+.Xr mktemp 3 , >+.Xr issetugid 2 > .Rs > .%T "The FreeBSD Security Architecture" > .Re
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 108346
: 74960