NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57320: ATF test case kernel/t_magic_symlinks:machine_arch fails on RPI02W/evbarm only



The following reply was made to PR kern/57320; it has been noted by GNATS.

From: Michael van Elst <mlelstv%serpens.de@localhost>
To: "David H. Gutteridge" <david%gutteridge.ca@localhost>
Cc: gnats-bugs%netbsd.org@localhost, martin%duskware.de@localhost
Subject: Re: kern/57320: ATF test case kernel/t_magic_symlinks:machine_arch
 fails on RPI02W/evbarm only
Date: Thu, 20 Apr 2023 07:19:42 +0200

 On Wed, Apr 19, 2023 at 09:59:29PM -0400, David H. Gutteridge wrote:
 > >  
 > >  Changing vfs to use PROC_MACHINE_ARCH(p) might help, but
 > >  PROC_MACHINE_ARCH is a MD thing (arm + mips). sysctl defaults
 > >  to use machine_arch if the arch doesn't define the macro.
 > 
 > Thanks, Michael, that's what I was alluding to without giving any useful
 > details. :) I imagine given that magic symlinks are not enabled by
 > default and that what's happening here is contrary to documentation and
 > what someone would probably prefer in order for it to be useful on these
 > specific architectures, change here is probably not controversial?
 
 
 I guess the only controversial thing would be to make PROC_MACHINE_ARCH
 something machine-independent, if it should be hidden behind a new
 public symbol, or if it should be a hack in vfs_lookup.c :)
 
 
 Greetings,
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index