]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ksplice: add sysctls for determining Ksplice features.
authorJamie Iles <jamie.iles@oracle.com>
Tue, 17 Jan 2017 00:35:13 +0000 (00:35 +0000)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 5 Mar 2017 00:57:55 +0000 (16:57 -0800)
commitcff48f7deace38f8fe17962e1b3e87fb0f643328
tree8d063299010455150e0888a62193e187d6360f80
parentf23d3fe2fe5ee2e973c7046d79f9bab95b82dbeb
ksplice: add sysctls for determining Ksplice features.

This adds a new set of sysctls that the Ksplice user-space can use for
feature tests.  The first sysctl added is ksplice.init_trace_safe which
means that it is safe to trace a child_subreaper processes without
making them killable which was fixed in 2d39b3cd34 (signal: protect
SIGNAL_UNKILLABLE from unintentional clearing.).

Ksplice can now test this sysctl and use that to determine whether it is
safe to trace init or not.  Future sysctls can be added for other
features, as well as kernel internal features for kernel Ksplice.

Orabug: 25414814

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
Reviewed-by: Dhaval Giani <dhaval.giani@oracle.com>
Conflicts:
kernel/Makefile
arch/Kconfig
include/linux/ksplice.h [new file with mode: 0644]
kernel/Makefile
kernel/ksplice.c [new file with mode: 0644]
kernel/sysctl.c