|
From: AKASHI T. <tak...@li...> - 2014-07-23 07:38:25
|
This patch allows the test suite to be run on aarch64 (or arm64 in kernel
jargon) with 64-bit and 32-bit userspace.
I successfully built and ran it on
- ARMv8 fast model
- x86_64 Fedora 20
but only against audit-test/syscalls and filter, and so fixes here might be
incomplete in the other categories (and on other architectures).
See audit-test/Makefile, which is a bit messy in general.
v3:
* correct makefiles/bash scripts around usages of LSM_SELINUX macro
* untabify the leading tabs
* protect utils/network-server with LSM_SELINUX
v2:
* clean up the usages of macros, MACHINE, LSM_SELINUX and UTILS
* cosmetic changes (indentation, splitting lines) for readability
AKASHI Takahiro (5):
audit-test: use LSM_SELINUX instead of SUSE to work-around SE-Linux
audit-test: handle __NR3264_xxx syscall definitions
audit-test/syscalls: add aarch64 support
audit-test/filter: add aarch64 support
audit-test/syscalls: add arm support
audit-test/filter/run.conf | 2 ++
audit-test/filter/tests/test_auid.bash | 9 +++++--
audit-test/filter/tests/test_class_attr.bash | 28 +++++++++++++++-----
audit-test/filter/tests/test_dev_inode.bash | 11 +++++---
audit-test/filter/tests/test_success.bash | 8 ++++--
audit-test/filter/tests/test_syscall.bash | 8 ++++--
audit-test/filter/tests/test_type.bash | 9 +++++--
audit-test/filter/tests/test_watch_dir_remove.bash | 20 ++++++++------
audit-test/filter/tests/test_watch_open.bash | 10 +++++--
audit-test/filter/tests/test_watch_remove.bash | 4 +++
audit-test/rules.mk | 11 +++++---
audit-test/syscalls/cap-run.conf | 15 +++++++----
audit-test/syscalls/dac-run.conf | 24 +++++++++++------
audit-test/syscalls/mac-run.conf | 24 +++++++++++------
audit-test/utils/Makefile | 7 ++++-
audit-test/utils/augrok | 17 ++++++++++--
audit-test/utils/bin/Makefile | 14 +++++++---
audit-test/utils/bin/do_creat.c | 4 +--
audit-test/utils/bin/do_mkdir.c | 4 +--
audit-test/utils/bin/do_mkdirat.c | 4 +--
audit-test/utils/bin/do_mknod.c | 4 +--
audit-test/utils/bin/do_mknodat.c | 4 +--
audit-test/utils/bin/do_mq_open.c | 4 +--
audit-test/utils/bin/do_open.c | 4 +--
audit-test/utils/bin/do_openat.c | 4 +--
audit-test/utils/bin/do_symlink.c | 4 +--
audit-test/utils/bin/do_symlinkat.c | 4 +--
audit-test/utils/run.bash | 8 ++++--
28 files changed, 188 insertions(+), 81 deletions(-)
--
1.7.9.5
===
>From a241a8d3b61b48da3af5086d631bb61b59265317 Mon Sep 17 00:00:00 2001
From: AKASHI Takahiro <tak...@li...>
Date: Fri, 18 Jul 2014 18:01:51 +0900
Subject: [PATCH v2 0/5] add arm/aarch64(arm64) support
This patch allows the test suite to be run on aarch64 (or arm64 in kernel
jargon) with 64-bit and 32-bit userspace.
I successfully built and ran it on
- ARMv8 fast model
- x86_64 Fedora 20
(but only against audit-test/syscalls and filter)
v2:
* clean up the usages of macros, MACHINE, LSM_MACHINE and UTILS
* cosmetic changes (indentation, splitting lines) for readability
AKASHI Takahiro (5):
audit-test: use LSM_SELINUX instead of SUSE to work-around SE-Linux
audit-test: handle __NR3264_xxx syscall definitions
audit-test/syscalls: add aarch64 support
audit-test/filter: add aarch64 support
audit-test/syscalls: add arm support
audit-test/filter/run.conf | 2 ++
audit-test/filter/tests/test_auid.bash | 9 +++++--
audit-test/filter/tests/test_class_attr.bash | 28 +++++++++++++++-----
audit-test/filter/tests/test_dev_inode.bash | 11 +++++---
audit-test/filter/tests/test_success.bash | 8 ++++--
audit-test/filter/tests/test_syscall.bash | 8 ++++--
audit-test/filter/tests/test_type.bash | 9 +++++--
audit-test/filter/tests/test_watch_dir_remove.bash | 20 ++++++++------
audit-test/filter/tests/test_watch_open.bash | 10 +++++--
audit-test/filter/tests/test_watch_remove.bash | 4 +++
audit-test/rules.mk | 11 +++++---
audit-test/syscalls/cap-run.conf | 15 +++++++----
audit-test/syscalls/dac-run.conf | 24 +++++++++++------
audit-test/syscalls/mac-run.conf | 24 +++++++++++------
audit-test/utils/Makefile | 2 ++
audit-test/utils/augrok | 17 ++++++++++--
audit-test/utils/bin/Makefile | 14 +++++++---
audit-test/utils/bin/do_creat.c | 4 +--
audit-test/utils/bin/do_mkdir.c | 4 +--
audit-test/utils/bin/do_mkdirat.c | 4 +--
audit-test/utils/bin/do_mknod.c | 4 +--
audit-test/utils/bin/do_mknodat.c | 4 +--
audit-test/utils/bin/do_mq_open.c | 4 +--
audit-test/utils/bin/do_open.c | 4 +--
audit-test/utils/bin/do_openat.c | 4 +--
audit-test/utils/bin/do_symlink.c | 4 +--
audit-test/utils/bin/do_symlinkat.c | 4 +--
audit-test/utils/run.bash | 8 ++++--
28 files changed, 184 insertions(+), 80 deletions(-)
--
1.7.9.5
|