]> git.baikalelectronics.ru Git - kernel.git/commit
Rename class_destroy to avoid namespace conflicts.
authorJames Morris <jmorris@namei.org>
Wed, 29 Nov 2006 21:50:27 +0000 (16:50 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:39 +0000 (21:31 -0800)
commit492e402bcda423a329017aabc6356af69b8ae855
treeca4c974f9eedc3ab756b6eecb7c2db2a68095493
parent28539d6e4350b28dfae352ed86fca213511d87b1
Rename class_destroy to avoid namespace conflicts.

We're seeing increasing namespace conflicts between the global
class_destroy() function declared in linux/device.h, and the private
function in the SELinux core code.  This patch renames the SELinux
function to cls_destroy() to avoid this conflict.

Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/policydb.c