On Tue, Mar 08, 2016 at 01:31:47PM -0700, Todd C. Miller wrote: > On Tue, 08 Mar 2016 09:32:25 -0700, Theo de Raadt wrote: > > > atol maps to strtol. Which can accept hex or octal. > > atol() maps to strtol(str, (char **)NULL, 10) so this is a good > place to use strtonum(). The max value should probably be PID_MAX > rather than INT_MAX but we only expose that #ifdef _KERNEL. >
This is what I figured out as well. > - todd > X --F.