aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-02-18 16:02:42 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-02-18 16:05:10 +0100
commit135c18aadb0147f93d3e2658e42fc7a479b9ad04 (patch)
tree74ba2b3a708ebe1f06a79adb73e4b44785ba4d95 /sys
parent012fbc3229ebef871a201ea431b16610e6e0d345 (diff)
tools: add script that checks copyright headers
Fixes #1604
Diffstat (limited to 'sys')
-rw-r--r--sys/freebsd/pf.txt3
-rw-r--r--sys/fuchsia/ddk.txt3
-rw-r--r--sys/fuchsia/hypervisor_guests.txt3
-rw-r--r--sys/linux/dev_infiniband_rdma.txt3
-rw-r--r--sys/linux/dev_video4linux.txt2
-rw-r--r--sys/linux/mptcp.txt2
-rw-r--r--sys/linux/socket_netlink_generic_team.txt2
-rw-r--r--sys/openbsd/init_test.go3
-rw-r--r--sys/openbsd/kqueue.txt3
-rw-r--r--sys/windows/windows.txt2
10 files changed, 19 insertions, 7 deletions
diff --git a/sys/freebsd/pf.txt b/sys/freebsd/pf.txt
index 2197a2e71..d2c3084c7 100644
--- a/sys/freebsd/pf.txt
+++ b/sys/freebsd/pf.txt
@@ -1,4 +1,5 @@
-##
+# Copyright 2019 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
include <sys/param.h>
include <sys/socket.h>
diff --git a/sys/fuchsia/ddk.txt b/sys/fuchsia/ddk.txt
index fc6569d19..62c2236d2 100644
--- a/sys/fuchsia/ddk.txt
+++ b/sys/fuchsia/ddk.txt
@@ -1,3 +1,6 @@
+# Copyright 2018 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
include <zircon/syscalls.h>
include <zircon/types.h>
diff --git a/sys/fuchsia/hypervisor_guests.txt b/sys/fuchsia/hypervisor_guests.txt
index 42f323f8c..a5e2a4f78 100644
--- a/sys/fuchsia/hypervisor_guests.txt
+++ b/sys/fuchsia/hypervisor_guests.txt
@@ -1,3 +1,6 @@
+# Copyright 2018 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
include <zircon/syscalls.h>
resource zx_guest[intptr]
diff --git a/sys/linux/dev_infiniband_rdma.txt b/sys/linux/dev_infiniband_rdma.txt
index 1376f5141..a8e24c16d 100644
--- a/sys/linux/dev_infiniband_rdma.txt
+++ b/sys/linux/dev_infiniband_rdma.txt
@@ -1,6 +1,5 @@
# Copyright 2019 syzkaller project authors. All rights reserved.
-# Use of this source code is governed by Apache 2 LICENSE that can be found
-# in the LICENSE file.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# TODO: This needs some fixups according to PR review:
# https://github.com/google/syzkaller/pull/1053
diff --git a/sys/linux/dev_video4linux.txt b/sys/linux/dev_video4linux.txt
index d7bd586ed..92fc34c7f 100644
--- a/sys/linux/dev_video4linux.txt
+++ b/sys/linux/dev_video4linux.txt
@@ -1,5 +1,5 @@
# Copyright 2018 syzkaller project authors. All rights reserved.
-# # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# Constants for this descriptions were generated on the following tree:
# https://source.codeaurora.org/quic/la/kernel/msm-4.9 msm-4.9
diff --git a/sys/linux/mptcp.txt b/sys/linux/mptcp.txt
index 76755e385..a55088b35 100644
--- a/sys/linux/mptcp.txt
+++ b/sys/linux/mptcp.txt
@@ -1,5 +1,5 @@
# Copyright 2018 syzkaller project authors. All rights reserved.
-# # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# TCP Extensions for Multipath Operation with Multiple Addresses
# https://tools.ietf.org/html/rfc6824
diff --git a/sys/linux/socket_netlink_generic_team.txt b/sys/linux/socket_netlink_generic_team.txt
index d671af833..fd889d3c4 100644
--- a/sys/linux/socket_netlink_generic_team.txt
+++ b/sys/linux/socket_netlink_generic_team.txt
@@ -1,5 +1,5 @@
# Copyright 2018 syzkaller project authors. All rights reserved.
-# Use of this source code is governed by Apache 2 LICENSE that can be teamnd in the LICENSE file.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# AF_NETLINK/NETLINK_GENERIC/team support.
diff --git a/sys/openbsd/init_test.go b/sys/openbsd/init_test.go
index 186b199c0..fa6ffcb94 100644
--- a/sys/openbsd/init_test.go
+++ b/sys/openbsd/init_test.go
@@ -1,3 +1,6 @@
+// Copyright 2019 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
package openbsd_test
import (
diff --git a/sys/openbsd/kqueue.txt b/sys/openbsd/kqueue.txt
index f66b584b2..0ffc5ca8e 100644
--- a/sys/openbsd/kqueue.txt
+++ b/sys/openbsd/kqueue.txt
@@ -1,3 +1,6 @@
+# Copyright 2018 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
include <sys/types.h>
include <sys/event.h>
include <sys/time.h>
diff --git a/sys/windows/windows.txt b/sys/windows/windows.txt
index c447785ee..74469de86 100644
--- a/sys/windows/windows.txt
+++ b/sys/windows/windows.txt
@@ -1,4 +1,4 @@
-# This was autogenerated with tools/syz-declextract.
+# AUTOGENERATED FILE with tools/syz-declextract.
VerSetConditionMask(ConditionMask int64, TypeMask int32, Condition int8)
GetEnvironmentStrings()