svn commit: r346831 - stable/11/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun Apr 28 13:45:19 UTC 2019


Author: dchagin
Date: Sun Apr 28 13:45:18 2019
New Revision: 346831
URL: https://svnweb.freebsd.org/changeset/base/346831

Log:
  MFC r335200 (by emaste@):
  
  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.

Modified:
  stable/11/sys/compat/linux/linux_file.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linux/linux_file.c
==============================================================================
--- stable/11/sys/compat/linux/linux_file.c	Sun Apr 28 13:43:58 2019	(r346830)
+++ stable/11/sys/compat/linux/linux_file.c	Sun Apr 28 13:45:18 2019	(r346831)
@@ -569,7 +569,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-all mailing list