Skip to content

rlimits for both queued signals and POSIX mqueues

Chris Wright lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11add rlimit entry for controlling queued signalsinclude/asm-alpha/resource.h include/asm-arm/resource.h include/asm-arm26/resource.h +16 more+74 -340 replies
2/11add sigpending field to user_structinclude/linux/sched.h kernel/user.c+4 -10 replies
3/11pass task_struct in send_signal()kernel/signal.c+4 -30 replies
4/11add simple get_uid() helperinclude/linux/sched.h+5 -00 replies
5/11enforce rlimits on queued signalsinclude/linux/signal.h kernel/signal.c+12 -60 replies
6/11remove unused queued_signals global accountingkernel/signal.c kernel/sysctl.c+0 -210 replies
7/11add rlimit entry for POSIX mqueue allocationarch/alpha/kernel/init_task.c arch/arm/kernel/init_task.c arch/arm26/kernel/init_task.c +33 more+73 -180 replies
8/11add mq_bytes to user_structinclude/linux/sched.h kernel/user.c+5 -00 replies
9/11add mq_attr_ok() helperipc/mqueue.c+23 -100 replies
10/11enforce rlimits for POSIX mqueue allocationipc/mqueue.c+39 -50 replies
11/11adjust default mqueue sizesipc/mqueue.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11] rlimits for both queued signals and POSIX mqueues

The following patches introduce per user rlimits for both queued signals and POSIX message queues. The changes touch all the arches resource.h files as well as init_task.c to get the rlimit defaults setup. Both require caching the user_struct to avoid problems with setuid(). The signal changes makes some small changes to send_signal() to pass along the task being signalled to get proper accounting for signals initiated in interrupt. Patches are relative to 2.6.6-bk. Thanks to Marcelo for getting this one going.

thanks,
-chris