]> git.baikalelectronics.ru Git - kernel.git/commit
kmemleak: change /sys/kernel/debug/kmemleak permissions from 0444 to 0644
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Thu, 16 Nov 2017 01:35:30 +0000 (17:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:04 +0000 (18:21 -0800)
commit0ef22482afc029c639e81f1fb546d45bf18b6e06
treeb3eadad6bacfaa6ddd2b23e693be1e30de5a5e38
parent832cf1e52bc928b69a703e3fe8e9c14e6ad76e8e
kmemleak: change /sys/kernel/debug/kmemleak permissions from 0444 to 0644

Kmemleak can be tweaked at runtime by writing commands into debugfs
file.  Root can use it anyway, but without the write-bit this interface
isn't obvious.

Link: http://lkml.kernel.org/r/150728996582.744328.11541332857988399411.stgit@buzz
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kmemleak.c