Re: [PATCH 1/1] cgroup-v1: Grant CAP_SYS_NICE holders permission to move tasks between cgroups

From: John Stultz
Date: Mon Oct 04 2021 - 13:33:53 EST


On Mon, Oct 4, 2021 at 10:23 AM John Stultz <john.stultz@xxxxxxxxxx> wrote:
> We sort of went in a big circle of creating a config time option w/
> CAP_SYS_NICE, then a new CAP_CGROUP_MIGRATE then switching to
> CAP_SYS_RESOURCE and then back to CAP_CGROUP_MIGRATE, and when that
> was panned I gave up and we kept the small patch in the Android tree
> that uses CAP_SYS_NICE.
>
> Links to previous attempts & discussion:
> v1: https://lore.kernel.org/lkml/1475556090-6278-1-git-send-email-john.stultz@xxxxxxxxxx/#t
> v2: https://lore.kernel.org/lkml/1476743724-9104-1-git-send-email-john.stultz@xxxxxxxxxx/
> v4: https://lore.kernel.org/lkml/1478647728-30357-1-git-send-email-john.stultz@xxxxxxxxxx/
> v5: https://lore.kernel.org/lkml/1481593143-18756-1-git-send-email-john.stultz@xxxxxxxxxx/

Whoops I missed one more before I gave up (CAP_CGROUP):
v6: https://lore.kernel.org/lkml/1481949827-23613-1-git-send-email-john.stultz@xxxxxxxxxx/#t