diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 18:54:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 19:29:10 +0100 |
commit | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch) | |
tree | e8cc587d06c15befd9ab7212938bb0e05a029c23 /libdiskfs/file-exec.c | |
parent | 2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff) | |
download | hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.gz hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.bz2 hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.zip |
Make RPC input array parameters const
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server
side")
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r-- | libdiskfs/file-exec.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 7625cf43..55b33a14 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -33,19 +33,19 @@ kern_return_t diskfs_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 diskfs_S_file_exec_paths (cred, @@ -66,21 +66,21 @@ kern_return_t diskfs_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_data_t argv, size_t argvlen, - char *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) { struct node *np; |