HelenOS sources

elf_note_t         96 uspace/app/taskdump/elf_core.c 	elf_note_t note;
elf_note_t        178 uspace/app/taskdump/elf_core.c 	p_hdr[0].p_filesz = sizeof(elf_note_t) +
elf_note_t        236 uspace/app/taskdump/elf_core.c 	rc = vfs_write(fd, &pos, &note, sizeof(elf_note_t), &nwr);
HelenOS homepage, sources at GitHub