patch-linux_32_syscallent_h 578 B

1234567891011121314151617
  1. --- strace-4.11.orig/linux/32/syscallent.h 2015-12-05 00:12:14.000000000 +0100
  2. +++ strace-4.11/linux/32/syscallent.h 2015-12-25 15:36:04.814035892 +0100
  3. @@ -1,5 +1,5 @@
  4. -#ifndef ARCH_mmap
  5. -# define ARCH_mmap mmap
  6. +#ifndef sys_ARCH_mmap
  7. +# define sys_ARCH_mmap sys_mmap
  8. #endif
  9. [ 0] = { 2, 0, SEN(io_setup), "io_setup" },
  10. [ 1] = { 1, 0, SEN(io_destroy), "io_destroy" },
  11. @@ -276,5 +276,5 @@
  12. [283] = { 2, 0, SEN(membarrier), "membarrier", },
  13. [284] = { 3, TM, SEN(mlock2), "mlock2" },
  14. -#undef ARCH_mmap
  15. +#undef sys_ARCH_mmap
  16. #undef ARCH_WANT_SYNC_FILE_RANGE2