Joseph Myers
74385da564
Remove __ASSUME_O_CLOEXEC / O_CLOEXEC conditionals in sysdeps/unix/sysv/linux/.
...
This patch removes conditionals on __ASSUME_O_CLOEXEC, and on
O_CLOEXEC being defined, in sysdeps/unix/sysv/linux/, now that
O_CLOEXEC support can be unconditionally assumed.
The patch is conservative in what it changes and further followup
cleanups may be possible. It may be possible to remove dl-opendir.c,
but the patch does not do so, just removing a redundant undefine and
redefine of __ASSUME_O_CLOEXEC. Also, __ASSUME_O_CLOEXEC is defined
unconditionally for Hurd as well as Linux. Thus, if we decide that
O_CLOEXEC support is a required feature of any glibc port, we could
remove __ASSUME_O_CLOEXEC and all conditionals on it throughout glibc,
rather than just cleaning up sysdeps/unix/sysv/linux/.
Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.
* sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
not undefine and redefine.
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
[O_CLOEXEC]: Make code unconditional.
(__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
* sysdeps/unix/sysv/linux/shm_open.c: Do not include
<kernel-features.h>.
[O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
conditional variable definition.
(shm_open) [O_CLOEXEC]: Make code unconditional.
(shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
code.
2014-06-25 20:29:45 +00:00
..
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-23 15:48:42 +00:00
2014-06-25 18:09:01 +00:00
2014-06-13 13:15:28 -07:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-12 23:41:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-06 08:07:33 -05:00
2014-06-11 15:52:53 -04:00
2014-06-20 15:41:35 +00:00
2014-06-13 13:15:28 -07:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2012-10-18 18:50:43 +00:00
2013-06-05 20:44:03 +00:00
2014-02-20 17:50:31 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-05-16 11:47:13 -07:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-24 20:53:03 +00:00
2014-06-24 20:53:03 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 20:29:45 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-02-06 08:46:20 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-13 09:49:20 -07:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-06-20 15:41:35 +00:00
2014-06-20 20:04:33 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-29 09:41:29 +05:30
2014-06-23 14:05:14 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 11:36:10 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 20:29:45 +00:00
2013-07-21 15:39:55 -04:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-12 13:48:47 -07:00
2014-02-20 17:50:31 +00:00
2014-02-20 17:53:08 +00:00
2014-02-20 17:55:35 +00:00
2014-05-29 09:41:29 +05:30
2014-01-01 22:00:23 +10:00
2013-11-26 12:32:28 +01:00
2014-01-01 22:00:23 +10:00
2014-06-25 16:39:33 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-02-08 06:39:10 -05:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-13 09:49:20 -07:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-05-16 15:45:58 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-05-03 16:33:26 -07:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-06-20 23:22:08 +00:00
2014-06-25 16:39:33 +00:00
2014-01-01 22:00:23 +10:00
2012-11-04 10:10:58 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-06-12 13:48:47 -07:00
2014-01-01 22:00:23 +10:00
2014-05-16 00:07:29 +02:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 11:31:51 +00:00
2014-01-01 22:00:23 +10:00
2014-02-20 17:53:08 +00:00
2014-06-20 15:41:35 +00:00
2013-08-27 10:34:16 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-20 17:55:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 20:29:45 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-29 09:41:29 +05:30
2014-05-29 09:41:29 +05:30
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2012-10-04 16:31:43 -07:00
2014-05-12 22:48:25 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-04 08:34:01 -05:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-12-22 14:49:48 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 11:31:51 +00:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00