lix/src/libstore
alois31 2c48460850
libstore/linux: precompile and cache the seccomp BPF
The growth of the seccomp filter in 127ee1a101
made its compilation time significant (roughly 10 milliseconds have been
measured on one machine). For this reason, it is now precompiled and cached in
the parent process so that this overhead is not hit for every single build. It
is still not optimal when going through the daemon, because compilation still
happens once per client, but it's better than before and doing it only once for
the entire daemon requires excessive crimes with the current architecture.

Fixes: #461
Change-Id: I2277eaaf6bab9bd74bbbfd9861e52392a54b61a3
2024-08-06 19:10:33 +02:00
..
build libstore: add LocalDerivationGoal setupSyscallFilter hook 2024-08-06 18:27:09 +02:00
builtins
platform libstore/linux: precompile and cache the seccomp BPF 2024-08-06 19:10:33 +02:00
binary-cache-store.cc
binary-cache-store.hh
build-result.cc
build-result.hh
builtins.hh
ca-specific-schema.sql
common-protocol-impl.hh
common-protocol.cc
common-protocol.hh libstore: remove WriteConn::sink fields 2024-07-16 00:57:42 +00:00
content-address.cc
content-address.hh Fix various clang-tidy lints 2024-03-29 20:26:38 -07:00
crypto.cc
crypto.hh
daemon.cc
daemon.hh
derivations.cc
derivations.hh
derived-path-map.cc
derived-path-map.hh
derived-path.cc
derived-path.hh
downstream-placeholder.cc
downstream-placeholder.hh
dummy-store.cc
dummy-store.md
export-import.cc
filetransfer.cc
filetransfer.hh
fs-accessor.hh
gc-store.hh
gc.cc
globals.cc
globals.hh
http-binary-cache-store.cc
http-binary-cache-store.md
indirect-root-store.hh
legacy-ssh-store.cc
legacy-ssh-store.md
length-prefixed-protocol-helper.hh
lix-store.pc.in
local-binary-cache-store.cc
local-binary-cache-store.md
local-fs-store.cc
local-fs-store.hh
local-store.cc
local-store.hh
local-store.md
lock.cc
lock.hh
log-store.cc
log-store.hh
machines.cc
machines.hh
make-content-addressed.cc
make-content-addressed.hh
meson.build
misc.cc
names.cc
names.hh
nar-accessor.cc
nar-accessor.hh
nar-info-disk-cache.cc
nar-info-disk-cache.hh
nar-info.cc
nar-info.hh
optimise-store.cc
outputs-spec.cc
outputs-spec.hh
parsed-derivations.cc
parsed-derivations.hh
path-info.cc
path-info.hh
path-references.cc
path-references.hh
path-regex.hh
path-with-outputs.cc
path-with-outputs.hh
path.cc
path.hh
pathlocks.cc
pathlocks.hh
platform.cc
profiles.cc
profiles.hh
realisation.cc
realisation.hh
remote-fs-accessor.cc
remote-fs-accessor.hh
remote-store-connection.hh
remote-store.cc
remote-store.hh
s3-binary-cache-store.cc
s3-binary-cache-store.hh
s3-binary-cache-store.md
s3.hh
schema.sql
serve-protocol-impl.hh
serve-protocol.cc
serve-protocol.hh
sqlite.cc
sqlite.hh
ssh-store-config.hh
ssh-store.cc
ssh-store.md
ssh.cc libstore/ssh: only resume the logger when we paused it 2024-08-02 18:38:14 +02:00
ssh.hh
store-api.cc
store-api.hh
store-cast.hh
uds-remote-store.cc
uds-remote-store.hh
uds-remote-store.md
worker-protocol-impl.hh
worker-protocol.cc
worker-protocol.hh