mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
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
This commit is contained in:
parent
1f3bc15763
commit
4b842782da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335200
@ -554,7 +554,7 @@ linux_faccessat(struct thread *td, struct linux_faccessat_args *args)
|
||||
LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
|
||||
|
||||
#ifdef DEBUG
|
||||
if (ldebug(access))
|
||||
if (ldebug(faccessat))
|
||||
printf(ARGS(access, "%s, %d"), path, args->amode);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user