cherry-pick.FILE5_37-40-g3c6390a4.add-umask-2-from-shankara-pailoor.patch 447 B

123456789101112131415
  1. Subject: Add umask(2) (from Shankara Pailoor)
  2. Origin: FILE5_37-40-g3c6390a4 <https://github.com/file/file/commit/FILE5_37-40-g3c6390a4>
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Wed Jul 3 15:33:20 2019 +0000
  5. --- a/src/seccomp.c
  6. +++ b/src/seccomp.c
  7. @@ -211,6 +211,7 @@
  8. ALLOW_RULE(stat);
  9. ALLOW_RULE(stat64);
  10. ALLOW_RULE(sysinfo);
  11. + ALLOW_RULE(umask); // Used in file_pipe2file()
  12. ALLOW_RULE(unlink);
  13. ALLOW_RULE(write);