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:
Jakub Jelinek 2013-11-13 00:42:55 +01:00 committed by Jakub Jelinek
parent 9dbdea6b2a
commit d00106f4f0
3 changed files with 12 additions and 0 deletions

View File

@ -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>
PR sanitizer/59018

View File

@ -58,6 +58,8 @@
# define COMMON_SYSCALL_POST_FORK(res)
#endif
#ifdef SYSCALL_INTERCEPTION
// FIXME: do some kind of PRE_READ for all syscall arguments (int(s) and such).
extern "C" {
@ -2722,6 +2724,8 @@ POST_SYSCALL(vfork)(long res) {
}
} // extern "C"
#endif
#undef PRE_SYSCALL
#undef PRE_READ
#undef PRE_WRITE

View File

@ -14,6 +14,7 @@
// userspace headers.
// Most "normal" includes go in sanitizer_platform_limits_posix.cc
#ifdef SYSCALL_INTERCEPTION
#include "sanitizer_platform.h"
#if SANITIZER_LINUX
@ -43,3 +44,4 @@ namespace __sanitizer {
} // namespace __sanitizer
#endif // SANITIZER_LINUX
#endif