1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-10 05:18:17 +03:00
systemd/src/home
Adrian Vovk 606a1f203c
homework-cifs: Pass password via fd
Pass the password into mount.cifs via a file descriptor, rather
than putting it into a plain-text file in /tmp. This uses the $PASSWD_FD
environment variable, which is undocumented but has existed since
forever (initial commit from 2010 [1] has it already)

[1]:
https://git.samba.org/?p=cifs-utils.git;a=blob;f=mount.cifs.c;hb=ce0b1609a9eedce6c5eb20eab287ea44217c0a6a#l1477
2024-03-11 13:07:06 -04:00
..
home-util.c homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
home-util.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homectl-fido2.c libfido2: tweak credential to read fido2 PIN from 2024-02-20 16:50:00 +01:00
homectl-fido2.h cryptenroll,homectl: Introduce --fido2-credential-algorithm option 2022-04-22 20:22:40 +02:00
homectl-pkcs11.c cryptsetup: drop "headless" bool, make it a flag in AskPasswordFlags instead 2024-02-20 16:50:04 +01:00
homectl-pkcs11.h cryptenroll: allow to use a public key on a token 2024-02-03 03:00:51 +09:00
homectl-recovery-key.c tree-wide: use _cleanup_set_free_ and friends 2023-06-01 06:47:48 +09:00
homectl-recovery-key.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homectl.c user-record: Add preferredSession{Type,Launcher} 2024-03-01 16:28:10 +00:00
homed-bus.c fd-util: introduce fd_verify_safe_flags 2024-02-22 06:17:54 +08:00
homed-bus.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homed-conf.c various: use new config loader instead of config_parse_config_file() 2024-03-07 19:14:36 +01:00
homed-conf.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homed-gperf.gperf tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
homed-home-bus.c polkit: turn "interactive" flag to polkit APIs into a proper flags field (#31715) 2024-03-11 11:57:45 +00:00
homed-home-bus.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homed-home.c homed: port to use new invoke_callout_binary() API 2024-02-21 09:25:46 +01:00
homed-home.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homed-manager-bus.c homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homed-manager-bus.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homed-manager.c homed: Create & advertise blob directory 2024-02-19 11:18:11 +00:00
homed-manager.h tree-wide: fix typo 2022-12-02 13:27:08 +09:00
homed-operation.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
homed-operation.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
homed-varlink.c varlink,json: introduce new varlink_dispatch() helper 2023-11-02 01:19:21 +00:00
homed-varlink.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homed.c signal-util: imply sentinel -1 in sigprocmask_many() + sigset_add_many() args list 2024-02-23 09:35:12 -08:00
homed.conf config files: update their header to reflect that they can be installed in /usr 2023-09-21 18:54:39 +02:00
homework-blob.c homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homework-blob.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
homework-cifs.c homework-cifs: Pass password via fd 2024-03-11 13:07:06 -04:00
homework-cifs.h homework: don't try to shift uidmap for already activated home areas 2021-11-24 18:31:51 +01:00
homework-directory.c homework: Reconcile blob directories 2024-02-19 11:18:11 +00:00
homework-directory.h homework: don't try to shift uidmap for already activated home areas 2021-11-24 18:31:51 +01:00
homework-fido2.c tree-wide: fix return value handling of base64mem() 2023-01-11 10:46:08 +01:00
homework-fido2.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homework-fscrypt.c tree-wide: replace FOREACH_POINTER with FOREACH_ARGUMENT 2024-01-24 21:29:11 +08:00
homework-fscrypt.h homework: always pass HomeSetup param first, PasswordCache second 2021-10-28 08:17:46 +02:00
homework-luks.c homework: Reconcile blob directories 2024-02-19 11:18:11 +00:00
homework-luks.h homework: don't try to shift uidmap for already activated home areas 2021-11-24 18:31:51 +01:00
homework-mount.c tree-wide: "<n>bit" → "<n>-bit" 2023-07-02 11:10:12 +01:00
homework-mount.h homework: also add a way to configure additional mount options via a JSON user record field 2021-11-12 22:22:06 +01:00
homework-password-cache.c homework: fix memleak 2021-11-26 00:14:32 +09:00
homework-password-cache.h homework: upload home password into kernel keyring if needed 2021-11-23 08:07:21 +01:00
homework-pkcs11.c tree-wide: never link directly against p11kit 2023-11-02 17:26:46 +00:00
homework-pkcs11.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homework-quota.c homework-quota.c: correct error message in home_update_quota_btrfs 2023-12-01 16:41:29 +00:00
homework-quota.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
homework.c homework: Lock/Unlock: Freeze/Thaw user session 2024-03-05 12:12:36 -05:00
homework.h homework: Cleanup home_store_embedded_identity 2024-01-18 17:54:45 -05:00
meson.build homework: Reconcile blob directories 2024-02-19 11:18:11 +00:00
org.freedesktop.home1.conf homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
org.freedesktop.home1.policy homed: add a ActivateHomeIfReferenced() bus call 2024-02-14 15:04:15 +01:00
org.freedesktop.home1.service license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
pam_systemd_home.c pam_systemd_home: always close already opened bus connection in open_session() 2024-02-21 13:22:54 +09:00
pam_systemd_home.sym license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record-password-quality.c shared: add libpasswdqc support 2023-07-06 10:59:41 +00:00
user-record-password-quality.h shared: add password quality check abstraction layer to support both pwquality and passwdqc 2023-07-06 10:59:41 +00:00
user-record-sign.c tree-wide: drop space between variable and an increment/decrement 2023-12-25 01:56:40 +09:00
user-record-sign.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record-util.c homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00
user-record-util.h homework: Handle Update & Create w/ blob dir 2024-02-19 11:18:11 +00:00