lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 20 Jan 2011 05:32:50 +0000 (UTC) From: WANG Cong <xiyou.wangcong@...il.com> To: linux-kernel@...r.kernel.org Cc: kexec@...ts.infradead.org Subject: Re: [PATCH] kexec: include sysctl to disable On Thu, 20 Jan 2011 05:21:50 +0000, WANG Cong wrote: > On Wed, 19 Jan 2011 17:26:30 -0500, Eric Paris wrote: > >> much like /proc/sys/kernel/modules_disable is used to disable module >> loading, /proc/sys/kernel/kexec_disable is used to disable kexec code >> loading. It would still be possible to use kexec -l to load a kernel, >> set the tunable to 1 so the kernel waiting to boot couldn't change, and >> then launch the kernel at a later time (through kexec -e or through a >> crash) >> >> > But root can still change it to 0 and do kexec like normal, right? Er... never mind, it is a one-way road... Looks like a good balance between reusing CAP_SYS_MODULE and introducing a new CAP_SYS_XXX. Acked-by: WANG Cong <xiyou.wangcong@...il.com> Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists