Searched refs:dir_fd (Results 1 - 4 of 4) sorted by relevance

/sssd/src/util/
H A Dio.h31 int sss_openat_cloexec(int dir_fd, const char *pathname, int flags, int *ret);
H A Dio.c69 int sss_openat_cloexec(int dir_fd, const char *pathname, int flags, int *ret) argument
80 fd = openat(dir_fd, pathname, oflags);
/sssd/src/tools/
H A Dfiles.c78 static int sss_timeat_set(int dir_fd, const char *path, argument
90 ret = utimensat(dir_fd, path, timebuf, flags);
99 ret = futimesat(dir_fd, path, tv);
188 int dir_fd; local
190 dir_fd = sss_openat_cloexec(parent_fd, dir_name,
192 if (dir_fd == -1) {
199 rootdir = fdopendir(dir_fd);
204 close(dir_fd);
214 ret = fstatat(dir_fd, result->d_name,
233 ret = remove_tree_with_ctx(mem_ctx, dir_fd, resul
279 talloc_readlinkat(TALLOC_CTX *mem_ctx, int dir_fd, const char *filename) argument
[all...]
/sssd/src/tests/cmocka/
H A Dtest_io.c104 int dir_fd; member in struct:dir_state
131 data->dir_fd = dirfd(data->dirp);
132 assert_int_not_equal(data->dir_fd, -1);
206 fd = sss_openat_cloexec(data->dir_fd, data->basename, flags, &ret);
223 fd = sss_openat_cloexec(data->dir_fd, NON_EX_PATH, flags, &ret);

Completed in 48 milliseconds