Re: [go-nuts] LD_PRELOAD yet again

2024-08-24 Thread Peter JIN
Some promising ideas…bpf-direct.c - samples/seccomp/bpf-direct.c - Linux source code v6.10.6 - Bootlinelixir.bootlin.comIf we can get the seccomp filter installed and identify where the Go code is beforehand (may be possible by placing two objects before and after a c-archive such that symbol value

[go-nuts] LD_PRELOAD yet again

2024-08-23 Thread Peter JIN
Hi all, A continuation of the gccgo and LD_PRELOAD discussion (search for it in golang-dev). As mentioned before, I have a bunch of LD_PRELOAD libraries written in C, and due to the static linking issue in Go, it would be difficult to use the libraries with Go programs. I have considered seve