Bug 108346

Summary: [patch] tmpnam(3) should note that that TMPDIR env may be ignored
Product: Documentation Reporter: Anton Yuzhaniov <citrin>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Anton Yuzhaniov 2007-01-25 17:40:21 UTC
tmpnam(3) should note that that tmpfile() ignore TMPDIR environment variable if
issetugid(3) return non zero.

Fix: Anything like this:
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-03-16 21:46:32 UTC
maxim       2007-03-16 21:46:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       tmpnam.3 
  Log:
  o Add ENVIRONMENT section and mention there that TMPDIR is ignored
  when issetugid(3) is true.
  
  PR:             docs/108346
  Obtained from:  OpenBSD
  MFC after:      1 week
  
  Revision  Changes    Path
  1.20      +14 -1     src/lib/libc/stdio/tmpnam.3
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2007-03-16 21:46:46 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks for the report.
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2007-03-23 21:03:30 UTC
State Changed
From-To: patched->closed

Merged to RELENG_6.