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

12

/sssd-io/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 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 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...]
/sssd-io/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)
618 out(" * The actual definitions are found in the accompanying C file next")
670 ex.file = filename
675 exc.file = filename
787 help="Set output file name (default: stdout)",
796 print("sbus_codegen: no input file specifie
[all...]
/sssd-io/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 Drun70 -p, --prefix=STRING Use STRING as the prefix to prepend to file and
82 # Output a file display path: a path relocated from base directory (BASE_DIR)
301 --output-file ci-base.info
310 --output-file ci-check.info
313 --output-file ci-dirty.info
317 --output-file ci.info
/sssd-io/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-io/src/lib/certmap/
H A Dsss_certmap.h53 const char *file, long line,
/sssd-io/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-io/src/util/
H A Dserver.c54 /* try and use up these file descriptors, so silly
65 DEBUG(SSSDBG_FATAL_FAILURE, "Didn't get file descriptor %d\n",i);
147 char *file; local
155 file = talloc_asprintf(NULL, "%s/%s.pid", path, name);
156 if (!file) {
160 fd = open(file, O_RDONLY, 0644);
170 talloc_free(file);
185 talloc_free(file);
191 talloc_free(file);
196 /* nothing in the file o
[all...]
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 Ddebug.c115 "Could not open debug file descriptor [%d]. "
116 "Debug messages will not be written to the file "
201 errno_t journal_send(const char *file, argument
222 res = asprintf(&code_file, "CODE_FILE=%s", file);
263 void sss_vdebug_fn(const char *file, argument
289 ret = journal_send(file, line, function, level, format, ap);
329 void sss_debug_fn(const char *file, argument
338 sss_vdebug_fn(file, line, function, level, 0, format, ap);
435 sss_log(SSS_LOG_EMERG, "Could not open file [%s]. Error: [%d][%s]\n",
491 * current file, s
[all...]
H A Ddebug.h54 void sss_vdebug_fn(const char *file,
61 void sss_debug_fn(const char *file,
/sssd-io/src/tools/sssctl/
H A Dsssctl_logs.c42 #define LOG_FILE(file) " " LOG_PATH "/" file
272 const char *file; local
278 "FILE", "Output file", &file, NULL);
284 cmd = talloc_asprintf(tool_ctx, "tar -czf %s %s", file, LOG_FILES);
289 printf(_("Archiving log files into %s...\n"), file);
311 0, _("Specify a non-default config file"), NULL},
324 /* get config file */
H A Dsssctl_data.c61 static bool sssctl_backup_file_exists(const char *file) argument
63 return access(file, F_OK) == 0;
/sssd-io/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-io/src/tests/cmocka/
H A Dtest_config_check.c7 Config file validators test
41 struct ini_cfgfile *file; member in struct:sss_ini_initdata
61 &init_data->file);
67 ret = ini_config_parse(init_data->file,
/sssd-io/src/providers/ldap/
H A Dsdap_certmap.c36 static void ext_debug(void *private, const char *file, long line, argument
49 sss_vdebug_fn(file, line, function, level, APPEND_LINE_FEED,
/sssd-io/src/responder/ifp/
H A Dorg.freedesktop.sssd.infopipe.conf7 <!-- This configuration file specifies the required security policies
/sssd-io/src/lib/ipa_hbac/
H A Dipa_hbac.h62 typedef void (*hbac_debug_fn_t)(const char *file, int line,
/sssd-io/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-io/src/config/SSSDConfig/
H A Dipachangeconf.py2 # ipachangeconf - configuration file manipulation classes and functions
361 # Read in the old file.
403 # Write settings to configuration file
404 # file is a path
408 def changeConf(self, file, newopts):
415 #Do not catch an unexisting file error, we want to fail in that case
416 shutil.copy2(file, file+self.backup_suffix)
418 f = openLocked(file, 0o644)
438 # Write settings to new file, backu
[all...]
/sssd-io/src/tests/python/docs/
H A DMakefile24 @echo " singlehtml to make a single large HTML file"
79 ".hhp project file in $(BUILDDIR)/htmlhelp."
85 ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
87 @echo "To view the help file:"
102 @echo "To view the help file:"
110 @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
162 @echo "The overview file is in $(BUILDDIR)/changes."
/sssd-io/src/providers/krb5/
H A Dkrb5_common.c158 DEBUG(SSSDBG_CONF_SETTINGS, "ccache file name template [%s] doesn't "
159 "contain randomizing characters (XXXXXX), file might not "
288 /* warn if the file type (which is usally created in a sticky bit
413 "KDC Proxy available for realm [%s], no kdcinfo file created.\n",
806 char *file; local
808 file = talloc_asprintf(mem_ctx, KDCINFO_TMPL, realm);
809 if(file == NULL) {
815 ret = unlink(file);
818 DEBUG(SSSDBG_FUNC_DATA, "Could not remove [%s], [%d][%s]\n", file,
822 file
[all...]

Completed in 146 milliseconds

12