Home
last modified time | relevance | path

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

/fs/
Dbinfmt_elf.c773 } note; in parse_elf_properties() local
789 if (phdr->p_filesz > sizeof(note)) in parse_elf_properties()
793 n = kernel_read(f, &note, phdr->p_filesz, &pos); in parse_elf_properties()
795 BUILD_BUG_ON(sizeof(note) < sizeof(note.nhdr) + NOTE_NAME_SZ); in parse_elf_properties()
796 if (n < 0 || n < sizeof(note.nhdr) + NOTE_NAME_SZ) in parse_elf_properties()
799 if (note.nhdr.n_type != NT_GNU_PROPERTY_TYPE_0 || in parse_elf_properties()
800 note.nhdr.n_namesz != NOTE_NAME_SZ || in parse_elf_properties()
801 strncmp(note.data + sizeof(note.nhdr), in parse_elf_properties()
802 GNU_PROPERTY_TYPE_0_NAME, n - sizeof(note.nhdr))) in parse_elf_properties()
805 off = round_up(sizeof(note.nhdr) + NOTE_NAME_SZ, in parse_elf_properties()
[all …]
Dbinfmt_elf_fdpic.c1275 static inline void fill_note(struct memelfnote *note, const char *name, int type, in fill_note() argument
1278 note->name = name; in fill_note()
1279 note->type = type; in fill_note()
1280 note->datasz = sz; in fill_note()
1281 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