Re: [PATCH] travis.yml: add ruby 2.5 to the test matrix

2018-05-21 Thread Nicolas Iooss
On Mon, May 21, 2018 at 12:03 PM, Jason Zaman wrote: > > Ruby 2.5 is not installed by default, force reinstall with rvm > > Signed-off-by: Jason Zaman > --- > > This passes on my repo: > https://travis-ci.org/perfinion/selinux/builds/381597252 This

Re: Packaging policycoreutils for OpenSUSE

2018-05-21 Thread Nicolas Iooss
On Mon, May 14, 2018 at 4:19 PM, Jason Zaman wrote: > On Mon, May 14, 2018 at 09:30:41AM -0400, Stephen Smalley wrote: >> On 05/13/2018 07:43 AM, Nicolas Iooss wrote: >> > On Sat, May 12, 2018 at 2:53 PM, Matěj Cepl wrote: >> >> Hi, >> >> >> >> I am changing

Re: [RFC V3 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Richard Haines via Selinux
On Mon, 2018-05-21 at 13:06 -0400, Stephen Smalley wrote: > On 05/21/2018 01:02 PM, Stephen Smalley wrote: > > On 05/21/2018 12:33 PM, Richard Haines wrote: > > > Add binder tests. See tests/binder/test_binder.c for details on > > > message flows to test security_binder*() functions. > > > >

Re: [RFC V3 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Stephen Smalley
On 05/21/2018 01:02 PM, Stephen Smalley wrote: > On 05/21/2018 12:33 PM, Richard Haines wrote: >> Add binder tests. See tests/binder/test_binder.c for details on >> message flows to test security_binder*() functions. > > Breaks the build on RHEL7 since /usr/include/linux/android/binder.h does not

Re: [RFC V3 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Stephen Smalley
On 05/21/2018 12:33 PM, Richard Haines wrote: > Add binder tests. See tests/binder/test_binder.c for details on > message flows to test security_binder*() functions. Breaks the build on RHEL7 since /usr/include/linux/android/binder.h does not exist and is not provided by any package. On F28

[RFC V3 PATCH 0/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Richard Haines via Selinux
I've update this so it still tests all the binder permissions. I didn't bother with a Client as I found another way to achieve the same result. Plenty of comments in test_binder.c to explain. Hopefully it is sane, otherwise a Client will be required. I've tested on Fedora 28 with linux-4.17-rc5

[RFC V3 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Richard Haines via Selinux
Add binder tests. See tests/binder/test_binder.c for details on message flows to test security_binder*() functions. Signed-off-by: Richard Haines --- README.md | 8 + defconfig | 7 + policy/Makefile | 4 +

Re: [RFC V2 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Stephen Smalley
On 05/20/2018 02:25 PM, Richard Haines wrote: > Add binder tests. See tests/binder/test_binder.c for details on > message flows to test security_binder*() functions. Also, it breaks the policy build on RHEL/CentOS 7, due to map permission not being defined. You need to use the allow_map() macro

Re: [RFC V2 PATCH 1/1] selinux-testsuite: Add binder tests

2018-05-21 Thread Stephen Smalley
On 05/20/2018 02:25 PM, Richard Haines wrote: > Add binder tests. See tests/binder/test_binder.c for details on > message flows to test security_binder*() functions. Every test fails for me with: create_shm shm_open: Permission denied create_shm shm_open: No such file or directory and denials of

[PATCH] travis.yml: add ruby 2.5 to the test matrix

2018-05-21 Thread Jason Zaman
Ruby 2.5 is not installed by default, force reinstall with rvm Signed-off-by: Jason Zaman --- This passes on my repo: https://travis-ci.org/perfinion/selinux/builds/381597252 .travis.yml | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-)

Re: SELinux musl support

2018-05-21 Thread Jason Zaman
On Fri, May 18, 2018 at 11:58:58PM +0800, Jason Zaman wrote: > On Fri, May 18, 2018 at 08:58:58AM -0400, Stephen Smalley wrote: > > On 05/18/2018 01:03 AM, Jason Zaman wrote: > > > On Thu, May 17, 2018 at 09:22:01PM +0200, Nicolas Iooss wrote: > > >> On Thu, May 17, 2018 at 7:11 AM, Jason Zaman