rlimits for both queued signals and POSIX mqueues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | add rlimit entry for controlling queued signalsinclude/ include/ include/ +16 more | +74 | 0 replies | |
| 2/11 | add sigpending field to user_structinclude/ kernel/ | +4 | 0 replies | |
| 3/11 | pass task_struct in send_signal()kernel/ | +4 | 0 replies | |
| 4/11 | add simple get_uid() helperinclude/ | +5 | 0 replies | |
| 5/11 | enforce rlimits on queued signalsinclude/ kernel/ | +12 | 0 replies | |
| 6/11 | remove unused queued_signals global accountingkernel/ kernel/ | +0 | 0 replies | |
| 7/11 | add rlimit entry for POSIX mqueue allocationarch/ arch/ arch/ +33 more | +73 | 0 replies | |
| 8/11 | add mq_bytes to user_structinclude/ kernel/ | +5 | 0 replies | |
| 9/11 | add mq_attr_ok() helperipc/ | +23 | 0 replies | |
| 10/11 | enforce rlimits for POSIX mqueue allocationipc/ | +39 | 0 replies | |
| 11/11 | adjust default mqueue sizesipc/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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