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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to