aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master32
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 2c50bbe543ca..39992e9c7430 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -244,7 +244,7 @@
28 AUE_SENDMSG STD|CAPENABLED {
int sendmsg(
int s,
- _In_ struct msghdr *msg,
+ _In_ const struct msghdr *msg,
int flags
);
}
@@ -388,7 +388,7 @@
}
53 AUE_SIGALTSTACK STD|CAPENABLED {
int sigaltstack(
- _In_opt_ stack_t *ss,
+ _In_opt_ const stack_t *ss,
_Out_opt_ stack_t *oss
);
}
@@ -501,7 +501,7 @@
}
74 AUE_MPROTECT STD|CAPENABLED {
int mprotect(
- _In_ void *addr,
+ _In_ const void *addr,
size_t len,
int prot
);
@@ -531,7 +531,7 @@
80 AUE_SETGROUPS STD {
int setgroups(
int gidsetsize,
- _In_reads_(gidsetsize) gid_t *gidset
+ _In_reads_(gidsetsize) const gid_t *gidset
);
}
81 AUE_GETPGRP STD|CAPENABLED {
@@ -546,7 +546,7 @@
83 AUE_SETITIMER STD|CAPENABLED {
int setitimer(
u_int which,
- _In_ struct itimerval *itv,
+ _In_ const struct itimerval *itv,
_Out_opt_ struct itimerval *oitv
);
}
@@ -771,8 +771,8 @@
}
122 AUE_SETTIMEOFDAY STD {
int settimeofday(
- _In_ struct timeval *tv,
- _In_opt_ struct timezone *tzp
+ _In_ const struct timeval *tv,
+ _In_opt_ const struct timezone *tzp
);
}
123 AUE_FCHOWN STD|CAPENABLED {
@@ -878,13 +878,13 @@
138 AUE_UTIMES STD {
int utimes(
_In_z_ const char *path,
- _In_ struct timeval *tptr
+ _In_ const struct timeval *tptr
);
}
139 AUE_NULL OBSOL 4.2 sigreturn
140 AUE_ADJTIME STD {
int adjtime(
- _In_ struct timeval *delta,
+ _In_ const struct timeval *delta,
_Out_opt_ struct timeval *olddelta
);
}
@@ -1219,7 +1219,7 @@
206 AUE_FUTIMES STD|CAPENABLED {
int futimes(
int fd,
- _In_reads_(2) struct timeval *tptr
+ _In_reads_(2) const struct timeval *tptr
);
}
207 AUE_GETPGID STD|CAPENABLED {
@@ -1480,7 +1480,7 @@
276 AUE_LUTIMES STD {
int lutimes(
_In_z_ const char *path,
- _In_ struct timeval *tptr
+ _In_ const struct timeval *tptr
);
}
277 AUE_NULL OBSOL netbsd_msync
@@ -2492,7 +2492,7 @@
int sd,
_In_reads_bytes_(mlen) void *msg,
int mlen,
- _In_reads_bytes_(tolen) struct sockaddr *to,
+ _In_reads_bytes_(tolen) const struct sockaddr *to,
__socklen_t tolen,
_In_opt_ struct sctp_sndrcvinfo *sinfo,
int flags
@@ -2503,7 +2503,7 @@
int sd,
_In_reads_(iovlen) struct iovec *iov,
int iovlen,
- _In_reads_bytes_(tolen) struct sockaddr *to,
+ _In_reads_bytes_(tolen) const struct sockaddr *to,
__socklen_t tolen,
_In_opt_ struct sctp_sndrcvinfo *sinfo,
int flags
@@ -2666,7 +2666,7 @@
int futimesat(
int fd,
_In_z_ const char *path,
- _In_reads_(2) struct timeval *times
+ _In_reads_(2) const struct timeval *times
);
}
495 AUE_LINKAT STD|CAPENABLED {
@@ -3017,14 +3017,14 @@
546 AUE_FUTIMES STD|CAPENABLED {
int futimens(
int fd,
- _In_reads_(2) struct timespec *times
+ _In_reads_(2) const struct timespec *times
);
}
547 AUE_FUTIMESAT STD|CAPENABLED {
int utimensat(
int fd,
_In_z_ const char *path,
- _In_reads_(2) struct timespec *times,
+ _In_reads_(2) const struct timespec *times,
int flag
);
}