[PATCH RFC 0/2] rlimit exceed notification events
From: Yauheni Kaliuta
Date: Wed Sep 07 2016 - 06:27:20 EST
http://marc.info/?l=linux-kernel&m=147211966914100&w=2 follow up.
More complete rlimits violations reporting RFC using tracing
infrastructure.
Yauheni Kaliuta (2):
rlimits: add infra to report violations
rlimits: report resource limits violations
arch/ia64/kernel/perfmon.c | 4 +-
arch/powerpc/kvm/book3s_64_vio.c | 6 +-
arch/powerpc/mm/mmu_context_iommu.c | 6 +-
drivers/android/binder.c | 7 +-
drivers/infiniband/core/umem.c | 1 +
drivers/infiniband/hw/hfi1/user_pages.c | 5 +-
drivers/infiniband/hw/qib/qib_user_pages.c | 1 +
drivers/infiniband/hw/usnic/usnic_uiom.c | 1 +
drivers/misc/mic/scif/scif_rma.c | 1 +
drivers/vfio/vfio_iommu_spapr_tce.c | 6 +-
drivers/vfio/vfio_iommu_type1.c | 4 ++
fs/attr.c | 4 +-
fs/binfmt_aout.c | 4 +-
fs/binfmt_flat.c | 1 +
fs/coredump.c | 4 +-
fs/exec.c | 14 ++--
fs/file.c | 26 +++++--
fs/select.c | 4 +-
include/linux/mm.h | 7 +-
include/linux/resource.h | 5 ++
ipc/mqueue.c | 10 ++-
ipc/shm.c | 1 +
kernel/Makefile | 4 +-
kernel/bpf/syscall.c | 15 +++-
kernel/events/core.c | 1 +
kernel/fork.c | 9 ++-
kernel/rlimit.c | 26 +++++++
kernel/sched/core.c | 17 +++--
kernel/signal.c | 7 +-
kernel/sys.c | 9 ++-
kernel/time/posix-cpu-timers.c | 8 +++
kernel/trace-rlimit.h | 112 +++++++++++++++++++++++++++++
mm/mlock.c | 14 +++-
mm/mmap.c | 19 +++--
mm/mremap.c | 4 +-
net/unix/af_unix.c | 9 ++-
36 files changed, 325 insertions(+), 51 deletions(-)
create mode 100644 kernel/rlimit.c
create mode 100644 kernel/trace-rlimit.h
--
2.7.4