sanitizer_platform_limits_linux.cc: Temporarily ifdef out almost the whole source.
* sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily ifdef out almost the whole source. * sanitizer_common/sanitizer_common_syscalls.inc: Likewise. From-SVN: r204726
This commit is contained in:
parent
9dbdea6b2a
commit
d00106f4f0
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2013-11-12 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
|
||||||
|
ifdef out almost the whole source.
|
||||||
|
* sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
|
||||||
|
|
||||||
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
2013-11-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR sanitizer/59018
|
PR sanitizer/59018
|
||||||
|
|
|
@ -58,6 +58,8 @@
|
||||||
# define COMMON_SYSCALL_POST_FORK(res)
|
# define COMMON_SYSCALL_POST_FORK(res)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SYSCALL_INTERCEPTION
|
||||||
|
|
||||||
// FIXME: do some kind of PRE_READ for all syscall arguments (int(s) and such).
|
// FIXME: do some kind of PRE_READ for all syscall arguments (int(s) and such).
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -2722,6 +2724,8 @@ POST_SYSCALL(vfork)(long res) {
|
||||||
}
|
}
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef PRE_SYSCALL
|
#undef PRE_SYSCALL
|
||||||
#undef PRE_READ
|
#undef PRE_READ
|
||||||
#undef PRE_WRITE
|
#undef PRE_WRITE
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
// userspace headers.
|
// userspace headers.
|
||||||
// Most "normal" includes go in sanitizer_platform_limits_posix.cc
|
// Most "normal" includes go in sanitizer_platform_limits_posix.cc
|
||||||
|
|
||||||
|
#ifdef SYSCALL_INTERCEPTION
|
||||||
#include "sanitizer_platform.h"
|
#include "sanitizer_platform.h"
|
||||||
#if SANITIZER_LINUX
|
#if SANITIZER_LINUX
|
||||||
|
|
||||||
|
@ -43,3 +44,4 @@ namespace __sanitizer {
|
||||||
} // namespace __sanitizer
|
} // namespace __sanitizer
|
||||||
|
|
||||||
#endif // SANITIZER_LINUX
|
#endif // SANITIZER_LINUX
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue