[systemd-devel] [PATCH 0/5] kdbus: allow multiple policies
Kay Sievers
kay at vrfy.org
Thu Jul 31 08:40:53 PDT 2014
On Wed, Jul 23, 2014 at 6:34 PM, Djalal Harouni <tixxdz at opendz.org> wrote:
> This series adds the infrastructure to test and upload multiple
> policies.
>
> The last #5 patch allows to upload multiple policies per connection
What is the reason for this? A policy holding connection (which
matches a busname unit) shouldn't only be in charge of one single
name?
> The todo for the policy holders is:
>
> * Should we set a maximum value for how many names/policies a policy
> holder is allowed to upload. This is needed since we do not want to
> consume all the entries (kdbus_policy_db->entries_hash).
Yes, everything that consumes kernel memory needs to be limited.
> * Update/test the kdbus_policy_set() to work with multiple names.
This is meant for custom endpoints, not for policy-holder connections?
Thanks,
Kay
More information about the systemd-devel
mailing list