[sanitizer] Fix handling of %n in scanf interceptor.

%n does not increase the input item count. The new code emits writes to %n
arguments even if it has run out of input items.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188069 91177308-0d34-0410-b5e6-96231b3b80d8
[tests] Update to use lit_config and lit package, as appropriate.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188116 91177308-0d34-0410-b5e6-96231b3b80d8

Conflicts:

	lib/dfsan/lit_tests/lit.cfg
	lib/dfsan/lit_tests/lit.site.cfg.in

Change-Id: Ib4350ac5ff227e1cc845043426e3922bc4e8d6d4
[tests] Add one more lit rename update I missed.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188117 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept getgroups.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188167 91177308-0d34-0410-b5e6-96231b3b80d8

Conflicts:

	lib/sanitizer_common/sanitizer_common_interceptors.inc
	lib/sanitizer_common/sanitizer_platform_interceptors.h
	lib/tsan/rtl/tsan_stat.cc
	lib/tsan/rtl/tsan_stat.h

Change-Id: I692c203fb1a590e4d91c9339cc72ddd91c4e4a9e