Adhemerval Zanella
456b3c08b6
io: Refactor close_range and closefrom
...
Now that Hurd implementis both close_range and closefrom (f2c996597d),
we can make close_range() a base ABI, and make the default closefrom()
implementation on top of close_range().
The generic closefrom() implementation based on __getdtablesize() is
moved to generic close_range(). On Linux it will be overriden by
the auto-generation syscall while on Hurd it will be a system specific
implementation.
The closefrom() now calls close_range() and __closefrom_fallback().
Since on Hurd close_range() does not fail, __closefrom_fallback() is an
empty static inline function set by__ASSUME_CLOSE_RANGE.
The __ASSUME_CLOSE_RANGE also allows optimize Linux
__closefrom_fallback() implementation when --enable-kernel=5.9 or
higher is used.
Finally the Linux specific tst-close_range.c is moved to io and
enabled as default. The Linuxism and CLOSE_RANGE_UNSHARE are
guarded so it can be built for Hurd (I have not actually test it).
Checked on x86_64-linux-gnu, i686-linux-gnu, and with a i686-gnu
build.
2021-11-24 09:09:37 -03:00
..
2021-10-20 18:12:41 +05:30
2021-10-20 08:33:31 +05:30
2021-01-02 12:17:34 -08:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2007-02-21 09:36:46 +00:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-11-24 09:09:37 -03:00
2021-01-02 12:17:34 -08:00
2021-11-24 09:09:37 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-08-06 09:52:00 +02:00
2021-06-23 14:14:48 -03:00
2021-01-02 12:17:34 -08:00
2021-03-11 10:51:55 -03:00
2021-03-11 10:51:55 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-06-15 10:42:11 -03:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-10-07 11:09:16 -03:00
2021-06-15 10:42:11 -03:00
2021-04-15 09:39:53 -03:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-06-22 12:09:52 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-11-24 09:09:37 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-09-03 22:06:44 +05:30
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-01-02 12:17:34 -08:00
2021-11-24 09:09:37 -03:00
2021-08-26 17:13:47 -03:00
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2018-01-28 19:13:20 +01:00
2021-07-21 11:58:16 +02:00
2021-09-03 22:06:44 +05:30
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2015-11-06 11:24:16 +01:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-10-07 11:09:16 -03:00
2021-01-02 12:17:34 -08:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-09-03 22:06:44 +05:30
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2021-01-02 12:17:34 -08:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2017-10-30 15:48:33 +01:00
2017-10-30 15:48:33 +01:00
2017-10-30 15:48:33 +01:00
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2021-03-11 10:51:55 -03:00
2021-06-15 10:42:11 -03:00
2021-06-10 13:48:26 +02:00
2021-01-02 12:17:34 -08:00
2017-02-16 17:33:18 -05:00
2006-12-05 21:28:15 +00:00
2017-02-16 17:33:18 -05:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-10-04 10:51:55 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-06-15 10:42:11 -03:00
2021-01-02 12:17:34 -08:00
2021-07-08 14:08:14 -03:00
2021-01-02 12:17:34 -08:00