summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/file-exec.c43
-rw-r--r--libtrivfs/file-statfs.c2
2 files changed, 44 insertions, 1 deletions
diff --git a/libtrivfs/file-exec.c b/libtrivfs/file-exec.c
new file mode 100644
index 00000000..d39af5fd
--- /dev/null
+++ b/libtrivfs/file-exec.c
@@ -0,0 +1,43 @@
+/*
+ Copyright (C) 1994 Free Software Foundation
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "priv.h"
+
+kern_return_t
+trivfs_S_file_exec (trivfs_protid_t exec_file,
+ mach_port_t exec_task,
+ int flags,
+ data_t argv,
+ mach_msg_type_number_t argvCnt,
+ data_t envp,
+ mach_msg_type_number_t envpCnt,
+ portarray_t fdarray,
+ mach_msg_type_number_t fdarrayCnt,
+ portarray_t portarray,
+ mach_msg_type_number_t portarrayCnt,
+ intarray_t intarray,
+ mach_msg_type_number_t intarrayCnt,
+ mach_port_array_t deallocnames,
+ mach_msg_type_number_t deallocnamesCnt,
+ mach_port_array_t destroynames,
+ mach_msg_type_number_t destroynamesCnt)
+{
+ return EOPNOTSUPP;
+}
+
+
+
diff --git a/libtrivfs/file-statfs.c b/libtrivfs/file-statfs.c
index d3b08028..6385b7f7 100644
--- a/libtrivfs/file-statfs.c
+++ b/libtrivfs/file-statfs.c
@@ -20,7 +20,7 @@
#include <string.h>
kern_return_t
-diskfs_S_file_statfs (struct trivfs_protid *cred,
+trivfs_S_file_statfs (struct trivfs_protid *cred,
struct fsys_statfsbuf *stb)
{
bzero (stb, sizeof (struct fsys_statfsbuf));