]> 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)
commit7d6c4dfa4de96d11b9d6adaf5aa5ca8c54670258
treeb3eadad6bacfaa6ddd2b23e693be1e30de5a5e38
parent9c19a9cb1642c074aa8bc7693cd4c038643960ae
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