This commit is contained in:
Doug Rabson 2008-11-03 10:39:35 +00:00
parent a9148abd9d
commit 45e6ab7f81
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184589
10 changed files with 40 additions and 12 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184183 2008-10-22 21:55:48Z jhb
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#ifndef _FREEBSD32_SYSPROTO_H_

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184183 2008-10-22 21:55:48Z jhb
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#define FREEBSD32_SYS_syscall 0
@ -356,4 +356,4 @@
#define FREEBSD32_SYS_symlinkat 502
#define FREEBSD32_SYS_unlinkat 503
#define FREEBSD32_SYS_posix_openpt 504
#define FREEBSD32_SYS_MAXSYSCALL 505
#define FREEBSD32_SYS_MAXSYSCALL 506

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184183 2008-10-22 21:55:48Z jhb
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
const char *freebsd32_syscallnames[] = {
@ -512,4 +512,5 @@ const char *freebsd32_syscallnames[] = {
"symlinkat", /* 502 = symlinkat */
"unlinkat", /* 503 = unlinkat */
"posix_openpt", /* 504 = posix_openpt */
"#505", /* 505 = gssd_syscall */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184183 2008-10-22 21:55:48Z jhb
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#include "opt_compat.h"
@ -543,4 +543,5 @@ struct sysent freebsd32_sysent[] = {
{ AS(symlinkat_args), (sy_call_t *)symlinkat, AUE_SYMLINKAT, NULL, 0, 0 }, /* 502 = symlinkat */
{ AS(unlinkat_args), (sy_call_t *)unlinkat, AUE_UNLINKAT, NULL, 0, 0 }, /* 503 = unlinkat */
{ AS(posix_openpt_args), (sy_call_t *)posix_openpt, AUE_POSIX_OPENPT, NULL, 0, 0 }, /* 504 = posix_openpt */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 505 = gssd_syscall */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 183361 2008-09-25 20:07:42Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#include "opt_compat.h"
@ -533,4 +533,5 @@ struct sysent sysent[] = {
{ AS(symlinkat_args), (sy_call_t *)symlinkat, AUE_SYMLINKAT, NULL, 0, 0 }, /* 502 = symlinkat */
{ AS(unlinkat_args), (sy_call_t *)unlinkat, AUE_UNLINKAT, NULL, 0, 0 }, /* 503 = unlinkat */
{ AS(posix_openpt_args), (sy_call_t *)posix_openpt, AUE_POSIX_OPENPT, NULL, 0, 0 }, /* 504 = posix_openpt */
{ AS(gssd_syscall_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 505 = gssd_syscall */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 183361 2008-09-25 20:07:42Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
const char *syscallnames[] = {
@ -512,4 +512,5 @@ const char *syscallnames[] = {
"symlinkat", /* 502 = symlinkat */
"unlinkat", /* 503 = unlinkat */
"posix_openpt", /* 504 = posix_openpt */
"gssd_syscall", /* 505 = gssd_syscall */
};

View File

@ -3056,6 +3056,13 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
*n_args = 1;
break;
}
/* gssd_syscall */
case 505: {
struct gssd_syscall_args *p = params;
uarg[0] = (intptr_t) p->path; /* char * */
*n_args = 1;
break;
}
default:
*n_args = 0;
break;
@ -8112,6 +8119,16 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* gssd_syscall */
case 505:
switch(ndx) {
case 0:
p = "char *";
break;
default:
break;
};
break;
default:
break;
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 183361 2008-09-25 20:07:42Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#define SYS_syscall 0
@ -420,4 +420,5 @@
#define SYS_symlinkat 502
#define SYS_unlinkat 503
#define SYS_posix_openpt 504
#define SYS_MAXSYSCALL 505
#define SYS_gssd_syscall 505
#define SYS_MAXSYSCALL 506

View File

@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
# created from FreeBSD: head/sys/kern/syscalls.master 183361 2008-09-25 20:07:42Z jhb
# created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr
MIASM = \
syscall.o \
exit.o \
@ -368,4 +368,5 @@ MIASM = \
renameat.o \
symlinkat.o \
unlinkat.o \
posix_openpt.o
posix_openpt.o \
gssd_syscall.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 183361 2008-09-25 20:07:42Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr
*/
#ifndef _SYS_SYSPROTO_H_
@ -1633,6 +1633,9 @@ struct unlinkat_args {
struct posix_openpt_args {
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
};
struct gssd_syscall_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@ -1989,6 +1992,7 @@ int renameat(struct thread *, struct renameat_args *);
int symlinkat(struct thread *, struct symlinkat_args *);
int unlinkat(struct thread *, struct unlinkat_args *);
int posix_openpt(struct thread *, struct posix_openpt_args *);
int gssd_syscall(struct thread *, struct gssd_syscall_args *);
#ifdef COMPAT_43
@ -2570,6 +2574,7 @@ int freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
#define SYS_AUE_symlinkat AUE_SYMLINKAT
#define SYS_AUE_unlinkat AUE_UNLINKAT
#define SYS_AUE_posix_openpt AUE_POSIX_OPENPT
#define SYS_AUE_gssd_syscall AUE_NULL
#undef PAD_
#undef PADL_