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.c1290 static inline void fill_note(struct memelfnote *note, const char *name, int type, in fill_note() argument
1293 note->name = name; in fill_note()
1294 note->type = type; in fill_note()
1295 note->datasz = sz; in fill_note()
1296 note->data = data; in fill_note()
/fs/proc/
Dkcore.c299 struct elf_note *note = (struct elf_note *)&notes[*i]; in append_kcore_note() local
301 note->n_namesz = strlen(name) + 1; in append_kcore_note()
302 note->n_descsz = descsz; in append_kcore_note()
303 note->n_type = type; in append_kcore_note()
304 *i += sizeof(*note); in append_kcore_note()
305 memcpy(&notes[*i], name, note->n_namesz); in append_kcore_note()
306 *i = ALIGN(*i + note->n_namesz, 4); in append_kcore_note()
/fs/befs/
DKconfig10 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