Add a syscall for the nfs-over-tls daemons to use.

The nfs-over-tls daemons need a system call to perform operations such as
associate a file descriptor with a krpc socket.
The daemons will not be in head for some time, but it will make it
easier for testers of nfs-over-tls to do testing if the system call
is in head (basically the stub for libc which will be commited soon).

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D24949
This commit is contained in:
Rick Macklem 2020-05-28 21:06:10 +00:00
parent 465fbce433
commit d9021e389a
2 changed files with 10 additions and 0 deletions

View File

@ -1164,5 +1164,8 @@
char *buf, size_t size, int flags); }
575 AUE_CLOSERANGE NOPROTO { int close_range(u_int lowfd, u_int highfd, \
int flags); }
; 576 is initialised by the krpc code, if present.
576 AUE_NULL NOSTD|NOPROTO { int rpctls_syscall(int op, \
const char *path); }
; vim: syntax=off

View File

@ -3234,6 +3234,13 @@
int flags
);
}
; 576 is initialised by the krpc code, if present.
576 AUE_NULL NOSTD {
int rpctls_syscall(
int op,
_In_z_ const char *path
);
}
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master