Date: Sun, 25 Mar 2018 22:17:16 -0400 From: Ryan Stone <rysto32@gmail.com> To: Theron Tarigo <theron.tarigo@gmail.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: GSoC Idea: Fakechroot on FreeBSD; Ports building in clean non-root environment Message-ID: <CAFMmRNxZA0f7bpUQ51Qef5ve19KBkNOYopUp4m4PPFoM3oP8pA@mail.gmail.com> In-Reply-To: <eb52f1f7-8802-6571-865c-7d238b704797@gmail.com> References: <eb52f1f7-8802-6571-865c-7d238b704797@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Theron, Earlier in the year I experimented with a similar idea, although my goal was quite different. I eventually hit a roadblock that I wasn't able to overcome: on FreeBSD, /usr/bin/cc and /usr/bin/c++ are statically linked binaries. The makes it impossible to intercept any system calls made by the "victim" binary. Would this be a problem for what you're trying to do? I'm not very familiar with the ports build process.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxZA0f7bpUQ51Qef5ve19KBkNOYopUp4m4PPFoM3oP8pA>