summaryrefslogtreecommitdiff
path: root/libnetfs/file-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-exec.c')
-rw-r--r--libnetfs/file-exec.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/libnetfs/file-exec.c b/libnetfs/file-exec.c
index fb070aca..8ac0f892 100644
--- a/libnetfs/file-exec.c
+++ b/libnetfs/file-exec.c
@@ -35,19 +35,19 @@ kern_return_t
netfs_S_file_exec (struct protid *cred,
task_t task,
int flags,
- data_t argv,
+ const_data_t argv,
size_t argvlen,
- data_t envp,
+ const_data_t envp,
size_t envplen,
- mach_port_t *fds,
+ const mach_port_t *fds,
size_t fdslen,
- mach_port_t *portarray,
+ const mach_port_t *portarray,
size_t portarraylen,
- int *intarray,
+ const int *intarray,
size_t intarraylen,
- mach_port_t *deallocnames,
+ const mach_port_t *deallocnames,
size_t deallocnameslen,
- mach_port_t *destroynames,
+ const mach_port_t *destroynames,
size_t destroynameslen)
{
return netfs_S_file_exec_paths (cred,
@@ -68,21 +68,21 @@ kern_return_t
netfs_S_file_exec_paths (struct protid *cred,
task_t task,
int flags,
- string_t path,
- string_t abspath,
- char *argv,
+ const_string_t path,
+ const_string_t abspath,
+ const char *argv,
size_t argvlen,
- char *envp,
+ const char *envp,
size_t envplen,
- mach_port_t *fds,
+ const mach_port_t *fds,
size_t fdslen,
- mach_port_t *portarray,
+ const mach_port_t *portarray,
size_t portarraylen,
- int *intarray,
+ const int *intarray,
size_t intarraylen,
- mach_port_t *deallocnames,
+ const mach_port_t *deallocnames,
size_t deallocnameslen,
- mach_port_t *destroynames,
+ const mach_port_t *destroynames,
size_t destroynameslen)
{
struct node *np;