Home
last modified time | relevance | path

Searched refs:note (Results 1 – 5 of 5) sorted by relevance

/fs/
Dbinfmt_elf.c769 } note; in parse_elf_properties() local
785 if (phdr->p_filesz > sizeof(note)) in parse_elf_properties()
789 n = kernel_read(f, &note, phdr->p_filesz, &pos); in parse_elf_properties()
791 BUILD_BUG_ON(sizeof(note) < sizeof(note.nhdr) + NOTE_NAME_SZ); in parse_elf_properties()
792 if (n < 0 || n < sizeof(note.nhdr) + NOTE_NAME_SZ) in parse_elf_properties()
795 if (note.nhdr.n_type != NT_GNU_PROPERTY_TYPE_0 || in parse_elf_properties()
796 note.nhdr.n_namesz != NOTE_NAME_SZ || in parse_elf_properties()
797 strncmp(note.data + sizeof(note.nhdr), in parse_elf_properties()
798 GNU_PROPERTY_TYPE_0_NAME, n - sizeof(note.nhdr))) in parse_elf_properties()
801 off = round_up(sizeof(note.nhdr) + NOTE_NAME_SZ, in parse_elf_properties()
[all …]
Dbinfmt_elf_fdpic.c1271 static inline void fill_note(struct memelfnote *note, const char *name, int type, in fill_note() argument
1274 note->name = name; in fill_note()
1275 note->type = type; in fill_note()
1276 note->datasz = sz; in fill_note()
1277 note->data = data; in fill_note()
/fs/proc/
Dkcore.c298 struct elf_note *note = (struct elf_note *)&notes[*i]; in append_kcore_note() local
300 note->n_namesz = strlen(name) + 1; in append_kcore_note()
301 note->n_descsz = descsz; in append_kcore_note()
302 note->n_type = type; in append_kcore_note()
303 *i += sizeof(*note); in append_kcore_note()
304 memcpy(&notes[*i], name, note->n_namesz); in append_kcore_note()
305 *i = ALIGN(*i + note->n_namesz, 4); in append_kcore_note()
/fs/befs/
DKconfig11 attributes. (Also note that this driver doesn't make those features
/fs/crypto/
DKconfig25 # Also note that this option only pulls in the generic implementations of the