From cb14b65e0844c5e5f16f36d0b98689edeaa43c39 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Sun, 3 May 2020 21:10:55 -0700 Subject: [PATCH] fix boilerplate --- pkg/util/groupids_cgo.go | 16 ++++++++++++++++ pkg/util/groupids_fallback.go | 16 ++++++++++++++++ pkg/util/syscall_credentials.go | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/pkg/util/groupids_cgo.go b/pkg/util/groupids_cgo.go index f97af9536..1ff80006b 100644 --- a/pkg/util/groupids_cgo.go +++ b/pkg/util/groupids_cgo.go @@ -1,6 +1,22 @@ // +build linux darwin // +build cgo +/* +Copyright 2020 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package util import ( diff --git a/pkg/util/groupids_fallback.go b/pkg/util/groupids_fallback.go index d38995e66..3c9868e03 100644 --- a/pkg/util/groupids_fallback.go +++ b/pkg/util/groupids_fallback.go @@ -1,6 +1,22 @@ // +build linux darwin // +build !cgo +/* +Copyright 2020 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package util import ( diff --git a/pkg/util/syscall_credentials.go b/pkg/util/syscall_credentials.go index 4320650a1..f0a2a3406 100644 --- a/pkg/util/syscall_credentials.go +++ b/pkg/util/syscall_credentials.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package util import (