]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #10935 from poettering/rlimit-nofile-safe
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Dec 2018 16:19:21 +0000 (17:19 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Dec 2018 16:19:21 +0000 (17:19 +0100)
Merged by hand to resolve a trivial conflict in TODO.

1  2 
TODO
src/basic/meson.build
src/basic/process-util.c
src/coredump/coredumpctl.c
src/login/inhibit.c
src/machine/image-dbus.c
src/shared/exec-util.c
src/shared/meson.build
src/systemctl/systemctl.c
src/udev/udev-event.c
src/vconsole/vconsole-setup.c

diff --cc TODO
index 41ad24d3bbd20fd493c3833542eb74708d941e0f,f5c5d6cc222985c1e7311dcd43f2e27699d223dc..3a4eac4b2c0b15abdb54841562cb7f5b8dbd9f4a
--- 1/TODO
--- 2/TODO
+++ b/TODO
@@@ -23,12 -23,10 +23,16 @@@ Janitorial Clean-ups
  
  Features:
  
 +* when importing an fs tree with machined, optionally apply userns-rec-chown
 +
 +* when importing an fs tree with machined, complain if image is not an OS
 +
 +* when we fork off generators and such, lower LIMIT_NOFILE soft limit to 1K
 +
+ * Maybe introduce a helper safe_exec() or so, which is to execve() which
+   safe_fork() is to fork(). And then make revert the RLIMIT_NOFILE soft limit
+   to 1K implicitly, unless explicitly opted-out.
  * rework seccomp/nnp logic that that even if User= is used in combination with
    a seccomp option we don't have to set NNP. For that, change uid first whil
    keeping CAP_SYS_ADMIN, then apply seccomp, the drop cap.
index a59b8ac92868a7d7415f2c94ea7b30d655e57a4e,4cd6911da9fcc1143200742573c469467fd95291..78e69feb4df2652bf83082f413fabb2ae3fd849c
@@@ -149,8 -120,11 +149,10 @@@ basic_sources = files(''
          refcnt.h
          replace-var.c
          replace-var.h
+         rlimit-util.c
+         rlimit-util.h
          rm-rf.c
          rm-rf.h
 -        securebits.h
          selinux-util.c
          selinux-util.h
          set.h
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge