]> www.infradead.org Git - users/jedix/linux-maple.git/commit
uswsusp: Disable when securelevel is set
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Sep 2013 22:49:43 +0000 (15:49 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 10 Aug 2015 16:24:06 +0000 (09:24 -0700)
commiteb4fa31a4a8f9d5974dc518edb2c5044926a0b61
treeda06ce98d31b82c7674419cd1e2396dd0922dbce
parente6c869c53abea68f4582805a8acd2152b0f8b1f3
uswsusp: Disable when securelevel is set

Orabug: 21539498

uswsusp allows a user process to dump and then restore kernel state, which
makes it possible to modify the running kernel. Disable this if securelevel
has been set.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
kernel/power/user.c