summaryrefslogtreecommitdiff
path: root/tests/05-sim-long_jumps.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix warning in 05-sim-long_jumps.cTom Hromatka2021-11-011-0/+1
| | | | | | | | | | | | Commit 3c2da115b5b35 "tests: improve 05-sim-long_jumps to work better across arch/ABIs" introduced the following warning. Let's fix it. 05-sim-long_jumps.c: In function ‘main’: 05-sim-long_jumps.c:68:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 68 | free(syscall); Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
* tests: improve 05-sim-long_jumps to work better across arch/ABIsPaul Moore2021-11-011-14/+22
| | | | | | | | | | | | This patch primarily moves the test away from abstract syscall numbers to honest-to-goodness actual syscalls which are present on all currently supported arch/ABIs. This change should make it easier to support this test across different platforms now and moving forward. Signed-off-by: Paul Moore <paul@paul-moore.com> Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
* all: update my email addressPaul Moore2016-02-111-1/+1
| | | | | | | Employer agnostic emails make things a lot easier in the long run so make sure the paul-moore.com address is used whenever it makes sense. Signed-off-by: Paul Moore <paul@paul-moore.com>
* tests: correctly return an error if seccomp_init() failsPaul Moore2014-05-011-1/+2
| | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* tests: fix a uninitialized use warningPaul Moore2014-02-271-1/+1
| | | | | | | Many, if not all, of the tests had an uninitialized use warning relating to the use of the libseccomp context variable. Signed-off-by: Paul Moore <pmoore@redhat.com>
* tests: rename the tests to make it clear which are simulator/basic/live basedPaul Moore2013-02-071-0/+79
This patch only renames files, it makes not changes to the content. Signed-off-by: Paul Moore <pmoore@redhat.com>