Commit 2261748e authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

vdso: drop excessive parameter who from vdso_proxify

It's always "dumpee" and is used in two pr_err() messages,
put it right there.
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 2c34d080
......@@ -81,7 +81,7 @@ static inline bool is_vdso_mark(void *addr)
extern int vdso_do_park(struct vdso_symtable *sym_rt, unsigned long park_at, unsigned long park_size);
extern int vdso_map_compat(unsigned long map_at);
extern int vdso_proxify(char *who, struct vdso_symtable *sym_rt,
extern int vdso_proxify(struct vdso_symtable *sym_rt,
unsigned long vdso_rt_parked_at, size_t index,
VmaEntry *vmas, size_t nr_vmas, bool compat_vdso);
......
......@@ -103,7 +103,7 @@ int __vdso_fill_symtable(uintptr_t mem, size_t size,
}
#endif
int vdso_proxify(char *who, struct vdso_symtable *sym_rt,
int vdso_proxify(struct vdso_symtable *sym_rt,
unsigned long vdso_rt_parked_at, size_t index,
VmaEntry *vmas, size_t nr_vmas, bool compat_vdso)
{
......@@ -197,14 +197,14 @@ int vdso_proxify(char *who, struct vdso_symtable *sym_rt,
if (sys_munmap((void *)(uintptr_t)vma_vdso->start,
vma_entry_len(vma_vdso))) {
pr_err("Failed to unmap %s\n", who);
pr_err("Failed to unmap dumpee\n");
return -1;
}
if (vma_vvar) {
if (sys_munmap((void *)(uintptr_t)vma_vvar->start,
vma_entry_len(vma_vvar))) {
pr_err("Failed to unmap %s\n", who);
pr_err("Failed to unmap dumpee\n");
return -1;
}
......
......@@ -1188,7 +1188,7 @@ long __export_restore_task(struct task_restore_args *args)
for (i = 0; i < args->vmas_n; i++) {
if (vma_entry_is(&args->vmas[i], VMA_AREA_VDSO) ||
vma_entry_is(&args->vmas[i], VMA_AREA_VVAR)) {
if (vdso_proxify("dumpee", &args->vdso_sym_rt,
if (vdso_proxify(&args->vdso_sym_rt,
args->vdso_rt_parked_at,
i, args->vmas, args->vmas_n,
args->compatible_mode))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment