Commit Graph

5 Commits

Author SHA1 Message Date
obrien
7dd1fc87e0 Use __FBSDID(). 2003-06-11 05:37:42 +00:00
rwatson
ca0402c654 Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
rwatson
9db293fc83 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
d4ef2fdf93 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
df1aa821fe 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