cvs commit: src/sys/libkern strtok.c src/sys/sys libkern.h src/sys/conf files

Nate Lawson nate at root.org
Thu Oct 6 10:36:10 PDT 2005


Pawel Jakub Dawidek wrote:
> pjd         2005-10-06 11:10:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              libkern.h 
>     sys/conf             files 
>   Added files:
>     sys/libkern          strtok.c 
>   Log:
>   Add strtok() and strtok_r() function to libkern.
>   
>   MFC after:      2 weeks
>   
>   Revision  Changes    Path
>   1.1055    +1 -0      src/sys/conf/files
>   1.1       +98 -0     src/sys/libkern/strtok.c (new)
>   1.51      +2 -0      src/sys/sys/libkern.h

Why is the kernel parsing strings?  Seems like a good way to introduce 
security flaws.

-- 
Nate


More information about the cvs-src mailing list