Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: > > > we've had a non-negliable amount of security holes because of this > > > > So why don't we have a similiar kmalloc()? > > nope kmalloc is not an array allocator > > > > it makes it easy and safe. Of course you can and should check it in all > > > users. Just that using a safer API is generally better than forcing > > > everyone to do it themselves. > > > > How exactly does this make it a "safe API"? Even if it checks for this one > > case, it still makes the user suspectible for allocating big amounts of > > unswappable memory. > > 128Kb max. You completely missed the point and didn't answer my questions at all... :-( bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- References:
- [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Andrew Morton <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Pekka J Enberg <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Andrew Morton <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Roman Zippel <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Roman Zippel <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Arjan van de Ven <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Roman Zippel <[email protected]>
- Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- From: Arjan van de Ven <[email protected]>
- [PATCH] kernel: use kcalloc instead kmalloc/memset
- Prev by Date: [patch] preempt-trace.patch
- Next by Date: Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01]
- Previous by thread: Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- Next by thread: Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- Index(es):