Files
libffi/src
Mickaël Salaün 8daeed9570 closures: Create temporary file with O_TMPFILE and O_CLOEXEC when available
The open_temp_exec_file_dir function can create a temporary file without
file system accessible link. If the O_TMPFILE flag is not defined (old
Linux kernel or libc) the behavior is unchanged.

The open_temp_exec_file_name function now need a new argument "flags"
(like O_CLOEXEC) used for temporary file creation.

The O_TMPFILE flag allow temporary file creation without race condition.
This feature/fix prevent another process to access the (future)
executable file from the file system.

The O_CLOEXEC flag automatically close the temporary file for any
execve. This avoid transmitting (executable) file descriptor to a child
process.
2014-05-19 23:11:33 +02:00
..
2013-06-14 10:06:30 +02:00
2013-10-08 06:45:51 -04:00
2013-03-16 08:12:19 -04:00
2013-03-16 07:46:38 -04:00
2013-10-08 06:45:51 -04:00
2014-02-09 10:38:24 +08:00
2013-02-11 14:25:13 -05:00
2013-10-15 15:33:59 -04:00
2012-10-11 10:55:25 -04:00
2013-10-08 06:45:51 -04:00
2012-03-19 23:07:35 -04:00
2013-02-09 06:54:40 -05:00
2013-10-08 06:45:51 -04:00
2013-01-21 07:07:38 -05:00
2009-10-04 08:11:33 -04:00
2011-02-09 15:12:35 -05:00
2009-10-04 08:11:33 -04:00