Page MenuHomeFreeBSD

D30901.diff
No OneTemporary

D30901.diff

diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c
--- a/sys/amd64/linux/linux_sysvec.c
+++ b/sys/amd64/linux/linux_sysvec.c
@@ -115,8 +115,8 @@
static int linux_fixup_elf(uintptr_t *stack_base,
struct image_params *iparams);
static bool linux_trans_osrel(const Elf_Note *note, int32_t *osrel);
-static void linux_vdso_install(void *param);
-static void linux_vdso_deinstall(void *param);
+static void linux_vdso_install(const void *param);
+static void linux_vdso_deinstall(const void *param);
static void linux_vdso_reloc(char *mapping, Elf_Addr offset);
static void linux_set_syscall_retval(struct thread *td, int error);
static int linux_fetch_syscall_args(struct thread *td);
@@ -830,7 +830,7 @@
linux_exec_sysvec_init, &elf_linux_sysvec);
static void
-linux_vdso_install(void *param)
+linux_vdso_install(const void *param)
{
char *vdso_start = &_binary_linux_vdso_so_o_start;
char *vdso_end = &_binary_linux_vdso_so_o_end;
@@ -854,7 +854,7 @@
linux_vdso_install, NULL);
static void
-linux_vdso_deinstall(void *param)
+linux_vdso_deinstall(const void *param)
{
__elfN(linux_shared_page_fini)(linux_vdso_obj,
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -125,8 +125,8 @@
struct image_params *imgp);
static void linux32_fixlimit(struct rlimit *rl, int which);
static bool linux32_trans_osrel(const Elf_Note *note, int32_t *osrel);
-static void linux_vdso_install(void *param);
-static void linux_vdso_deinstall(void *param);
+static void linux_vdso_install(const void *param);
+static void linux_vdso_deinstall(const void *param);
static void linux_vdso_reloc(char *mapping, Elf_Addr offset);
static void linux32_set_syscall_retval(struct thread *td, int error);
@@ -995,7 +995,7 @@
linux_exec_sysvec_init, &elf_linux_sysvec);
static void
-linux_vdso_install(void *param)
+linux_vdso_install(const void *param)
{
char *vdso_start = &_binary_linux32_vdso_so_o_start;
char *vdso_end = &_binary_linux32_vdso_so_o_end;
@@ -1017,7 +1017,7 @@
linux_vdso_install, NULL);
static void
-linux_vdso_deinstall(void *param)
+linux_vdso_deinstall(const void *param)
{
__elfN(linux_shared_page_fini)(linux_vdso_obj,
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -111,8 +111,8 @@
static int linux_copyout_strings(struct image_params *imgp,
uintptr_t *stack_base);
static bool linux_trans_osrel(const Elf_Note *note, int32_t *osrel);
-static void linux_vdso_install(void *param);
-static void linux_vdso_deinstall(void *param);
+static void linux_vdso_install(const void *param);
+static void linux_vdso_deinstall(const void *param);
static void linux_vdso_reloc(char *mapping, Elf_Addr offset);
#define LINUX_T_UNKNOWN 255
@@ -940,7 +940,7 @@
linux_exec_sysvec_init, &elf_linux_sysvec);
static void
-linux_vdso_install(void *param)
+linux_vdso_install(const void *param)
{
char *vdso_start = &_binary_linux_vdso_so_o_start;
char *vdso_end = &_binary_linux_vdso_so_o_end;
@@ -962,7 +962,7 @@
linux_vdso_install, NULL);
static void
-linux_vdso_deinstall(void *param)
+linux_vdso_deinstall(const void *param)
{
__elfN(linux_shared_page_fini)(linux_vdso_obj,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 4:41 AM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14653294
Default Alt Text
D30901.diff (3 KB)

Event Timeline