mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
linux(4): Regen for linux_nosys change
MFC after: 1 week
(cherry picked from commit 99abee8b7b
)
This commit is contained in:
parent
ea54d65b34
commit
a4b328aa41
|
@ -33,7 +33,6 @@ struct thread;
|
|||
#define PADR_(t) 0
|
||||
#endif
|
||||
|
||||
#define nosys linux_nosys
|
||||
struct linux_write_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
|
@ -1438,7 +1437,6 @@ struct linux_fchmodat2_args {
|
|||
struct linux_map_shadow_stack_args {
|
||||
syscallarg_t dummy;
|
||||
};
|
||||
#define nosys linux_nosys
|
||||
int linux_write(struct thread *, struct linux_write_args *);
|
||||
int linux_open(struct thread *, struct linux_open_args *);
|
||||
int linux_newstat(struct thread *, struct linux_newstat_args *);
|
||||
|
|
|
@ -354,4 +354,4 @@
|
|||
#define LINUX_SYS_linux_cachestat 451
|
||||
#define LINUX_SYS_linux_fchmodat2 452
|
||||
#define LINUX_SYS_linux_map_shadow_stack 453
|
||||
#define LINUX_SYS_MAXSYSCALL 455
|
||||
#define LINUX_SYS_MAXSYSCALL 454
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
const char *linux_syscallnames[] = {
|
||||
#define nosys linux_nosys
|
||||
"read", /* 0 = read */
|
||||
"linux_write", /* 1 = linux_write */
|
||||
"linux_open", /* 2 = linux_open */
|
||||
|
@ -460,5 +459,4 @@ const char *linux_syscallnames[] = {
|
|||
"linux_cachestat", /* 451 = linux_cachestat */
|
||||
"linux_fchmodat2", /* 452 = linux_fchmodat2 */
|
||||
"linux_map_shadow_stack", /* 453 = linux_map_shadow_stack */
|
||||
"#454", /* 454 = nosys */
|
||||
};
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
#include <compat/linux/linux_sysproto.h>
|
||||
#include <amd64/linux/linux.h>
|
||||
#include <amd64/linux/linux_proto.h>
|
||||
|
||||
|
@ -15,7 +14,6 @@
|
|||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent linux_sysent[] = {
|
||||
#define nosys linux_nosys
|
||||
{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 0 = read */
|
||||
{ .sy_narg = AS(linux_write_args), .sy_call = (sy_call_t *)linux_write, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 1 = linux_write */
|
||||
{ .sy_narg = AS(linux_open_args), .sy_call = (sy_call_t *)linux_open, .sy_auevent = AUE_OPEN_RWTC, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 2 = linux_open */
|
||||
|
@ -470,5 +468,4 @@ struct sysent linux_sysent[] = {
|
|||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_cachestat, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 451 = linux_cachestat */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fchmodat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 452 = linux_fchmodat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_map_shadow_stack, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 453 = linux_map_shadow_stack */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 454 = nosys */
|
||||
};
|
||||
|
|
|
@ -11,7 +11,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
int64_t *iarg = (int64_t *)uarg;
|
||||
int a = 0;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* read */
|
||||
case 0: {
|
||||
struct read_args *p = params;
|
||||
|
@ -2816,7 +2815,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* read */
|
||||
case 0:
|
||||
switch (ndx) {
|
||||
|
@ -7280,7 +7278,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* read */
|
||||
case 0:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
|
@ -33,7 +33,6 @@ struct thread;
|
|||
#define PADR_(t) 0
|
||||
#endif
|
||||
|
||||
#define nosys linux_nosys
|
||||
struct linux_exit_args {
|
||||
char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
|
||||
};
|
||||
|
@ -1736,7 +1735,6 @@ struct linux_cachestat_args {
|
|||
struct linux_fchmodat2_args {
|
||||
syscallarg_t dummy;
|
||||
};
|
||||
#define nosys linux_nosys
|
||||
int linux_exit(struct thread *, struct linux_exit_args *);
|
||||
int linux_fork(struct thread *, struct linux_fork_args *);
|
||||
int linux_write(struct thread *, struct linux_write_args *);
|
||||
|
|
|
@ -413,4 +413,4 @@
|
|||
#define LINUX32_SYS_linux_set_mempolicy_home_node 450
|
||||
#define LINUX32_SYS_linux_cachestat 451
|
||||
#define LINUX32_SYS_linux_fchmodat2 452
|
||||
#define LINUX32_SYS_MAXSYSCALL 454
|
||||
#define LINUX32_SYS_MAXSYSCALL 453
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
const char *linux32_syscallnames[] = {
|
||||
#define nosys linux_nosys
|
||||
"#0", /* 0 = setup */
|
||||
"linux_exit", /* 1 = linux_exit */
|
||||
"linux_fork", /* 2 = linux_fork */
|
||||
|
@ -459,5 +458,4 @@ const char *linux32_syscallnames[] = {
|
|||
"linux_set_mempolicy_home_node", /* 450 = linux_set_mempolicy_home_node */
|
||||
"linux_cachestat", /* 451 = linux_cachestat */
|
||||
"linux_fchmodat2", /* 452 = linux_fchmodat2 */
|
||||
"#453", /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
#include <compat/linux/linux_sysproto.h>
|
||||
#include <compat/freebsd32/freebsd32_util.h>
|
||||
#include <amd64/linux32/linux.h>
|
||||
#include <amd64/linux32/linux32_proto.h>
|
||||
|
@ -16,7 +15,6 @@
|
|||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent linux32_sysent[] = {
|
||||
#define nosys linux_nosys
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 0 = setup */
|
||||
{ .sy_narg = AS(linux_exit_args), .sy_call = (sy_call_t *)linux_exit, .sy_auevent = AUE_EXIT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 1 = linux_exit */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fork, .sy_auevent = AUE_FORK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 2 = linux_fork */
|
||||
|
@ -470,5 +468,4 @@ struct sysent linux32_sysent[] = {
|
|||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_set_mempolicy_home_node, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 450 = linux_set_mempolicy_home_node */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_cachestat, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 451 = linux_cachestat */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fchmodat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 452 = linux_fchmodat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -11,7 +11,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
int64_t *iarg = (int64_t *)uarg;
|
||||
int a = 0;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1: {
|
||||
struct linux_exit_args *p = params;
|
||||
|
@ -3325,7 +3324,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1:
|
||||
switch (ndx) {
|
||||
|
@ -8651,7 +8649,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
|
@ -33,7 +33,6 @@ struct thread;
|
|||
#define PADR_(t) 0
|
||||
#endif
|
||||
|
||||
#define nosys linux_nosys
|
||||
struct linux_setxattr_args {
|
||||
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
|
||||
char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
|
||||
|
@ -1245,7 +1244,6 @@ struct linux_cachestat_args {
|
|||
struct linux_fchmodat2_args {
|
||||
syscallarg_t dummy;
|
||||
};
|
||||
#define nosys linux_nosys
|
||||
int linux_setxattr(struct thread *, struct linux_setxattr_args *);
|
||||
int linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *);
|
||||
int linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *);
|
||||
|
|
|
@ -301,4 +301,4 @@
|
|||
#define LINUX_SYS_linux_set_mempolicy_home_node 450
|
||||
#define LINUX_SYS_linux_cachestat 451
|
||||
#define LINUX_SYS_linux_fchmodat2 452
|
||||
#define LINUX_SYS_MAXSYSCALL 454
|
||||
#define LINUX_SYS_MAXSYSCALL 453
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
const char *linux_syscallnames[] = {
|
||||
#define nosys linux_nosys
|
||||
"#0", /* 0 = linux_io_setup */
|
||||
"#1", /* 1 = linux_io_destroy */
|
||||
"#2", /* 2 = linux_io_submit */
|
||||
|
@ -459,5 +458,4 @@ const char *linux_syscallnames[] = {
|
|||
"linux_set_mempolicy_home_node", /* 450 = linux_set_mempolicy_home_node */
|
||||
"linux_cachestat", /* 451 = linux_cachestat */
|
||||
"linux_fchmodat2", /* 452 = linux_fchmodat2 */
|
||||
"#453", /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
#include <compat/linux/linux_sysproto.h>
|
||||
#include <arm64/linux/linux.h>
|
||||
#include <arm64/linux/linux_proto.h>
|
||||
|
||||
|
@ -15,7 +14,6 @@
|
|||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent linux_sysent[] = {
|
||||
#define nosys linux_nosys
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 0 = linux_io_setup */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 1 = linux_io_destroy */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 2 = linux_io_submit */
|
||||
|
@ -469,5 +467,4 @@ struct sysent linux_sysent[] = {
|
|||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_set_mempolicy_home_node, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 450 = linux_set_mempolicy_home_node */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_cachestat, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 451 = linux_cachestat */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fchmodat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 452 = linux_fchmodat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -11,7 +11,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
int64_t *iarg = (int64_t *)uarg;
|
||||
int a = 0;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_setxattr */
|
||||
case 5: {
|
||||
struct linux_setxattr_args *p = params;
|
||||
|
@ -2433,7 +2432,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_setxattr */
|
||||
case 5:
|
||||
switch (ndx) {
|
||||
|
@ -6347,7 +6345,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_setxattr */
|
||||
case 5:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
|
@ -33,7 +33,6 @@ struct thread;
|
|||
#define PADR_(t) 0
|
||||
#endif
|
||||
|
||||
#define nosys linux_nosys
|
||||
struct linux_exit_args {
|
||||
char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
|
||||
};
|
||||
|
@ -1730,7 +1729,6 @@ struct linux_cachestat_args {
|
|||
struct linux_fchmodat2_args {
|
||||
syscallarg_t dummy;
|
||||
};
|
||||
#define nosys linux_nosys
|
||||
int linux_exit(struct thread *, struct linux_exit_args *);
|
||||
int linux_fork(struct thread *, struct linux_fork_args *);
|
||||
int linux_write(struct thread *, struct linux_write_args *);
|
||||
|
|
|
@ -419,4 +419,4 @@
|
|||
#define LINUX_SYS_linux_set_mempolicy_home_node 450
|
||||
#define LINUX_SYS_linux_cachestat 451
|
||||
#define LINUX_SYS_linux_fchmodat2 452
|
||||
#define LINUX_SYS_MAXSYSCALL 454
|
||||
#define LINUX_SYS_MAXSYSCALL 453
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
const char *linux_syscallnames[] = {
|
||||
#define nosys linux_nosys
|
||||
"#0", /* 0 = setup */
|
||||
"linux_exit", /* 1 = linux_exit */
|
||||
"linux_fork", /* 2 = linux_fork */
|
||||
|
@ -459,5 +458,4 @@ const char *linux_syscallnames[] = {
|
|||
"linux_set_mempolicy_home_node", /* 450 = linux_set_mempolicy_home_node */
|
||||
"linux_cachestat", /* 451 = linux_cachestat */
|
||||
"linux_fchmodat2", /* 452 = linux_fchmodat2 */
|
||||
"#453", /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
#include <compat/linux/linux_sysproto.h>
|
||||
#include <i386/linux/linux.h>
|
||||
#include <i386/linux/linux_proto.h>
|
||||
|
||||
|
@ -15,7 +14,6 @@
|
|||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent linux_sysent[] = {
|
||||
#define nosys linux_nosys
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 0 = setup */
|
||||
{ .sy_narg = AS(linux_exit_args), .sy_call = (sy_call_t *)linux_exit, .sy_auevent = AUE_EXIT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 1 = linux_exit */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fork, .sy_auevent = AUE_FORK, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 2 = linux_fork */
|
||||
|
@ -469,5 +467,4 @@ struct sysent linux_sysent[] = {
|
|||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_set_mempolicy_home_node, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 450 = linux_set_mempolicy_home_node */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_cachestat, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 451 = linux_cachestat */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_fchmodat2, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 452 = linux_fchmodat2 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT }, /* 453 = nosys */
|
||||
};
|
||||
|
|
|
@ -11,7 +11,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
int64_t *iarg = (int64_t *)uarg;
|
||||
int a = 0;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1: {
|
||||
struct linux_exit_args *p = params;
|
||||
|
@ -3356,7 +3355,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1:
|
||||
switch (ndx) {
|
||||
|
@ -8707,7 +8705,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
{
|
||||
const char *p = NULL;
|
||||
switch (sysnum) {
|
||||
#define nosys linux_nosys
|
||||
/* linux_exit */
|
||||
case 1:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
Loading…
Reference in a new issue