aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-02-23 14:30:17 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-02-23 14:30:17 +0000
commit96c4266cb3ec0dfe1c78d4661551284f4ffdfa2a (patch)
tree14f24f33e303790942de3e78c5d4f1474733ded6 /sys/conf
parent9ea031d50b2ede3e370d86021b355f7d9cdfbaf7 (diff)
downloadsrc-96c4266cb3ec0dfe1c78d4661551284f4ffdfa2a.tar.gz
src-96c4266cb3ec0dfe1c78d4661551284f4ffdfa2a.zip
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
Notes
Notes: svn path=/head/; revision=111317
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 9f739db3ab4d..c56d3e54413c 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1130,6 +1130,7 @@ libkern/skpc.c standard
libkern/strcat.c standard
libkern/strcmp.c standard
libkern/strcpy.c standard
+libkern/strdup.c standard
libkern/strlcat.c standard
libkern/strlcpy.c standard
libkern/strlen.c standard