tmpnam deprecated warning linux
|Created on||Mar 25, 2003 21:09|
|Resolved on||Apr 11, 2003 11:59|
On linus systems using newer versions of glibc, a warning is emitted, that tmpnam should be avoided for security reasons. The reason is, that some application could hijack the temporary sac2c directory and thus get sac2c user privileges and change files. As sac2c is a compiler and does no security relevant things this is a minor bug. A solutions would be mkdtemp, which directly creates the directory and by thus avoids any race-conditions (this solutions is proposed by glibc developers). mkdtemp is no common unix function and thus not portable.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information