jilles
fba61ef227
libc: Use O_CLOEXEC for various internal file descriptors.
...
This fixes a race condition where another thread may fork() before CLOEXEC
is set, unintentionally passing the descriptor to the child process.
This commit only adds O_CLOEXEC flags to open() or openat() calls where no
fcntl(fd, F_SETFD, FD_CLOEXEC) follows. The separate fcntl() call still
leaves a race window so it should be fixed later.
2012-09-29 11:54:34 +00:00
..
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-03-13 20:02:41 +00:00
2011-11-20 14:45:42 +00:00
2012-07-06 20:16:22 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-07-01 22:18:20 +00:00
2012-03-29 05:02:12 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-03-29 05:02:12 +00:00
2012-05-11 20:06:46 +00:00
2011-11-20 14:45:42 +00:00
2012-05-11 20:06:46 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-04-07 09:05:30 +00:00
2012-04-07 09:05:30 +00:00
2009-09-04 07:44:58 +00:00
2012-03-29 05:02:12 +00:00
2012-04-07 09:05:30 +00:00
2012-04-07 09:05:30 +00:00
2012-07-30 20:56:19 +00:00
2009-09-04 07:44:58 +00:00
2012-07-30 21:02:44 +00:00
2009-09-04 07:44:58 +00:00
2012-04-07 09:05:30 +00:00
2012-07-30 20:56:19 +00:00
2009-09-04 07:44:58 +00:00
2012-07-30 20:56:19 +00:00
2009-09-04 07:44:58 +00:00
2012-04-07 09:05:30 +00:00
2012-07-26 14:46:19 +00:00
2012-04-07 09:05:30 +00:00
2012-09-29 11:54:34 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-12-02 11:55:09 +00:00
2011-11-20 14:45:42 +00:00
2012-07-30 20:56:19 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2010-12-28 10:08:50 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-05-11 20:06:46 +00:00
2011-11-20 14:45:42 +00:00
2012-07-30 20:56:19 +00:00
2011-11-20 14:45:42 +00:00
2012-03-06 21:56:30 +00:00
2011-11-20 14:45:42 +00:00
2012-05-11 20:06:46 +00:00
2011-11-20 14:45:42 +00:00
2010-10-08 12:40:16 +00:00
2011-12-27 23:28:01 +00:00
2012-07-06 20:16:22 +00:00
2012-04-22 18:51:38 +00:00
2012-03-04 15:31:13 +00:00
2009-09-04 07:44:58 +00:00
2010-07-25 13:32:19 +00:00
2011-11-20 14:45:42 +00:00
2010-07-25 13:32:19 +00:00
2012-05-10 20:03:34 +00:00
2012-05-11 20:06:46 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2011-12-05 00:00:47 +00:00
2011-11-20 14:45:42 +00:00
2012-03-19 11:47:37 +00:00
2012-05-11 20:06:46 +00:00
2012-03-04 15:31:13 +00:00