Commit Graph

5 Commits

Author SHA1 Message Date
obrien
8b64eb1925 Use __FBSDID(). 2003-06-11 05:37:42 +00:00
rwatson
bde18118c1 Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
rwatson
c3c42ca3e7 Replace license with two-clause BSD; an old license template with three
clauses was used by mistake.
2003-02-26 00:59:53 +00:00
rwatson
a3f8d3d819 Pass a malloc type into the libkern strdup() implementation explicitly,
so that callers can specify what malloc pool the resulting memory
should come from.

Requested by:	phk
2003-02-25 22:11:39 +00:00
rwatson
3bf9482fa0 Add an implementation of strdup() to libkern. Allocated memory is of
type M_STRING, now defined in malloc.h.  Useful when string parsing
must occur using the kernel strsep() and we want to avoid toasting
the source string.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-02-23 14:30:17 +00:00