Re: [PATCH v9 6/8] Reimplement RLIMIT_SIGPENDING on top of ucounts

2021-04-05 Thread Eric W. Biederman
A small bug below. Eric > diff --git a/kernel/signal.c b/kernel/signal.c > index f2a1b898da29..1b537d9de447 100644 > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -413,49 +413,44 @@ void task_join_group_stop(struct task_struct *task) > static struct sigqueue * > __sigqueue_alloc(int

[PATCH v9 6/8] Reimplement RLIMIT_SIGPENDING on top of ucounts

2021-03-23 Thread Alexey Gladkov
The rlimit counter is tied to uid in the user_namespace. This allows rlimit values to be specified in userns even if they are already globally exceeded by the user. However, the value of the previous user_namespaces cannot be exceeded. Signed-off-by: Alexey Gladkov --- fs/proc/array.c