From 59d87ccc99f431da06a0ffab0d3e702d9ef82f48 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 19 Nov 2021 05:44:21 -0800 Subject: chore: make dependence on static syscalls explicit --- sys/linux/src/infoat.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sys/linux/src/infoat.c (limited to 'sys/linux/src/infoat.c') diff --git a/sys/linux/src/infoat.c b/sys/linux/src/infoat.c new file mode 100644 index 0000000..ccbaf18 --- /dev/null +++ b/sys/linux/src/infoat.c @@ -0,0 +1,8 @@ +#include "internal.h" + +int +sys·infoat(int dirfd, char *path, int flag, uint mask, sys·Info *file) +{ + long ret = syscall(·StatX, dirfd, path, flag, mask, file); + return error(ret); +} -- cgit v1.2.1