summaryrefslogtreecommitdiffstats
path: root/src/shared/switch-root.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* use O_PATH to get the root fdsMatteo Croce2024-07-161-1/+1
* switch-root: update comment regarding dropped mountsMike Yuan2024-05-161-2/+2
* switch-root: preserve the whole cred mount tree (/run/credentials/)Mike Yuan2024-05-151-7/+6
* use FOREACH_ELEMENTMatteo Croce2024-04-181-1/+1
* mountpoint-util: introduce path_is_mount_point_fullMike Yuan2024-02-061-1/+1
* switch-root: also check that mount IDs are the same, not just inodesLuca Boccassi2023-12-051-3/+3
* Revert "shutdown: do not umount recursively before MS_MOVE"Lennart Poettering2023-09-021-2/+1
* switch-root: when pivot_root() fails, but old root shall be mounted, do soLennart Poettering2023-09-021-0/+6
* switch-root: rework SWITCH_ROOT_SKIP_RECURSIVE_RUN flagLennart Poettering2023-09-021-17/+18
* switch-root: reopen target directory after it is mountedYu Watanabe2023-08-031-0/+12
* shutdown: do not umount recursively before MS_MOVEYu Watanabe2023-08-031-1/+2
* switch-root: use MS_REC for /run, unless we are soft-rebootingLuca Boccassi2023-07-241-7/+16
* switch-root: automatically make target switch root dir a mount pointLennart Poettering2023-06-021-0/+5
* switch-root: disable sync() again when we switch root during shutdownLennart Poettering2023-06-021-1/+2
* switch-root: introduce SwitchRootFlags flags parameter to switch_root()Lennart Poettering2023-06-021-7/+10
* switch-root: always use MS_BIND to move api vfs overLennart Poettering2023-06-021-23/+38
* pid1: add "soft-reboot" reboot methodLennart Poettering2023-06-021-2/+3
* stat-util: rename files_same() → inode_same()Lennart Poettering2023-05-191-1/+1
* switch-root: check if old and new root fs is same via files_same_at()Lennart Poettering2023-05-191-7/+12
* switch-root: sync() before MNT_DETACH unmounting all old mountsLennart Poettering2023-05-191-0/+7
* switch-root: when switching root via MS_MOVE unmount all remaining mounts firstLennart Poettering2023-05-171-0/+8
* switch-root: add a comment regarding the safety limits of rm_rf_children()Lennart Poettering2023-05-161-0/+2
* base-filesystem: add new helper base_filesystem_create_fd() that operates on ...Lennart Poettering2023-05-031-1/+1
* switch-root: don't require /mnt/ when switching root into host OSLennart Poettering2023-05-031-39/+48
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-3/+3
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* pid1: skip cleanup if root is not tmpfs/ramfsZbigniew Jędrzejewski-Szmek2022-11-091-10/+12
* basic: create new basic/initrd-util.[ch] for initrd-related functionsZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* strv: declare iterator of FOREACH_STRING() in the loopZbigniew Jędrzejewski-Szmek2022-03-231-6/+5
* shared: clean up mkdir.h/label.h situationLennart Poettering2021-11-161-1/+1
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* tree-wide: drop stdio.h when stdio-util.h is includedYu Watanabe2019-11-031-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+1
* basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-2/+2
* switch-root: modernize rm_rf_children() invocation a bitLennart Poettering2019-04-291-4/+2
* switch-root: fix error messageYu Watanabe2018-12-281-1/+1
* Split out part of mount-util.c into mountpoint-util.cZbigniew Jędrzejewski-Szmek2018-11-291-0/+1
* tree-wide: drop copyright lines for more authorsZbigniew Jędrzejewski-Szmek2018-06-221-3/+0
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-1/+1
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* shared: rework switch_root() codeLennart Poettering2016-12-211-80/+59
* Do not raise in switch root if paths are too longZbigniew Jędrzejewski-Szmek2016-11-031-7/+18
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* tree-wide: use xsprintf() where applicableDaniel Mack2016-01-121-1/+2
* shared: include what we useThomas Hindoe Paaboel Andersen2015-12-061-1/+3
* user-util: move UID/GID related macros from macro.h to user-util.hLennart Poettering2015-10-271-0/+1