Skip to content

Commit

Permalink
repo: add mpl copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig committed Oct 31, 2023
1 parent 5aabe7b commit 530cf38
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
schema_version = 1

project {
license = "MPL-2.0"
copyright_holder = "Seth Hoenig"
copyright_year = 2022
header_ignore = [
".golangci.yaml",
".goreleaser.yaml",
".copywrite.hcl",
".github/**",
]
}

3 changes: 3 additions & 0 deletions available_default.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build !linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions available_default_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build !linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions available_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions available_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions landlock.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

// Package landlock provides a Go library for using the
// landlock feature of the modern Linux kernel.
//
Expand Down
3 changes: 3 additions & 0 deletions landlock_default.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build !linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions landlock_default_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build !linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions landlock_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions landlock_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions path.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

package landlock

import (
Expand Down
3 changes: 3 additions & 0 deletions path_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions path_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

package landlock

import (
Expand Down
3 changes: 3 additions & 0 deletions syscall_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions syscall_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Seth Hoenig
// SPDX-License-Identifier: MPL-2.0

//go:build linux

package landlock
Expand Down
3 changes: 3 additions & 0 deletions tests/fruits/hello.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env bash
# Copyright (c) Seth Hoenig
# SPDX-License-Identifier: MPL-2.0


echo -n "so you like fruit?"

0 comments on commit 530cf38

Please sign in to comment.