Finich r313684.

Convert linux_recv(), linux_send() and linux_accept() system call arguments
to the register_t type too.

PR:		217161
MFC after:	3 days
xMFC with:	r313284,r313285,r313684
This commit is contained in:
Dmitry Chagin 2017-02-18 07:21:50 +00:00
parent 959bd29aa8
commit 56fba8e66b
2 changed files with 11 additions and 11 deletions

View File

@ -959,10 +959,10 @@ linux_socketpair(struct thread *td, struct linux_socketpair_args *args)
#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32))
struct linux_send_args {
int s;
l_uintptr_t msg;
int len;
int flags;
register_t s;
register_t msg;
register_t len;
register_t flags;
};
static int
@ -987,10 +987,10 @@ linux_send(struct thread *td, struct linux_send_args *args)
}
struct linux_recv_args {
int s;
l_uintptr_t msg;
int len;
int flags;
register_t s;
register_t msg;
register_t len;
register_t flags;
};
static int

View File

@ -143,9 +143,9 @@ struct l_ucred {
#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32))
struct linux_accept_args {
int s;
l_uintptr_t addr;
l_uintptr_t namelen;
register_t s;
register_t addr;
register_t namelen;
};
int linux_accept(struct thread *td, struct linux_accept_args *args);