unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* lib-src/seccomp-filter
@ 2022-07-14 14:03 Ulrich Mueller
  2022-07-15 15:39 ` lib-src/seccomp-filter Philipp Stephani
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2022-07-14 14:03 UTC (permalink / raw)
  To: emacs-devel

I have noticed that there is a configure check for libseccomp. If it
is successful (plus some additional conditions), then a seccomp-filter
binary and some *.bpf files are created in lib-src/. However, looks
like none of them are being installed?

Is this as intended? What is the purpose of these files?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lib-src/seccomp-filter
  2022-07-14 14:03 lib-src/seccomp-filter Ulrich Mueller
@ 2022-07-15 15:39 ` Philipp Stephani
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Stephani @ 2022-07-15 15:39 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: Emacs developers

Am Do., 14. Juli 2022 um 16:06 Uhr schrieb Ulrich Mueller <ulm@gentoo.org>:
>
> I have noticed that there is a configure check for libseccomp. If it
> is successful (plus some additional conditions), then a seccomp-filter
> binary and some *.bpf files are created in lib-src/. However, looks
> like none of them are being installed?
>
> Is this as intended? What is the purpose of these files?
>

They are meant to be used in conjunction with the --seccomp flag to
support a basic sandbox interface which would allow users to run
untrusted ELisp code in a secure manner. Right now the files are only
used in unit tests, and the higher-level sandboxing interface hasn't
materialized yet, but distributors could nevertheless choose to
install the files into e.g. /usr/share.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-15 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 14:03 lib-src/seccomp-filter Ulrich Mueller
2022-07-15 15:39 ` lib-src/seccomp-filter Philipp Stephani

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).