Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108339715
D44215.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
999 B
Referenced Files
None
Subscribers
None
D44215.diff
View Options
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -2712,7 +2712,7 @@
#define MAX_NOTES_LOOP 4096
bool
-__elfN(parse_notes)(const struct image_params *imgp, Elf_Note *checknote,
+__elfN(parse_notes)(const struct image_params *imgp, const Elf_Note *checknote,
const char *note_vendor, const Elf_Phdr *pnote,
bool (*cb)(const Elf_Note *, void *, bool *), void *cb_arg)
{
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h
--- a/sys/sys/imgact_elf.h
+++ b/sys/sys/imgact_elf.h
@@ -123,7 +123,7 @@
void __elfN(size_segments)(struct thread *, struct sseg_closure *, int);
size_t __elfN(register_note)(struct thread *, struct note_info_list *,
int, outfunc_t, void *);
-bool __elfN(parse_notes)(const struct image_params *, Elf_Note *,
+bool __elfN(parse_notes)(const struct image_params *, const Elf_Note *,
const char *, const Elf_Phdr *,
bool (*)(const Elf_Note *, void *, bool *), void *);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 12:19 AM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16111495
Default Alt Text
D44215.diff (999 B)
Attached To
Mode
D44215: imgact_elf: Add const to the checknote paremeter to __elfN(parse_notes)
Attached
Detach File
Event Timeline
Log In to Comment