[klibc] [PATCH 2/2] x86: Allow disabling of sys_iopl, sys_ioperm

Andrew G. Morgan agm at google.com
Fri Jul 15 15:30:10 PDT 2011


I'd put it in kinit too.

I think you may have to think about the call_usermodehelper code, and
you might want to look at dropping CAP_SYS_MODULE too.

Cheers

Andrew

On Fri, Jul 15, 2011 at 11:14 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 07/15/2011 11:13 AM, Mike Waychison wrote:
>>
>> So the question is, should this go in the kernel proper such that it
>> manipulates the init_cred structure, or should this be plumbed down in
>> kinit (in klibc, which we use for bootup)?
>>
>
> It certainly would be trivial to do in kinit.
>
>        -hpa
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel.  I don't speak on their behalf.
>
>



More information about the klibc mailing list