aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 18:54:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 19:29:10 +0100
commitdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch)
treee8cc587d06c15befd9ab7212938bb0e05a029c23 /boot
parent2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff)
downloadhurd-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 'boot')
-rw-r--r--boot/boot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/boot/boot.c b/boot/boot.c
index 1cc6152f..d45d8bb9 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -945,7 +945,7 @@ ds_device_open (mach_port_t master_port,
mach_port_t reply_port,
mach_msg_type_name_t reply_type,
dev_mode_t mode,
- dev_name_t name,
+ const_dev_name_t name,
mach_port_t *device,
mach_msg_type_name_t *devicetype)
{
@@ -1057,7 +1057,7 @@ ds_device_write_inband (device_t device,
mach_msg_type_name_t reply_type,
dev_mode_t mode,
recnum_t recnum,
- io_buf_ptr_inband_t data,
+ const_io_buf_ptr_inband_t data,
size_t datalen,
int *bytes_written)
{
@@ -1409,7 +1409,7 @@ kern_return_t
S_io_write (mach_port_t object,
mach_port_t reply_port,
mach_msg_type_name_t reply_type,
- data_t data,
+ const_data_t data,
mach_msg_type_number_t datalen,
off_t offset,
mach_msg_type_number_t *amtwritten)
@@ -1699,9 +1699,9 @@ S_io_restrict_auth (mach_port_t object,
mach_msg_type_name_t reply_type,
mach_port_t *newobject,
mach_msg_type_name_t *newobjtype,
- uid_t *uids,
+ const uid_t *uids,
size_t nuids,
- uid_t *gids,
+ const uid_t *gids,
size_t ngids)
{
if (object != pseudo_console)
@@ -1906,7 +1906,7 @@ kern_return_t S_term_open_ctty
kern_return_t S_term_set_nodename
(
io_t terminal,
- string_t name
+ const_string_t name
)
{ return EOPNOTSUPP; }