[PATCH] selinux support on mkswap applet
Denys Vlasenko
vda.linux at googlemail.com
Fri Oct 19 21:48:16 UTC 2007
On Thursday 18 October 2007 11:41, KaiGai Kohei wrote:
> Hi,
>
> The attached patch enables to relabel the security context of
> regular files to "swapfile_t", when mkswap attempt to initialize
> a regular file as a swap.
>
> The reason of this extension is that swapfile can store memory
> regions of any processes, and there is a possibility to leak
> unintentional infomation via swap using regular file.
> Therefore, we have to relabel swapfile to separate any other
> regular file.
Applied, thanks!
--
vda
More information about the busybox
mailing list