[devel] [PATCH hasher-priv v1 1/3] config.c

Dmitry V. Levin ldv на altlinux.org
Пт Сен 18 13:42:40 MSK 2020


On Thu, Sep 17, 2020 at 04:11:56PM +0300, Arseny Maslennikov wrote:
> On Fri, Dec 13, 2019 at 12:42:03PM +0100, Alex Gladkov wrote:
[...]
> > +static void
> > +check_server_control_group(void)
> 
> Bad (IOW, unlucky) naming; especially since in a later patch
> hasher-privd deals with cgroups.

It's the group that limits access to the server,
so it's the access group.

> Is this related to the socket inode's gid in /run?

Yes, but the inode of the listening socket doesn't necessarily have to
belong to this group if the access limit is implemented using directory
permissions.


-- 
ldv


Подробная информация о списке рассылки Devel