Upgrade to LTP 20170929

A short log of commits merged as part of this is available in
Merge list

Bug: 67107373

No new disabled tests due to failure to build.

New configuration(s) added in android/include/config.h:
 HAVE_STRUCT_MMSGHDR
 HAVE_STRUCT_UTSNAME_DOMAINNAME
 HAVE_STRUCT_XT_ENTRY_MATCH
 HAVE_STRUCT_XT_ENTRY_TARGET

Following shows the new or deleted test suites in that will be run by 'vts':
                 Deleted                        Added
        ---------------------------------------------------------
 fcntl-locktests_android                      cve

Following shows the difference in testcases that will be run by 'vts':
                 Deleted                    Added
        ---------------------------------------------------------
net_stress.multicast.mcast4-grpope03 net_stress.multicast.mcast4-group-multiple-socket
net_stress.multicast.mcast4-grpope02 net_stress.multicast.mcast6-group-same-group
net_stress.multicast.mcast4-grpope01 net_stress.multicast.mcast4-group-source-filter
net_stress.multicast.mcast4-grpope04 net_stress.multicast.mcast6-group-source-filter
net_stress.multicast.mcast6-grpope01 net_stress.multicast.mcast4-group-single-socket
net_stress.multicast.mcast6-grpope03 net_stress.multicast.mcast6-group-multiple-socket
net_stress.multicast.mcast6-grpope02 net_stress.multicast.mcast6-group-single-socket
net_stress.multicast.mcast6-grpope04 net_stress.multicast.mcast4-group-same-group
        syscalls.lseek03        syscalls.keyctl04
        syscalls.lseek10        syscalls.keyctl05
        syscalls.lseek06         syscalls.msync04
        syscalls.lseek05   syscalls.cve-2017-6951
        syscalls.lseek04         syscalls.fcntl36
        syscalls.shmat03         syscalls.fcntl35
        syscalls.lseek09 syscalls.clock_nanosleep02
        syscalls.lseek08    syscalls.getsockopt02
        syscalls.write02 syscalls.copy_file_range01
        quickhit.lseek03         quickhit.lseek11
        quickhit.lseek05         quickhit.lseek07

Change-Id: Ib7f5c927098193c28200f06fb4d82578944f1eb8
Signed-off-by: Sandeep Patil <sspatil@google.com>
diff --git a/Android.bp b/Android.bp
index c002d6c..acfcfe7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -18,11 +18,11 @@
 build = ["gen.bp"]
 
 genrule {
-    name: "ltp_linux_syscall_numbers",
-    tool_files: ["testcases/kernel/include/regen.sh"],
-    cmd: "$(location) $(genDir)/linux_syscall_numbers.h",
-    srcs: ["testcases/kernel/include/*.in"],
-    out: ["linux_syscall_numbers.h"],
+    name: "ltp_syscalls_h",
+    tool_files: ["include/lapi/syscalls/regen.sh"],
+    cmd: "$(location) $(genDir)/lapi/syscalls.h",
+    srcs: ["include/lapi/syscalls/*.in"],
+    out: ["lapi/syscalls.h"],
 }
 
 cc_defaults {
@@ -46,8 +46,11 @@
         "-Wno-empty-body",
         "-Wno-format",
         "-Wno-gnu-designator",
+	"-Wno-implicit-function-declaration",
+	"-Wno-incompatible-pointer-types-discards-qualifiers",
         "-Wno-knr-promoted-parameter",
         "-Wno-macro-redefined",
+	"-Wno-missing-braces",
         "-Wno-missing-field-initializers",
         "-Wno-parentheses-equality",
         "-Wno-pointer-arith",
@@ -76,7 +79,7 @@
         },
     },
 
-    generated_headers: ["ltp_linux_syscall_numbers"],
+    generated_headers: ["ltp_syscalls_h"],
 
     static_libs: ["libcap"],