svn commit: r335200 - head/sys/compat/linux

Ed Maste emaste at FreeBSD.org
Fri Jun 15 14:29:42 UTC 2018


Author: emaste
Date: Fri Jun 15 14:29:41 2018
New Revision: 335200
URL: https://svnweb.freebsd.org/changeset/base/335200

Log:
  Correct debug control for linuxulator faccessat
  
  The Linuxulator provides per-syscall debug control via the
  compat.linux.debug sysctl.  There's generally a 1:1 mapping between
  sysctl setting and syscall, but faccessat was controlled by the access
  setting, perhaps due to copy-paste.
  
  Sponsored by:	Turing Robotic Industries

Modified:
  head/sys/compat/linux/linux_file.c

Modified: head/sys/compat/linux/linux_file.c
==============================================================================
--- head/sys/compat/linux/linux_file.c	Fri Jun 15 13:56:58 2018	(r335199)
+++ head/sys/compat/linux/linux_file.c	Fri Jun 15 14:29:41 2018	(r335200)
@@ -554,7 +554,7 @@ linux_faccessat(struct thread *td, struct linux_facces
 	LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
 
 #ifdef DEBUG
-	if (ldebug(access))
+	if (ldebug(faccessat))
 		printf(ARGS(access, "%s, %d"), path, args->amode);
 #endif
 


More information about the svn-src-head mailing list