aboutsummaryrefslogtreecommitdiff
path: root/sys/security/audit
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:43:44 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:43:44 +0000
commit51369649b03ece2aed3eb61b0c8214b9aa5b2fa2 (patch)
tree645c2905a7f379f437a29af98a1c312cedb94482 /sys/security/audit
parent7282444b103e0b3e7c8cd053413ff6c068831cc6 (diff)
downloadsrc-51369649b03ece2aed3eb61b0c8214b9aa5b2fa2.tar.gz
src-51369649b03ece2aed3eb61b0c8214b9aa5b2fa2.zip
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
Notes
Notes: svn path=/head/; revision=326023
Diffstat (limited to 'sys/security/audit')
-rw-r--r--sys/security/audit/audit.c2
-rw-r--r--sys/security/audit/audit.h2
-rw-r--r--sys/security/audit/audit_arg.c2
-rw-r--r--sys/security/audit/audit_bsm.c2
-rw-r--r--sys/security/audit/audit_bsm_klib.c4
-rw-r--r--sys/security/audit/audit_private.h2
-rw-r--r--sys/security/audit/audit_syscalls.c2
-rw-r--r--sys/security/audit/audit_worker.c2
-rw-r--r--sys/security/audit/bsm_domain.c2
-rw-r--r--sys/security/audit/bsm_errno.c2
-rw-r--r--sys/security/audit/bsm_fcntl.c2
-rw-r--r--sys/security/audit/bsm_socket_type.c2
-rw-r--r--sys/security/audit/bsm_token.c2
13 files changed, 27 insertions, 1 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index f42f7b1245f5..87ceeb670e76 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2005 Apple Inc.
* Copyright (c) 2006-2007, 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h
index 12cda7b59cac..055194d3a88d 100644
--- a/sys/security/audit/audit.h
+++ b/sys/security/audit/audit.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2005 Apple Inc.
* Copyright (c) 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_arg.c b/sys/security/audit/audit_arg.c
index 0c106bfecbd1..de3ca87ac3a2 100644
--- a/sys/security/audit/audit_arg.c
+++ b/sys/security/audit/audit_arg.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2005 Apple Inc.
* Copyright (c) 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index 35671b1b51f5..829d97d79b3d 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -1,4 +1,6 @@
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2009 Apple Inc.
* Copyright (c) 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_bsm_klib.c b/sys/security/audit/audit_bsm_klib.c
index 6660012e87a3..36868f320674 100644
--- a/sys/security/audit/audit_bsm_klib.c
+++ b/sys/security/audit/audit_bsm_klib.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2009 Apple Inc.
* Copyright (c) 2005, 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_private.h b/sys/security/audit/audit_private.h
index 3d99635f7de0..210af1c30e1c 100644
--- a/sys/security/audit/audit_private.h
+++ b/sys/security/audit/audit_private.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2009 Apple Inc.
* Copyright (c) 2016-2017 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c
index 4c656c14a068..15f6623ac515 100644
--- a/sys/security/audit/audit_syscalls.c
+++ b/sys/security/audit/audit_syscalls.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2009 Apple Inc.
* Copyright (c) 2016 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c
index 149d87248848..fa6fe66db259 100644
--- a/sys/security/audit/audit_worker.c
+++ b/sys/security/audit/audit_worker.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999-2008 Apple Inc.
* Copyright (c) 2006-2008, 2016 Robert N. M. Watson
* All rights reserved.
diff --git a/sys/security/audit/bsm_domain.c b/sys/security/audit/bsm_domain.c
index 8119956f4fff..1c381e3cc3a9 100644
--- a/sys/security/audit/bsm_domain.c
+++ b/sys/security/audit/bsm_domain.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2008 Apple Inc.
* All rights reserved.
*
diff --git a/sys/security/audit/bsm_errno.c b/sys/security/audit/bsm_errno.c
index 95060251b91e..fc069a7568f8 100644
--- a/sys/security/audit/bsm_errno.c
+++ b/sys/security/audit/bsm_errno.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2008 Apple Inc.
* All rights reserved.
*
diff --git a/sys/security/audit/bsm_fcntl.c b/sys/security/audit/bsm_fcntl.c
index e29f11a056d8..fec1e82b4c34 100644
--- a/sys/security/audit/bsm_fcntl.c
+++ b/sys/security/audit/bsm_fcntl.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2008-2009 Apple Inc.
* All rights reserved.
*
diff --git a/sys/security/audit/bsm_socket_type.c b/sys/security/audit/bsm_socket_type.c
index afa8e6ce1a95..640a5120783c 100644
--- a/sys/security/audit/bsm_socket_type.c
+++ b/sys/security/audit/bsm_socket_type.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2008 Apple Inc.
* All rights reserved.
*
diff --git a/sys/security/audit/bsm_token.c b/sys/security/audit/bsm_token.c
index 84f4fce43001..05a1dcff93f7 100644
--- a/sys/security/audit/bsm_token.c
+++ b/sys/security/audit/bsm_token.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2004-2009 Apple Inc.
* Copyright (c) 2005 SPARTA, Inc.
* All rights reserved.