commit | 841b9319e89967dec675003fa4e83f6186753906 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Mon Aug 15 13:49:31 2022 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Mon Aug 15 15:44:51 2022 -0400 |
tree | 0c6c3af8dc75143c509215de6515baa3bbd83ae7 | |
parent | 5e03ed6c322ff59ecc5cc621729a2442863599a1 [diff] |
swtpm: seccomp: Check for __SNR_xyz rather than __NR_xyz If seccomp-syscalls.h lags behind the syscall definition of __NR_xyz then the __SNR_xyz #define is not available. Therefore, switch to check for __SNR_xyz #define because they are available if __NR_xyz is available. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>