How the FreeBSD kernel layer obtains the absolute path of the relative path submitted by the user layer when syscall occurs.

recently I was looking at the FreeBSD source code and found such a problem.
for example, this function:

int
kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
    int flags, int mode)

char* path is the relative path when accepting user-level data.
it is not possible to manipulate a file object if it cannot be converted to an absolute path.
but I haven"t been able to find out where the FreeBSD kernel can convert relative paths to absolute paths, so ask for a big tip or two to be familiar with the kernel.

Mar.20,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bef3-44e82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bef3-44e82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?