quick selinux support for tracefs
authorYongqin Liu <yongqin.liu@linaro.org>
Thu, 28 Apr 2016 05:53:36 +0000 (13:53 +0800)
committerYongqin Liu <yongqin.liu@linaro.org>
Thu, 28 Apr 2016 06:06:30 +0000 (14:06 +0800)
commit3a343a1540d4376d838c0a29bd5462d4e961e766
tree37d5244c30025539b189b9c749a4f5fbce66cc7f
parent9fc7b46c3d3ffdd135c601e5c28a6bb316f3a011
quick selinux support for tracefs

Here is just the quick fix for tracefs with selinux.
just add tracefs to the list of whitelisted filesystem
types in selinux_is_sblabel_mnt(), but the right fix would be to
generalize this logic as described in the last item on the todo list,
https://bitbucket.org/seandroid/wiki/wiki/ToDo

Change-Id: I2aa803ccffbcd2802a7287514da7648e6b364157
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
security/selinux/hooks.c