1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Regenerate.

Approved by: re(kensmith)
This commit is contained in:
David Xu 2007-08-16 05:32:26 +00:00
parent 81ca5b4257
commit 6ec46f7aa8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171861
9 changed files with 26 additions and 3 deletions

View File

@ -337,4 +337,5 @@
#define FREEBSD32_SYS_freebsd32_lseek 478
#define FREEBSD32_SYS_freebsd32_truncate 479
#define FREEBSD32_SYS_freebsd32_ftruncate 480
#define FREEBSD32_SYS_MAXSYSCALL 481
#define FREEBSD32_SYS_thr_kill2 481
#define FREEBSD32_SYS_MAXSYSCALL 482

View File

@ -488,4 +488,5 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_lseek", /* 478 = freebsd32_lseek */
"freebsd32_truncate", /* 479 = freebsd32_truncate */
"freebsd32_ftruncate", /* 480 = freebsd32_ftruncate */
"thr_kill2", /* 481 = thr_kill2 */
};

View File

@ -519,4 +519,5 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK, NULL, 0, 0 }, /* 478 = freebsd32_lseek */
{ AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 479 = freebsd32_truncate */
{ AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 480 = freebsd32_ftruncate */
{ AS(thr_kill2_args), (sy_call_t *)thr_kill2, AUE_KILL, NULL, 0, 0 }, /* 481 = thr_kill2 */
};

View File

@ -510,4 +510,5 @@ struct sysent sysent[] = {
{ AS(lseek_args), (sy_call_t *)lseek, AUE_LSEEK, NULL, 0, 0 }, /* 478 = lseek */
{ AS(truncate_args), (sy_call_t *)truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 479 = truncate */
{ AS(ftruncate_args), (sy_call_t *)ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 480 = ftruncate */
{ AS(thr_kill2_args), (sy_call_t *)thr_kill2, AUE_KILL, NULL, 0, 0 }, /* 481 = thr_kill2 */
};

View File

@ -488,4 +488,5 @@ const char *syscallnames[] = {
"lseek", /* 478 = lseek */
"truncate", /* 479 = truncate */
"ftruncate", /* 480 = ftruncate */
"thr_kill2", /* 481 = thr_kill2 */
};

View File

@ -2862,6 +2862,15 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* thr_kill2 */
case 481: {
struct thr_kill2_args *p = params;
iarg[0] = p->pid; /* pid_t */
iarg[1] = p->id; /* long */
iarg[2] = p->sig; /* int */
*n_args = 3;
break;
}
default:
*n_args = 0;
break;

View File

@ -400,4 +400,5 @@
#define SYS_lseek 478
#define SYS_truncate 479
#define SYS_ftruncate 480
#define SYS_MAXSYSCALL 481
#define SYS_thr_kill2 481
#define SYS_MAXSYSCALL 482

View File

@ -348,4 +348,5 @@ MIASM = \
mmap.o \
lseek.o \
truncate.o \
ftruncate.o
ftruncate.o \
thr_kill2.o

View File

@ -1515,6 +1515,11 @@ struct ftruncate_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
};
struct thr_kill2_args {
char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)];
char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@ -1853,6 +1858,7 @@ int mmap(struct thread *, struct mmap_args *);
int lseek(struct thread *, struct lseek_args *);
int truncate(struct thread *, struct truncate_args *);
int ftruncate(struct thread *, struct ftruncate_args *);
int thr_kill2(struct thread *, struct thr_kill2_args *);
#ifdef COMPAT_43
@ -2416,6 +2422,7 @@ int freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
#define SYS_AUE_lseek AUE_LSEEK
#define SYS_AUE_truncate AUE_TRUNCATE
#define SYS_AUE_ftruncate AUE_FTRUNCATE
#define SYS_AUE_thr_kill2 AUE_KILL
#undef PAD_
#undef PADL_