staging: vchiq_arm: Disable ability to dump memory by default
authorMichael Zoran <mzoran@crowfest.net>
Wed, 8 Mar 2017 03:23:36 +0000 (19:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 12:39:05 +0000 (13:39 +0100)
commit12ab16597189993deb6a17827e137c0357ef0de6
tree4a1d2fce73f5eaaeb9dcdff34dabf04f9f0231ef
parent5569a1260933ae105acdd50d70decfa868f7c3b5
staging: vchiq_arm: Disable ability to dump memory by default

vc04_services has an ioctl interface to dump arbitrary memory
to a custom debug log.  This is typically only needed by
diagnostic tools, and can potentially be a security issue
if the devtmpfs node doesn't have adequate permissions set.

Since the ability to dump memory still has debugging value,
create a new build configuration and disable the feature
by default.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/Kconfig
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c