From: Kohei Kaigai Date: Fri, 1 Apr 2011 14:39:26 +0000 (+0100) Subject: selinux: add type_transition with name extension support for selinuxfs X-Git-Tag: v3.0-rc1~309^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50a3ec961f90e38c0311411179d5dfee1412192;p=pandora-kernel.git selinux: add type_transition with name extension support for selinuxfs The attached patch allows /selinux/create takes optional 4th argument to support TYPE_TRANSITION with name extension for userspace object managers. If 4th argument is not supplied, it shall perform as existing kernel. In fact, the regression test of SE-PostgreSQL works well on the patched kernel. Thanks, Signed-off-by: KaiGai Kohei [manually verify fuzz was not an issue, and it wasn't: eparis] Signed-off-by: Eric Paris --- Reading git-diff-tree failed