HomeFreeBSD

libc: use __sys___realpathat directly in realpath

Description

libc: use sys_realpathat directly in realpath

We don't need to use an interposable symbol for this purpose and it's
simpler to just call the syscall in libsys. This resolves a bug where
we were incorrectly using __realpathat in libc not libsys.

While here, drop support for running on a FreeBSD 12 kernel and simplify
includes.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49048

Details

Provenance
brooksAuthored on Wed, Feb 19, 4:52 PM
Reviewer
kib
Differential Revision
D49048: libc: use __sys___realpathat directly in realpath
Parents
rG06016adaccca: ssh_config.5: Remove redundant CheckHostIP default text
Branches
Unknown
Tags
Unknown