aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/src/setfilecon.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2014-07-09 13:25:56 -0400
committerStephen Smalley <sds@tycho.nsa.gov>2014-07-09 13:49:18 -0400
commit76913d8adb61b5afe28fd3b4ce91feab29e284dd (patch)
treeb7fe92298f867fe19414e5cbfd5fccfbe82b62f9 /libselinux/src/setfilecon.c
parentac33098a807671204720aae97d6bcf6429d3fa92 (diff)
downloadandroid_external_selinux-76913d8adb61b5afe28fd3b4ce91feab29e284dd.tar.gz
android_external_selinux-76913d8adb61b5afe28fd3b4ce91feab29e284dd.tar.bz2
android_external_selinux-76913d8adb61b5afe28fd3b4ce91feab29e284dd.zip
Deprecate use of flask.h and av_permissions.h.
Also remove all internal uses by libselinux. This requires deleting the old class/perm string lookup tables and compatibility code for kernels that predate the /sys/fs/selinux/class tree, i.e. Linux < 2.6.23. This also fixes a longstanding bug in the stringrep code; it was allocating NVECTORS (number of vectors in the legacy av_perm_to_string table, i.e. the total number of legacy permissions) entries in the per-class perms array rather than MAXVECTORS (the maximum number of permissions in any access vector). Ho hum. I already fixed this in Android but forgot it here. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'libselinux/src/setfilecon.c')
0 files changed, 0 insertions, 0 deletions