summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-setuid.c
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: use FORK_REARRANGE_STDIO and FORK_CLOSE_ALL_FDSYu Watanabe2023-02-211-12/+6
* tree-wide: set FORK_RLIMIT_NOFILE_SAFE flagYu Watanabe2023-02-071-4/+1
* tree-wide: use -EBADF moreYu Watanabe2022-12-211-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* tree-wide: always use TAKE_FD() when calling rearrange_stdio()Lennart Poettering2021-11-031-2/+2
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-2/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* nspawn: don't chown() stdin/stdout passed in when --console=pipe is usedLennart Poettering2020-10-021-10/+13
* nspawn: use extract_first_word()Zbigniew Jędrzejewski-Szmek2020-09-091-7/+9
* *: convert amenable fdopen calls to take_fdopenVito Caputo2020-03-311-4/+2
* tree-wide: drop pwd.h and grp.h when user-util.h is includedYu Watanabe2019-11-041-1/+0
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+1
* Merge pull request #9762 from poettering/nspawn-ociZbigniew Jędrzejewski-Szmek2019-03-211-16/+34
|\
| * nspawn: refactor setuid code a bitLennart Poettering2019-03-151-16/+34
* | Handle or voidify all calls to close_all_fds()Zbigniew Jędrzejewski-Szmek2019-03-151-1/+1
|/
* tree-wide: Remove O_CLOEXEC from fdopenChris Down2018-12-121-2/+2
* tree-wide: invoke rlimit_nofile_safe() before various exec{v,ve,l}() invocationsLennart Poettering2018-12-011-0/+3
* coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek2018-11-221-40/+30
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* 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
* tree-wide: use TAKE_PTR() and TAKE_FD() macrosYu Watanabe2018-04-051-4/+2
* tree-wide: warn when a directory path already exists but has bad mode/owner/typeZbigniew Jędrzejewski-Szmek2018-03-231-1/+1
* basic/mkdir: convert bool flag to enumZbigniew Jędrzejewski-Szmek2018-03-221-1/+1
* tree-wide: port various places over to use new rearrange_stdio()Lennart Poettering2018-03-021-16/+2
* nspawn: close pipe on errorLennart Poettering2018-02-281-2/+4
* util: add new safe_close_above_stdio() wrapperLennart Poettering2018-02-281-6/+3
* nspawn: propagate original error. No need to make up -EIOLennart Poettering2018-02-281-4/+2
* nspawn: use STR_IN_SET() where we canLennart Poettering2018-02-281-1/+2
* nspawn: port some code to use read_line()Lennart Poettering2018-02-281-23/+21
* log: minimize includes in log.hLennart Poettering2018-01-111-0/+1
* process-util: rework wait_for_terminate_and_warn() to take a flags parameterLennart Poettering2018-01-041-2/+2
* process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN loggingLennart Poettering2018-01-041-2/+2
* tree-wide: introduce new safe_fork() helper and port everything overLennart Poettering2017-12-251-7/+5
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()Yu Watanabe2017-10-061-1/+1
* Use "return log_error_errno" in more places"Zbigniew Jędrzejewski-Szmek2016-07-221-5/+2
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* nspawn: fix two typos in error messagesDaniel Mack2016-01-061-2/+2
* util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: split out user/group/uid/gid calls into user-util.[ch]Lennart Poettering2015-10-261-0/+1
* util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering2015-10-251-1/+2
* util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering2015-10-241-4/+4
* nspawn: remove nspawn.h, it's empty nowLennart Poettering2015-09-071-1/+0
* nspawn: split out --uid= logic into nspawn-setuid.[ch]Lennart Poettering2015-09-071-0/+273