Home
last modified time | relevance | path

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

1234567

/systemd-251/src/home/
Dhomework-luks.c72 static int resize_image_loop(UserRecord *h, HomeSetup *setup, uint64_t old_image_size, uint64_t new…
457 static int make_dm_names(UserRecord *h, HomeSetup *setup) { in make_dm_names() argument
460 assert(setup); in make_dm_names()
462 if (!setup->dm_name) { in make_dm_names()
463 setup->dm_name = strjoin("home-", h->user_name); in make_dm_names()
464 if (!setup->dm_name) in make_dm_names()
468 if (!setup->dm_node) { in make_dm_names()
469 setup->dm_node = path_join("/dev/mapper/", setup->dm_name); in make_dm_names()
470 if (!setup->dm_node) in make_dm_names()
479 HomeSetup *setup, in acquire_open_luks_device() argument
[all …]
Dhomework.c288 int home_setup_undo_mount(HomeSetup *setup, int level) { in home_setup_undo_mount() argument
291 assert(setup); in home_setup_undo_mount()
293 if (!setup->undo_mount) in home_setup_undo_mount()
306 setup->undo_mount = false; in home_setup_undo_mount()
310 int home_setup_undo_dm(HomeSetup *setup, int level) { in home_setup_undo_dm() argument
313 assert(setup); in home_setup_undo_dm()
315 if (setup->undo_dm) { in home_setup_undo_dm()
316 assert(setup->crypt_device); in home_setup_undo_dm()
317 assert(setup->dm_name); in home_setup_undo_dm()
319 r = sym_crypt_deactivate_by_name(setup->crypt_device, setup->dm_name, 0); in home_setup_undo_dm()
[all …]
Dhomework-directory.c18 int home_setup_directory(UserRecord *h, HomeSetup *setup) { in home_setup_directory() argument
24 assert(setup); in home_setup_directory()
25 assert(!setup->undo_mount); in home_setup_directory()
26 assert(setup->root_fd < 0); in home_setup_directory()
40 setup->undo_mount = true; in home_setup_directory()
52 setup->root_fd = open(HOME_RUNTIME_WORK_DIR, O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in home_setup_directory()
53 if (setup->root_fd < 0) in home_setup_directory()
62 HomeSetup *setup, in home_activate_directory() argument
72 assert(setup); in home_activate_directory()
78 r = home_setup(h, flags, setup, cache, &header_home); in home_activate_directory()
[all …]
Dhomework-cifs.c20 HomeSetup *setup) { in home_setup_cifs() argument
27 assert(setup); in home_setup_cifs()
28 assert(!setup->undo_mount); in home_setup_cifs()
29 assert(setup->root_fd < 0); in home_setup_cifs()
32setup->root_fd = open(user_record_home_directory(h), O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in home_setup_cifs()
33 if (setup->root_fd < 0) in home_setup_cifs()
106 setup->undo_mount = true; in home_setup_cifs()
114 if (!setup->undo_mount) in home_setup_cifs()
129 setup->root_fd = open_mkdir_at(AT_FDCWD, j, O_CLOEXEC, 0700); in home_setup_cifs()
130 if (setup->root_fd < 0) in home_setup_cifs()
[all …]
Dhomework-fscrypt.c214 HomeSetup *setup, in fscrypt_setup() argument
222 assert(setup); in fscrypt_setup()
223 assert(setup->root_fd >= 0); in fscrypt_setup()
225 r = flistxattr_malloc(setup->root_fd, &xattr_buf); in fscrypt_setup()
244 n = fgetxattr_malloc(setup->root_fd, xa, &value); in fscrypt_setup()
267 setup->fscrypt_key_descriptor, in fscrypt_setup()
284 HomeSetup *setup, in home_setup_fscrypt() argument
295 assert(setup); in home_setup_fscrypt()
296 assert(setup->root_fd < 0); in home_setup_fscrypt()
300 setup->root_fd = open(ip, O_RDONLY|O_CLOEXEC|O_DIRECTORY); in home_setup_fscrypt()
[all …]
Dhomework-luks.h8 …Record *h, HomeSetupFlags flags, const char *force_image_path, HomeSetup *setup, PasswordCache *ca…
10 int home_activate_luks(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *cache,…
11 int home_deactivate_luks(UserRecord *h, HomeSetup *setup);
12 int home_trim_luks(UserRecord *h, HomeSetup *setup);
14 int home_store_header_identity_luks(UserRecord *h, HomeSetup *setup, UserRecord *old_home);
16 int home_create_luks(UserRecord *h, HomeSetup *setup, const PasswordCache *cache, char **effective_…
18 int home_get_state_luks(UserRecord *h, HomeSetup *setup);
20 int home_resize_luks(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *cache, U…
22 int home_passwd_luks(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, const PasswordCache *ca…
24 int home_lock_luks(UserRecord *h, HomeSetup *setup);
[all …]
Dhomework.h74 int home_setup_done(HomeSetup *setup);
76 int home_setup_undo_mount(HomeSetup *setup, int level);
77 int home_setup_undo_dm(HomeSetup *setup, int level);
81 int home_setup(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *cache, UserRec…
83 int home_refresh(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, UserRecord *header_home, Pa…
85 int home_maybe_shift_uid(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup);
90 int home_extend_embedded_identity(UserRecord *h, UserRecord *used, HomeSetup *setup);
Dhomework-directory.h7 int home_setup_directory(UserRecord *h, HomeSetup *setup);
8 int home_activate_directory(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *c…
9 int home_create_directory_or_subvolume(UserRecord *h, HomeSetup *setup, UserRecord **ret_home);
10 int home_resize_directory(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *cac…
Dhomework-fscrypt.h7 int home_setup_fscrypt(UserRecord *h, HomeSetup *setup, const PasswordCache *cache);
9 int home_create_fscrypt(UserRecord *h, HomeSetup *setup, char **effective_passwords, UserRecord **r…
11 int home_passwd_fscrypt(UserRecord *h, HomeSetup *setup, const PasswordCache *cache, char **effecti…
Dhomework-cifs.h7 int home_setup_cifs(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup);
9 int home_activate_cifs(UserRecord *h, HomeSetupFlags flags, HomeSetup *setup, PasswordCache *cache,…
11 int home_create_cifs(UserRecord *h, HomeSetup *setup, UserRecord **ret_home);
/systemd-251/src/core/
Dmeson.build4 apparmor-setup.c
5 apparmor-setup.h
72 generator-setup.c
73 generator-setup.h
74 ima-setup.c
75 ima-setup.h
82 kmod-setup.c
83 kmod-setup.h
88 locale-setup.c
89 locale-setup.h
[all …]
/systemd-251/src/fundamental/
Defivars-fundamental.c23 sd_bool setup) { in decode_secure_boot_mode() argument
26 if (secure && deployed && !audit && !setup) in decode_secure_boot_mode()
28 if (secure && !deployed && !audit && !setup) in decode_secure_boot_mode()
30 if (!secure && !deployed && audit && setup) in decode_secure_boot_mode()
32 if (!secure && !deployed && !audit && setup) in decode_secure_boot_mode()
37 if (!secure && !deployed && !audit && !setup) in decode_secure_boot_mode()
/systemd-251/src/shared/
Dmeson.build64 'cgroup-setup.c',
65 'cgroup-setup.h',
91 'dev-setup.c',
92 'dev-setup.h',
149 'hostname-setup.c',
150 'hostname-setup.h',
209 'loopback-setup.c',
210 'loopback-setup.h',
211 'machine-id-setup.c',
212 'machine-id-setup.h',
[all …]
/systemd-251/src/boot/efi/
Dsecure-boot.c17 BOOLEAN secure, audit = FALSE, deployed = FALSE, setup = FALSE; in secure_boot_mode() local
28 (void) efivar_get_boolean_u8(EFI_GLOBAL_GUID, L"SetupMode", &setup); in secure_boot_mode()
30 return decode_secure_boot_mode(secure, audit, deployed, setup); in secure_boot_mode()
/systemd-251/test/TEST-13-NSPAWN-SMOKE/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-14-MACHINE-ID/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-15-DROPIN/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-16-EXTEND-TIMEOUT/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-28-PERCENTJ-WANTEDBY/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-29-PORTABLE/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-30-ONCLOCKCHANGE/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-31-DEVICE-ENUMERATION/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-32-OOMPOLICY/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-37-RUNTIMEDIRECTORYPRESERVE/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again
/systemd-251/test/TEST-40-EXEC-COMMAND-EX/
DMakefile3 all setup run clean clean-again: target
6 .PHONY: all setup run clean clean-again

1234567