Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 14:29:42 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335200 - head/sys/compat/linux
Message-ID:  <201806151429.w5FETgx7050632@repo.freebsd.org>

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



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