regen: fix of linuxolator with testing in a cross-build

This commit is contained in:
Alexander Leidinger 2006-03-20 18:54:29 +00:00
parent 3a192a2050
commit 79d8404261
3 changed files with 15 additions and 9 deletions

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.7 2006/03/19 11:10:32 ru Exp * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.8 2006/03/20 18:53:26 netchild Exp
*/ */
#ifndef _LINUX_SYSPROTO_H_ #ifndef _LINUX_SYSPROTO_H_
@ -82,6 +82,10 @@ struct linux_lchown16_args {
char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)]; char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)]; char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
}; };
struct linux_stat_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char up_l_[PADL_(struct linux_stat *)]; struct linux_stat * up; char up_r_[PADR_(struct linux_stat *)];
};
struct linux_lseek_args { struct linux_lseek_args {
char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)]; char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)]; char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
@ -259,9 +263,9 @@ struct linux_symlink_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)]; char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
}; };
struct linux_stat_args { struct linux_lstat_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char up_l_[PADL_(struct l_stat *)]; struct l_stat * up; char up_r_[PADR_(struct l_stat *)]; char up_l_[PADL_(struct linux_lstat *)]; struct linux_lstat * up; char up_r_[PADR_(struct linux_lstat *)];
}; };
struct linux_readlink_args { struct linux_readlink_args {
char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
@ -715,6 +719,7 @@ int linux_time(struct thread *, struct linux_time_args *);
int linux_mknod(struct thread *, struct linux_mknod_args *); int linux_mknod(struct thread *, struct linux_mknod_args *);
int linux_chmod(struct thread *, struct linux_chmod_args *); int linux_chmod(struct thread *, struct linux_chmod_args *);
int linux_lchown16(struct thread *, struct linux_lchown16_args *); int linux_lchown16(struct thread *, struct linux_lchown16_args *);
int linux_stat(struct thread *, struct linux_stat_args *);
int linux_lseek(struct thread *, struct linux_lseek_args *); int linux_lseek(struct thread *, struct linux_lseek_args *);
int linux_getpid(struct thread *, struct linux_getpid_args *); int linux_getpid(struct thread *, struct linux_getpid_args *);
int linux_mount(struct thread *, struct linux_mount_args *); int linux_mount(struct thread *, struct linux_mount_args *);
@ -762,7 +767,7 @@ int linux_getgroups16(struct thread *, struct linux_getgroups16_args *);
int linux_setgroups16(struct thread *, struct linux_setgroups16_args *); int linux_setgroups16(struct thread *, struct linux_setgroups16_args *);
int linux_old_select(struct thread *, struct linux_old_select_args *); int linux_old_select(struct thread *, struct linux_old_select_args *);
int linux_symlink(struct thread *, struct linux_symlink_args *); int linux_symlink(struct thread *, struct linux_symlink_args *);
int linux_stat(struct thread *, struct linux_stat_args *); int linux_lstat(struct thread *, struct linux_lstat_args *);
int linux_readlink(struct thread *, struct linux_readlink_args *); int linux_readlink(struct thread *, struct linux_readlink_args *);
int linux_reboot(struct thread *, struct linux_reboot_args *); int linux_reboot(struct thread *, struct linux_reboot_args *);
int linux_readdir(struct thread *, struct linux_readdir_args *); int linux_readdir(struct thread *, struct linux_readdir_args *);

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.7 2006/03/19 11:10:32 ru Exp * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.8 2006/03/20 18:53:26 netchild Exp
*/ */
#define LINUX_SYS_exit 1 #define LINUX_SYS_exit 1
@ -22,6 +22,7 @@
#define LINUX_SYS_linux_mknod 14 #define LINUX_SYS_linux_mknod 14
#define LINUX_SYS_linux_chmod 15 #define LINUX_SYS_linux_chmod 15
#define LINUX_SYS_linux_lchown16 16 #define LINUX_SYS_linux_lchown16 16
#define LINUX_SYS_linux_stat 18
#define LINUX_SYS_linux_lseek 19 #define LINUX_SYS_linux_lseek 19
#define LINUX_SYS_linux_getpid 20 #define LINUX_SYS_linux_getpid 20
#define LINUX_SYS_linux_mount 21 #define LINUX_SYS_linux_mount 21
@ -79,7 +80,7 @@
#define LINUX_SYS_linux_setgroups16 81 #define LINUX_SYS_linux_setgroups16 81
#define LINUX_SYS_linux_old_select 82 #define LINUX_SYS_linux_old_select 82
#define LINUX_SYS_linux_symlink 83 #define LINUX_SYS_linux_symlink 83
#define LINUX_SYS_linux_stat 84 #define LINUX_SYS_linux_lstat 84
#define LINUX_SYS_linux_readlink 85 #define LINUX_SYS_linux_readlink 85
#define LINUX_SYS_swapon 87 #define LINUX_SYS_swapon 87
#define LINUX_SYS_linux_reboot 88 #define LINUX_SYS_linux_reboot 88

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.7 2006/03/19 11:10:32 ru Exp * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.8 2006/03/20 18:53:26 netchild Exp
*/ */
#include <bsm/audit_kevents.h> #include <bsm/audit_kevents.h>
@ -38,7 +38,7 @@ struct sysent linux_sysent[] = {
{ SYF_MPSAFE | AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_NULL }, /* 15 = linux_chmod */ { SYF_MPSAFE | AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_NULL }, /* 15 = linux_chmod */
{ SYF_MPSAFE | AS(linux_lchown16_args), (sy_call_t *)linux_lchown16, AUE_NULL }, /* 16 = linux_lchown16 */ { SYF_MPSAFE | AS(linux_lchown16_args), (sy_call_t *)linux_lchown16, AUE_NULL }, /* 16 = linux_lchown16 */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 17 = break */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 17 = break */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 18 = stat */ { SYF_MPSAFE | AS(linux_stat_args), (sy_call_t *)linux_stat, AUE_NULL }, /* 18 = linux_stat */
{ SYF_MPSAFE | AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_NULL }, /* 19 = linux_lseek */ { SYF_MPSAFE | AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_NULL }, /* 19 = linux_lseek */
{ SYF_MPSAFE | 0, (sy_call_t *)linux_getpid, AUE_NULL }, /* 20 = linux_getpid */ { SYF_MPSAFE | 0, (sy_call_t *)linux_getpid, AUE_NULL }, /* 20 = linux_getpid */
{ AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_NULL }, /* 21 = linux_mount */ { AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_NULL }, /* 21 = linux_mount */
@ -104,7 +104,7 @@ struct sysent linux_sysent[] = {
{ SYF_MPSAFE | AS(linux_setgroups16_args), (sy_call_t *)linux_setgroups16, AUE_NULL }, /* 81 = linux_setgroups16 */ { SYF_MPSAFE | AS(linux_setgroups16_args), (sy_call_t *)linux_setgroups16, AUE_NULL }, /* 81 = linux_setgroups16 */
{ SYF_MPSAFE | AS(linux_old_select_args), (sy_call_t *)linux_old_select, AUE_NULL }, /* 82 = linux_old_select */ { SYF_MPSAFE | AS(linux_old_select_args), (sy_call_t *)linux_old_select, AUE_NULL }, /* 82 = linux_old_select */
{ SYF_MPSAFE | AS(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_NULL }, /* 83 = linux_symlink */ { SYF_MPSAFE | AS(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_NULL }, /* 83 = linux_symlink */
{ SYF_MPSAFE | AS(linux_stat_args), (sy_call_t *)linux_stat, AUE_NULL }, /* 84 = linux_stat */ { SYF_MPSAFE | AS(linux_lstat_args), (sy_call_t *)linux_lstat, AUE_NULL }, /* 84 = linux_lstat */
{ SYF_MPSAFE | AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_NULL }, /* 85 = linux_readlink */ { SYF_MPSAFE | AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_NULL }, /* 85 = linux_readlink */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 86 = linux_uselib */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 86 = linux_uselib */
{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon, AUE_NULL }, /* 87 = swapon */ { SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon, AUE_NULL }, /* 87 = swapon */