PERFORCE change 173855 for review
Jonathan Anderson
jona at FreeBSD.org
Thu Jan 28 19:14:12 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=173855
Change 173855 by jona at jona-capsicum-kent64 on 2010/01/28 19:13:15
Changed the libcapsicum startfd API to accept an lc_fdlist (no implementation changes yet)
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#2 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#2 (text+ko) ====
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#1 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#2 $
*/
#ifndef _LIBCAPABILITY_H_
@@ -121,7 +121,7 @@
struct lc_library *lclp, u_int lcl_count,
struct lc_sandbox **lcspp);
int lch_startfd(int fd_sandbox, const char *binname, char *const argv[],
- u_int flags, struct lc_sandbox **lcspp);
+ u_int flags, struct lc_fdlist *fds, struct lc_sandbox **lcspp);
int lch_startfd_libs(int fd_sandbox, const char *binname,
char *const argv[], u_int flags, struct lc_library *lclp,
u_int lcl_count, struct lc_sandbox **lcspp);
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#2 (text+ko) ====
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#1 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#2 $
*/
#include <sys/param.h>
@@ -349,7 +349,7 @@
int
lch_startfd(int fd_sandbox, const char *binname, char *const argv[],
- u_int flags, struct lc_sandbox **lcspp)
+ u_int flags, __unused struct lc_fdlist *fds, struct lc_sandbox **lcspp)
{
return (lch_startfd_libs(fd_sandbox, binname, argv, flags, NULL, 0,
More information about the p4-projects
mailing list