mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
a0dcf8ab13
The constants.json file is generated for compiling seccomp polices, but is only ever added to in newer versions of linux. Generating them in build.rs will cause the seccomp compiler to only understand constants and syscalls available on the build machine and fail if policy files try to allow syscalls not available. Putting the constants in version control will allow us to compile the policies regardless of how old the kernel headers on the build machine are. BUG=b:235858187 TEST=presubmit Change-Id: I1cfbb38f4687eb68b141f62c1c5fe6104b3f6456 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3988899 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Auto-Submit: Dennis Kempin <denniskempin@google.com> |
||
---|---|---|
.. | ||
9p_device.policy | ||
balloon_device.policy | ||
battery.policy | ||
block_device.policy | ||
coiommu_device.policy | ||
common_device.policy | ||
constants.json | ||
cras_audio_device.policy | ||
fs_device.policy | ||
gpu_common.policy | ||
gpu_device.policy | ||
gpu_render_server.policy | ||
input_device.policy | ||
net_device.policy | ||
null_audio_device.policy | ||
pmem_device.policy | ||
rng_device.policy | ||
serial.policy | ||
serial_device.policy | ||
snd_cras_device.policy | ||
snd_null_device.policy | ||
tpm_device.policy | ||
vhost_net_device.policy | ||
vhost_vsock_device.policy | ||
video_device.policy | ||
vios_audio_device.policy | ||
wl_device.policy | ||
xhci_device.policy |