From 135c18aadb0147f93d3e2658e42fc7a479b9ad04 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 18 Feb 2020 16:02:42 +0100 Subject: tools: add script that checks copyright headers Fixes #1604 --- sys/freebsd/pf.txt | 3 ++- sys/fuchsia/ddk.txt | 3 +++ sys/fuchsia/hypervisor_guests.txt | 3 +++ sys/linux/dev_infiniband_rdma.txt | 3 +-- sys/linux/dev_video4linux.txt | 2 +- sys/linux/mptcp.txt | 2 +- sys/linux/socket_netlink_generic_team.txt | 2 +- sys/openbsd/init_test.go | 3 +++ sys/openbsd/kqueue.txt | 3 +++ sys/windows/windows.txt | 2 +- 10 files changed, 19 insertions(+), 7 deletions(-) (limited to 'sys') 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 include 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 include 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 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 include include 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() -- cgit mrf-deployment