Home
last modified time | relevance | path

Searched refs:access_fd (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-fs-util.c522 TEST(access_fd) { in TEST() argument
533 assert_se(access_fd(fd, R_OK) >= 0); in TEST()
534 assert_se(access_fd(fd, F_OK) >= 0); in TEST()
535 assert_se(access_fd(fd, W_OK) >= 0); in TEST()
539 assert_se(access_fd(fd, F_OK) >= 0); in TEST()
542 assert_se(access_fd(fd, R_OK) >= 0); in TEST()
543 assert_se(access_fd(fd, W_OK) >= 0); in TEST()
545 assert_se(access_fd(fd, R_OK) == -EACCES); in TEST()
546 assert_se(access_fd(fd, W_OK) == -EACCES); in TEST()
/systemd-251/src/basic/
Dfs-util.h90 int access_fd(int fd, int mode);
Dpath-util.c581 r = access_fd(fd, X_OK); in check_x_access()
Dfs-util.c671 int access_fd(int fd, int mode) { in access_fd() function
/systemd-251/src/nspawn/
Dnspawn-patch-uid.c312 access_fd(fd, W_OK) == -EROFS) in recurse_fd()
/systemd-251/src/coredump/
Dcoredumpctl.c442 r = access_fd(fd, R_OK); in analyze_coredump_file()