Fix refpolicy build & build test_policy.pp in Travis
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesIn review
- v33 patches 2 repliesSuperseded
- v23 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 8 replies | Superseded |
Changes in v4 from the cover letter
- more fine-grained dev_rw_infiniband_dev() fallback as suggested by Stephen Smalley
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | policy: drop the unneeded userdom_search_generic_user_home_dirs()policy/ policy/ policy/ | +2 | 0 replies | |
| 2/3 | policy: add fallbacks for Fedora-specific macrospolicy/ | +22 | 0 replies | |
| 3/3 | travis: test building the test policy package.travis.yml policy/ travis-ci/ +2 more | +113 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Stephen Smalley |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH testsuite v4 0/3] Fix refpolicy build & build test_policy.pp in Travis
This series fixes the remaining test_policy.pp build errors under refpolicy and enables building the test policy under both Fedora policy and refpolicy in Travis CI.
Passed Travis run: https://travis-ci.org/WOnder93/selinux-testsuite/builds/613536331
Changes in v4:
- more fine-grained dev_rw_infiniband_dev() fallback as suggested by Stephen Smalley
Changes in v3:
- drop the first patch, replace with the following:
- add patch to replace userdom_search_generic_user_home_dirs() directly with userdom_search_user_home_dirs()
- add a fallback for userdom_search_admin_dir()
Changes in v2:
- report policy version 999 in the fake selinuxfs to force building latest version
- install userspace tools and libraries straight from source instead of working around missing features in the Ubuntu builds
- install also latest keyutils from source to allow the new 'keys' subtest helpers to build
Ondrej Mosnacek (3):
policy: drop the unneeded userdom_search_generic_user_home_dirs()
policy: add fallbacks for Fedora-specific macros
travis: test building the test policy package
.travis.yml | 48 ++++++++++++++++++++++++++--- policy/Makefile | 11 ++++--- policy/test_ipc.te | 2 +- policy/test_policy.if | 22 +++++++++++-- policy/test_ptrace.te | 2 +- travis-ci/enable-policy.sh | 10 ++++++ travis-ci/setup-policy-fedora.sh | 33 ++++++++++++++++++++ travis-ci/setup-policy-refpolicy.sh | 19 ++++++++++++ 8 files changed, 134 insertions(+), 13 deletions(-) create mode 100644 travis-ci/enable-policy.sh create mode 100644 travis-ci/setup-policy-fedora.sh create mode 100644 travis-ci/setup-policy-refpolicy.sh
Signature · 1 line
2.23.0