Some checks failed
Test / Hakurei (race detector) (pull_request) Failing after 41m38s
Test / Flake checks (pull_request) Has been skipped
Test / Hpkg (push) Successful in 4m16s
Test / Hpkg (pull_request) Successful in 3m27s
Test / Sandbox (race detector) (pull_request) Successful in 4m1s
Test / Sandbox (race detector) (push) Successful in 4m36s
Test / Create distribution (push) Failing after 32s
Test / Hakurei (pull_request) Failing after 20m33s
Test / Hakurei (race detector) (push) Failing after 22m25s
Test / Sandbox (push) Successful in 2m20s
Test / Sandbox (pull_request) Successful in 2m14s
Test / Create distribution (pull_request) Failing after 28s
Test / Hakurei (push) Failing after 39m36s
Test / Flake checks (push) Has been skipped
15 lines
298 B
C
15 lines
298 B
C
#include <errno.h>
|
|
#include <linux/landlock.h>
|
|
#include <sys/psx_syscall.h>
|
|
#include <sys/syscall.h>
|
|
|
|
#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;
|
|
}
|