summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2005-06-08 20:47:30 +0000
committersobomax <sobomax@FreeBSD.org>2005-06-08 20:47:30 +0000
commit3d445ed2f2296f8e48f68e61e24de3eb40e4bdcc (patch)
treedb2b4af56ca367bc77d2683f20235c10f10c1b96 /sys/amd64
parent307c6bb14996af08596d7169372631784e07b77f (diff)
downloadFreeBSD-src-3d445ed2f2296f8e48f68e61e24de3eb40e4bdcc.zip
FreeBSD-src-3d445ed2f2296f8e48f68e61e24de3eb40e4bdcc.tar.gz
Regen after addition of linux_getpriority wrapper.
PR: kern/81951 Submitted by: Andriy Gapon <avg@icyb.net.ua> MFC after: 1 week
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/linux32/linux32_proto.h7
-rw-r--r--sys/amd64/linux32/linux32_syscall.h4
-rw-r--r--sys/amd64/linux32/linux32_sysent.c4
3 files changed, 10 insertions, 5 deletions
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 */
OpenPOWER on IntegriCloud