Re: [PATCH] inetd as unprivileged user

2017-11-09 Thread Denys Vlasenko
Fixed, thanks! On Wed, Nov 1, 2017 at 3:19 AM, Jack Schmidt wrote: > When I tried to use inetd as an unprivileged user on linux (4.9.x, x86_64, > glibc or musl), I get: > > inetd: can't set groups: Operation not permitted > > I believe the problem is line 1486, where it

[PATCH] inetd as unprivileged user

2017-10-31 Thread Jack Schmidt
When I tried to use inetd as an unprivileged user on linux (4.9.x, x86_64, glibc or musl), I get: inetd: can't set groups: Operation not permitted I believe the problem is line 1486, where it compares the desired uid to 0, rather than to the current uid, to decide whether to set groups. For