Skip to content
Snippets Groups Projects
  1. Jul 24, 2020
  2. Jul 23, 2020
  3. Jul 22, 2020
  4. Jul 21, 2020
  5. Jul 20, 2020
    • Jigsaw52's avatar
      Fix seccomp sandbox rules for openat #27315 · d75e7daa
      Jigsaw52 authored
      The need for casting negative syscall arguments depends on the
      glibc version. This affects the rules for the openat syscall which
      uses the constant AT_FDCWD that is defined as a negative number.
      This commit adds logic to only apply the cast when necessary, on
      glibc versions from 2.27 onwards.
      d75e7daa
    • Jigsaw52's avatar
      Fix seccomp sandbox rules for opening directories #40020 · d28bfb2c
      Jigsaw52 authored
      Different versions of glibc use either open or openat for the
      opendir function. This commit adds logic to use the correct rule
      for each glibc version, namely:
      - Until 2.14 open is used
      - From 2.15 to to 2.21 openat is used
      - From 2.22 to 2.26 open is used
      - From 2.27 onwards openat is used
      d28bfb2c
Loading