Skip to content
Snippets Groups Projects
  1. Oct 18, 2023
  2. May 09, 2023
  3. Apr 25, 2023
  4. Apr 03, 2023
  5. Mar 31, 2023
  6. Mar 29, 2023
  7. Feb 19, 2023
  8. Feb 07, 2023
  9. Feb 06, 2023
  10. Feb 02, 2023
  11. Oct 31, 2022
  12. Sep 22, 2022
    • Paul Moore's avatar
      all: add seccomp_precompute() functionality · e797591b
      Paul Moore authored
      
      This patch adds a seccomp_precompute() API to precompute the seccomp
      filter prior to calling seccomp_load() or similar functions.  Not
      only does this improve the performance of seccomp_load(), it ensures
      that seccomp_load() is async-signal-safe if no additional changes
      have been made since the filter was precomputed.
      
      Python bindings, test, and manpage updates are included in this
      patch.
      
      One minor side effect of this change is that seccomp_export_bpf_mem()
      now always return the length of the filter in the "len" function
      parameter, even in cases where the passed buffer is too small.
      Arguably seccomp_export_bpf_mem() should have always behaved this
      way.
      
      Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
      e797591b
    • Paul Moore's avatar
      all: use C style comments · 8b9fd695
      Paul Moore authored
      
      Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
      8b9fd695
  13. Sep 21, 2022
  14. Sep 20, 2022
  15. Jul 11, 2022
  16. Jun 08, 2022
  17. May 09, 2022
  18. Apr 21, 2022
  19. Apr 20, 2022
  20. Apr 15, 2022
Loading