r = pidref_safe_fork_full(
outer_name,
- /* stdio_fds = */ NULL, /* except_fds = */ NULL, /* n_except_fds = */ 0,
+ /* stdio_fds= */ NULL, /* except_fds= */ NULL, /* n_except_fds= */ 0,
(flags|FORK_DEATHSIG_SIGKILL) & ~(FORK_DEATHSIG_SIGTERM|FORK_DEATHSIG_SIGINT|FORK_REOPEN_LOG|FORK_NEW_MOUNTNS|FORK_MOUNTNS_SLAVE|FORK_NEW_USERNS|FORK_NEW_NETNS|FORK_NEW_PIDNS|FORK_CLOSE_ALL_FDS|FORK_PACK_FDS|FORK_CLOEXEC_OFF|FORK_RLIMIT_NOFILE_SAFE),
&pidref_outer);
if (r == -EPROTO && FLAGS_SET(flags, FORK_WAIT)) {
if (isempty(cc->bind_network_interface))
return 0;
- r = cg_get_path(crt->cgroup_path, /* suffix = */ NULL, &cgroup_path);
+ r = cg_get_path(crt->cgroup_path, /* suffix= */ NULL, &cgroup_path);
if (r < 0)
return log_unit_error_errno(u, r, "bind-interface: Failed to get cgroup path: %m");
}
int unit_fork_helper_process(Unit *u, const char *name, bool into_cgroup, PidRef *ret) {
- return unit_fork_helper_process_full(u, name, into_cgroup, /* flags = */ 0, ret);
+ return unit_fork_helper_process_full(u, name, into_cgroup, /* flags= */ 0, ret);
}
int unit_fork_and_watch_rm_rf(Unit *u, char **paths, PidRef *ret_pid) {
return log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to read LUKS JSON header.");
json[sz] = '\0';
- r = sd_json_parse(json, /* flags = */ 0, &v, /* reterr_line = */ NULL, /* reterr_column = */ NULL);
+ r = sd_json_parse(json, /* flags= */ 0, &v, /* reterr_line= */ NULL, /* reterr_column= */ NULL);
if (r < 0)
return log_error_errno(r, "Failed to parse LUKS JSON header.");
m->encrypted = true;
if (p->mount_node_fd >= 0)
- r = partition_is_luks2_integrity(p->mount_node_fd, /* offset = */ 0, /* size = */ UINT64_MAX);
+ r = partition_is_luks2_integrity(p->mount_node_fd, /* offset= */ 0, /* size= */ UINT64_MAX);
else
r = partition_is_luks2_integrity(fd, p->offset, p->size);
if (r < 0)
if (verity_settings_data_covers(verity, PARTITION_ROOT))
found_flags = iovec_is_set(&verity->root_hash_sig) ? PARTITION_POLICY_SIGNED : PARTITION_POLICY_VERITY;
else if (encrypted) {
- r = partition_is_luks2_integrity(fd, /* offset = */ 0, /* size = */ UINT64_MAX);
+ r = partition_is_luks2_integrity(fd, /* offset= */ 0, /* size= */ UINT64_MAX);
if (r < 0)
return r;
return 0;
}
- /* replace \n with = */
+ /* replace '\n' with '=' */
line[n-1] = '=';
imp->field_len = n;