Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dcondition.c59 Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate) { in condition_new() argument
64 assert(parameter); in condition_new()
76 if (parameter) { in condition_new()
77 c->parameter = strdup(parameter); in condition_new()
78 if (!c->parameter) in condition_new()
88 free(c->parameter); in condition_free()
110 assert(c->parameter); in condition_test_kernel_command_line()
117 equal = strchr(c->parameter, '='); in condition_test_kernel_command_line()
130 found = streq(word, c->parameter); in condition_test_kernel_command_line()
134 f = startswith(word, c->parameter); in condition_test_kernel_command_line()
[all …]
Dreboot-util.c16 int update_reboot_parameter_and_warn(const char *parameter, bool keep) { in update_reboot_parameter_and_warn() argument
19 if (isempty(parameter)) { in update_reboot_parameter_and_warn()
34 r = write_string_file("/run/systemd/reboot-param", parameter, in update_reboot_parameter_and_warn()
43 int read_reboot_parameter(char **parameter) { in read_reboot_parameter() argument
46 assert(parameter); in read_reboot_parameter()
48 r = read_one_line_file("/run/systemd/reboot-param", parameter); in read_reboot_parameter()
66 _cleanup_free_ char *parameter = NULL; in reboot_with_parameter() local
68 r = read_one_line_file("/run/systemd/reboot-param", &parameter); in reboot_with_parameter()
73 if (!isempty(parameter)) { in reboot_with_parameter()
75 "Rebooting with argument '%s'.", parameter); in reboot_with_parameter()
[all …]
Dreboot-util.h4 int update_reboot_parameter_and_warn(const char *parameter, bool keep);
12 int read_reboot_parameter(char **parameter);
Dcondition.h69 char *parameter; member
74 Condition* condition_new(ConditionType type, const char *parameter, bool trigger, bool negate);
Dinstall.c3167 const char *parameter; in read_presets() local
3184 parameter = first_word(l, "enable"); in read_presets()
3185 if (parameter) { in read_presets()
3190 … r = split_pattern_into_name_and_instances(parameter, &unit_name, &instances); in read_presets()
3203 parameter = first_word(l, "disable"); in read_presets()
3204 if (parameter) { in read_presets()
3207 pattern = strdup(parameter); in read_presets()
/systemd-251/src/analyze/
Danalyze-security.c129 uint64_t parameter; member
208 *ret_badness = a->parameter ? *b : !*b; in assess_bool()
363 *ret_badness = !!(info->capability_bounding_set & a->parameter); in assess_capability_bounding_set()
528 *ret_badness = !!(info->restrict_namespaces & a->parameter); in assess_restrict_namespaces()
615 assert(a->parameter < _SYSCALL_FILTER_SET_MAX); in assess_system_call_filter()
616 const SyscallFilterSet *f = syscall_filter_sets + a->parameter; in assess_system_call_filter()
981 .parameter = UINT64_C(1) << CAP_SYS_ADMIN,
992 .parameter = (UINT64_C(1) << CAP_SETUID)|
1005 .parameter = (UINT64_C(1) << CAP_SYS_PTRACE),
1016 .parameter = UINT64_C(1) << CAP_SYS_TIME,
[all …]
/systemd-251/tools/
Dcheck-help.sh38 if ! ("$BINARY" --no-such-parameter 2>&1 1>/dev/null || :) | grep . >/dev/null; then
/systemd-251/src/basic/
Dproc-cmdline.h22 int proc_cmdline_get_key(const char *parameter, ProcCmdlineFlags flags, char **value);
/systemd-251/shell-completion/zsh/
D_systemd-tmpfiles8 '--clean[Clean up all files and directories with an age parameter configured.]' \
/systemd-251/docs/
DUSER_GROUP_API.md202 parameter is set it specifies the numeric UNIX UID to search for. If the
203 `userName` parameter is set it specifies the name of the user to search
213 The `service` parameter is mandatory and should be set to the service name
225 sensitive data is leaked this way. The `incomplete` parameter should indicate
258 parameter needs to contain the name of the service being talked to, in order to
DCODING_STYLE.md40 (i.e. use double indentation — 16 spaces — for the parameter list.)
166 const char *input, /* immutable input parameter */
167 char **ret_frobnicated) { /* return parameter */
588 to do so, as it makes it easy to identify command line parameter variables,
606 `const`. For example, a parameter taking a context object should probably not
653 them. `F_DUPFD_CLOEXEC` with `3` as parameter avoids them.
DUSERDB_AND_DESKTOPS.md68 to set this parameter to on. `systemd-homed` will not suspend home directories
70 suspending, as communicated via this parameter.
DPORTABLE_SERVICES.md146 out by default, but `--enable` and `--now` parameter are available as shortcuts.
271 The `--extension` parameter of `portablectl` can be used to specify as many upper
DUSER_NAMES.md159 parameter: without consulting the user/group databases it is not possible to
DRANDOM_SEEDS.md29 system call with its `flags` parameter set to 0. If invoked the calling
33 * The `getrandom()` system call with its `flags` parameter set to
DDISCOVERABLE_PARTITIONS.md303 `root=` parameter passed to the kernel by the boot loader may be omitted if the
305 is not the first one on the disk, the `root=` parameter _must_ be passed to the
DPORTABILITY_AND_STABILITY.md22 …e implementation and thus introduce a change in behaviour. But the API (parameter counts and types…
DENVIRONMENT.md205 "v238", "v239", "v240"…, or the special value "latest") as parameter. If
/systemd-251/src/login/
Dlogind-dbus.c2537 _cleanup_free_ char *parameter = NULL; in property_get_reboot_parameter() local
2544 r = read_reboot_parameter(&parameter); in property_get_reboot_parameter()
2548 return sd_bus_message_append(reply, "s", parameter); in property_get_reboot_parameter()
3668 SD_BUS_ARGS("s", parameter),
/systemd-251/test/
DREADME.testsuite111 kernel command line parameter with $KERNEL_APPEND and then log in as root.
/systemd-251/src/core/
Djob.c734 c->parameter), in job_emit_done_message()
Ddbus-unit.c299 c->parameter, tristate); in property_get_conditions()
/systemd-251/
DNEWS26 return parameter, containing the actual extension release metadata.
475 * When unlocking devices via TPM, TPM2 parameter encryption is now
888 directory or disk image. It also learnt a new --threshold= parameter
1047 uidmap/nouidmap options as last parameter. If "uidmap" is used the
1469 no 'root=' parameter on the kernel command line, and multiple
1585 command line parameter.
1605 gained a new parameter --uuid that prints the UUID for each generated
1910 parameter that controls character echo. It may either show asterisks
2199 parameter: the message to send.
2777 * systemctl gained a new parameter --timestamp= which may be used to
[all …]
Dmeson.build337 '-Wno-unused-parameter',
687 description : 'The type of gperf "len" parameter')
DTODO239 the sigqueue() data parameter. With that we extended with minimal logic the
344 that take an URL as parameter. It then generates service units for