Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 21:06:10 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361599 - in head/sys: compat/freebsd32 kern
Message-ID:  <202005282106.04SL6AGq057349@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005282106.04SL6AGq057349>