On Tue Mar 29 16:07:39 EDT 2011, [email protected] wrote: > >also, since this is the kernel, you either get a 4k or a 4k - sizeof(Mach) > >structure (depending on if up is set or not), so the maximum sprint > >to something on the stack is always going to be < 4k. > > that's fine, but the sprint is the one from the c library > which needs to support more than that. the normal kernel doesn't use > a special one, which is part of the answer to ron's question.
i guess i should have asked more directly, why not pass in an n such that buf+n = largest possible address. e.g ~(uintptr)buf. - erik
