1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
This commit is contained in:
Robert Watson 2002-10-22 14:23:52 +00:00
parent aad1cdc852
commit 5cb559a5e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105692
5 changed files with 45 additions and 12 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.129 2002/10/15 01:36:45 peter Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
*/
#include "opt_compat.h"
@ -437,10 +437,16 @@ struct sysent sysent[] = {
{ SYF_MPSAFE | AS(ksem_unlink_args), (sy_call_t *)lkmressys }, /* 406 = ksem_unlink */
{ SYF_MPSAFE | AS(ksem_getvalue_args), (sy_call_t *)lkmressys }, /* 407 = ksem_getvalue */
{ SYF_MPSAFE | AS(ksem_destroy_args), (sy_call_t *)lkmressys }, /* 408 = ksem_destroy */
{ 0, (sy_call_t *)nosys }, /* 409 = __mac_get_pid */
{ 0, (sy_call_t *)nosys }, /* 410 = __mac_get_link */
{ 0, (sy_call_t *)nosys }, /* 411 = __mac_set_link */
{ SYF_MPSAFE | AS(__mac_get_pid_args), (sy_call_t *)__mac_get_pid }, /* 409 = __mac_get_pid */
{ SYF_MPSAFE | AS(__mac_get_link_args), (sy_call_t *)__mac_get_link }, /* 410 = __mac_get_link */
{ SYF_MPSAFE | AS(__mac_set_link_args), (sy_call_t *)__mac_set_link }, /* 411 = __mac_set_link */
{ AS(extattr_set_link_args), (sy_call_t *)extattr_set_link }, /* 412 = extattr_set_link */
{ AS(extattr_get_link_args), (sy_call_t *)extattr_get_link }, /* 413 = extattr_get_link */
{ AS(extattr_delete_link_args), (sy_call_t *)extattr_delete_link }, /* 414 = extattr_delete_link */
{ 0, (sy_call_t *)nosys }, /* 415 = __execve_mac */
{ 0, (sy_call_t *)nosys }, /* 416 = newsigreturn */
{ 0, (sy_call_t *)nosys }, /* 417 = newsigaction */
{ 0, (sy_call_t *)nosys }, /* 418 = __xstat */
{ 0, (sy_call_t *)nosys }, /* 419 = __xfstat */
{ 0, (sy_call_t *)nosys }, /* 420 = __xlstat */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.129 2002/10/15 01:36:45 peter Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
*/
char *syscallnames[] = {
@ -416,10 +416,16 @@ char *syscallnames[] = {
"ksem_unlink", /* 406 = ksem_unlink */
"ksem_getvalue", /* 407 = ksem_getvalue */
"ksem_destroy", /* 408 = ksem_destroy */
"#409", /* 409 = __mac_get_pid */
"#410", /* 410 = __mac_get_link */
"#411", /* 411 = __mac_set_link */
"__mac_get_pid", /* 409 = __mac_get_pid */
"__mac_get_link", /* 410 = __mac_get_link */
"__mac_set_link", /* 411 = __mac_set_link */
"extattr_set_link", /* 412 = extattr_set_link */
"extattr_get_link", /* 413 = extattr_get_link */
"extattr_delete_link", /* 414 = extattr_delete_link */
"#415", /* 415 = __execve_mac */
"#416", /* 416 = newsigreturn */
"#417", /* 417 = newsigaction */
"#418", /* 418 = __xstat */
"#419", /* 419 = __xfstat */
"#420", /* 420 = __xlstat */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.129 2002/10/15 01:36:45 peter Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
*/
#define SYS_syscall 0
@ -317,7 +317,10 @@
#define SYS_ksem_unlink 406
#define SYS_ksem_getvalue 407
#define SYS_ksem_destroy 408
#define SYS___mac_get_pid 409
#define SYS___mac_get_link 410
#define SYS___mac_set_link 411
#define SYS_extattr_set_link 412
#define SYS_extattr_get_link 413
#define SYS_extattr_delete_link 414
#define SYS_MAXSYSCALL 415
#define SYS_MAXSYSCALL 421

View File

@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.129 2002/10/15 01:36:45 peter Exp
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
MIASM = \
syscall.o \
exit.o \
@ -266,6 +266,9 @@ MIASM = \
ksem_unlink.o \
ksem_getvalue.o \
ksem_destroy.o \
__mac_get_pid.o \
__mac_get_link.o \
__mac_set_link.o \
extattr_set_link.o \
extattr_get_link.o \
extattr_delete_link.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.129 2002/10/15 01:36:45 peter Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
*/
#ifndef _SYS_SYSPROTO_H_
@ -1157,6 +1157,18 @@ struct ksem_getvalue_args {
struct ksem_destroy_args {
char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
};
struct __mac_get_pid_args {
char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
};
struct __mac_get_link_args {
char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
};
struct __mac_set_link_args {
char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
};
struct extattr_set_link_args {
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
@ -1438,6 +1450,9 @@ int ksem_open(struct thread *, struct ksem_open_args *);
int ksem_unlink(struct thread *, struct ksem_unlink_args *);
int ksem_getvalue(struct thread *, struct ksem_getvalue_args *);
int ksem_destroy(struct thread *, struct ksem_destroy_args *);
int __mac_get_pid(struct thread *, struct __mac_get_pid_args *);
int __mac_get_link(struct thread *, struct __mac_get_link_args *);
int __mac_set_link(struct thread *, struct __mac_set_link_args *);
int extattr_set_link(struct thread *, struct extattr_set_link_args *);
int extattr_get_link(struct thread *, struct extattr_get_link_args *);
int extattr_delete_link(struct thread *, struct extattr_delete_link_args *);