1
0

plugin.policy 909 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Copyright 2017 The ChromiumOS Authors
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. close: 1
  5. dup: 1
  6. dup2: 1
  7. execve: 1
  8. exit_group: 1
  9. futex: 1
  10. kill: 1
  11. lseek: 1
  12. mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
  13. munmap: 1
  14. read: 1
  15. recvfrom: 1
  16. sched_getaffinity: 1
  17. set_robust_list: 1
  18. sigaltstack: 1
  19. # Disallow clone's other than new threads.
  20. clone: arg0 & 0x00010000
  21. clone3: 1
  22. write: 1
  23. eventfd2: 1
  24. poll: 1
  25. getpid: 1
  26. getppid: 1
  27. # Allow PR_SET_NAME only.
  28. prctl: arg0 == 15
  29. rseq: 1
  30. access: 1
  31. arch_prctl: 1
  32. brk: 1
  33. exit: 1
  34. fcntl: 1
  35. fstat: 1
  36. ftruncate: 1
  37. getcwd: 1
  38. getrlimit: 1
  39. # TUNGETFEATURES
  40. ioctl: arg1 == 0x800454CF
  41. madvise: 1
  42. memfd_create: 1
  43. mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
  44. open: 1
  45. openat: 1
  46. prlimit64: arg2 == 0 && arg3 != 0
  47. recvmsg: 1
  48. restart_syscall: 1
  49. rt_sigaction: 1
  50. rt_sigprocmask: 1
  51. sendmsg: 1
  52. set_tid_address: 1
  53. stat: 1
  54. writev: 1