PERFORCE change 114629 for review

Todd Miller millert at FreeBSD.org
Fri Feb 16 15:38:06 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114629

Change 114629 by millert at millert_p4 on 2007/02/16 15:37:36

	Add clearenv() and strdupa() usaed by SELinux user tools/libs.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/lib/libsecompat/Makefile#2 edit
.. //depot/projects/trustedbsd/sebsd/lib/libsecompat/clearenv.c#1 add
.. //depot/projects/trustedbsd/sebsd/lib/libsecompat/secompat.h#2 edit
.. //depot/projects/trustedbsd/sebsd/lib/libsecompat/strdupa.c#1 add

Differences ...

==== //depot/projects/trustedbsd/sebsd/lib/libsecompat/Makefile#2 (text+ko) ====

@@ -3,7 +3,7 @@
 #
 
 LIB= secompat
-SRCS=	getline.c strndup.c
+SRCS=	getline.c strndup.c clearenv.c strdupa.c
 NO_MAN=	yes
 INCSDIR=${INCLUDEDIR}/selinux
 INCS=	secompat.h

==== //depot/projects/trustedbsd/sebsd/lib/libsecompat/secompat.h#2 (text+ko) ====

@@ -3,5 +3,7 @@
 
 ssize_t getline(char **, size_t *, FILE *);
 char *strndup(const char *, size_t);
+char *strdupa(const char *);
+int clearenv(void);
 
 #endif /* _SECOMPAT_H_ */


More information about the p4-projects mailing list