1. 21 Dec, 2017 1 commit
    • attach: handle /proc with hidepid={1,2} property · 57de839f
      Christian Brauner authored
      Receive fd for LSM security module before we set{g,u}id(). The reason is that
      on set{g,u}id() the kernel will a) make us undumpable and b) we will change our
      effective uid. This means our effective uid will be different from the
      effective uid of the process that created us which means that this processs no
      longer has capabilities in our namespace including CAP_SYS_PTRACE. This means
      we will not be able to read and /proc/<pid> files for the process anymore when
      /proc is mounted with hidepid={1,2}. So let's get the lsm label fd before the
      set{g,u}id().
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
  2. 20 Dec, 2017 3 commits
  3. 19 Dec, 2017 16 commits
  4. 18 Dec, 2017 4 commits
  5. 15 Dec, 2017 1 commit
  6. 14 Dec, 2017 15 commits