From: Lennart Poettering Date: Thu, 9 Apr 2020 15:15:55 +0000 (+0200) Subject: Merge pull request #15318 from fbuihuu/inherit-umask-for-user-units X-Git-Tag: v246-rc1~624 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=611cb82612766f8dc973c02cbd217cf8d84d5d4f;p=thirdparty%2Fsystemd.git Merge pull request #15318 from fbuihuu/inherit-umask-for-user-units pid1: by default make user units inherit their umask from the user ma… --- 611cb82612766f8dc973c02cbd217cf8d84d5d4f diff --cc man/systemd.exec.xml index 073d331e6d9,dfb8520e118..401233475e0 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@@ -652,36 -652,15 +652,41 @@@ CapabilityBoundingSet=~CAP_B CAP_CUMask= Controls the file mode creation mask. Takes an access mode in octal notation. See - umask2 for details. Defaults - to 0022. + umask2 for + details. Defaults to 0022 for system units. For units of the user service manager the default value + is inherited from the user instance (whose default is inherited from the system service manager, and + thus also is 0022). Hence changing the default value of a user instance, either via + UMask= or via a PAM module, will affect the user instance itself and all user + units started by the user instance unless a user unit has specified its own + UMask=. + + CoredumpFilter= + + Controls which types of memory mappings will be saved if the process dumps core + (using the /proc/pid/coredump_filter file). Takes a + whitespace-separated combination of mapping type names or numbers (with the default base 16). Mapping + type names are private-anonymous, shared-anonymous, + private-file-backed, shared-file-backed, + elf-headers, private-huge, + shared-huge, private-dax, shared-dax, + and the special values all (all types) and default (the + kernel default of private-anonymous + shared-anonymous elf-headers + private-huge). See + core5 for the + meaning of the mapping types. When specified multiple times, all specified masks are ORed. When not + set, or if the empty value is assigned, the inherited value is not changed. + + + Add DAX pages to the dump filter + + CoredumpFilter=default private-dax shared-dax + + + + KeyringMode=