From: Chad Sellers Date: Mon, 6 Nov 2006 17:38:17 +0000 (-0500) Subject: SELinux: ensure keys constant in hashtab_search X-Git-Tag: v2.6.20-rc1~34^2~40^2~470^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb242497474da317a7169cc939c741ccf2e79e8c;p=pandora-kernel.git SELinux: ensure keys constant in hashtab_search Makes the key argument passed into hashtab_search and all the functions it calls constant. These functions include hash table function pointers hash_value and keycmp. The only implementations of these currently are symhash and symcmp, which do not modify the key. The key parameter should never be changed by any of these, so it should be const. This is necessary to allow calling these functions with keys found in kernel object class and permission definitions. Signed-off-by: Chad Sellers Acked-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed