Re: Secure temporary fifo creation
On Mon, May 17, 2004 at 07:45:17PM -0500, Greg Deitrick wrote:
> What is the recommended method for securely creating a temporary named pipe in
> C code?
See this for an interesting discussion:
http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html
You can e.g. adapt the code from the GNOME guidelines mentioned there, and
just create your fifo instead of doing the open().
Cheers,
Richard
--
__ _
|_) /| Richard Atterer | GnuPG key:
| \/¯| http://atterer.net | 0x888354F7
¯ '` ¯
Reply to: