• Philipp Stephani's avatar
    Add a variant of the Seccomp filter file that allows 'execve'. · c8d542fd
    Philipp Stephani authored
    This is useful when starting Emacs with a Seccomp filter enabled,
    e.g. using 'bwrap'.
    
    * lib-src/seccomp-filter.c (main): Generate new Seccomp files.
    
    * lib-src/Makefile.in (all)
    (seccomp-filter.bpf seccomp-filter.pfc seccomp-filter-exec.bpf
    seccomp-filter-exec.pfc): Generate new Seccomp files.
    
    * .gitignore: Ignore new Seccomp files.
    
    * test/src/emacs-tests.el (emacs-tests/bwrap/allows-stdout): New unit
    test.
    c8d542fd
emacs-tests.el 8.62 KB