Hi Simon,

> Also, by default, it seems some *.o files are installed into
> $(sharedfilesdir) which became /usr/share/nsd for me, see Makefile.in:
>
>       if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern.o 
> $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern.o; fi
>       if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern_pinned.o 
> $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern_pinned.o; fi
>
> These are architecture-dependent files, aren't they?  Is there some
> standard non-/usr/share location for these files that you could use?

Although these files are technically for a specific architecture (that being
eBPF), they are architecture-*in*dependent with regard to x86, ARM, etc.
eBPF programs are compatible across CPU architectures, as they get executed by
the eBPF "VM" inside the Linux kernel.

Best,
Jannik
_______________________________________________
nsd-users mailing list
nsd-users@lists.nlnetlabs.nl
https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users

Reply via email to