Linux: consolidate symlink implementation
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 19 Oct 2022 22:14:16 +0000 (19:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Dec 2022 14:27:01 +0000 (11:27 -0300)
commitbf58f34a708055361056907511c625449b7d27d6
tree7ff59b314924b9462a3eb3d088d231a9d94ba12d
parent54ed77914a7718f5847aa193dcc5234675b6ef7b
Linux: consolidate symlink implementation

Use symlink syscall if defined, otherwise use symlinkat.

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/symlink.c [moved from sysdeps/unix/sysv/linux/generic/symlink.c with 78% similarity]