Date: Wed, 26 Feb 2025 11:24:28 -0300 From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= <vini.ipsmaker@gmail.com> To: David Chisnall <theraven@freebsd.org> Cc: Konstantin Belousov <kib@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Capsicum and weak libc symbols Message-ID: <CAK9RveK=hdJkLsCU9hm5B6wta8P0xB78VuprhYv6J57nnWfd8Q@mail.gmail.com> In-Reply-To: <E30CBD43-2006-4A83-AC11-B9BAA49B4224@FreeBSD.org> References: <CAK9Rve%2BftgxgbgHmVe=dDF_9kASDsqP=0Lxnj%2BEsOquZXtFcaw@mail.gmail.com> <Z6V5D6mn6XbBt1n7@kib.kiev.ua> <CAK9RveLiLZZgEBUkWnAkOQBXDpbQhmF%2BOKPsB37rH8y4pFWtxw@mail.gmail.com> <Z7e_pTUHL9BBxP3H@kib.kiev.ua> <CAK9RveLQ8ZuT_5c-BdnhbbNcOAzR=37HzNNRVav4fRoRut%2B%2BgQ@mail.gmail.com> <Z75iD7ilI2cvnOPQ@kib.kiev.ua> <CAK9Rve%2BE2s=z8qnuWu5iqKrR5nLhpoKZaj0VuGHOrxHfAuihOA@mail.gmail.com> <E30CBD43-2006-4A83-AC11-B9BAA49B4224@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Em qua., 26 de fev. de 2025 =C3=A0s 10:51, David Chisnall <theraven@freebsd.org> escreveu: > Did you look at the repository I shared earlier? It intercepts getaddrin= fo for libraries and exposes hooks in the parent for exposing policies. It= works on FreeBSD and Linux. It seems to rely on ELF tricks. I don't know how it copes with static binaries (e.g. linked against /usr/lib/libc.a). Aside from that, the interposition design doesn't seem too different from what I've been doing. --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK9RveK=hdJkLsCU9hm5B6wta8P0xB78VuprhYv6J57nnWfd8Q>