tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uid 0 (was Re: CVS commit: src/sys/kern)



In article <20090307195914.GO889%shaak.vert-toit.net@localhost>,
Quentin Garnier  <cube%cubidou.net@localhost> wrote:
>-=-=-=-=-=-
>
>On Sat, Mar 07, 2009 at 02:23:02PM -0500, Christos Zoulas wrote:
>> Module Name: src
>> Committed By:        christos
>> Date:                Sat Mar  7 19:23:02 UTC 2009
>> 
>> Modified Files:
>>      src/sys/kern: kern_exec.c
>> 
>> Log Message:
>> don't enforce maxproc resource limits for root.
>
>Is it correct to use uid == 0 as a test outside of the secmodel?

Probably not, but I just made the code look exactly like the fork()
case.

christos



Home | Main Index | Thread Index | Old Index