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)
commit6cbda6b6e2e2a0a84c0fcda8ea262c16d7a63fc8
treeca4c974f9eedc3ab756b6eecb7c2db2a68095493
parent484b366932be0b73a22c74a82748ca10a721643e
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