PERFORCE change 114874 for review
Todd Miller
millert at FreeBSD.org
Fri Feb 23 16:46:58 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114874
Change 114874 by millert at millert_macbook on 2007/02/23 16:46:37
Add strdupa() for compatibility with selinux
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsecompat/Makefile#4 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsecompat/secompat.h#3 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsecompat/strdupa.c#1 add
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsecompat/Makefile#4 (text+ko) ====
@@ -1,7 +1,7 @@
include ../../../Makeconfig
LIB = secompat
-OBJS = clearenv.o getline.o strndup.o
+OBJS = clearenv.o getline.o strndup.o strdupa.o
CFLAGS += -Wall
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsecompat/secompat.h#3 (text+ko) ====
@@ -3,6 +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