mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Regen
This commit is contained in:
parent
b165e9e3ea
commit
60f87c7368
@ -463,6 +463,7 @@ typedef int (__sys_timerfd_gettime_t)(int, struct itimerspec *);
|
||||
typedef int (__sys_timerfd_settime_t)(int, int, const struct itimerspec *, struct itimerspec *);
|
||||
typedef int (__sys_kcmp_t)(pid_t, pid_t, int, uintptr_t, uintptr_t);
|
||||
typedef int (__sys_getrlimitusage_t)(u_int, int, rlim_t *);
|
||||
typedef int (__sys_fchroot_t)(int);
|
||||
|
||||
void __sys_exit(int rval);
|
||||
int __sys_fork(void);
|
||||
@ -863,6 +864,7 @@ int __sys_timerfd_gettime(int fd, struct itimerspec * curr_value);
|
||||
int __sys_timerfd_settime(int fd, int flags, const struct itimerspec * new_value, struct itimerspec * old_value);
|
||||
int __sys_kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
|
||||
int __sys_getrlimitusage(u_int which, int flags, rlim_t * res);
|
||||
int __sys_fchroot(int fd);
|
||||
__END_DECLS
|
||||
|
||||
#endif /* __LIBSYS_H_ */
|
||||
|
@ -805,4 +805,6 @@ FBSDprivate_1.0 {
|
||||
__sys_kcmp;
|
||||
_getrlimitusage;
|
||||
__sys_getrlimitusage;
|
||||
_fchroot;
|
||||
__sys_fchroot;
|
||||
};
|
||||
|
@ -508,4 +508,5 @@
|
||||
#define FREEBSD32_SYS_freebsd32_timerfd_settime 587
|
||||
#define FREEBSD32_SYS_kcmp 588
|
||||
#define FREEBSD32_SYS_getrlimitusage 589
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 590
|
||||
#define FREEBSD32_SYS_fchroot 590
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 591
|
||||
|
@ -595,4 +595,5 @@ const char *freebsd32_syscallnames[] = {
|
||||
"freebsd32_timerfd_settime", /* 587 = freebsd32_timerfd_settime */
|
||||
"kcmp", /* 588 = kcmp */
|
||||
"getrlimitusage", /* 589 = getrlimitusage */
|
||||
"fchroot", /* 590 = fchroot */
|
||||
};
|
||||
|
@ -657,4 +657,5 @@ struct sysent freebsd32_sysent[] = {
|
||||
{ .sy_narg = AS(freebsd32_timerfd_settime_args), .sy_call = (sy_call_t *)freebsd32_timerfd_settime, .sy_auevent = AUE_TIMERFD, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 587 = freebsd32_timerfd_settime */
|
||||
{ .sy_narg = AS(kcmp_args), .sy_call = (sy_call_t *)sys_kcmp, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 588 = kcmp */
|
||||
{ .sy_narg = AS(getrlimitusage_args), .sy_call = (sy_call_t *)sys_getrlimitusage, .sy_auevent = AUE_NULL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 589 = getrlimitusage */
|
||||
{ .sy_narg = AS(fchroot_args), .sy_call = (sy_call_t *)sys_fchroot, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 590 = fchroot */
|
||||
};
|
||||
|
@ -3378,6 +3378,13 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* fchroot */
|
||||
case 590: {
|
||||
struct fchroot_args *p = params;
|
||||
iarg[a++] = p->fd; /* int */
|
||||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
@ -9126,6 +9133,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fchroot */
|
||||
case 590:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
@ -11014,6 +11031,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fchroot */
|
||||
case 590:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@ -656,4 +656,5 @@ struct sysent sysent[] = {
|
||||
{ .sy_narg = AS(timerfd_settime_args), .sy_call = (sy_call_t *)sys_timerfd_settime, .sy_auevent = AUE_TIMERFD, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 587 = timerfd_settime */
|
||||
{ .sy_narg = AS(kcmp_args), .sy_call = (sy_call_t *)sys_kcmp, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 588 = kcmp */
|
||||
{ .sy_narg = AS(getrlimitusage_args), .sy_call = (sy_call_t *)sys_getrlimitusage, .sy_auevent = AUE_NULL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 589 = getrlimitusage */
|
||||
{ .sy_narg = AS(fchroot_args), .sy_call = (sy_call_t *)sys_fchroot, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 590 = fchroot */
|
||||
};
|
||||
|
@ -595,4 +595,5 @@ const char *syscallnames[] = {
|
||||
"timerfd_settime", /* 587 = timerfd_settime */
|
||||
"kcmp", /* 588 = kcmp */
|
||||
"getrlimitusage", /* 589 = getrlimitusage */
|
||||
"fchroot", /* 590 = fchroot */
|
||||
};
|
||||
|
@ -3465,6 +3465,13 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* fchroot */
|
||||
case 590: {
|
||||
struct fchroot_args *p = params;
|
||||
iarg[a++] = p->fd; /* int */
|
||||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
@ -9271,6 +9278,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fchroot */
|
||||
case 590:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
@ -11249,6 +11266,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fchroot */
|
||||
case 590:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@ -526,4 +526,5 @@
|
||||
#define SYS_timerfd_settime 587
|
||||
#define SYS_kcmp 588
|
||||
#define SYS_getrlimitusage 589
|
||||
#define SYS_MAXSYSCALL 590
|
||||
#define SYS_fchroot 590
|
||||
#define SYS_MAXSYSCALL 591
|
||||
|
@ -432,4 +432,5 @@ MIASM = \
|
||||
timerfd_gettime.o \
|
||||
timerfd_settime.o \
|
||||
kcmp.o \
|
||||
getrlimitusage.o
|
||||
getrlimitusage.o \
|
||||
fchroot.o
|
||||
|
@ -1882,6 +1882,9 @@ struct getrlimitusage_args {
|
||||
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
||||
char res_l_[PADL_(rlim_t *)]; rlim_t * res; char res_r_[PADR_(rlim_t *)];
|
||||
};
|
||||
struct fchroot_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
};
|
||||
int sys_exit(struct thread *, struct exit_args *);
|
||||
int sys_fork(struct thread *, struct fork_args *);
|
||||
int sys_read(struct thread *, struct read_args *);
|
||||
@ -2282,6 +2285,7 @@ int sys_timerfd_gettime(struct thread *, struct timerfd_gettime_args *);
|
||||
int sys_timerfd_settime(struct thread *, struct timerfd_settime_args *);
|
||||
int sys_kcmp(struct thread *, struct kcmp_args *);
|
||||
int sys_getrlimitusage(struct thread *, struct getrlimitusage_args *);
|
||||
int sys_fchroot(struct thread *, struct fchroot_args *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
@ -3262,6 +3266,7 @@ int freebsd13_swapoff(struct thread *, struct freebsd13_swapoff_args *);
|
||||
#define SYS_AUE_timerfd_settime AUE_TIMERFD
|
||||
#define SYS_AUE_kcmp AUE_NULL
|
||||
#define SYS_AUE_getrlimitusage AUE_NULL
|
||||
#define SYS_AUE_fchroot AUE_NULL
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
Loading…
Reference in New Issue
Block a user