Skip to contentSkip to conversation

bss-zeroing question

DISCUSSION Mathieu Dube 1 participant 1 message Feb 22, 2007 VFS

lore
Share & tools
lore
#0 lore raw

Hi,
Im not sure if this is the right list to ask that question but,
the function load_elf_binary calls clear_user on elf_bss and there's a comment saying:

/*
* This bss-zeroing can fail if the ELF
* file specifies odd protections. So
* we don't check the return value
*/

what I would like to know is what these odd protections are and if/how they can be checked on a given elf file.

I hope my question is clear.

thanks
-M