Re: [PATCH testsuite v2 0/3] Fix refpolicy build & build test_policy.pp in Travis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 15, 2019 at 4:16 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
> 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.
>
> 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 maissing features in the Ubuntu builds
>  - install also latest keyutils from source to allow the new 'keys'
>    subtest helpers to build

Demo Travis run:
https://travis-ci.org/WOnder93/selinux-testsuite/builds/612431495

>
> Ondrej Mosnacek (3):
>   policy: consolidate macros for home dirs access
>   policy: add fallbacks for Fedora-specific macros
>   travis: test building the test policy package
>
>  .travis.yml                         | 48 ++++++++++++++++++++++++++---
>  policy/Makefile                     | 11 ++++---
>  policy/test_overlayfs.te            |  6 ++--
>  policy/test_policy.if               | 23 ++++++++++++--
>  travis-ci/enable-policy.sh          | 10 ++++++
>  travis-ci/setup-policy-fedora.sh    | 33 ++++++++++++++++++++
>  travis-ci/setup-policy-refpolicy.sh | 19 ++++++++++++
>  7 files changed, 136 insertions(+), 14 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
>
> --
> 2.23.0

-- 
Ondrej Mosnacek <omosnace at redhat dot com>
Software Engineer, Security Technologies
Red Hat, Inc.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux