RE: [PATCH] Kernel panic on IA-64 Linux with SELinux

Luck, Tony
2004-06-09T23:35:48Z

>For the particular case of the init_task, we could just fix it up
>at boot time (as suggested by the earlier patch).
>
>My bigger worry is that this will be an issue _whenever_ somebody
>initializes a linked list with a static initializer. There needs to
>be a way to protect from this happening accidentially. Without that,
>I'm not sure the virtual remapping is really viable.

This is only an issue if we view the same structure via both its
region 5 and region 7 aliases. I think that init_task may currently
be a special case here ... in general arbitrary structures that users
declare and statically initialize with lists will only be referenced
via the region 5 alias ... so they will be safe.

-Tony