diff options
-rw-r--r-- | sys/alpha/linux/linux_proto.h | 7 | ||||
-rw-r--r-- | sys/alpha/linux/linux_syscall.h | 3 | ||||
-rw-r--r-- | sys/alpha/linux/linux_sysent.c | 4 | ||||
-rw-r--r-- | sys/amd64/linux32/linux32_proto.h | 7 | ||||
-rw-r--r-- | sys/amd64/linux32/linux32_syscall.h | 4 | ||||
-rw-r--r-- | sys/amd64/linux32/linux32_sysent.c | 4 | ||||
-rw-r--r-- | sys/i386/linux/linux_proto.h | 7 | ||||
-rw-r--r-- | sys/i386/linux/linux_syscall.h | 4 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysent.c | 4 |
9 files changed, 30 insertions, 14 deletions
diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h index f559322..50c4baa 100644 --- a/sys/alpha/linux/linux_proto.h +++ b/sys/alpha/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -199,6 +199,10 @@ struct linux_connect_args { char name_l_[PADL_(struct l_sockaddr *)]; struct l_sockaddr * name; char name_r_[PADR_(struct l_sockaddr *)]; char namelen_l_[PADL_(l_int)]; l_int namelen; char namelen_r_[PADR_(l_int)]; }; +struct linux_getpriority_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; +}; struct osf1_sigreturn_args { char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)]; }; @@ -622,6 +626,7 @@ int linux_fcntl(struct thread *, struct linux_fcntl_args *); int osf1_select(struct thread *, struct osf1_select_args *); int osf1_socket(struct thread *, struct osf1_socket_args *); int linux_connect(struct thread *, struct linux_connect_args *); +int linux_getpriority(struct thread *, struct linux_getpriority_args *); int osf1_sigreturn(struct thread *, struct osf1_sigreturn_args *); int osf1_sigsuspend(struct thread *, struct osf1_sigsuspend_args *); int linux_recvmsg(struct thread *, struct linux_recvmsg_args *); diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h index c2eb57b..cc1df7c 100644 --- a/sys/alpha/linux/linux_syscall.h +++ b/sys/alpha/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #define LINUX_SYS_exit 1 @@ -69,6 +69,7 @@ #define LINUX_SYS_osf1_socket 97 #define LINUX_SYS_linux_connect 98 #define LINUX_SYS_accept 99 +#define LINUX_SYS_linux_getpriority 100 #define LINUX_SYS_osend 101 #define LINUX_SYS_orecv 102 #define LINUX_SYS_osf1_sigreturn 103 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c index dca3d04..3a3d00d 100644 --- a/sys/alpha/linux/linux_sysent.c +++ b/sys/alpha/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #include <bsm/audit_kevents.h> @@ -120,7 +120,7 @@ struct sysent linux_sysent[] = { { AS(osf1_socket_args), (sy_call_t *)osf1_socket, AUE_NULL }, /* 97 = osf1_socket */ { AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_NULL }, /* 98 = linux_connect */ { AS(accept_args), (sy_call_t *)oaccept, AUE_NULL }, /* 99 = accept */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 100 = osf_getpriority */ + { SYF_MPSAFE | AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_NULL }, /* 100 = linux_getpriority */ { AS(osend_args), (sy_call_t *)osend, AUE_NULL }, /* 101 = osend */ { AS(orecv_args), (sy_call_t *)orecv, AUE_NULL }, /* 102 = orecv */ { SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn, AUE_NULL }, /* 103 = osf1_sigreturn */ diff --git a/sys/amd64/linux32/linux32_proto.h b/sys/amd64/linux32/linux32_proto.h index a86c895..2ed8f26 100644 --- a/sys/amd64/linux32/linux32_proto.h +++ b/sys/amd64/linux32/linux32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.3 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4 2005/06/08 20:41:27 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -278,6 +278,10 @@ struct linux_truncate_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)]; }; +struct linux_getpriority_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; +}; struct linux_statfs_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)]; @@ -750,6 +754,7 @@ int linux_reboot(struct thread *, struct linux_reboot_args *); int linux_readdir(struct thread *, struct linux_readdir_args *); int linux_mmap(struct thread *, struct linux_mmap_args *); int linux_truncate(struct thread *, struct linux_truncate_args *); +int linux_getpriority(struct thread *, struct linux_getpriority_args *); int linux_statfs(struct thread *, struct linux_statfs_args *); int linux_fstatfs(struct thread *, struct linux_fstatfs_args *); int linux_socketcall(struct thread *, struct linux_socketcall_args *); diff --git a/sys/amd64/linux32/linux32_syscall.h b/sys/amd64/linux32/linux32_syscall.h index 2690359..fb9d8b1 100644 --- a/sys/amd64/linux32/linux32_syscall.h +++ b/sys/amd64/linux32/linux32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.3 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4 2005/06/08 20:41:27 sobomax Exp */ #define LINUX_SYS_exit 1 @@ -89,7 +89,7 @@ #define LINUX_SYS_oftruncate 93 #define LINUX_SYS_fchmod 94 #define LINUX_SYS_fchown 95 -#define LINUX_SYS_getpriority 96 +#define LINUX_SYS_linux_getpriority 96 #define LINUX_SYS_setpriority 97 #define LINUX_SYS_linux_statfs 99 #define LINUX_SYS_linux_fstatfs 100 diff --git a/sys/amd64/linux32/linux32_sysent.c b/sys/amd64/linux32/linux32_sysent.c index 6e56e2d..f77a47f 100644 --- a/sys/amd64/linux32/linux32_sysent.c +++ b/sys/amd64/linux32/linux32_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.3 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4 2005/06/08 20:41:27 sobomax Exp */ #include <bsm/audit_kevents.h> @@ -116,7 +116,7 @@ struct sysent linux_sysent[] = { { AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_NULL }, /* 93 = oftruncate */ { AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL }, /* 94 = fchmod */ { AS(fchown_args), (sy_call_t *)fchown, AUE_NULL }, /* 95 = fchown */ - { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_NULL }, /* 96 = getpriority */ + { SYF_MPSAFE | AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_NULL }, /* 96 = linux_getpriority */ { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL }, /* 97 = setpriority */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 98 = profil */ { AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_NULL }, /* 99 = linux_statfs */ diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index e110c42..caa2941 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.60 2005/05/30 15:09:18 rwatson Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61 2005/06/08 20:41:28 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -277,6 +277,10 @@ struct linux_truncate_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)]; }; +struct linux_getpriority_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; +}; struct linux_statfs_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)]; @@ -755,6 +759,7 @@ int linux_reboot(struct thread *, struct linux_reboot_args *); int linux_readdir(struct thread *, struct linux_readdir_args *); int linux_mmap(struct thread *, struct linux_mmap_args *); int linux_truncate(struct thread *, struct linux_truncate_args *); +int linux_getpriority(struct thread *, struct linux_getpriority_args *); int linux_statfs(struct thread *, struct linux_statfs_args *); int linux_fstatfs(struct thread *, struct linux_fstatfs_args *); int linux_ioperm(struct thread *, struct linux_ioperm_args *); diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index 2f4a7f4..ba94244 100644 --- a/sys/i386/linux/linux_syscall.h +++ b/sys/i386/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.60 2005/05/30 15:09:18 rwatson Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61 2005/06/08 20:41:28 sobomax Exp */ #define LINUX_SYS_exit 1 @@ -93,7 +93,7 @@ #define LINUX_SYS_oftruncate 93 #define LINUX_SYS_fchmod 94 #define LINUX_SYS_fchown 95 -#define LINUX_SYS_getpriority 96 +#define LINUX_SYS_linux_getpriority 96 #define LINUX_SYS_setpriority 97 #define LINUX_SYS_linux_statfs 99 #define LINUX_SYS_linux_fstatfs 100 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index 9b2aabb..bf7865b 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.60 2005/05/30 15:09:18 rwatson Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61 2005/06/08 20:41:28 sobomax Exp */ #include <bsm/audit_kevents.h> @@ -116,7 +116,7 @@ struct sysent linux_sysent[] = { { AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_NULL }, /* 93 = oftruncate */ { AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL }, /* 94 = fchmod */ { AS(fchown_args), (sy_call_t *)fchown, AUE_NULL }, /* 95 = fchown */ - { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_NULL }, /* 96 = getpriority */ + { SYF_MPSAFE | AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_NULL }, /* 96 = linux_getpriority */ { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL }, /* 97 = setpriority */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 98 = profil */ { AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_NULL }, /* 99 = linux_statfs */ |