Samuel Thibault 7ae60af75b hurd: Factorize at/non-at functions
Non-at functions can be implemented by just calling the corresponding at
function with AT_FDCWD and zero at_flags.

In the linkat case, the at behavior is different (O_NOLINK), so this introduces
__linkat_common to pass O_NOLINK as appropriate.

lstat functions can also be implemented with fstatat by adding
__fstatat64_common which takes a flags parameter in addition to the at_flags
parameter,

In the end this factorizes chmod, chown, link, lstat64, mkdir, readlink,
rename, stat64, symlink, unlink, utimes.

This also makes __lstat, __lxstat64, __stat and __xstat64 directly use
__fstatat64_common instead of __lstat64 or __stat64.
2022-09-17 19:58:30 +00:00
..
2022-09-17 19:58:30 +00:00
2016-10-28 22:40:16 -04:00
2021-06-22 12:09:52 -03:00
2021-12-28 22:52:56 +01:00
2022-07-29 17:59:01 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2017-04-07 07:45:53 -04:00
2022-04-19 15:52:27 -07:00
2021-07-22 18:38:04 +05:30
2021-09-15 22:57:35 +00:00
2021-07-07 18:33:52 +02:00
2021-06-30 08:43:37 +02:00
2021-09-21 08:00:44 -07:00
2019-05-02 11:42:51 +02:00
2019-10-09 17:48:41 -03:00
2022-09-17 19:58:30 +00:00
2022-09-17 19:58:30 +00:00
2021-06-30 08:43:37 +02:00
2019-11-06 09:20:52 -03:00
2022-05-13 19:15:46 +05:30