]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: hook up unshare syscall
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 20 Aug 2019 12:41:59 +0000 (12:41 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 20 Aug 2019 12:41:59 +0000 (12:41 +0000)
Hook up unshare syscall for mips32.

This fixes unshare02 in the LTP test suite.

coregrind/m_syswrap/syswrap-mips32-linux.c

index 5c34526916ce9602108122991f345fb676feb43c..a7e0ca526e7852612b6993d416f7220a029191b8 100644 (file)
@@ -1059,7 +1059,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINX_ (__NR_faccessat,              sys_faccessat),               // 300
    LINXY (__NR_pselect6,               sys_pselect6),                // 301
    LINXY (__NR_ppoll,                  sys_ppoll),                   // 302
-   //..
+   LINX_ (__NR_unshare,                sys_unshare),                 // 303
    LINX_ (__NR_splice,                 sys_splice),                  // 304
    PLAX_ (__NR_sync_file_range,        sys_sync_file_range),         // 305
    LINX_ (__NR_tee,                    sys_tee),                     // 306