diff options
author | John Baldwin <jhb@FreeBSD.org> | 2024-03-05 04:52:21 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2024-03-05 04:52:21 +0000 |
commit | 364d1b2f8c0a7f4caaa7f3d184f4cfece8f22108 (patch) | |
tree | 811a78c85dedc8a5fdf78a6759b46ac2bc2f7ab9 /sys/kern/imgact_elf.c | |
parent | 169641f7dd9f0fc23a158716b5ad81e5d5056661 (diff) | |
download | src-364d1b2f8c0a7f4caaa7f3d184f4cfece8f22108.tar.gz src-364d1b2f8c0a7f4caaa7f3d184f4cfece8f22108.zip |
imgact_elf: Add const to the checknote parameter to __elfN(parse_notes)
Reviewed by: imp, kib
Sponsored by: University of Cambridge, Google, Inc.
Differential Revision: https://reviews.freebsd.org/D44215
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r-- | sys/kern/imgact_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 3863f0a2fdae..4cee366ed747 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -2712,7 +2712,7 @@ __elfN(note_procstat_auxv)(void *arg, struct sbuf *sb, size_t *sizep) #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) { |