On Tue, Mar 20, 2018 at 1:48 PM, Richard Haines via Selinux
<selinux@tycho.nsa.gov> wrote:
> The sctp testsuite tests all new sctp SELinux functionality.
>
> Signed-off-by: Richard Haines <richard_c_hai...@btinternet.com>

Now that the new SELinux userspace is out, I applied this to my test
tree and noticed two problems at the start (both easily fixed):

* We need to list the lksctp-tools-devel package as a dependency in README.md
* Minor merge conflict in policy/Makefile

... actually running the test went rather well, but there was one test
failure: test #11, the "asconf parameter chunk processing".  Looking a
bit closer at the failure, it appears that the address detection code
at the top of tests/sctp/test needs to be a bit more robust as
'hostname -I' returns multiple addresses, but they are a mix of IPv4
and IPv6 - all on one interface.

I would suggest taking a look at parsing the output of 'ip -o addr
show up scope global' and using that instead of 'hostname -I'.

-- 
paul moore
www.paul-moore.com

_______________________________________________
Selinux mailing list
Selinux@tycho.nsa.gov
To unsubscribe, send email to selinux-le...@tycho.nsa.gov.
To get help, send an email containing "help" to selinux-requ...@tycho.nsa.gov.

Reply via email to