Re: [PATCH v3 04/15] selinux: Refactor to remove bprm_secureexec hook
From: Kees Cook
Date: Fri Jul 21 2017 - 13:38:53 EST
On Fri, Jul 21, 2017 at 8:40 AM, Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> On Thu, Jul 20, 2017 at 4:42 PM, Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>> On Thu, Jul 20, 2017 at 1:06 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>>> On Thu, Jul 20, 2017 at 6:42 AM, Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>>>> Alternatively, if you've got a fairly recent git repo with all the
>>>> patches merged I can build a test kernel and give it a shot for you,
>>>> although fair warning it may take a day or two for me to get to it.
>>>
>>> Hurm, I think this will take quite a bit of time for me to set up. :P
>>> If you have a chance, I'd appreciate it if you could test the series.
>>> It's currently based on v4.12:
>>> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=kspp/setuid-rlimits/secureexec-no-hook
>>>
>>> If it doesn't work out or takes too much time I can work on setting up
>>> the test environment next week (travelling at the moment).
>>
>> Building a kernel now, in case anyone on Fedora wants to play with it,
>> you can find it here (when it finishes):
>>
>> * https://copr.fedorainfracloud.org/coprs/pcmoore/kernel-testing/build/581947
>
> Quick follow up, the kernel above passes the selinux-testsuite atsecure test.
Awesome, thanks for taking the time to test it. :) Can I add your Tested-by?
-Kees
--
Kees Cook
Pixel Security