Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-05 Thread John Johansen
On 06/05/2018 04:47 AM, Matthew Wilcox wrote: > On Mon, Jun 04, 2018 at 07:35:24PM -0700, John Johansen wrote: >> On 06/04/2018 07:27 PM, Matthew Wilcox wrote: >>> On Mon, Jun 04, 2018 at 06:27:09PM -0700, John Johansen wrote: hey Mathew, I've pulled this into apparmor-next and done

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-05 Thread Matthew Wilcox
On Mon, Jun 04, 2018 at 07:35:24PM -0700, John Johansen wrote: > On 06/04/2018 07:27 PM, Matthew Wilcox wrote: > > On Mon, Jun 04, 2018 at 06:27:09PM -0700, John Johansen wrote: > >> hey Mathew, > >> > >> I've pulled this into apparmor-next and done the retuning of > >> AA_SECID_INVALID a follow on

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread John Johansen
On 06/04/2018 07:27 PM, Matthew Wilcox wrote: > On Mon, Jun 04, 2018 at 06:27:09PM -0700, John Johansen wrote: >> hey Mathew, >> >> I've pulled this into apparmor-next and done the retuning of >> AA_SECID_INVALID a follow on patch. The reworking of the api to >> return the specific error type can w

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread Matthew Wilcox
Oh ... here's what I currently have. I decided that AA_SECID_INVALID wasn't needed. >From 4e43853a7d984d7b16fd68f356aef1b686a05298 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Tue, 22 May 2018 05:37:19 -0400 Subject: [PATCH] Use an IDR to allocate apparmor secids Replace the custom

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-06-04 Thread John Johansen
On 05/28/2018 10:01 AM, Matthew Wilcox wrote: > > ping? > > I have this queued up in my XArray tree. If I don't hear from you before > -rc1, I'll be submitting it as part of the XArray conversion. > hey Mathew, I've pulled this into apparmor-next and done the retuning of AA_SECID_INVALID a fol

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-05-30 Thread John Johansen
On 05/22/2018 02:32 AM, Matthew Wilcox wrote: > Replace the custom usage of the radix tree to store a list of free IDs > with the IDR. > > Signed-off-by: Matthew Wilcox > > security/apparmor/secid.c | 114 > -- > 1 file changed, 11 insertions(+), 10

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-05-29 Thread John Johansen
On 05/28/2018 10:01 AM, Matthew Wilcox wrote: > > ping? > > I have this queued up in my XArray tree. If I don't hear from you before > -rc1, I'll be submitting it as part of the XArray conversion. yeah looking at this is on my to do list (I am might even manage to get to it today), the last cou

Re: [PATCH] Use an IDR to allocate apparmor secids

2018-05-28 Thread Matthew Wilcox
ping? I have this queued up in my XArray tree. If I don't hear from you before -rc1, I'll be submitting it as part of the XArray conversion. On Tue, May 22, 2018 at 02:32:59AM -0700, Matthew Wilcox wrote: > Replace the custom usage of the radix tree to store a list of free IDs > with the IDR.

[PATCH] Use an IDR to allocate apparmor secids

2018-05-22 Thread Matthew Wilcox
Replace the custom usage of the radix tree to store a list of free IDs with the IDR. Signed-off-by: Matthew Wilcox security/apparmor/secid.c | 114 -- 1 file changed, 11 insertions(+), 103 deletions(-) diff --git a/security/apparmor/secid.c b/securi