|
From: Petar J. <pe...@so...> - 2019-11-27 13:33:36
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b150644902b99669664dc83e6ca9887ae76747cc commit b150644902b99669664dc83e6ca9887ae76747cc Author: Petar Jovanovic <mip...@gm...> Date: Wed Nov 27 13:32:57 2019 +0000 mips64: use generic Linux wrapper for sys_unshare No need for mips64-specific Linux wrappers for sys_unshare. Diff: --- coregrind/m_syswrap/syswrap-mips64-linux.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-mips64-linux.c b/coregrind/m_syswrap/syswrap-mips64-linux.c index d0bb3cd..b1f548a 100644 --- a/coregrind/m_syswrap/syswrap-mips64-linux.c +++ b/coregrind/m_syswrap/syswrap-mips64-linux.c @@ -226,7 +226,6 @@ DECL_TEMPLATE (mips_linux, sys_sethostname); DECL_TEMPLATE (mips_linux, sys_reboot); DECL_TEMPLATE (mips_linux, sys_cacheflush); DECL_TEMPLATE (mips_linux, sys_sched_rr_get_interval); -DECL_TEMPLATE (mips_linux, sys_unshare); DECL_TEMPLATE (mips_linux, sys_prctl); DECL_TEMPLATE (mips_linux, sys_ptrace); DECL_TEMPLATE (mips_linux, sys_mmap); @@ -242,12 +241,6 @@ PRE(sys_vmsplice) vki_size_t, len, int, flags); } -PRE(sys_unshare) -{ - PRINT("sys_unshare ( %" FMT_REGWORD "u )", ARG1); - PRE_REG_READ1(long, "sys_unshare", unsigned long, flags); -} - PRE(sys_sched_rr_get_interval) { PRINT("sys_sched_rr_get_interval ( %ld, %#" FMT_REGWORD "x)", SARG1, ARG2); @@ -784,7 +777,7 @@ static SyscallTableEntry syscall_main_table[] = { LINX_ (__NR_faccessat, sys_faccessat), LINXY (__NR_pselect6, sys_pselect6), LINXY (__NR_ppoll, sys_ppoll), - PLAX_ (__NR_unshare, sys_unshare), + LINX_ (__NR_unshare, sys_unshare), LINX_ (__NR_splice, sys_splice), LINX_ (__NR_sync_file_range, sys_sync_file_range), LINX_ (__NR_tee, sys_tee), |