Linux: consolidate mkdir implementation
commitccb9215dbe414207d9ee63bb85e9fa6daac4f641
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 19 Oct 2022 22:14:13 +0000 (19 19:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Dec 2022 14:27:01 +0000 (7 11:27 -0300)
tree1472b86cd0066683f6d135534f6a77434f9c5abb
parentf178e5173f737c33f421a7a994a3ab67a8a4eb86
Linux: consolidate mkdir implementation

Use mkdir syscall if defined, otherwise use mkdirat.

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/mkdir.c [moved from sysdeps/unix/sysv/linux/generic/mkdir.c with 79% similarity]