[RFC][PATCH] fix varargs usage in prctl syscall
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Mon Dec 8 16:15:07 UTC 2008
Hans-Christian Egtvedt wrote:
> I'd like some feedback on the attached patch. The one I've attached now
> will individually handle the prctl calls which uses arg2 and those who
> do not. Checked up against Linux v2.6.27.
Would it work if you just grabbed arg2 unconditionally? Sure, it would
end up containing garbage if it wasn't actually passed, but the same
thing happens in the existing implementation.
Haavard
More information about the uClibc
mailing list