tmp_suning_uos_patched/security/tomoyo
Stephen Hemminger 024e1a4941 tomoyo: improve hash bucket dispersion
When examining the network device name hash, it was discovered that
the low order bits of full_name_hash() are not very well dispersed
across the possible values. When used by filesystem code, this is handled
by folding with the function hash_long().

The only other non-filesystem usage of full_name_hash() at this time
appears to be in TOMOYO. This patch should fix that.

I do not use TOMOYO at this time, so this patch is build tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2009-10-29 11:17:33 +11:00
..
common.c TOMOYO: Move tomoyo_delete_domain(). 2009-06-19 11:32:37 +10:00
common.h TOMOYO: Move tomoyo_delete_domain(). 2009-06-19 11:32:37 +10:00
domain.c TOMOYO: Remove next_domain from tomoyo_find_next_domain(). 2009-06-19 18:48:18 +10:00
file.c TOMOYO: Add description of lists and structures. 2009-06-09 09:30:24 +10:00
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile Kconfig and Makefile 2009-02-12 15:19:00 +11:00
realpath.c tomoyo: improve hash bucket dispersion 2009-10-29 11:17:33 +11:00
realpath.h tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00
tomoyo.c KEYS: Add a keyctl to install a process's session keyring on its parent [try #6] 2009-09-02 21:29:22 +10:00
tomoyo.h TOMOYO: Remove next_domain from tomoyo_find_next_domain(). 2009-06-19 18:48:18 +10:00