Home
last modified time | relevance | path

Searched refs:bad (Results 1 – 25 of 35) sorted by relevance

12

/systemd-251/src/boot/
Dbless-boot.c297 _cleanup_free_ char *bad = NULL; in make_bad() local
307 bad = strjoin(prefix, "+0", suffix); in make_bad()
308 if (!bad) in make_bad()
311 if (asprintf(&bad, "%s+0-%" PRIu64 "%s", prefix, done, suffix) < 0) in make_bad()
315 *ret = TAKE_PTR(bad); in make_bad()
327 _cleanup_free_ char *path = NULL, *prefix = NULL, *suffix = NULL, *good = NULL, *bad = NULL; in verb_status() local
347 r = make_bad(prefix, done, suffix, &bad); in verb_status()
356 bad); in verb_status()
388 if (faccessat(fd, skip_slash(bad), F_OK, 0) >= 0) { in verb_status()
393 return log_error_errno(errno, "Failed to check if '%s' exists: %m", bad); in verb_status()
[all …]
/systemd-251/src/basic/
Descape.h63 char* xescape_full(const char *s, const char *bad, size_t console_width, XEscapeFlags flags);
64 static inline char* xescape(const char *s, const char *bad) { in xescape() argument
65 return xescape_full(s, bad, SIZE_MAX, 0); in xescape()
70 char* shell_escape(const char *s, const char *bad);
Dstring-util.h105 char *delete_chars(char *s, const char *bad);
106 char *delete_trailing_chars(char *s, const char *bad);
109 static inline char *skip_leading_chars(const char *s, const char *bad) { in skip_leading_chars() argument
113 if (!bad) in skip_leading_chars()
114 bad = WHITESPACE; in skip_leading_chars()
116 return (char*) s + strspn(s, bad); in skip_leading_chars()
Descape.c364 char* xescape_full(const char *s, const char *bad, size_t console_width, XEscapeFlags flags) { in xescape_full() argument
400 *f == '\\' || strchr(bad, *f)) { in xescape_full()
475 static char* strcpy_backslash_escaped(char *t, const char *s, const char *bad) { in strcpy_backslash_escaped() argument
476 assert(bad); in strcpy_backslash_escaped()
482 if (*s == '\\' || strchr(bad, *s)) in strcpy_backslash_escaped()
490 char* shell_escape(const char *s, const char *bad) { in shell_escape() argument
497 t = strcpy_backslash_escaped(buf, s, bad); in shell_escape()
Dstring-util.c129 char *delete_chars(char *s, const char *bad) { in delete_chars() argument
137 if (!bad) in delete_chars()
138 bad = WHITESPACE; in delete_chars()
141 if (strchr(bad, *f)) in delete_chars()
152 char *delete_trailing_chars(char *s, const char *bad) { in delete_trailing_chars() argument
160 if (!bad) in delete_trailing_chars()
161 bad = WHITESPACE; in delete_trailing_chars()
164 if (!strchr(bad, *p)) in delete_trailing_chars()
Dstrv.c807 char** strv_shell_escape(char **l, const char *bad) { in strv_shell_escape() argument
814 v = shell_escape(*s, bad); in strv_shell_escape()
Dstrv.h229 char** strv_shell_escape(char **l, const char *bad);
/systemd-251/test/hwdb.d/
D10-bad.hwdb10 GOOD:5:bad property
13 GOOD:6:bad property
/systemd-251/test/units/
Dtestsuite-23.sh46 "ssa(sv)a(sa(sv))" test-20933-bad.service replace 1 \
55 "ssa(sv)a(sa(sv))" test-20933-bad-middle.service replace 1 \
/systemd-251/src/resolve/
Dresolved-bus.c1036 DnsQuery *bad = NULL; in resolve_service_all_complete() local
1052 bad = aux; in resolve_service_all_complete()
1056 bad = aux; in resolve_service_all_complete()
1064 assert(bad); in resolve_service_all_complete()
1066 if (bad->state == DNS_TRANSACTION_SUCCESS) { in resolve_service_all_complete()
1067 assert(bad->auxiliary_result != 0); in resolve_service_all_complete()
1069 if (bad->auxiliary_result == -ELOOP) { in resolve_service_all_complete()
1070 …ROR_CNAME_LOOP, "CNAME loop detected, or CNAME resolving disabled on '%s'", dns_query_string(bad)); in resolve_service_all_complete()
1074 assert(bad->auxiliary_result < 0); in resolve_service_all_complete()
1075 r = bad->auxiliary_result; in resolve_service_all_complete()
[all …]
Dresolved-dns-query.c933 DnsQueryCandidate *bad = NULL; in dns_query_ready() local
969 bad = c; in dns_query_ready()
977 dns_query_accept(q, bad); in dns_query_ready()
/systemd-251/docs/
DAUTOMATIC_BOOT_ASSESSMENT.md72 it reached zero the entry is not tried anymore (entry state "bad"). If the boot
103 considered "bad", and ordered to the beginning of the list of entries. The
204 4. *Under some condition I want to mark the current boot loader entry as bad
206 invoke `/usr/lib/systemd/systemd-bless-boot bad` at any time to mark the
207 current boot loader entry as "bad" right-away so that it isn't tried again
DBLOCK_DEVICE_LOCKING.md18 affected, which is bad in itself, but also might in turn result in undesired
/systemd-251/src/test/
Dtest-escape.c134 static void test_shell_escape_one(const char *s, const char *bad, const char *expected) { in test_shell_escape_one() argument
137 assert_se(r = shell_escape(s, bad)); in test_shell_escape_one()
Dtest-execute.c856 _cleanup_free_ char *bad = private_directory_bad(m); in test_exec_dynamicuser() local
857 if (bad) { in test_exec_dynamicuser()
858 log_warning("%s: %s has bad permissions, skipping test.", __func__, bad); in test_exec_dynamicuser()
/systemd-251/
D.lgtm.yml7 - include: cpp/bad-strncpy-size
/systemd-251/.github/
Dcodeql-custom.qls17 - cpp/bad-strncpy-size
/systemd-251/.lgtm/cpp-queries/
DUninitializedVariableWithCleanup.ql8 * is generally a bad idea.
/systemd-251/src/analyze/
Danalyze-security.c626 bool bad; in assess_system_call_filter() local
630bad = syscall_names_in_filter(info->system_call_filter, info->system_call_filter_allow_list, f, &o… in assess_system_call_filter()
631 log_debug("Result: %s", bad ? "bad" : "good"); in assess_system_call_filter()
634 if (bad) { in assess_system_call_filter()
645 if (bad) { in assess_system_call_filter()
/systemd-251/catalog/
Dsystemd.ru.catalog.in395 - "var-run-bad" — /var/run не является символьной ссылкой на /run
Dsystemd.fr.catalog.in344 - "var-run-bad" — /var/run n'est pas un lien symbolique vers /run
Dsystemd.it.catalog.in409 - "var-run-bad" — /var/run non è un link simbolico (symlink) a /run
/systemd-251/src/shared/
Djson.h357 int json_dispatch(JsonVariant *v, const JsonDispatch table[], JsonDispatchCallback bad, JsonDispatc…
/systemd-251/src/core/
Ddbus-manager.c2230 bool bad = false, good = false; in reply_unit_file_changes_and_free() local
2256 bad = true; in reply_unit_file_changes_and_free()
2273 if (bad && !good) in reply_unit_file_changes_and_free()
Dmanager.c1226 goto bad; in unit_gc_sweep()
1256 goto bad; in unit_gc_sweep()
1264 bad: in unit_gc_sweep()

12