diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-08 01:44:19 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-08 02:28:06 +0200 |
commit | e9ac14979a70d0b36684fb4bac031daa7dcb9a6a (patch) | |
tree | e69f9022b401279db40640416b5f01e4b9e8a79a /exec | |
parent | 71ce0089f78fc27231f39e9aef7356e9e72ed759 (diff) | |
download | hurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.tar.gz hurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.tar.bz2 hurd-e9ac14979a70d0b36684fb4bac031daa7dcb9a6a.zip |
Get rid of u_int in RPCs
To get mach_msg_type_number_t everywhere
Diffstat (limited to 'exec')
-rw-r--r-- | exec/hashexec.c | 16 | ||||
-rw-r--r-- | exec/priv.h | 14 |
2 files changed, 15 insertions, 15 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c index 0c94673e..9e00704e 100644 --- a/exec/hashexec.c +++ b/exec/hashexec.c @@ -37,13 +37,13 @@ check_hashbang (struct execdata *e, task_t oldtask, int flags, const char *file_name_exec, - char *argv, u_int argvlen, boolean_t argv_copy, - char *envp, u_int envplen, boolean_t envp_copy, - mach_port_t *dtable, u_int dtablesize, boolean_t dtable_copy, - mach_port_t *portarray, u_int nports, boolean_t portarray_copy, - int *intarray, u_int nints, boolean_t intarray_copy, - const mach_port_t *deallocnames, u_int ndeallocnames, - const mach_port_t *destroynames, u_int ndestroynames) + char *argv, mach_msg_type_number_t argvlen, boolean_t argv_copy, + char *envp, mach_msg_type_number_t envplen, boolean_t envp_copy, + mach_port_t *dtable, mach_msg_type_number_t dtablesize, boolean_t dtable_copy, + mach_port_t *portarray, mach_msg_type_number_t nports, boolean_t portarray_copy, + int *intarray, mach_msg_type_number_t nints, boolean_t intarray_copy, + const mach_port_t *deallocnames, mach_msg_type_number_t ndeallocnames, + const mach_port_t *destroynames, mach_msg_type_number_t ndestroynames) { char *p; char *interp, *arg; /* Interpreter file name, and first argument */ @@ -52,7 +52,7 @@ check_hashbang (struct execdata *e, char *new_argv; size_t new_argvlen; mach_port_t *new_dtable = NULL; - u_int new_dtablesize; + mach_msg_type_number_t new_dtablesize; file_t user_fd (int fd) { diff --git a/exec/priv.h b/exec/priv.h index 6077932c..4c2e19ed 100644 --- a/exec/priv.h +++ b/exec/priv.h @@ -137,15 +137,15 @@ void check_hashbang (struct execdata *e, task_t oldtask, int flags, const char *filename, - char *argv, u_int argvlen, boolean_t argv_copy, - char *envp, u_int envplen, boolean_t envp_copy, - mach_port_t *dtable, u_int dtablesize, + char *argv, mach_msg_type_number_t argvlen, boolean_t argv_copy, + char *envp, mach_msg_type_number_t envplen, boolean_t envp_copy, + mach_port_t *dtable, mach_msg_type_number_t dtablesize, boolean_t dtable_copy, - mach_port_t *portarray, u_int nports, + mach_port_t *portarray, mach_msg_type_number_t nports, boolean_t portarray_copy, - int *intarray, u_int nints, boolean_t intarray_copy, - const mach_port_t *deallocnames, u_int ndeallocnames, - const mach_port_t *destroynames, u_int ndestroynames); + int *intarray, mach_msg_type_number_t nints, boolean_t intarray_copy, + const mach_port_t *deallocnames, mach_msg_type_number_t ndeallocnames, + const mach_port_t *destroynames, mach_msg_type_number_t ndestroynames); /* Standard exec data for secure execs. */ |