svn commit: r361599 - in head/sys: compat/freebsd32 kern

Rick Macklem rmacklem at FreeBSD.org
Thu May 28 21:06:10 UTC 2020


Author: rmacklem
Date: Thu May 28 21:06:10 2020
New Revision: 361599
URL: https://svnweb.freebsd.org/changeset/base/361599

Log:
  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

Modified:
  head/sys/compat/freebsd32/syscalls.master
  head/sys/kern/syscalls.master

Modified: head/sys/compat/freebsd32/syscalls.master
==============================================================================
--- head/sys/compat/freebsd32/syscalls.master	Thu May 28 21:02:12 2020	(r361598)
+++ head/sys/compat/freebsd32/syscalls.master	Thu May 28 21:06:10 2020	(r361599)
@@ -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

Modified: head/sys/kern/syscalls.master
==============================================================================
--- head/sys/kern/syscalls.master	Thu May 28 21:02:12 2020	(r361598)
+++ head/sys/kern/syscalls.master	Thu May 28 21:06:10 2020	(r361599)
@@ -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


More information about the svn-src-all mailing list