Regen.
This commit is contained in:
parent
0538aafc41
commit
8103a8f608
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 277610 2015-01-23 21:07:08Z jilles
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 281714 2015-04-18 21:50:13Z kib
|
||||
*/
|
||||
|
||||
#include "opt_compat.h"
|
||||
@ -26,6 +26,12 @@
|
||||
#define compat4(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_FREEBSD6
|
||||
#define compat6(n, name) n, (sy_call_t *)__CONCAT(freebsd6_,name)
|
||||
#else
|
||||
#define compat6(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_FREEBSD7
|
||||
#define compat7(n, name) n, (sy_call_t *)__CONCAT(freebsd7_,name)
|
||||
#else
|
||||
@ -207,8 +213,8 @@ struct sysent sysent[] = {
|
||||
{ AS(msgsys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 170 = msgsys */
|
||||
{ AS(shmsys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 171 = shmsys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 172 = nosys */
|
||||
{ AS(freebsd6_pread_args), (sy_call_t *)freebsd6_pread, AUE_PREAD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 173 = freebsd6_pread */
|
||||
{ AS(freebsd6_pwrite_args), (sy_call_t *)freebsd6_pwrite, AUE_PWRITE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 174 = freebsd6_pwrite */
|
||||
{ compat6(AS(freebsd6_pread_args),pread), AUE_PREAD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 173 = freebsd6 pread */
|
||||
{ compat6(AS(freebsd6_pwrite_args),pwrite), AUE_PWRITE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 174 = freebsd6 pwrite */
|
||||
{ AS(setfib_args), (sy_call_t *)sys_setfib, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 175 = setfib */
|
||||
{ AS(ntp_adjtime_args), (sy_call_t *)sys_ntp_adjtime, AUE_NTP_ADJTIME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 176 = ntp_adjtime */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 177 = sfork */
|
||||
@ -231,11 +237,11 @@ struct sysent sysent[] = {
|
||||
{ AS(__getrlimit_args), (sy_call_t *)sys_getrlimit, AUE_GETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 194 = getrlimit */
|
||||
{ AS(__setrlimit_args), (sy_call_t *)sys_setrlimit, AUE_SETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 195 = setrlimit */
|
||||
{ AS(getdirentries_args), (sy_call_t *)sys_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 196 = getdirentries */
|
||||
{ AS(freebsd6_mmap_args), (sy_call_t *)freebsd6_mmap, AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 197 = freebsd6_mmap */
|
||||
{ compat6(AS(freebsd6_mmap_args),mmap), AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 197 = freebsd6 mmap */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 198 = __syscall */
|
||||
{ AS(freebsd6_lseek_args), (sy_call_t *)freebsd6_lseek, AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 199 = freebsd6_lseek */
|
||||
{ AS(freebsd6_truncate_args), (sy_call_t *)freebsd6_truncate, AUE_TRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 200 = freebsd6_truncate */
|
||||
{ AS(freebsd6_ftruncate_args), (sy_call_t *)freebsd6_ftruncate, AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 201 = freebsd6_ftruncate */
|
||||
{ compat6(AS(freebsd6_lseek_args),lseek), AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 199 = freebsd6 lseek */
|
||||
{ compat6(AS(freebsd6_truncate_args),truncate), AUE_TRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 200 = freebsd6 truncate */
|
||||
{ compat6(AS(freebsd6_ftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 201 = freebsd6 ftruncate */
|
||||
{ AS(sysctl_args), (sy_call_t *)sys___sysctl, AUE_SYSCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 202 = __sysctl */
|
||||
{ AS(mlock_args), (sy_call_t *)sys_mlock, AUE_MLOCK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 203 = mlock */
|
||||
{ AS(munlock_args), (sy_call_t *)sys_munlock, AUE_MUNLOCK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 204 = munlock */
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 277610 2015-01-23 21:07:08Z jilles
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 281714 2015-04-18 21:50:13Z kib
|
||||
*/
|
||||
|
||||
const char *syscallnames[] = {
|
||||
@ -180,8 +180,8 @@ const char *syscallnames[] = {
|
||||
"msgsys", /* 170 = msgsys */
|
||||
"shmsys", /* 171 = shmsys */
|
||||
"#172", /* 172 = nosys */
|
||||
"freebsd6_pread", /* 173 = freebsd6_pread */
|
||||
"freebsd6_pwrite", /* 174 = freebsd6_pwrite */
|
||||
"compat6.pread", /* 173 = freebsd6 pread */
|
||||
"compat6.pwrite", /* 174 = freebsd6 pwrite */
|
||||
"setfib", /* 175 = setfib */
|
||||
"ntp_adjtime", /* 176 = ntp_adjtime */
|
||||
"#177", /* 177 = sfork */
|
||||
@ -204,11 +204,11 @@ const char *syscallnames[] = {
|
||||
"getrlimit", /* 194 = getrlimit */
|
||||
"setrlimit", /* 195 = setrlimit */
|
||||
"getdirentries", /* 196 = getdirentries */
|
||||
"freebsd6_mmap", /* 197 = freebsd6_mmap */
|
||||
"compat6.mmap", /* 197 = freebsd6 mmap */
|
||||
"__syscall", /* 198 = __syscall */
|
||||
"freebsd6_lseek", /* 199 = freebsd6_lseek */
|
||||
"freebsd6_truncate", /* 200 = freebsd6_truncate */
|
||||
"freebsd6_ftruncate", /* 201 = freebsd6_ftruncate */
|
||||
"compat6.lseek", /* 199 = freebsd6 lseek */
|
||||
"compat6.truncate", /* 200 = freebsd6 truncate */
|
||||
"compat6.ftruncate", /* 201 = freebsd6 ftruncate */
|
||||
"__sysctl", /* 202 = __sysctl */
|
||||
"mlock", /* 203 = mlock */
|
||||
"munlock", /* 204 = munlock */
|
||||
|
@ -914,28 +914,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_pread */
|
||||
case 173: {
|
||||
struct freebsd6_pread_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* void * */
|
||||
uarg[2] = p->nbyte; /* size_t */
|
||||
iarg[3] = p->pad; /* int */
|
||||
iarg[4] = p->offset; /* off_t */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_pwrite */
|
||||
case 174: {
|
||||
struct freebsd6_pwrite_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* const void * */
|
||||
uarg[2] = p->nbyte; /* size_t */
|
||||
iarg[3] = p->pad; /* int */
|
||||
iarg[4] = p->offset; /* off_t */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
/* setfib */
|
||||
case 175: {
|
||||
struct setfib_args *p = params;
|
||||
@ -1037,52 +1015,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_mmap */
|
||||
case 197: {
|
||||
struct freebsd6_mmap_args *p = params;
|
||||
uarg[0] = (intptr_t) p->addr; /* caddr_t */
|
||||
uarg[1] = p->len; /* size_t */
|
||||
iarg[2] = p->prot; /* int */
|
||||
iarg[3] = p->flags; /* int */
|
||||
iarg[4] = p->fd; /* int */
|
||||
iarg[5] = p->pad; /* int */
|
||||
iarg[6] = p->pos; /* off_t */
|
||||
*n_args = 7;
|
||||
break;
|
||||
}
|
||||
/* nosys */
|
||||
case 198: {
|
||||
*n_args = 0;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_lseek */
|
||||
case 199: {
|
||||
struct freebsd6_lseek_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
iarg[1] = p->pad; /* int */
|
||||
iarg[2] = p->offset; /* off_t */
|
||||
iarg[3] = p->whence; /* int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_truncate */
|
||||
case 200: {
|
||||
struct freebsd6_truncate_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
iarg[1] = p->pad; /* int */
|
||||
iarg[2] = p->length; /* off_t */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* freebsd6_ftruncate */
|
||||
case 201: {
|
||||
struct freebsd6_ftruncate_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
iarg[1] = p->pad; /* int */
|
||||
iarg[2] = p->length; /* off_t */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* __sysctl */
|
||||
case 202: {
|
||||
struct sysctl_args *p = params;
|
||||
@ -4873,50 +4810,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd6_pread */
|
||||
case 173:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "void *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
case 4:
|
||||
p = "off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd6_pwrite */
|
||||
case 174:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "const void *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
case 4:
|
||||
p = "off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* setfib */
|
||||
case 175:
|
||||
switch(ndx) {
|
||||
@ -5077,88 +4970,9 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd6_mmap */
|
||||
case 197:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "caddr_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "size_t";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
case 4:
|
||||
p = "int";
|
||||
break;
|
||||
case 5:
|
||||
p = "int";
|
||||
break;
|
||||
case 6:
|
||||
p = "off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
break;
|
||||
/* freebsd6_lseek */
|
||||
case 199:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "off_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd6_truncate */
|
||||
case 200:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd6_ftruncate */
|
||||
case 201:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* __sysctl */
|
||||
case 202:
|
||||
switch(ndx) {
|
||||
@ -9598,16 +9412,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd6_pread */
|
||||
case 173:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "ssize_t";
|
||||
break;
|
||||
/* freebsd6_pwrite */
|
||||
case 174:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "ssize_t";
|
||||
break;
|
||||
/* setfib */
|
||||
case 175:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
@ -9673,28 +9477,8 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd6_mmap */
|
||||
case 197:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "caddr_t";
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
/* freebsd6_lseek */
|
||||
case 199:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "off_t";
|
||||
break;
|
||||
/* freebsd6_truncate */
|
||||
case 200:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd6_ftruncate */
|
||||
case 201:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* __sysctl */
|
||||
case 202:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 277610 2015-01-23 21:07:08Z jilles
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 281714 2015-04-18 21:50:13Z kib
|
||||
*/
|
||||
|
||||
#define SYS_syscall 0
|
||||
|
@ -1,7 +1,7 @@
|
||||
# FreeBSD system call names.
|
||||
# DO NOT EDIT-- this file is automatically generated.
|
||||
# $FreeBSD$
|
||||
# created from FreeBSD: head/sys/kern/syscalls.master 277610 2015-01-23 21:07:08Z jilles
|
||||
# created from FreeBSD: head/sys/kern/syscalls.master 281714 2015-04-18 21:50:13Z kib
|
||||
MIASM = \
|
||||
syscall.o \
|
||||
exit.o \
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 277610 2015-01-23 21:07:08Z jilles
|
||||
* created from FreeBSD: head/sys/kern/syscalls.master 281714 2015-04-18 21:50:13Z kib
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
@ -532,20 +532,6 @@ struct shmsys_args {
|
||||
char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
|
||||
char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd6_pread_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
|
||||
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_pwrite_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
|
||||
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
};
|
||||
struct setfib_args {
|
||||
char fibnum_l_[PADL_(int)]; int fibnum; char fibnum_r_[PADR_(int)];
|
||||
};
|
||||
@ -595,31 +581,6 @@ struct getdirentries_args {
|
||||
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
||||
char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
|
||||
};
|
||||
struct freebsd6_mmap_args {
|
||||
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
|
||||
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
||||
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
||||
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_lseek_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd6_truncate_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_ftruncate_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
|
||||
};
|
||||
struct sysctl_args {
|
||||
char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
|
||||
char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
|
||||
@ -1941,8 +1902,6 @@ int sys_rtprio(struct thread *, struct rtprio_args *);
|
||||
int sys_semsys(struct thread *, struct semsys_args *);
|
||||
int sys_msgsys(struct thread *, struct msgsys_args *);
|
||||
int sys_shmsys(struct thread *, struct shmsys_args *);
|
||||
int freebsd6_pread(struct thread *, struct freebsd6_pread_args *);
|
||||
int freebsd6_pwrite(struct thread *, struct freebsd6_pwrite_args *);
|
||||
int sys_setfib(struct thread *, struct setfib_args *);
|
||||
int sys_ntp_adjtime(struct thread *, struct ntp_adjtime_args *);
|
||||
int sys_setgid(struct thread *, struct setgid_args *);
|
||||
@ -1956,10 +1915,6 @@ int sys_fpathconf(struct thread *, struct fpathconf_args *);
|
||||
int sys_getrlimit(struct thread *, struct __getrlimit_args *);
|
||||
int sys_setrlimit(struct thread *, struct __setrlimit_args *);
|
||||
int sys_getdirentries(struct thread *, struct getdirentries_args *);
|
||||
int freebsd6_mmap(struct thread *, struct freebsd6_mmap_args *);
|
||||
int freebsd6_lseek(struct thread *, struct freebsd6_lseek_args *);
|
||||
int freebsd6_truncate(struct thread *, struct freebsd6_truncate_args *);
|
||||
int freebsd6_ftruncate(struct thread *, struct freebsd6_ftruncate_args *);
|
||||
int sys___sysctl(struct thread *, struct sysctl_args *);
|
||||
int sys_mlock(struct thread *, struct mlock_args *);
|
||||
int sys_munlock(struct thread *, struct munlock_args *);
|
||||
@ -2459,6 +2414,51 @@ int freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
|
||||
|
||||
#ifdef COMPAT_FREEBSD6
|
||||
|
||||
struct freebsd6_pread_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
|
||||
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_pwrite_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
|
||||
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_mmap_args {
|
||||
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
|
||||
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
||||
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
||||
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_lseek_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
|
||||
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd6_truncate_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
|
||||
};
|
||||
struct freebsd6_ftruncate_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
|
||||
};
|
||||
int freebsd6_pread(struct thread *, struct freebsd6_pread_args *);
|
||||
int freebsd6_pwrite(struct thread *, struct freebsd6_pwrite_args *);
|
||||
int freebsd6_mmap(struct thread *, struct freebsd6_mmap_args *);
|
||||
int freebsd6_lseek(struct thread *, struct freebsd6_lseek_args *);
|
||||
int freebsd6_truncate(struct thread *, struct freebsd6_truncate_args *);
|
||||
int freebsd6_ftruncate(struct thread *, struct freebsd6_ftruncate_args *);
|
||||
|
||||
#endif /* COMPAT_FREEBSD6 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user