summaryrefslogtreecommitdiff
path: root/tests/11-basic-basic_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* api: extend BPF export API to write to a memory bufferMike Frysinger2021-10-081-0/+5
| | | | | | | | | | | | The API to export to a fd is helpful, but for tools that want to generate & read the BPF program, outputting to a buffer would be much more helpful. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com> [PM: rename seccomp_export_bpf_buf() to seccomp_export_bpf_mem()] [PM: 'make check-syntax' fixes] Signed-off-by: Paul Moore <paul@paul-moore.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>
* api: limit errno values to MAX_ERRNOPaul Moore2015-08-291-0/+6
| | | | | | | | | | It turns out that userspace behaves oddly when given an errno value greater than MAX_ERRNO, so much so that the kernel seccomp mechanism has started blocking filters with bad errno values. Let's try to catch the problem at rule addition time to make things easier to spot and fix. Signed-off-by: Paul Moore <pmoore@redhat.com>
* tests: update the tests to use the new architecture resolving functionalityPaul Moore2014-05-081-2/+2
| | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* tests: fix 11-basic-basic_errors to work on big endian architecturesPaul Moore2014-04-281-3/+2
| | | | 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/+88
This patch only renames files, it makes not changes to the content. Signed-off-by: Paul Moore <pmoore@redhat.com>