Jilles Tjoelker
93a65e1b5f
libc/stdio: Fail fdopen() on an execute-only fd.
...
An execute-only fd (opened with O_EXEC) allows neither read() nor write()
and is therefore incompatible with all stdio modes. Therefore, the [EINVAL]
error applies.
Also adjust the similar check in freopen() with a NULL path, even though
this checks an fd which is already from a FILE.
2014-04-21 17:40:23 +00:00
..
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2014-04-21 17:40:23 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2012-05-09 17:27:49 +00:00
2013-04-23 14:36:44 +00:00
2012-04-29 16:28:39 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-09-06 13:47:16 +00:00
2013-02-01 13:04:06 +00:00
2013-02-09 07:01:05 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2011-11-20 14:45:42 +00:00
2012-04-21 07:31:27 +00:00
2013-04-23 13:33:13 +00:00
2014-04-21 17:40:23 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2011-11-20 14:45:42 +00:00
2013-07-12 17:37:05 +00:00
2011-11-20 14:45:42 +00:00
2010-01-08 22:02:42 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2012-12-01 15:25:41 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2012-04-29 16:28:39 +00:00
2013-04-23 14:36:44 +00:00
2014-03-04 02:19:39 +00:00
2013-08-09 17:24:23 +00:00
2013-08-09 17:24:23 +00:00
2013-02-27 20:09:25 +00:00
2013-02-27 19:50:46 +00:00
2013-02-27 19:50:46 +00:00
2013-04-23 14:36:44 +00:00
2013-11-17 02:03:45 +00:00
2013-04-23 13:33:13 +00:00
2012-11-08 02:01:04 +00:00
2013-04-23 13:33:13 +00:00
2011-11-20 14:45:42 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-11-17 02:03:45 +00:00
2012-05-12 20:27:13 +00:00
2013-04-23 13:33:13 +00:00
2013-02-18 22:47:59 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2013-08-09 17:24:23 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2014-03-07 15:35:54 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +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
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2013-04-23 13:33:13 +00:00
2012-04-21 06:10:18 +00:00
2013-04-23 13:33:13 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2013-04-23 14:36:44 +00:00
2010-05-13 12:07:55 +00:00
2011-11-20 14:45:42 +00:00
2012-05-12 20:27:13 +00:00
2011-11-20 14:45:42 +00:00
2013-04-23 14:36:44 +00:00
2013-08-31 22:32:42 +00:00
2011-03-06 19:47:46 +00:00
2012-07-04 17:35:07 +00:00