summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-04-16 22:59:51 +0000
committerjkim <jkim@FreeBSD.org>2012-04-16 22:59:51 +0000
commitdeeb601d27836412d37be256fc0ba79f685427aa (patch)
tree3caa39365d8673fc829ca6c88fc9f7515e89c367 /sys/amd64
parent7bd78fb6df9df0ff38c4cb977cd8d5ac0b2e1d0c (diff)
downloadFreeBSD-src-deeb601d27836412d37be256fc0ba79f685427aa.zip
FreeBSD-src-deeb601d27836412d37be256fc0ba79f685427aa.tar.gz
Regen for r234357.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/linux32/linux32_proto.h11
-rw-r--r--sys/amd64/linux32/linux32_syscall.h2
-rw-r--r--sys/amd64/linux32/linux32_syscalls.c2
-rw-r--r--sys/amd64/linux32/linux32_sysent.c2
-rw-r--r--sys/amd64/linux32/linux32_systrace_args.c30
5 files changed, 16 insertions, 31 deletions
diff --git a/sys/amd64/linux32/linux32_proto.h b/sys/amd64/linux32/linux32_proto.h
index 75420f8..fff3dbc 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: head/sys/amd64/linux32/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#ifndef _LINUX_SYSPROTO_H_
@@ -628,19 +628,16 @@ struct linux_ftruncate64_args {
char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
};
struct linux_stat64_args {
- char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
+ char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
- char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
};
struct linux_lstat64_args {
- char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
+ char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
- char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
};
struct linux_fstat64_args {
- char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
+ char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
- char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
};
struct linux_lchown_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
diff --git a/sys/amd64/linux32/linux32_syscall.h b/sys/amd64/linux32/linux32_syscall.h
index 11adb5f..674845a 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: head/sys/amd64/linux32/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#define LINUX_SYS_exit 1
diff --git a/sys/amd64/linux32/linux32_syscalls.c b/sys/amd64/linux32/linux32_syscalls.c
index e1e78da..7d22b8d 100644
--- a/sys/amd64/linux32/linux32_syscalls.c
+++ b/sys/amd64/linux32/linux32_syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
const char *linux_syscallnames[] = {
diff --git a/sys/amd64/linux32/linux32_sysent.c b/sys/amd64/linux32/linux32_sysent.c
index 346f4a0..dffa11c3 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: head/sys/amd64/linux32/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#include "opt_compat.h"
diff --git a/sys/amd64/linux32/linux32_systrace_args.c b/sys/amd64/linux32/linux32_systrace_args.c
index 5230699..e3dcf93 100644
--- a/sys/amd64/linux32/linux32_systrace_args.c
+++ b/sys/amd64/linux32/linux32_systrace_args.c
@@ -1355,28 +1355,25 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
/* linux_stat64 */
case 195: {
struct linux_stat64_args *p = params;
- uarg[0] = (intptr_t) p->filename; /* char * */
+ uarg[0] = (intptr_t) p->filename; /* const char * */
uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
- iarg[2] = p->flags; /* l_long */
- *n_args = 3;
+ *n_args = 2;
break;
}
/* linux_lstat64 */
case 196: {
struct linux_lstat64_args *p = params;
- uarg[0] = (intptr_t) p->filename; /* char * */
+ uarg[0] = (intptr_t) p->filename; /* const char * */
uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
- iarg[2] = p->flags; /* l_long */
- *n_args = 3;
+ *n_args = 2;
break;
}
/* linux_fstat64 */
case 197: {
struct linux_fstat64_args *p = params;
- iarg[0] = p->fd; /* l_ulong */
+ iarg[0] = p->fd; /* l_int */
uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
- iarg[2] = p->flags; /* l_long */
- *n_args = 3;
+ *n_args = 2;
break;
}
/* linux_lchown */
@@ -4342,14 +4339,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 195:
switch(ndx) {
case 0:
- p = "char *";
+ p = "const char *";
break;
case 1:
p = "struct l_stat64 *";
break;
- case 2:
- p = "l_long";
- break;
default:
break;
};
@@ -4358,14 +4352,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 196:
switch(ndx) {
case 0:
- p = "char *";
+ p = "const char *";
break;
case 1:
p = "struct l_stat64 *";
break;
- case 2:
- p = "l_long";
- break;
default:
break;
};
@@ -4374,14 +4365,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 197:
switch(ndx) {
case 0:
- p = "l_ulong";
+ p = "l_int";
break;
case 1:
p = "struct l_stat64 *";
break;
- case 2:
- p = "l_long";
- break;
default:
break;
};
OpenPOWER on IntegriCloud