svn commit: r340272 - head/sys/compat/freebsd32

Brooks Davis brooks at FreeBSD.org
Fri Nov 9 00:21:59 UTC 2018


Author: brooks
Date: Fri Nov  9 00:21:58 2018
New Revision: 340272
URL: https://svnweb.freebsd.org/changeset/base/340272

Log:
  Make __sysctl follow the freebsd32_foo convention.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/compat/freebsd32/freebsd32_misc.c
  head/sys/compat/freebsd32/syscalls.master

Modified: head/sys/compat/freebsd32/freebsd32_misc.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_misc.c	Fri Nov  9 00:01:53 2018	(r340271)
+++ head/sys/compat/freebsd32/freebsd32_misc.c	Fri Nov  9 00:21:58 2018	(r340272)
@@ -2260,7 +2260,7 @@ freebsd11_freebsd32_fhstat(struct thread *td,
 #endif
 
 int
-freebsd32_sysctl(struct thread *td, struct freebsd32_sysctl_args *uap)
+freebsd32___sysctl(struct thread *td, struct freebsd32___sysctl_args *uap)
 {
 	int error, name[CTL_MAXNAME];
 	size_t j, oldlen;

Modified: head/sys/compat/freebsd32/syscalls.master
==============================================================================
--- head/sys/compat/freebsd32/syscalls.master	Fri Nov  9 00:01:53 2018	(r340271)
+++ head/sys/compat/freebsd32/syscalls.master	Fri Nov  9 00:21:58 2018	(r340272)
@@ -386,7 +386,7 @@
 				    uint32_t length2); }
 201	AUE_FTRUNCATE	COMPAT6	{ int freebsd32_ftruncate(int fd, int pad, \
 				    uint32_t length1, uint32_t length2); }
-202	AUE_SYSCTL	STD	{ int freebsd32_sysctl(int *name, \
+202	AUE_SYSCTL	STD	{ int freebsd32___sysctl(int *name, \
 				    u_int namelen, void *old, \
 				    uint32_t *oldlenp, void *new, \
 				    uint32_t newlen); }


More information about the svn-src-all mailing list