In article <91bb6459-8ec6-ad30-6c35-4cb9831d...@sdf.org>,
RVP wrote:
>I forgot this:
>
>---START PATCH---
>--- sys/miscfs/procfs/procfs_vnops.c.orig 2021-12-09 04:11:22.778882692
>+
>+++ sys/miscfs/procfs/procfs_vnops.c 2022-01-06 22:24:06.003672573 +
>@@ -1400,6 +1400,7 @@
>
On Thu, Jan 06, 2022 at 11:38:58PM +, RVP wrote:
> On Thu, 6 Jan 2022, Manuel Bouyer wrote:
>
> > the second issue is that it expects /emul/linux/proc/self/fd/4 to be a
> > working
> > symlink, and on NetBSD it's not. Note that with /bin/ls I get something
> > similar:
> > armandeche:/local/a
I forgot this:
---START PATCH---
--- sys/miscfs/procfs/procfs_vnops.c.orig 2021-12-09 04:11:22.778882692
+
+++ sys/miscfs/procfs/procfs_vnops.c2022-01-06 22:24:06.003672573 +
@@ -1400,6 +1400,7 @@
nc++;
}
if (error) {
+
On Thu, 6 Jan 2022, Manuel Bouyer wrote:
the second issue is that it expects /emul/linux/proc/self/fd/4 to be a working
symlink, and on NetBSD it's not. Note that with /bin/ls I get something
similar:
armandeche:/local/armandeche1/tmp#ktrace -i ls -l /proc/self/fd/
total 2
crw--w 1 bouyer
On Thu, Jan 06, 2022 at 05:02:13PM +0100, Anders Magnusson wrote:
> Kave you looked at brandelf?
>
> https://www.freebsd.org/cgi/man.cgi?query=brandelf&sektion=1
Looks like what I need, thanks.
For the record, attached is my port to NetBSD of this
Interestingly, it seems to recognise all binarie
Kave you looked at brandelf?
https://www.freebsd.org/cgi/man.cgi?query=brandelf&sektion=1
Den 2022-01-06 kl. 16:48, skrev Manuel Bouyer:
Hello,
I have linux binaires I'd like to run on NetBSD (this is a commercial
product). Some files are dynamically-linked files and run properly.
They show up
Hello,
I have linux binaires I'd like to run on NetBSD (this is a commercial
product). Some files are dynamically-linked files and run properly.
They show up as:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24,