From owner-p4-projects@FreeBSD.ORG Fri Feb 23 16:46:57 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4926016A41B; Fri, 23 Feb 2007 16:46:57 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1942F16A411 for ; Fri, 23 Feb 2007 16:46:57 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6824E13C4C9 for ; Fri, 23 Feb 2007 16:46:55 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1NGktwn033178 for ; Fri, 23 Feb 2007 16:46:55 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1NGktFm033175 for perforce@freebsd.org; Fri, 23 Feb 2007 16:46:55 GMT (envelope-from millert@freebsd.org) Date: Fri, 23 Feb 2007 16:46:55 GMT Message-Id: <200702231646.l1NGktFm033175@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 114874 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 16:46:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=114874 Change 114874 by millert@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_ */