mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
freebsd32: freebsd32_copyinuio takes const iovp
We only read the iovp so make it const like in copyinuio. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44376
This commit is contained in:
parent
fba329a195
commit
694ef157b9
@ -1191,7 +1191,7 @@ freebsd32_ptrace(struct thread *td, struct freebsd32_ptrace_args *uap)
|
||||
}
|
||||
|
||||
int
|
||||
freebsd32_copyinuio(struct iovec32 *iovp, u_int iovcnt, struct uio **uiop)
|
||||
freebsd32_copyinuio(const struct iovec32 *iovp, u_int iovcnt, struct uio **uiop)
|
||||
{
|
||||
struct iovec32 iov32;
|
||||
struct iovec *iov;
|
||||
|
@ -114,7 +114,7 @@ int freebsd32_copyout_strings(struct image_params *imgp,
|
||||
uintptr_t *stack_base);
|
||||
int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt,
|
||||
struct iovec **iov, int error);
|
||||
int freebsd32_copyinuio(struct iovec32 *iovp, u_int iovcnt,
|
||||
int freebsd32_copyinuio(const struct iovec32 *iovp, u_int iovcnt,
|
||||
struct uio **uiop);
|
||||
void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user