#include #include #include #include #include "landlock-helper.h" int hakurei_scope_abstract_unix_sockets(int* p_errno, int fd) { int res = psx_syscall3(SYS_landlock_restrict_self, fd, 0, 0); *p_errno = errno; return res; }