summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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
-rw-r--r--sys/i386/linux/linux_proto.h11
-rw-r--r--sys/i386/linux/linux_syscall.h2
-rw-r--r--sys/i386/linux/linux_syscalls.c2
-rw-r--r--sys/i386/linux/linux_sysent.c2
-rw-r--r--sys/i386/linux/linux_systrace_args.c30
10 files changed, 32 insertions, 62 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;
};
diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h
index 06d3521..510ee73 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: head/sys/i386/linux/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#ifndef _LINUX_SYSPROTO_H_
@@ -625,19 +625,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/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h
index f516985..a695eda 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: head/sys/i386/linux/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#define LINUX_SYS_exit 1
diff --git a/sys/i386/linux/linux_syscalls.c b/sys/i386/linux/linux_syscalls.c
index c84e926..096163f 100644
--- a/sys/i386/linux/linux_syscalls.c
+++ b/sys/i386/linux/linux_syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/i386/linux/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
const char *linux_syscallnames[] = {
diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c
index 7a08ec6..f993937 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: head/sys/i386/linux/syscalls.master 234352 2012-04-16 21:22:02Z jkim
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 234357 2012-04-16 22:58:28Z jkim
*/
#include <sys/param.h>
diff --git a/sys/i386/linux/linux_systrace_args.c b/sys/i386/linux/linux_systrace_args.c
index 8b86e6e..41406fe 100644
--- a/sys/i386/linux/linux_systrace_args.c
+++ b/sys/i386/linux/linux_systrace_args.c
@@ -1398,28 +1398,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 */
@@ -4494,14 +4491,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;
};
@@ -4510,14 +4504,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;
};
@@ -4526,14 +4517,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