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

/sssd-io/src/tests/intg/
H A Dfiles_ops.py61 def __init__(self, file_name):
62 self.file_name = file_name
63 self.tmp_dir = os.path.dirname(self.file_name)
74 with open(self.file_name, "r") as pfile:
84 os.rename(tmp_file.name, self.file_name)
110 def __init__(self, file_name):
111 super(PasswdOps, self).__init__(file_name)
139 def __init__(self, file_name):
140 super(GroupOps, self).__init__(file_name)
[all...]
/sssd-io/src/util/
H A Ddomain_info_utils.c617 static errno_t sss_write_krb5_snippet_common(const char *file_name, argument
635 tmp_file = talloc_asprintf(tmp_ctx, "%sXXXXXX", file_name);
670 ret = rename(tmp_file, file_name);
679 ret = chmod(file_name, 0644);
713 const char *file_name; local
721 file_name = talloc_asprintf(tmp_ctx, "%s/localauth_plugin", path);
722 if (file_name == NULL) {
729 file_name);
731 ret = sss_write_krb5_snippet_common(file_name, LOCALAUTH_PLUGIN_CONFIG);
754 const char *file_name; local
[all...]
H A Dfiles.c321 const char *file_name,
329 buf = talloc_readlinkat(NULL, src_dir_fd, file_name);
341 ret = symlinkat(buf, dst_dir_fd, file_name);
355 ret = fchownat(dst_dir_fd, file_name,
364 ret = sss_timeat_set(dst_dir_fd, file_name, statp,
446 const char *file_name,
462 ofd = openat(dest_dir_fd, file_name,
319 copy_symlink(int src_dir_fd, int dst_dir_fd, const char *file_name, const char *full_path, const struct stat *statp, uid_t uid, gid_t gid) argument
444 copy_file(int ifd, int dest_dir_fd, const char *file_name, const char *full_path, const struct stat *statp, uid_t uid, gid_t gid) argument
/sssd-io/src/tests/cmocka/
H A Dtest_tools_colondb.c50 char *file_name = NULL; local
58 file_name = talloc_asprintf(tmp_ctx, "%s/%s", path, name);
59 assert_non_null(file_name);
61 fp = fopen(file_name, "w");

Completed in 15 milliseconds