summaryrefslogtreecommitdiff
path: root/src/arch-syscall-validate
Commit message (Collapse)AuthorAgeFilesLines
* arch: fixes and improvements to the arch-syscall-validate scriptPaul Moore2015-11-111-22/+57
| | | | | | | Fix a few problems with the arch-syscall-validate script, do some minor cleanups, and ensure it works correctly against Linux v4.3. Signed-off-by: Paul Moore <pmoore@redhat.com>
* Merge branch 'working-s390' into masterPaul Moore2015-08-281-13/+74
|\ | | | | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
| * arch: add support for s390Jan Willeke2015-07-131-1/+29
| | | | | | | | | | | | | | | | This patch adds support for S390 (32-bit) architecture. Signed-off-by: Jan Willeke <willeke@linux.vnet.ibm.com> [PM: rewrote the subject line, style fixes, s390x/s390 typo bugfixes] Signed-off-by: Paul Moore <pmoore@redhat.com>
| * arch: add support for s390xJan Willeke2015-07-131-1/+29
| | | | | | | | | | | | | | | | This patch adds support for S390x (64-bit) architecture. Signed-off-by: Jan Willeke <willeke@linux.vnet.ibm.com> [PM: rewrote the subject line, style fixes] Signed-off-by: Paul Moore <pmoore@redhat.com>
* | Merge branch 'working-ppc64'Paul Moore2015-08-051-1/+59
|\ \ | |/ |/| | | | | | | Mike Strosaker <strosake@linux.vnet.ibm.com> reports that the working-ppc64 branch is working for both 'make check' and './regression -T live'.
| * arch: add a ppc syscall tableBogdan Purcareata2015-02-171-1/+30
| | | | | | | | | | | | Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> [PM: slight reordering of ppc/ppc64 in header files and makefiles] Signed-off-by: Paul Moore <pmoore@redhat.com>
| * ppc64: correct the ppc64 syscall table and validation scriptPaul Moore2015-02-101-1/+1
| | | | | | | | | | | | | | | | We didn't correctly take into account the __powerpc64__ define when generating the ppc64 syscall table. This patch also updates the syscall table to match Linux v3.19. Signed-off-by: Paul Moore <pmoore@redhat.com>
| * arch: add a ppc64 syscall tablePaul Moore2015-02-061-1/+30
| | | | | | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* | arch: add the ability to dump the sycall definitions in arch-syscall-validatePaul Moore2015-07-011-23/+42
| | | | | | | | | | | | Also do some minor cleanup while we are touching the file. Signed-off-by: Paul Moore <pmoore@redhat.com>
* | arch: update the syscall validate script to reflect changes in x86Paul Moore2015-07-011-3/+3
| | | | | | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* | arm: add some missing syscallsPaul Moore2015-05-061-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following syscalls to the ARM arch/ABI and update the syscall validation script. * breakpoint() * cacheflush() * usr26() * usr32() * set_tls() Reported-by: Purcareata Bogdan <b43198@freescale.com> Signed-off-by: Paul Moore <pmoore@redhat.com>
* | arm: fix some problems with the syscall tablePaul Moore2015-04-101-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | The 32-bit ARM syscall table mistakenly included syscall definitions for the syscalls below. This patch redefines those syscalls to libseccomp's pseudo-syscall numbers and corrects the arch-syscall-validate to correctly list the 32-bit ARM syscalls. * time * umount * stime * alarm * utime * getrlimit * select * readdir * mmap * socketcall * syscall * ipc Reported-by: Andreas Farber <afaerber@suse.de> Signed-off-by: Paul Moore <pmoore@redhat.com>
* arch: Add AArch64 supportMarcin Juszkiewicz2014-08-271-1/+47
| | | | | | | | This patch adds support for AArch64 (64-bit ARM) architecture. Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> (Additional fixes/corrections/etc.) Signed-off-by: Paul Moore <pmoore@redhat.com>
* arch: add mips64n32 to the defaults in arch-syscall-validatePaul Moore2014-08-211-1/+1
| | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* arch: fix the arch-syscall-validate script for x86/x86_64/x32Paul Moore2014-08-201-9/+9
| | | | | | | Don't rely on the header files for x86/x86_64/x32, check the syscall source tables directly. Signed-off-by: Paul Moore <pmoore@redhat.com>
* arch: add mips64n32 supportPaul Moore2014-08-201-0/+39
| | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* arch: add mips64 supportPaul Moore2014-08-201-1/+40
| | | | Signed-off-by: Paul Moore <pmoore@redhat.com>
* tests: provide a simple syscall validation toolPaul Moore2014-06-241-0/+323
Signed-off-by: Paul Moore <pmoore@redhat.com>