pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Improve the strlcpy(3)&strlcat(3) interceptor
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Jan 20 19:10:22 2018 +0100
Changeset: d0591dafbf3ccfb4ef27fe2cd5683ae3b41466a6
Modified Files:
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
compiler-rt-netbsd/patches/patch-test_asan_lit.cfg
compiler-rt-netbsd/patches/patch-test_scudo_lit.cfg
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
Added Files:
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
Log Message:
compiler-rt-netbsd: Improve the strlcpy(3)&strlcat(3) interceptor
Adjust for upstream review.
Add tests.
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d0591dafbf3ccfb4ef27fe2cd5683ae3b41466a6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
compiler-rt-netbsd/distinfo | 20 +++----
...atch-include_sanitizer_netbsd__syscall__hooks.h | 2 +-
...zer__common_sanitizer__common__interceptors.inc | 31 ++++++-----
...mmon_sanitizer__netbsd__interceptors__ioctl.inc | 2 +-
...nitizer__common_sanitizer__netbsd__syscalls.inc | 2 +-
...zer__common_sanitizer__platform__interceptors.h | 2 +-
compiler-rt-netbsd/patches/patch-test_asan_lit.cfg | 2 +-
...t_sanitizer__common_TestCases_NetBSD_strlcat.cc | 61 ++++++++++++++++++++++
...t_sanitizer__common_TestCases_NetBSD_strlcpy.cc | 61 ++++++++++++++++++++++
.../patches/patch-test_scudo_lit.cfg | 2 +-
.../patch-utils_generate__netbsd__ioctls.awk | 2 +-
.../patch-utils_generate__netbsd__syscalls.awk | 2 +-
12 files changed, 160 insertions(+), 29 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index a64dc209c6..d9b0ecce2d 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -2,7 +2,7 @@ $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
SHA1 (patch-cmake_config-ix.cmake) = 11195c8254c84d5972a2ffee8a9e66758ab7105b
SHA1 (patch-include_CMakeLists.txt) = b6f2713b7e5337aed542442936b6f747efe0a607
-SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = 0cfe2581c93293197e18bb2fead71c251aee2898
+SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = 93200e8be347521dda7d453722b44945cb18e048
SHA1 (patch-lib_asan_asan__interceptors.cc) = ea4005ce02775060ff52af76d568c450892067b5
SHA1 (patch-lib_esan_esan__interceptors.cpp) = a7103ca053e92a810c87c593262bb386f3d02606
SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = bed69bc433f70ec4d88fc5aa11d47ffbd18f4b74
@@ -10,20 +10,22 @@ SHA1 (patch-lib_hwasan_hwasan__interceptors.cc) = c49ab3759728bbd3e27580a3d0d3e2
SHA1 (patch-lib_msan_msan__interceptors.cc) = 9f0c1a05430314581b1711f1d5a1ab8870053879
SHA1 (patch-lib_msan_msan__linux.cc) = d75d7587071a9e7a3f6a08a3008af55319e62cab
SHA1 (patch-lib_sanitizer__common_CMakeLists.txt) = fcbf2987ccab5258fe760aef6ef47bd97e0e0b2c
-SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 546d892d17802f9793c4212c5ca0d215665ba719
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 914bc407173b5e22627fcc82ce6fd61a8bf32cca
SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors__ioctl.inc) = 231f519a0564aa69d746a7f0bbee1b1aeed927a7
SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 2ff74de8be0825ca4162969cb2ed367654934a17
SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = b1057f01ae2f03498613eb1a02501c8a65d16fed
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = bf83b4078f157a10c2afc456ab7451e3851cf119
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = 75fee289e5db1bf3572fcd8ab08921343f94e088
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = e3e1f49c182209afde967ae61f6f4a4d03815f6d
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = 8eacd483ac5d56b666dd36d448d3aa7b7c7e5467
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = d6ee9e0914bbb98cfb823d93ccfb27842b8e145e
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 8b11b1732a0ec455fd871805d3a92f6891c0dfaa
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = 47236661e37673d66a52e80c3f55be13029014ca
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = 2441d51ba207b067a52b7688076335bb38ad0bb9
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__freebsd.cc) = 7e0deaeeada33bd13575251e5d8fb4a0ee4c53e8
SHA1 (patch-lib_scudo_scudo__platform.h) = d44bd094136dd0381db87344fbbcad1dcfd44dc1
SHA1 (patch-lib_tsan_rtl_tsan__interceptors.cc) = 4fbaa64e3f8d28cdbab6783c296dfd31cecb45a5
-SHA1 (patch-test_asan_lit.cfg) = d84f23432954031f2c03287d70eef2110d8a9ce0
+SHA1 (patch-test_asan_lit.cfg) = becbc3c8c9cfd589e1dcbf1014dd4655f952c144
SHA1 (patch-test_lsan_lit.common.cfg) = 10dc251f80efb96d015a22c740dc20b1843b9a11
-SHA1 (patch-test_scudo_lit.cfg) = 314da51eef4c4a85c2c5d4610ca2233ece05d78f
-SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 2c3558807c20a534f1ba703c9bfe1d70853d1aa6
-SHA1 (patch-utils_generate__netbsd__syscalls.awk) = 6c8bee596d7fea1b02d070992c2767dbeb0c5e23
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc) = 67aa581bc86b5070aba6017908612284980f0087
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc) = 5d0c5018ba6523d7d4da240c41841e95808214de
+SHA1 (patch-test_scudo_lit.cfg) = 111a66513b994534bb0d69d214b7e0cb4e2b8eb8
+SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 1a3f749fe72466cfca34602615e7cea1cad63fd9
+SHA1 (patch-utils_generate__netbsd__syscalls.awk) = c9245d51ab15fee834a9226466e1f4257a4c9aa1
diff --git a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
index 411d6e583e..0aaeb71e89 100644
--- a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
+++ b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
@@ -1,6 +1,6 @@
$NetBSD$
---- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-01-20 14:39:09.255061178 +0000
+--- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-01-20 18:02:45.596113671 +0000
+++ include/sanitizer/netbsd_syscall_hooks.h
@@ -0,0 +1,4730 @@
+//===-- netbsd_syscall_hooks.h --------------------------------------------===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
index 12f2534062..08795c03e9 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-01-20 14:37:44.460284188 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-01-20 14:37:44.000000000 +0000
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -36,6 +36,7 @@
// COMMON_INTERCEPTOR_MEMCPY_IMPL
@@ -166,7 +166,7 @@ $NetBSD$
return res;
}
-@@ -6608,6 +6658,488 @@ INTERCEPTOR(int, getgroupmembership, con
+@@ -6608,6 +6658,495 @@ INTERCEPTOR(int, getgroupmembership, con
#define INIT_GETGROUPLIST
#endif
@@ -539,12 +539,12 @@ $NetBSD$
+#endif
+
+#if SANITIZER_INTERCEPT_STRLCPY
-+INTERCEPTOR(uptr, strlcpy, char *dst, char *src, uptr size) {
++INTERCEPTOR(SIZE_T, strlcpy, char *dst, char *src, SIZE_T size) {
+ void *ctx;
-+ uptr res;
++ SIZE_T res;
+ COMMON_INTERCEPTOR_ENTER(ctx, strlcpy, dst, src, size);
+ if (src) {
-+ uptr len = REAL(strnlen)(src, size);
++ SIZE_T len = REAL(strnlen)(src, size);
+ COMMON_INTERCEPTOR_READ_RANGE(ctx, src, len >= size ? size : len + 1);
+ }
+ res = REAL(strlcpy)(dst, src, size);
@@ -552,21 +552,28 @@ $NetBSD$
+ return res;
+}
+
-+INTERCEPTOR(uptr, strlcat, char *dst, char *src, uptr size) {
++INTERCEPTOR(SIZE_T, strlcat, char *dst, char *src, SIZE_T size) {
+ void *ctx;
-+ uptr res;
++ SIZE_T res;
+ COMMON_INTERCEPTOR_ENTER(ctx, strlcat, dst, src, size);
+ if (src) {
-+ uptr len = REAL(strnlen)(src, size);
++ SIZE_T len = REAL(strnlen)(src, size);
+ COMMON_INTERCEPTOR_READ_RANGE(ctx, src, len >= size ? size : len + 1);
+ }
-+ res = REAL(strlcat)(dst, src, size);
++ if (dst) {
++ SIZE_T len = REAL(strnlen)(dst, size);
++ COMMON_INTERCEPTOR_READ_RANGE(ctx, dst, len >= size ? size : len + 1);
++ // Simplify WRITE_RANGE
++ dst += len;
++ size -= len;
++ }
++ res = REAL(strlcpy)(dst, src, size);
+ COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dst, REAL(strlen)(dst) + 1);
+ return res;
+}
+#define INIT_STRLCPY \
+ COMMON_INTERCEPT_FUNCTION(strlcpy); \
-+ COMMON_INTERCEPT_FUNCTION(strlcat)
++ COMMON_INTERCEPT_FUNCTION(strlcat);
+#else
+#define INIT_STRLCPY
+#endif
@@ -655,7 +662,7 @@ $NetBSD$
static void InitializeCommonInterceptors() {
static u64 metadata_mem[sizeof(MetadataHashMap) / sizeof(u64) + 1];
interceptor_metadata_map = new((void *)&metadata_mem) MetadataHashMap();
-@@ -6687,6 +7219,7 @@ static void InitializeCommonInterceptors
+@@ -6687,6 +7226,7 @@ static void InitializeCommonInterceptors
INIT_GETSOCKOPT;
INIT_ACCEPT;
INIT_ACCEPT4;
@@ -663,7 +670,7 @@ $NetBSD$
INIT_MODF;
INIT_RECVMSG;
INIT_SENDMSG;
-@@ -6827,6 +7360,13 @@ static void InitializeCommonInterceptors
+@@ -6827,6 +7367,13 @@ static void InitializeCommonInterceptors
INIT_ACCESS;
INIT_FACCESSAT;
INIT_GETGROUPLIST;
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
index 16f37d7ab8..07c7758767 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-01-20 14:39:09.258621476 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-01-20 18:02:45.603268491 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc
@@ -0,0 +1,1490 @@
+//===-- sanitizer_common_interceptors_ioctl.inc -----------------*- C++ -*-===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
index 37e1a9e084..873579e20e 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-01-20 14:39:09.259564334 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-01-20 18:02:45.604207367 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_syscalls.inc
@@ -0,0 +1,3793 @@
+//===-- sanitizer_common_syscalls.inc ---------------------------*- C++ -*-===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
index 53bfc15f20..289661485b 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-01-20 14:37:44.460760436 +0000
+--- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig 2018-01-20 14:37:44.000000000 +0000
+++ lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -218,6 +218,7 @@
#define SANITIZER_INTERCEPT_GETSOCKOPT SI_POSIX
diff --git a/compiler-rt-netbsd/patches/patch-test_asan_lit.cfg b/compiler-rt-netbsd/patches/patch-test_asan_lit.cfg
index e33e88fef2..e354abf906 100644
--- a/compiler-rt-netbsd/patches/patch-test_asan_lit.cfg
+++ b/compiler-rt-netbsd/patches/patch-test_asan_lit.cfg
@@ -1,6 +1,6 @@
$NetBSD$
---- test/asan/lit.cfg.orig 2018-01-20 14:37:44.078179409 +0000
+--- test/asan/lit.cfg.orig 2018-01-20 14:37:44.000000000 +0000
+++ test/asan/lit.cfg
@@ -209,7 +209,7 @@ else:
config.substitutions.append(('%pie', '-pie'))
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
new file mode 100644
index 0000000000..6ab553407e
--- /dev/null
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcat.cc
@@ -0,0 +1,61 @@
+$NetBSD$
+
+--- test/sanitizer_common/TestCases/NetBSD/strlcat.cc.orig 2018-01-20 18:02:45.607784568 +0000
++++ test/sanitizer_common/TestCases/NetBSD/strlcat.cc
+@@ -0,0 +1,56 @@
++// RUN: %clangxx -O0 -g %s -o %t && %run %t
++
++#include <string.h>
++#include <stdlib.h>
++#include <stdio.h>
++
++void
++test1() {
++ const char src[] = "abc";
++ char dst[7] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test2() {
++ const char src[] = "abc";
++ char dst[7] = {0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test3() {
++ const char src[] = "abc";
++ char dst[4] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test4() {
++ const char src[] = "";
++ char dst[4] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu\n", dst, len);
++}
++
++int main(void) {
++ test1();
++ test2();
++ test3();
++ test4();
++
++ // CHECK: xyzabc 6 abc 3 xyz 3 xyz 3
++
++ return 0;
++}
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
new file mode 100644
index 0000000000..d6da3599c9
--- /dev/null
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_strlcpy.cc
@@ -0,0 +1,61 @@
+$NetBSD$
+
+--- test/sanitizer_common/TestCases/NetBSD/strlcpy.cc.orig 2018-01-20 18:02:45.607909793 +0000
++++ test/sanitizer_common/TestCases/NetBSD/strlcpy.cc
+@@ -0,0 +1,56 @@
++// RUN: %clangxx -O0 -g %s -o %t && %run %t
++
++#include <string.h>
++#include <stdlib.h>
++#include <stdio.h>
++
++void
++test1() {
++ const char src[] = "abc";
++ char dst[7] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcpy(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test2() {
++ const char src[] = "abc";
++ char dst[7] = {0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test3() {
++ const char src[] = "abc";
++ char dst[4] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu ", dst, len);
++}
++
++void
++test4() {
++ const char src[] = "";
++ char dst[4] = {'x', 'y', 'z', 0};
++ size_t len;
++
++ len = strlcat(dst, src, sizeof(dst));
++ printf("%s %zu\n", dst, len);
++}
++
++int main(void) {
++ test1();
++ test2();
++ test3();
++ test4();
++
++ // CHECK: abc 3 abc 3 xyz 3 0
++
++ return 0;
++}
diff --git a/compiler-rt-netbsd/patches/patch-test_scudo_lit.cfg b/compiler-rt-netbsd/patches/patch-test_scudo_lit.cfg
index d7ed5251e6..9a7dd7038a 100644
--- a/compiler-rt-netbsd/patches/patch-test_scudo_lit.cfg
+++ b/compiler-rt-netbsd/patches/patch-test_scudo_lit.cfg
@@ -1,6 +1,6 @@
$NetBSD$
---- test/scudo/lit.cfg.orig 2018-01-20 14:37:44.075290564 +0000
+--- test/scudo/lit.cfg.orig 2018-01-20 14:37:44.000000000 +0000
+++ test/scudo/lit.cfg
@@ -21,9 +21,11 @@ c_flags = ([config.target_cflags] +
"-pie",
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
index c2090b396b..62eebb2781 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
@@ -1,6 +1,6 @@
$NetBSD$
---- utils/generate_netbsd_ioctls.awk.orig 2018-01-20 14:39:09.262418467 +0000
+--- utils/generate_netbsd_ioctls.awk.orig 2018-01-20 18:02:45.608298460 +0000
+++ utils/generate_netbsd_ioctls.awk
@@ -0,0 +1,755 @@
+#!/usr/bin/awk -f
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
index 3c2a21b646..209fff194b 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
@@ -1,6 +1,6 @@
$NetBSD$
---- utils/generate_netbsd_syscalls.awk.orig 2018-01-20 14:39:09.263158156 +0000
+--- utils/generate_netbsd_syscalls.awk.orig 2018-01-20 18:02:45.609058962 +0000
+++ utils/generate_netbsd_syscalls.awk
@@ -0,0 +1,2989 @@
+#!/usr/bin/awk -f
Home |
Main Index |
Thread Index |
Old Index