]> git.ipfire.org Git - thirdparty/lxc.git/commit
seccomp: drop misleading argument name inherited from the OCI spec
authorFelix Abecassis <fabecassis@nvidia.com>
Fri, 1 Jun 2018 23:01:22 +0000 (16:01 -0700)
committerFelix Abecassis <fabecassis@nvidia.com>
Fri, 1 Jun 2018 23:02:17 +0000 (16:02 -0700)
commit73e3cb9a16e8a53e0e52b4682bdb3923cbc9f6f6
treeb41d837a4edf05063a0a4abc2cace6d702685e1b
parentef52e679dc3ba07a28aa53c62855199d98622b1f
seccomp: drop misleading argument name inherited from the OCI spec

The last (optional) argument was named "valueTwo", which seems to
originate from the OCI runtime spec:
https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#seccomp

In proper seccomp terminology, "value" is "datum_a" and "valueTwo" is "datum_b".

However, LXC's "valueTwo" was used as the mask for SCMP_CMP_MASKED_EQ,
while the mask is supposed to be "datum_a".

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
src/lxc/seccomp.c