include: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2024-10-04 08:18:42 +08:00
committed by Xiang Xiao
parent e959e0062e
commit cd2fcf5252
814 changed files with 1755 additions and 479 deletions
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/boardctl.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/custom_file.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/endian.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -2
View File
@@ -1,8 +1,9 @@
/****************************************************************************
* include/sys/epoll.h
*
* Copyright (C) 2015 Anton D. Kachalov. All rights reserved.
* Author: Anton D. Kachalov <mouse@mayc.ru>
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: 2015 Anton D. Kachalov. All rights reserved.
* SPDX-FileContributor: Anton D. Kachalov <mouse@mayc.ru>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/eventfd.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/file.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/inotify.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/ioctl.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/ipc.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/mman.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/mount.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/msg.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/param.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/pciio.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/poll.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/prctl.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+4 -5
View File
@@ -1,10 +1,10 @@
/****************************************************************************
* include/sys/queue.h
* $OpenBSD: queue.h,v 1.46 2020/12/30 13:33:12 millert Exp $
* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $
*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: 1991, 1993 The Regents of the University of California.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -30,7 +30,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)queue.h 8.5 (Berkeley) 8/20/94
****************************************************************************/
#ifndef __INCLUDE_SYS_QUEUE_H
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/random.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/resource.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/select.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/sendfile.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/shm.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/signalfd.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/socket.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/sockio.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/stat.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/statfs.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/statvfs.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,6 +1,7 @@
/****************************************************************************
* include/sys/syscall.h
* This file contains the system call numbers.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/syscall_lookup.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/sysinfo.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/sysmacros.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/time.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/timerfd.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/times.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -1
View File
@@ -1,7 +1,9 @@
/****************************************************************************
* include/sys/tree.h
*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* SPDX-License-Identifier: BSD-2-Clause
* SPDX-FileCopyrightText: 2002 Niels Provos <provos@citi.umich.edu>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/types.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+5 -4
View File
@@ -1,10 +1,11 @@
/****************************************************************************
* include/sys/uio.h
*
* Copyright (C) 2017 Grefory Nutt. All rights reserved.
* Copyright (C) 2015 Stavros Polymenis. All rights reserved.
* Author: Stavros Polymenis <sp@orbitalfox.com>
* Gregory Nutt <gnutt@nuttx.org>
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: 2017 Grefory Nutt. All rights reserved.
* SPDX-FileCopyrightText 2015 Stavros Polymenis. All rights reserved.
* SPDX-FileContributor: Stavros Polymenis <sp@orbitalfox.com>
* SPDX-FileContributor: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/un.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -2
View File
@@ -1,8 +1,9 @@
/****************************************************************************
* include/sys/utsname.h
*
* Copyright (C) 2015 Stavros Polymenis. All rights reserved.
* Author: Stavros Polymenis <sp@orbitalfox.com>
* SPDX-License-Identifier: BSD-2-Clause
* SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved.
* SPDX-FileContributor: Stavros Polymenis <sp@orbitalfox.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/vfs.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/video_controls.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/videoio.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* include/sys/wait.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The