Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-27 Thread Paul Moore
On Mon, Mar 27, 2017 at 1:56 AM, SF Markus Elfring wrote: >> …, but I like the error message. > > How do you think about to pass the flag “__GFP_NOWARN” if you like > this information more than the default error reporting of the function > “kmalloc”? Possibly,

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-27 Thread Paul Moore
On Mon, Mar 27, 2017 at 1:56 AM, SF Markus Elfring wrote: >> …, but I like the error message. > > How do you think about to pass the flag “__GFP_NOWARN” if you like > this information more than the default error reporting of the function > “kmalloc”? Possibly, although I would encourage you to

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-27 Thread SF Markus Elfring
> …, but I like the error message. How do you think about to pass the flag “__GFP_NOWARN” if you like this information more than the default error reporting of the function “kmalloc”? Regards, Markus

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-27 Thread SF Markus Elfring
> …, but I like the error message. How do you think about to pass the flag “__GFP_NOWARN” if you like this information more than the default error reporting of the function “kmalloc”? Regards, Markus

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-25 Thread Paul Moore
On Fri, Mar 24, 2017 at 8:13 AM, SF Markus Elfring wrote: >>> Omit an extra message for a memory allocation failure in this function. >>> >>> Link: >>> http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf >>> Signed-off-by:

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-25 Thread Paul Moore
On Fri, Mar 24, 2017 at 8:13 AM, SF Markus Elfring wrote: >>> Omit an extra message for a memory allocation failure in this function. >>> >>> Link: >>> http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf >>> Signed-off-by: Markus Elfring >>> --- >>>

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-24 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. >> >> Link: >> http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf >> Signed-off-by: Markus Elfring >> --- >> security/selinux/ss/policydb.c | 5

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-24 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. >> >> Link: >> http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf >> Signed-off-by: Markus Elfring >> --- >> security/selinux/ss/policydb.c | 5 + >> 1 file changed, 1

Re: [PATCH 09/46] selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-23 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:07 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 14:20:41 +0100 > > Omit an extra message for a memory allocation failure in this function. > > Link: >

Re: [PATCH 09/46] selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-23 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:07 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 14:20:41 +0100 > > Omit an extra message for a memory allocation failure in this function. > > Link: >

[PATCH 09/46] selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Jan 2017 14:20:41 +0100 Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring

[PATCH 09/46] selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Jan 2017 14:20:41 +0100 Omit an extra message for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring ---