diff options
author | Eric Paris <eparis@redhat.com> | 2010-11-29 15:47:09 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-11-30 17:28:58 -0500 |
commit | ac76c05becb6beedbb458d0827d3deaa6f479a72 (patch) | |
tree | 255276b52f7b031671ae5948b39d7c92e50ba420 /firmware/tigon | |
parent | 23bdecb000c806cf4ec52764499a600f7200d7a9 (diff) | |
download | kernel_goldelico_gta04-ac76c05becb6beedbb458d0827d3deaa6f479a72.zip kernel_goldelico_gta04-ac76c05becb6beedbb458d0827d3deaa6f479a72.tar.gz kernel_goldelico_gta04-ac76c05becb6beedbb458d0827d3deaa6f479a72.tar.bz2 |
selinux: convert part of the sym_val_to_name array to use flex_array
The sym_val_to_name type array can be quite large as it grows linearly with
the number of types. With known policies having over 5k types these
allocations are growing large enough that they are likely to fail. Convert
those to flex_array so no allocation is larger than PAGE_SIZE
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'firmware/tigon')
0 files changed, 0 insertions, 0 deletions