svn commit: r361659 - projects/nfs-over-tls/sys/rpc
Rick Macklem
rmacklem at FreeBSD.org
Sun May 31 03:44:14 UTC 2020
Author: rmacklem
Date: Sun May 31 03:44:13 2020
New Revision: 361659
URL: https://svnweb.freebsd.org/changeset/base/361659
Log:
Update rpcsec_tls.h to the one just added to head/current.
Modified:
projects/nfs-over-tls/sys/rpc/rpcsec_tls.h
Modified: projects/nfs-over-tls/sys/rpc/rpcsec_tls.h
==============================================================================
--- projects/nfs-over-tls/sys/rpc/rpcsec_tls.h Sun May 31 01:12:52 2020 (r361658)
+++ projects/nfs-over-tls/sys/rpc/rpcsec_tls.h Sun May 31 03:44:13 2020 (r361659)
@@ -27,14 +27,20 @@
* $FreeBSD$
*/
-#ifndef _RPCTLS_IMPL_H
-#define _RPCTLS_IMPL_H
+#ifndef _RPC_RPCSEC_TLS_H_
+#define _RPC_RPCSEC_TLS_H_
/* Operation values for rpctls syscall. */
-#define RPCTLS_SYSC_SETPATH 1
-#define RPCTLS_SYSC_CONNECT 2
-#define RPCTLS_SYSC_SERVER 3
+#define RPCTLS_SYSC_CLSETPATH 1
+#define RPCTLS_SYSC_CLSOCKET 2
+#define RPCTLS_SYSC_CLSHUTDOWN 3
+#define RPCTLS_SYSC_SRVSETPATH 4
+#define RPCTLS_SYSC_SRVSOCKET 5
+#define RPCTLS_SYSC_SRVSHUTDOWN 6
+/* System call used by the rpctlscd, rpctlssd daemons. */
+int rpctls_syscall(int, const char *);
+
/* Flag bits to indicate certificate results. */
#define RPCTLS_FLAGS_HANDSHAKE 0x01
#define RPCTLS_FLAGS_GOTCERT 0x02
@@ -73,4 +79,4 @@ bool rpctls_getinfo(u_int *maxlen);
#endif /* _KERNEL */
-#endif /* _RPCTLS_IMPL_H */
+#endif /* _RPC_RPCSEC_TLS_H_ */
More information about the svn-src-projects
mailing list