Maxime Devos <maximede...@telenet.be> skribis: > On Fri, 2021-02-05 at 13:20 +0100, Maxime Devos wrote: >> On Fri, 2021-02-05 at 10:57 +0100, Ludovic Courtès wrote: >> > [...] >> [...] >> >> I'll try to implement this API in Scheme (using the FFI), and post >> it at https://notabug.org/mdevos/things. I'll post a follow-up >> messsage once I've implemented the basics (openat, chmodat, >> chownat). > > Ping! > https://notabug.org/mdevos/things/src/a0715e6758ad43252e16993dcf688a25156057f3/fs-at.scm
Nice! I just remembered this subtlety: during bootup, the activation code is evaluated by the Guile that’s in the initrd, which is a statically-linked Guile, and thus we can’t use ‘dynamic-link’ & co. in there. :-/ (That’s why we carry ‘guile-linux-syscalls.patch’.) Ludo’.