1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

o Part two of introduction of extattr_{delete,get,set}_fd() system calls,

regenerate necessary automatically-generated code.

Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2001-03-31 16:21:19 +00:00
parent fec605c882
commit 685574864e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75039
6 changed files with 45 additions and 8 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.86 2001/03/19 05:44:14 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#include "opt_compat.h"
@ -393,4 +393,7 @@ struct sysent sysent[] = {
{ AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */
{ AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */
{ 0, (sy_call_t *)lkmressys }, /* 370 = lkmressys */
{ AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */
{ AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
};

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.86 2001/03/19 05:44:14 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
char *syscallnames[] = {
@ -378,4 +378,7 @@ char *syscallnames[] = {
"__cap_set_fd", /* 368 = __cap_set_fd */
"__cap_set_file", /* 369 = __cap_set_file */
"lkmressys", /* 370 = lkmressys */
"extattr_set_fd", /* 371 = extattr_set_fd */
"extattr_get_fd", /* 372 = extattr_get_fd */
"extattr_delete_fd", /* 373 = extattr_delete_fd */
};

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.86 2001/03/19 05:44:14 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
HIDE_POSIX(fork)
@ -284,3 +284,6 @@ HIDE_BSD(__cap_get_fd)
HIDE_BSD(__cap_get_file)
HIDE_BSD(__cap_set_fd)
HIDE_BSD(__cap_set_file)
HIDE_BSD(extattr_set_fd)
HIDE_BSD(extattr_get_fd)
HIDE_BSD(extattr_delete_fd)

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.86 2001/03/19 05:44:14 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#define SYS_syscall 0
@ -291,4 +291,7 @@
#define SYS___cap_get_file 367
#define SYS___cap_set_fd 368
#define SYS___cap_set_file 369
#define SYS_MAXSYSCALL 371
#define SYS_extattr_set_fd 371
#define SYS_extattr_get_fd 372
#define SYS_extattr_delete_fd 373
#define SYS_MAXSYSCALL 374

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.86 2001/03/19 05:44:14 rwatson Exp
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
MIASM = \
syscall.o \
exit.o \
@ -239,4 +239,7 @@ MIASM = \
__cap_get_fd.o \
__cap_get_file.o \
__cap_set_fd.o \
__cap_set_file.o
__cap_set_file.o \
extattr_set_fd.o \
extattr_get_fd.o \
extattr_delete_fd.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.86 2001/03/19 05:44:14 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#ifndef _SYS_SYSPROTO_H_
@ -1041,6 +1041,25 @@ struct __cap_set_file_args {
const char * path_p; char path_p_[PAD_(const char *)];
struct cap * cap_p; char cap_p_[PAD_(struct cap *)];
};
struct extattr_set_fd_args {
int fd; char fd_[PAD_(int)];
int attrnamespace; char attrnamespace_[PAD_(int)];
const char * attrname; char attrname_[PAD_(const char *)];
struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
int iovcnt; char iovcnt_[PAD_(int)];
};
struct extattr_get_fd_args {
int fd; char fd_[PAD_(int)];
int attrnamespace; char attrnamespace_[PAD_(int)];
const char * attrname; char attrname_[PAD_(const char *)];
struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
int iovcnt; char iovcnt_[PAD_(int)];
};
struct extattr_delete_fd_args {
int fd; char fd_[PAD_(int)];
int attrnamespace; char attrnamespace_[PAD_(int)];
const char * attrname; char attrname_[PAD_(const char *)];
};
int nosys __P((struct proc *, struct nosys_args *));
void sys_exit __P((struct proc *, struct sys_exit_args *));
int fork __P((struct proc *, struct fork_args *));
@ -1277,6 +1296,9 @@ int __cap_get_file __P((struct proc *, struct __cap_get_file_args *));
int __cap_set_fd __P((struct proc *, struct __cap_set_fd_args *));
int __cap_set_file __P((struct proc *, struct __cap_set_file_args *));
int lkmressys __P((struct proc *, struct nosys_args *));
int extattr_set_fd __P((struct proc *, struct extattr_set_fd_args *));
int extattr_get_fd __P((struct proc *, struct extattr_get_fd_args *));
int extattr_delete_fd __P((struct proc *, struct extattr_delete_fd_args *));
#ifdef COMPAT_43