Searched refs:file (Results 1 - 25 of 31) sorted by relevance

12

/sssd/src/tests/
H A Dwhitespace_test5 # An AWK regex matching tracked file paths to be excluded from the search.
40 while read file; do
41 [[ $file == "src/config/testconfigs/noparse.api.conf" ]] && continue
42 [[ $file =~ ^src/tests/cmocka/p11_nssdb/.*db ]] && continue
43 test `tail -c 1 $ABS_TOP_SRCDIR/$file` && \
44 echo "Missing new line at the eof: $file" && \
H A Ddebug-tests.c132 FILE *file = NULL; local
146 file = fdopen(fd, "r");
147 if (file == NULL) {
162 ret = fseek(file, 0, SEEK_END);
169 filesize = ftell(file);
176 rewind(file);
184 fsize = fread(msg, sizeof(char), filesize, file);
256 if (file != NULL) {
257 fclose(file);
272 FILE *file; local
[all...]
H A Dcommon_dbus.c57 const char *file; local
70 file = strchr(mock->dbus_address, '/');
71 if (stat(file, &sb) == 0) {
72 verify_eq (unlink(file), 0);
H A Dpysss_murmur-test.py59 print("Could not load the pysss_murmur module. Please check if it is compiled", file=sys.stderr)
/sssd/src/sbus/
H A Dsssd_dbus_introspect.c52 #define WRITE_OR_FAIL(file, ret, label, fmt, ...) do { \
53 ret = fprintf(file, fmt, ##__VA_ARGS__); \
115 sbus_introspect_generate_args(FILE *file, argument
132 WRITE_OR_FAIL(file, ret, done, FMT_SIGNAL_ARG,
136 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_ARG,
140 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_ARG,
152 #define sbus_introspect_generate_in_args(file, args) \
153 sbus_introspect_generate_args(file, args, SBUS_ARG_IN)
155 #define sbus_introspect_generate_out_args(file, args) \
156 sbus_introspect_generate_args(file, arg
162 sbus_introspect_generate_methods(FILE *file, const struct sbus_method_meta *methods) argument
203 sbus_introspect_generate_signals(FILE *file, const struct sbus_signal_meta *signals) argument
239 sbus_introspect_generate_properties(FILE *file, const struct sbus_property_meta *props) argument
267 sbus_introspect_generate_iface(FILE *file, struct sbus_interface *iface) argument
300 sbus_introspect_generate_nodes(FILE *file, const char **nodes) argument
[all...]
H A Dsbus_codegen81 file = None variable in class:DBusXmlException
86 if self.file and self.line:
87 return "%s:%d: %s" % (self.file, self.line, message)
88 elif self.file:
89 return "%s: %s" % (self.file, message)
614 out(" * The actual definitions are found in the accompanying C file next")
666 ex.file = filename
671 exc.file = filename
783 help="Set output file name (default: stdout)",
792 print("sbus_codegen: no input file specifie
[all...]
/sssd/contrib/ci/
H A Drpm-spec-builddeps3 # Extract build dependencies from an RPM .spec file.
24 def usage(file):
25 file.write(("Usage: %s SPEC\n" +
26 "Extract build dependencies from an RPM .spec file.\n") %
H A Drun57 -p, --prefix=STRING Use STRING as the prefix to prepend to file and
69 # Output a file display path: a path relocated from base directory (BASE_DIR)
289 --output-file ci-base.info
298 --output-file ci-check.info
301 --output-file ci-dirty.info
304 --output-file ci.info
/sssd/src/tools/sssctl/
H A Dsssctl_logs.c30 #define LOG_FILE(file) " " LOG_PATH "/" file
82 const char *file; local
88 "FILE", "Output file", &file, NULL);
94 cmd = talloc_asprintf(tool_ctx, "tar -czf %s %s", file, LOG_FILES);
99 printf(_("Archiving log files into %s...\n"), file);
H A Dsssctl_data.c61 static bool sssctl_backup_file_exists(const char *file) argument
63 return access(file, F_OK) == 0;
/sssd/src/tools/common/
H A Dsss_colondb.c27 #define IS_STD_FILE(db) ((db)->file == stdin || (db)->file == stdout)
101 FILE *file; member in struct:sss_colondb
121 readchars = getline(&line, &linelen, db->file);
243 fprintf(db->file, "%s\n", line);
244 fflush(db->file);
258 if (db->file == NULL || IS_STD_FILE(db)) {
262 fclose(db->file);
263 db->file = NULL;
286 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to open file
[all...]
/sssd/src/util/
H A Dsss_ini.c54 struct ini_cfgfile *file; member in struct:sss_ini_initdata
69 int file; member in struct:sss_ini_initdata
90 /* Close file descriptor */
96 if (init_data->file != NULL) {
97 ini_config_file_destroy(init_data->file);
98 init_data->file = NULL;
101 if (init_data->file != -1) {
102 close(init_data->file);
103 init_data->file = -1;
110 /* Open configuration file */
[all...]
H A Dserver.c53 /* try and use up these file descriptors, so silly
64 DEBUG(SSSDBG_FATAL_FAILURE, "Didn't get file descriptor %d\n",i);
146 char *file; local
154 file = talloc_asprintf(NULL, "%s/%s.pid", path, name);
155 if (!file) {
159 fd = open(file, O_RDONLY, 0644);
169 talloc_free(file);
184 talloc_free(file);
190 talloc_free(file);
195 /* nothing in the file o
[all...]
H A Ddebug.h41 void sss_vdebug_fn(const char *file,
48 void sss_debug_fn(const char *file,
H A Ddebug.c61 "Could not open debug file descriptor [%d]. "
62 "Debug messages will not be written to the file "
147 errno_t journal_send(const char *file, argument
168 res = asprintf(&code_file, "CODE_FILE=%s", file);
209 void sss_vdebug_fn(const char *file, argument
235 ret = journal_send(file, line, function, level, format, ap);
275 void sss_debug_fn(const char *file, argument
284 sss_vdebug_fn(file, line, function, level, 0, format, ap);
381 sss_log(SSS_LOG_EMERG, "Could not open file [%s]. Error: [%d][%s]\n",
437 * current file, s
[all...]
/sssd/src/tools/
H A Dsss_obfuscate18 file. The password can be passed in by stdin, \
28 parser.add_option("-f", "--file",
30 help="Set input file to FILE (default: Use system "
41 print("Cannot parse options", file=sys.stderr)
45 print("No domain specified", file=sys.stderr)
68 print('\nUnexpected end-of-file. Password change aborted',
69 file=sys.stderr)
93 print("Permissions error reading config file")
115 print("Could not write to config file. Check that you have the "
116 "appropriate permissions to edit this file
[all...]
/sssd/contrib/rhel/
H A Dupdate_debug_levels.py24 help="""Do not provide backup file after conversion.
25 The script copies the original file with the suffix .bak.<timestamp>
32 print("Stray arguments: %s" % ' '.join([a for a in args]), file=sys.stderr)
44 print("Cannot parse options", file=sys.stderr)
47 # Import the current config file
86 # Save the original file
/sssd/src/responder/nss/
H A Dnsssrv_mmap_cache.c57 char *file; /* mmap cache file name */ member in struct:sss_mc_ctx
58 int fd; /* file descriptor */
133 char *file = NULL; local
148 file = talloc_asprintf(tmp_ctx, "%s_%s",
149 mc_ctx->file, "corrupted");
150 if (file == NULL) {
156 fd = creat(file, 0600);
160 "Failed to open file '%s' [%d]: %s\n",
161 file, er
[all...]
/sssd/src/responder/ifp/
H A Dorg.freedesktop.sssd.infopipe.conf7 <!-- This configuration file specifies the required security policies
/sssd/src/lib/ipa_hbac/
H A Dipa_hbac.h62 typedef void (*hbac_debug_fn_t)(const char *file, int line,
/sssd/src/sss_client/
H A Dnss_mc_common.c38 /* FIXME: temporarily open passwd file on our own, later we will probably
138 char *file = NULL; local
148 ret = asprintf(&file, "%s/%s", SSS_NSS_MCACHE_DIR, name);
154 ctx->fd = sss_open_cloexec(file, O_RDONLY, &ret);
191 free(file);
/sssd/src/config/SSSDConfig/
H A Dipachangeconf.py2 # ipachangeconf - configuration file manipulation classes and functions
354 # Read in the old file.
396 # Write settings to configuration file
397 # file is a path
401 def changeConf(self, file, newopts):
408 #Do not catch an unexisting file error, we want to fail in that case
409 shutil.copy2(file, file+self.backup_suffix)
411 f = openLocked(file, 0o644)
431 # Write settings to new file, backu
[all...]
/sssd/src/providers/krb5/
H A Dkrb5_common.c157 DEBUG(SSSDBG_CONF_SETTINGS, "ccache file name template [%s] doesn't "
158 "contain randomizing characters (XXXXXX), file might not "
287 /* warn if the file type (which is usally created in a sticky bit
412 "KDC Proxy available for realm [%s], no kdcinfo file created.\n",
805 char *file; local
807 file = talloc_asprintf(mem_ctx, KDCINFO_TMPL, realm);
808 if(file == NULL) {
814 ret = unlink(file);
817 DEBUG(SSSDBG_FUNC_DATA, "Could not remove [%s], [%d][%s]\n", file,
821 file
[all...]
/sssd/src/providers/ad/
H A Dad_gpo_child.c271 * This function stores the input buf to a local file, whose file path
276 * Note that the backend will later read the file from the same file path.
428 * This function parses the GPT_INI file stored in the gpo_cache, and uses the
521 * This function uses the input smb uri components to download a sysvol file
522 * (e.g. INI file, policy file, etc) and store it to the GPO_CACHE directory.
532 SMBCFILE *file; local
555 file
[all...]
/sssd/src/providers/
H A Dbackend.h4 Data Provider, private header file
199 const char *file,

Completed in 2350 milliseconds

12