Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50a00b7c authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

defconfig: kona: Allow only root users to create perf events



As a mark of security, increase the perf_event_paranoid value to 3,
such that it allows only previledged users to create perf events.

Change-Id: I23f0ed4624f1a1843affe8693bf7ba5eb846038b
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent bf251c4d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y
CONFIG_SECURITY=y
CONFIG_HARDENED_USERCOPY=y
CONFIG_FORTIFY_SOURCE=y
+1 −0
Original line number Diff line number Diff line
@@ -505,6 +505,7 @@ CONFIG_ECRYPT_FS_MESSAGING=y
# CONFIG_NETWORK_FILESYSTEMS is not set
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y
CONFIG_SECURITY=y
CONFIG_HARDENED_USERCOPY=y
CONFIG_HARDENED_USERCOPY_PAGESPAN=y