Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
Re: [PATCH] resolv/resolv.h: allow alternative resolv.conf files
On 08/17/2017 06:18 PM, Renzo Davoli wrote:> On Thu, Aug 17, 2017 at 11:20:53AM -0400, Carlos O'Donell wrote:>> Is there anything technically wrong with the overlay mount?> > Yes. AFAIK it requires CAP_SYS_ADMIN to mount. (see clone(2) or unshare(2)).> > Please tell me how to mount an overlay in a user namespace, this would give> a solution to my problem (although a sub-optimal one, it is much more complex > to use than an env var, IMHO).resolv/tst-resolv-res_init-skeleton.c uses the support/ framework toreplace /etc in the test chroot, precisely because the /etc/resolv.confpath is currently hard-coded. The test does not need root permissionsto run on current Fedora, for instance.Is this what you had in mind?Thanks,Florian
[8]ページ先頭