Searched refs:access_fd (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-fs-util.c | 522 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/ |
D | fs-util.h | 90 int access_fd(int fd, int mode);
|
D | path-util.c | 581 r = access_fd(fd, X_OK); in check_x_access()
|
D | fs-util.c | 671 int access_fd(int fd, int mode) { in access_fd() function
|
/systemd-251/src/nspawn/ |
D | nspawn-patch-uid.c | 312 access_fd(fd, W_OK) == -EROFS) in recurse_fd()
|
/systemd-251/src/coredump/ |
D | coredumpctl.c | 442 r = access_fd(fd, R_OK); in analyze_coredump_file()
|