diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-03-27 08:46:03 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-03-27 09:47:45 +0000 |
commit | b77a9aeec19a22702ae234c2c3c7d27aae469de6 (patch) | |
tree | 8e1cbb7a63c81981ecca94d628a37e76ecedf4f2 /pkgs/tools/networking/dnscrypt-proxy2/default.nix | |
parent | 45cebb6c7be4570855a6480281d74d0bbe01b24d (diff) | |
download | nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar.gz nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar.bz2 nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar.lz nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar.xz nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.tar.zst nixpkgs-b77a9aeec19a22702ae234c2c3c7d27aae469de6.zip |
minijail: build and install constants.json
This is a syscall table used for compiling Minijail policy files to BPF. The compiler is available in the minijail-tools package. The file is generated by compiling and running a small program named dump_constants. When cross-compiling, we have to get the syscall table for the host platform. To do this, dump_constants is run under QEMU user emulation for the appropriate platform. Google takes the same approach in their minijail packages for ChromiumOS[1]. [1]: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/729bd4269a47870380f8dde0b162de355ce89dfe/chromeos-base/minijail/minijail-9999.ebuild#49
Diffstat (limited to 'pkgs/tools/networking/dnscrypt-proxy2/default.nix')
0 files changed, 0 insertions, 0 deletions