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
..
2012-05-28 19:47:56 +00:00
2012-08-23 17:08:07 +00:00
2012-04-23 06:33:27 +00:00
2012-07-30 14:47:35 +00:00
2012-05-11 20:06:46 +00:00
2012-09-29 11:54:34 +00:00
2012-08-25 13:15:44 +00:00
2012-03-03 09:19:20 +00:00
2012-03-22 08:48:42 +00:00
2012-05-15 22:47:34 +00:00
2012-06-12 17:14:19 +00:00
2012-06-11 15:40:57 +00:00
2012-02-12 18:29:56 +00:00
2012-01-20 06:59:29 +00:00
2012-08-29 18:49:41 +00:00
2012-09-27 05:26:29 +00:00
2012-07-24 16:03:28 +00:00
2012-09-14 13:00:43 +00:00
2012-04-10 17:37:24 +00:00
2012-06-02 08:47:26 +00:00
2012-06-08 12:09:00 +00:00
2012-02-11 20:43:01 +00:00
2012-05-22 18:30:32 +00:00
2012-06-12 20:24:57 +00:00
2012-04-18 07:02:53 +00:00
2012-09-10 08:16:45 +00:00
2012-09-11 22:38:33 +00:00
2012-04-28 02:48:51 +00:00
2012-02-25 14:31:25 +00:00
2011-10-07 15:05:24 +00:00
2012-05-17 10:11:18 +00:00
2012-06-01 03:59:08 +00:00
2012-01-09 00:48:19 +00:00
2012-09-28 12:29:25 +00:00
2012-05-14 05:12:56 +00:00
2012-09-06 19:24:48 +00:00
2012-09-07 02:38:07 +00:00
2012-09-04 05:51:50 +00:00
2012-05-11 20:06:46 +00:00
2012-06-06 08:07:47 +00:00
2012-02-07 09:27:07 +00:00
2012-03-26 19:12:09 +00:00
2011-10-16 08:45:16 +00:00
2012-02-28 18:30:18 +00:00
2012-09-24 05:24:10 +00:00
2012-04-28 21:50:30 +00:00
2012-01-05 21:36:12 +00:00
2012-05-11 20:06:46 +00:00
2012-04-06 00:03:45 +00:00
2012-08-27 03:09:39 +00:00
2012-02-28 18:30:18 +00:00
2011-12-08 12:31:47 +00:00
2012-04-19 15:28:15 +00:00
2012-08-13 18:10:52 +00:00
2012-09-20 18:56:27 +00:00
2012-09-12 11:41:03 +00:00
2012-02-25 14:31:25 +00:00
2012-02-07 09:27:07 +00:00
2012-06-21 21:47:08 +00:00
2012-09-23 18:32:03 +00:00
2012-08-15 20:02:54 +00:00