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

2018-05-23 Thread Paul Moore
On Tue, May 22, 2018 at 3:52 PM, Paul Moore wrote: > On Tue, May 22, 2018 at 10:35 AM, Stephen Smalley wrote: >> On 05/22/2018 07:37 AM, Richard Haines wrote: >>> Add binder tests. See tests/binder/test_binder.c for details on >>> message flows to test

Re: ANN: SELinux userspace 2.8-rc3 release candidate

2018-05-23 Thread Jason Zaman
On Wed, May 23, 2018 at 01:16:18PM -0400, Stephen Smalley wrote: > On 05/16/2018 01:31 PM, Jason Zaman wrote: > > Just a quick note in case the release is soon. > > I have a couple patches to make everything work on > > Musl libc that im gonna clean them up and post in the morning. > > Given that

Re: [PATCH 6/6] Drop flex_arrays

2018-05-23 Thread Dave Hansen
Thanks for the heads-up, Matthew! On 05/22/2018 06:18 PM, Kent Overstreet wrote: > All existing users have been converted to generic radix trees Well, flex_arrays had a good run, and the new radix trees do look quite a bit nicer. Feel free to add my ack.

Re: ANN: SELinux userspace 2.8-rc3 release candidate

2018-05-23 Thread Stephen Smalley
On 05/16/2018 01:31 PM, Jason Zaman wrote: > Just a quick note in case the release is soon. > I have a couple patches to make everything work on > Musl libc that im gonna clean them up and post in the morning. Given that these have been merged and I've seen no other activity, I assume we can

Re: [PATCH 6/6] Drop flex_arrays

2018-05-23 Thread Jonathan Corbet
On Tue, 22 May 2018 21:18:21 -0400 Kent Overstreet wrote: > All existing users have been converted to generic radix trees > > Signed-off-by: Kent Overstreet > --- > Documentation/core-api/flexible-arrays.rst | 130 --- >

Re: [PATCH 4/6] openvswitch: convert to genradix

2018-05-23 Thread Matthew Wilcox
On Tue, May 22, 2018 at 09:18:19PM -0400, Kent Overstreet wrote: > the new generic radix trees have a simpler API and implementation, and > no limitations on number of elements, so all flex_array users are being > converted This doesn't really feel like it should be a flexarray / genradix user.

Re: [PATCH 2/6] proc: commit to genradix

2018-05-23 Thread Matthew Wilcox
On Tue, May 22, 2018 at 09:18:17PM -0400, Kent Overstreet wrote: > @@ -2140,11 +2140,12 @@ proc_map_files_readdir(struct file *file, struct > dir_context *ctx) > struct task_struct *task; > struct mm_struct *mm; > unsigned long nr_files, pos, i; > - struct flex_array *fa =

[PATCH 5/6] selinux: convert to genradix

2018-05-23 Thread Kent Overstreet
the new generic radix trees have a simpler API and implementation, and no limitations on number of elements, so all flex_array users are being converted Signed-off-by: Kent Overstreet --- security/selinux/ss/avtab.c | 44 +-- security/selinux/ss/avtab.h

[PATCH 1/6] Generic radix trees

2018-05-23 Thread Kent Overstreet
Very simple radix tree implementation that supports storing arbitrary size entries, up to PAGE_SIZE - upcoming patches will convert existing flex_array users to genradixes. The new genradix code has a much simpler API and implementation, and doesn't have a hard limit on the number of elements like

[PATCH 4/6] openvswitch: convert to genradix

2018-05-23 Thread Kent Overstreet
the new generic radix trees have a simpler API and implementation, and no limitations on number of elements, so all flex_array users are being converted Signed-off-by: Kent Overstreet --- net/openvswitch/flow.h | 1 - net/openvswitch/flow_netlink.h | 1 -

[PATCH 2/6] proc: commit to genradix

2018-05-23 Thread Kent Overstreet
the new generic radix trees have a simpler API and implementation, and no limitations on number of elements, so all flex_array users are being converted Signed-off-by: Kent Overstreet --- fs/proc/base.c | 48 +--- 1 file