diff --git a/fs/CMakeLists.txt b/fs/CMakeLists.txt index abdaa0f078..eced35e6f7 100644 --- a/fs/CMakeLists.txt +++ b/fs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/Make.defs b/fs/Make.defs new file mode 100644 index 0000000000..00739fab5d --- /dev/null +++ b/fs/Make.defs @@ -0,0 +1,21 @@ +# ############################################################################## +# fs/Make.defs +# +# 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 ASF licenses this +# file to you 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. +# +# ############################################################################## diff --git a/fs/Makefile b/fs/Makefile index d0370e87b6..e2879e437c 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -1,6 +1,8 @@ ############################################################################ # fs/Makefile # +# 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 diff --git a/fs/aio/CMakeLists.txt b/fs/aio/CMakeLists.txt index 5c5bd47152..835a379438 100644 --- a/fs/aio/CMakeLists.txt +++ b/fs/aio/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/aio/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/aio/Make.defs b/fs/aio/Make.defs index 4dd8b22c6f..48862477e4 100644 --- a/fs/aio/Make.defs +++ b/fs/aio/Make.defs @@ -1,15 +1,17 @@ ############################################################################ # fs/aio/Make.defs # +# 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 # ASF licenses this file to you 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 diff --git a/fs/aio/aio_cancel.c b/fs/aio/aio_cancel.c index a3a6ca9cd9..ceb31dd4a4 100644 --- a/fs/aio/aio_cancel.c +++ b/fs/aio/aio_cancel.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_cancel.c * + * 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 diff --git a/fs/aio/aio_fsync.c b/fs/aio/aio_fsync.c index 9c2075a6c1..28ed46a46e 100644 --- a/fs/aio/aio_fsync.c +++ b/fs/aio/aio_fsync.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_fsync.c * + * 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 diff --git a/fs/aio/aio_initialize.c b/fs/aio/aio_initialize.c index b611e4289a..8364cbc33d 100644 --- a/fs/aio/aio_initialize.c +++ b/fs/aio/aio_initialize.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_initialize.c * + * 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 diff --git a/fs/aio/aio_queue.c b/fs/aio/aio_queue.c index 719d40fd52..67b00c2caa 100644 --- a/fs/aio/aio_queue.c +++ b/fs/aio/aio_queue.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_queue.c * + * 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 diff --git a/fs/aio/aio_read.c b/fs/aio/aio_read.c index 468934bf80..a472e5cdd1 100644 --- a/fs/aio/aio_read.c +++ b/fs/aio/aio_read.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_read.c * + * 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 diff --git a/fs/aio/aio_signal.c b/fs/aio/aio_signal.c index f0ba64a8c6..d41224c31d 100644 --- a/fs/aio/aio_signal.c +++ b/fs/aio/aio_signal.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_signal.c * + * 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 diff --git a/fs/aio/aio_write.c b/fs/aio/aio_write.c index 829d1de019..9677894a0b 100644 --- a/fs/aio/aio_write.c +++ b/fs/aio/aio_write.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aio_write.c * + * 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 diff --git a/fs/aio/aioc_contain.c b/fs/aio/aioc_contain.c index 42cb5424a0..283d5b01c5 100644 --- a/fs/aio/aioc_contain.c +++ b/fs/aio/aioc_contain.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/aio/aioc_contain.c * + * 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 diff --git a/fs/binfs/CMakeLists.txt b/fs/binfs/CMakeLists.txt index 178382efc1..918867dff9 100644 --- a/fs/binfs/CMakeLists.txt +++ b/fs/binfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/binfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/binfs/Make.defs b/fs/binfs/Make.defs index 5c6e822809..600b04ade5 100644 --- a/fs/binfs/Make.defs +++ b/fs/binfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/binfs/Make.defs # +# 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 diff --git a/fs/binfs/fs_binfs.c b/fs/binfs/fs_binfs.c index 0bcdef535f..945ede5c98 100644 --- a/fs/binfs/fs_binfs.c +++ b/fs/binfs/fs_binfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/binfs/fs_binfs.c * + * 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 diff --git a/fs/cromfs/CMakeLists.txt b/fs/cromfs/CMakeLists.txt index f9b79fffd4..72fe37dfec 100644 --- a/fs/cromfs/CMakeLists.txt +++ b/fs/cromfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/cromfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/cromfs/Make.defs b/fs/cromfs/Make.defs index 38a4e75fbd..607d67534b 100644 --- a/fs/cromfs/Make.defs +++ b/fs/cromfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/cromfs/Make.defs # +# 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 diff --git a/fs/cromfs/cromfs.h b/fs/cromfs/cromfs.h index a50135ba74..ce581ed784 100644 --- a/fs/cromfs/cromfs.h +++ b/fs/cromfs/cromfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/cromfs/cromfs.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 diff --git a/fs/cromfs/fs_cromfs.c b/fs/cromfs/fs_cromfs.c index 79cfafc01a..d30fa8ccac 100644 --- a/fs/cromfs/fs_cromfs.c +++ b/fs/cromfs/fs_cromfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/cromfs/fs_cromfs.c * + * 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 diff --git a/fs/driver/CMakeLists.txt b/fs/driver/CMakeLists.txt index 30056cd659..74d4381b5e 100644 --- a/fs/driver/CMakeLists.txt +++ b/fs/driver/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/driver/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/driver/Make.defs b/fs/driver/Make.defs index e0e9fcf5d9..452b933930 100644 --- a/fs/driver/Make.defs +++ b/fs/driver/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/driver/Make.defs # +# 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 diff --git a/fs/driver/driver.h b/fs/driver/driver.h index 05d719821f..7f89ccfca9 100644 --- a/fs/driver/driver.h +++ b/fs/driver/driver.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/driver.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 diff --git a/fs/driver/fs_blockpartition.c b/fs/driver/fs_blockpartition.c index 45a6852b55..005bf4e9de 100644 --- a/fs/driver/fs_blockpartition.c +++ b/fs/driver/fs_blockpartition.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_blockpartition.c * + * 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 diff --git a/fs/driver/fs_blockproxy.c b/fs/driver/fs_blockproxy.c index 95dc376ce4..5db3752f61 100644 --- a/fs/driver/fs_blockproxy.c +++ b/fs/driver/fs_blockproxy.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_blockproxy.c * + * 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 diff --git a/fs/driver/fs_closeblockdriver.c b/fs/driver/fs_closeblockdriver.c index 2493b5858a..6b04f17b03 100644 --- a/fs/driver/fs_closeblockdriver.c +++ b/fs/driver/fs_closeblockdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_closeblockdriver.c * + * 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 diff --git a/fs/driver/fs_closemtddriver.c b/fs/driver/fs_closemtddriver.c index 3d9d6922a7..3b8735eb63 100644 --- a/fs/driver/fs_closemtddriver.c +++ b/fs/driver/fs_closemtddriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_closemtddriver.c * + * 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 diff --git a/fs/driver/fs_findblockdriver.c b/fs/driver/fs_findblockdriver.c index a0b86a3ae7..894088cf45 100644 --- a/fs/driver/fs_findblockdriver.c +++ b/fs/driver/fs_findblockdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_findblockdriver.c * + * 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 diff --git a/fs/driver/fs_findmtddriver.c b/fs/driver/fs_findmtddriver.c index ed6a9555e6..f6ccf4ec19 100644 --- a/fs/driver/fs_findmtddriver.c +++ b/fs/driver/fs_findmtddriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_findmtddriver.c * + * 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 diff --git a/fs/driver/fs_mtdpartition.c b/fs/driver/fs_mtdpartition.c index 1641e72370..43ee7b3430 100644 --- a/fs/driver/fs_mtdpartition.c +++ b/fs/driver/fs_mtdpartition.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_mtdpartition.c * + * 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 diff --git a/fs/driver/fs_mtdproxy.c b/fs/driver/fs_mtdproxy.c index c0ecb5a135..659cbb6c40 100644 --- a/fs/driver/fs_mtdproxy.c +++ b/fs/driver/fs_mtdproxy.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_mtdproxy.c * + * 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 diff --git a/fs/driver/fs_openblockdriver.c b/fs/driver/fs_openblockdriver.c index 7f5503a419..7dbb3f5f3a 100644 --- a/fs/driver/fs_openblockdriver.c +++ b/fs/driver/fs_openblockdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_openblockdriver.c * + * 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 diff --git a/fs/driver/fs_registerblockdriver.c b/fs/driver/fs_registerblockdriver.c index 6c9308e407..51798bfc35 100644 --- a/fs/driver/fs_registerblockdriver.c +++ b/fs/driver/fs_registerblockdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_registerblockdriver.c * + * 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 diff --git a/fs/driver/fs_registerdriver.c b/fs/driver/fs_registerdriver.c index d7bdb43f23..eda177d4e6 100644 --- a/fs/driver/fs_registerdriver.c +++ b/fs/driver/fs_registerdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_registerdriver.c * + * 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 diff --git a/fs/driver/fs_registermtddriver.c b/fs/driver/fs_registermtddriver.c index 5d8cff872c..4fc63a7e2c 100644 --- a/fs/driver/fs_registermtddriver.c +++ b/fs/driver/fs_registermtddriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_registermtddriver.c * + * 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 diff --git a/fs/driver/fs_registerpipedriver.c b/fs/driver/fs_registerpipedriver.c index fccb484f2a..9b1dfdeb83 100644 --- a/fs/driver/fs_registerpipedriver.c +++ b/fs/driver/fs_registerpipedriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_registerpipedriver.c * + * 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 diff --git a/fs/driver/fs_unregisterblockdriver.c b/fs/driver/fs_unregisterblockdriver.c index 22df0fed4f..b1c66fac02 100644 --- a/fs/driver/fs_unregisterblockdriver.c +++ b/fs/driver/fs_unregisterblockdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_unregisterblockdriver.c * + * 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 diff --git a/fs/driver/fs_unregisterdriver.c b/fs/driver/fs_unregisterdriver.c index 0dca9584d2..441e397bdb 100644 --- a/fs/driver/fs_unregisterdriver.c +++ b/fs/driver/fs_unregisterdriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_unregisterdriver.c * + * 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 diff --git a/fs/driver/fs_unregistermtddriver.c b/fs/driver/fs_unregistermtddriver.c index 724d569acb..8babd5020d 100644 --- a/fs/driver/fs_unregistermtddriver.c +++ b/fs/driver/fs_unregistermtddriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_unregistermtddriver.c * + * 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 diff --git a/fs/driver/fs_unregisterpipedriver.c b/fs/driver/fs_unregisterpipedriver.c index c89ce1b663..9e530505cb 100644 --- a/fs/driver/fs_unregisterpipedriver.c +++ b/fs/driver/fs_unregisterpipedriver.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/driver/fs_unregisterpipedriver.c * + * 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 diff --git a/fs/event/CMakeLists.txt b/fs/event/CMakeLists.txt index dafb34388e..55d077cb0c 100644 --- a/fs/event/CMakeLists.txt +++ b/fs/event/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/event/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/event/Make.defs b/fs/event/Make.defs index ef2d12a506..19762f6467 100644 --- a/fs/event/Make.defs +++ b/fs/event/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/events/Make.defs # +# 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 diff --git a/fs/event/event.h b/fs/event/event.h index be05e67a52..0434ecc88a 100644 --- a/fs/event/event.h +++ b/fs/event/event.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/event/event.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 diff --git a/fs/event/event_close.c b/fs/event/event_close.c index ae922943c4..1749cf1eda 100644 --- a/fs/event/event_close.c +++ b/fs/event/event_close.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/event/event_close.c * + * 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 diff --git a/fs/event/event_open.c b/fs/event/event_open.c index 2aa5485178..f0b2bf76c5 100644 --- a/fs/event/event_open.c +++ b/fs/event/event_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/event/event_open.c * + * 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 diff --git a/fs/fat/CMakeLists.txt b/fs/fat/CMakeLists.txt index 6e9546881f..a47da476a5 100644 --- a/fs/fat/CMakeLists.txt +++ b/fs/fat/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/fat/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/fat/Make.defs b/fs/fat/Make.defs index 925f851074..8aa605afd0 100644 --- a/fs/fat/Make.defs +++ b/fs/fat/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/fat/Make.defs # +# 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 diff --git a/fs/fat/fs_fat32.c b/fs/fat/fs_fat32.c index 301429bbb4..cc7f4d9696 100644 --- a/fs/fat/fs_fat32.c +++ b/fs/fat/fs_fat32.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fat/fs_fat32.c * + * 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 diff --git a/fs/fat/fs_fat32.h b/fs/fat/fs_fat32.h index 8daa87118f..497994cb03 100644 --- a/fs/fat/fs_fat32.h +++ b/fs/fat/fs_fat32.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fat/fs_fat32.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 diff --git a/fs/fat/fs_fat32attrib.c b/fs/fat/fs_fat32attrib.c index ecc03d0def..6688049223 100644 --- a/fs/fat/fs_fat32attrib.c +++ b/fs/fat/fs_fat32attrib.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fat/fs_fat32attrib.c * + * 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 diff --git a/fs/fat/fs_fat32dirent.c b/fs/fat/fs_fat32dirent.c index 4adb9109ca..9b311f250a 100644 --- a/fs/fat/fs_fat32dirent.c +++ b/fs/fat/fs_fat32dirent.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fat/fs_fat32dirent.c * + * 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 diff --git a/fs/fat/fs_fat32util.c b/fs/fat/fs_fat32util.c index 5e121302de..c03df449c0 100644 --- a/fs/fat/fs_fat32util.c +++ b/fs/fat/fs_fat32util.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fat/fs_fat32util.c * + * 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 diff --git a/fs/fs_heap.c b/fs/fs_heap.c index cf956b8d01..581bd64e69 100644 --- a/fs/fs_heap.c +++ b/fs/fs_heap.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fs_heap.c * + * 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 diff --git a/fs/fs_heap.h b/fs/fs_heap.h index 5dc48dad8e..1586043833 100644 --- a/fs/fs_heap.h +++ b/fs/fs_heap.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fs_heap.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 diff --git a/fs/fs_initialize.c b/fs/fs_initialize.c index d82753920b..3c281fcbf2 100644 --- a/fs/fs_initialize.c +++ b/fs/fs_initialize.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/fs_initialize.c * + * 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 diff --git a/fs/hostfs/CMakeLists.txt b/fs/hostfs/CMakeLists.txt index dcbc26aaee..b920e2c2a8 100644 --- a/fs/hostfs/CMakeLists.txt +++ b/fs/hostfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/hostfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/hostfs/Make.defs b/fs/hostfs/Make.defs index a18589c6bf..101e5a5158 100644 --- a/fs/hostfs/Make.defs +++ b/fs/hostfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/hostfs/Make.defs # +# 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 diff --git a/fs/hostfs/hostfs.c b/fs/hostfs/hostfs.c index 1f34a034f8..e1c693ef04 100644 --- a/fs/hostfs/hostfs.c +++ b/fs/hostfs/hostfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/hostfs/hostfs.c * + * 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 diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h index 015370fea7..096be6ae75 100644 --- a/fs/hostfs/hostfs.h +++ b/fs/hostfs/hostfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/hostfs/hostfs.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 diff --git a/fs/inode/CMakeLists.txt b/fs/inode/CMakeLists.txt index b1301aa5cb..52a12b424d 100644 --- a/fs/inode/CMakeLists.txt +++ b/fs/inode/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/inode/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/inode/Make.defs b/fs/inode/Make.defs index 503cfdcc34..353ed11c3b 100644 --- a/fs/inode/Make.defs +++ b/fs/inode/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/inode/Make.defs # +# 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 diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index afe6766c62..6e4a45a58c 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_files.c * + * 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 diff --git a/fs/inode/fs_foreachinode.c b/fs/inode/fs_foreachinode.c index 17a4f27fcb..d456dcfd69 100644 --- a/fs/inode/fs_foreachinode.c +++ b/fs/inode/fs_foreachinode.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_foreachinode.c * + * 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 diff --git a/fs/inode/fs_inode.c b/fs/inode/fs_inode.c index d2c392af7c..b957a8ccec 100644 --- a/fs/inode/fs_inode.c +++ b/fs/inode/fs_inode.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inode.c * + * 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 diff --git a/fs/inode/fs_inodeaddref.c b/fs/inode/fs_inodeaddref.c index abfb4a77c6..240c0a07b7 100644 --- a/fs/inode/fs_inodeaddref.c +++ b/fs/inode/fs_inodeaddref.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodeaddref.c * + * 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 diff --git a/fs/inode/fs_inodebasename.c b/fs/inode/fs_inodebasename.c index 46af67f239..79b2568d38 100644 --- a/fs/inode/fs_inodebasename.c +++ b/fs/inode/fs_inodebasename.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodebasename.c * + * 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 diff --git a/fs/inode/fs_inodefind.c b/fs/inode/fs_inodefind.c index ccf2e46546..f53b502b4e 100644 --- a/fs/inode/fs_inodefind.c +++ b/fs/inode/fs_inodefind.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodefind.c * + * 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 diff --git a/fs/inode/fs_inodefree.c b/fs/inode/fs_inodefree.c index 99e6ee487f..7b7fc314c8 100644 --- a/fs/inode/fs_inodefree.c +++ b/fs/inode/fs_inodefree.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodefree.c * + * 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 diff --git a/fs/inode/fs_inodegetpath.c b/fs/inode/fs_inodegetpath.c index 2142f3dbf7..5f76858ab2 100644 --- a/fs/inode/fs_inodegetpath.c +++ b/fs/inode/fs_inodegetpath.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodegetpath.c * + * 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 diff --git a/fs/inode/fs_inoderelease.c b/fs/inode/fs_inoderelease.c index 0c5a680c66..214fa98d59 100644 --- a/fs/inode/fs_inoderelease.c +++ b/fs/inode/fs_inoderelease.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inoderelease.c * + * 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 diff --git a/fs/inode/fs_inoderemove.c b/fs/inode/fs_inoderemove.c index 83e5b85bea..792eabe0a5 100644 --- a/fs/inode/fs_inoderemove.c +++ b/fs/inode/fs_inoderemove.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inoderemove.c * + * 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 diff --git a/fs/inode/fs_inodereserve.c b/fs/inode/fs_inodereserve.c index 13498373f9..35fae49dd7 100644 --- a/fs/inode/fs_inodereserve.c +++ b/fs/inode/fs_inodereserve.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodereserve.c * + * 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 diff --git a/fs/inode/fs_inodesearch.c b/fs/inode/fs_inodesearch.c index baaf33af34..1aecb529ad 100644 --- a/fs/inode/fs_inodesearch.c +++ b/fs/inode/fs_inodesearch.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/fs_inodesearch.c * + * 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 diff --git a/fs/inode/inode.h b/fs/inode/inode.h index ad0c2b0bdf..0eb860a934 100644 --- a/fs/inode/inode.h +++ b/fs/inode/inode.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/inode/inode.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 diff --git a/fs/littlefs/CMakeLists.txt b/fs/littlefs/CMakeLists.txt index cfae1838eb..fcc269c991 100644 --- a/fs/littlefs/CMakeLists.txt +++ b/fs/littlefs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/littlefs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/littlefs/Make.defs b/fs/littlefs/Make.defs index 992574b130..70b6a79bcb 100644 --- a/fs/littlefs/Make.defs +++ b/fs/littlefs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/littlefs/Make.defs # +# 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 diff --git a/fs/littlefs/lfs_vfs.c b/fs/littlefs/lfs_vfs.c index 167ed09347..ff61509399 100644 --- a/fs/littlefs/lfs_vfs.c +++ b/fs/littlefs/lfs_vfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/littlefs/lfs_vfs.c * + * 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 diff --git a/fs/littlefs/lfs_vfs.h b/fs/littlefs/lfs_vfs.h index 7b621e6f06..56311669a9 100644 --- a/fs/littlefs/lfs_vfs.h +++ b/fs/littlefs/lfs_vfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/littlefs/lfs_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 diff --git a/fs/mmap/CMakeLists.txt b/fs/mmap/CMakeLists.txt index d788cf02b1..fcd5f956a4 100644 --- a/fs/mmap/CMakeLists.txt +++ b/fs/mmap/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/mmap/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/mmap/Make.defs b/fs/mmap/Make.defs index 09d757f899..88be6c1576 100644 --- a/fs/mmap/Make.defs +++ b/fs/mmap/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/mmap/Make.defs # +# 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 diff --git a/fs/mmap/fs_anonmap.c b/fs/mmap/fs_anonmap.c index 02038b0222..2eacc93c03 100644 --- a/fs/mmap/fs_anonmap.c +++ b/fs/mmap/fs_anonmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_anonmap.c * + * 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 diff --git a/fs/mmap/fs_anonmap.h b/fs/mmap/fs_anonmap.h index 6415d15b09..b00ff8bd80 100644 --- a/fs/mmap/fs_anonmap.h +++ b/fs/mmap/fs_anonmap.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_anonmap.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 diff --git a/fs/mmap/fs_mmap.c b/fs/mmap/fs_mmap.c index e1ee0ee89f..9b8263c953 100644 --- a/fs/mmap/fs_mmap.c +++ b/fs/mmap/fs_mmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_mmap.c * + * 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 diff --git a/fs/mmap/fs_mmisc.c b/fs/mmap/fs_mmisc.c index a7ede82060..658e8cae5a 100644 --- a/fs/mmap/fs_mmisc.c +++ b/fs/mmap/fs_mmisc.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_mmisc.c * + * 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 diff --git a/fs/mmap/fs_msync.c b/fs/mmap/fs_msync.c index f2efe33c2e..823770fe2e 100644 --- a/fs/mmap/fs_msync.c +++ b/fs/mmap/fs_msync.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_msync.c * + * 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 diff --git a/fs/mmap/fs_munmap.c b/fs/mmap/fs_munmap.c index e07fdf4469..7dbc492183 100644 --- a/fs/mmap/fs_munmap.c +++ b/fs/mmap/fs_munmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_munmap.c * + * 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 diff --git a/fs/mmap/fs_rammap.c b/fs/mmap/fs_rammap.c index cfe96d5393..f91f6b9599 100644 --- a/fs/mmap/fs_rammap.c +++ b/fs/mmap/fs_rammap.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_rammap.c * + * 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 diff --git a/fs/mmap/fs_rammap.h b/fs/mmap/fs_rammap.h index 9833c8f899..7c46a21509 100644 --- a/fs/mmap/fs_rammap.h +++ b/fs/mmap/fs_rammap.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mmap/fs_rammap.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 diff --git a/fs/mnemofs/CMakeLists.txt b/fs/mnemofs/CMakeLists.txt index 1ed0b9147e..059b0ec102 100644 --- a/fs/mnemofs/CMakeLists.txt +++ b/fs/mnemofs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/mnemofs/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause +# # 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 ASF licenses this diff --git a/fs/mnemofs/Make.defs b/fs/mnemofs/Make.defs index ad98a7af72..b3daca808d 100644 --- a/fs/mnemofs/Make.defs +++ b/fs/mnemofs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/mnemofs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause +# # 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 @@ -66,4 +68,4 @@ CSRCS += mnemofs.c DEPPATH += --dep-path mnemofs VPATH += :mnemofs -endif \ No newline at end of file +endif diff --git a/fs/mnemofs/mnemofs.c b/fs/mnemofs/mnemofs.c index 6445f10465..42f9ebf5c8 100644 --- a/fs/mnemofs/mnemofs.c +++ b/fs/mnemofs/mnemofs.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs.c - * mnemofs: Filesystem for NAND Flash storage devices. + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs.h b/fs/mnemofs/mnemofs.h index 41028364a9..357fabccc8 100644 --- a/fs/mnemofs/mnemofs.h +++ b/fs/mnemofs/mnemofs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mnemofs/mnemofs.h * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause + * * 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 diff --git a/fs/mnemofs/mnemofs_blkalloc.c b/fs/mnemofs/mnemofs_blkalloc.c index 90e6176d5e..fdf972125b 100644 --- a/fs/mnemofs/mnemofs_blkalloc.c +++ b/fs/mnemofs/mnemofs_blkalloc.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_blkalloc.c - * Block Allocator for mnemofs + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs_ctz.c b/fs/mnemofs/mnemofs_ctz.c index faf3e72a25..2c6f7bdceb 100644 --- a/fs/mnemofs/mnemofs_ctz.c +++ b/fs/mnemofs/mnemofs_ctz.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mnemofs/mnemofs_ctz.c * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause + * * 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 diff --git a/fs/mnemofs/mnemofs_fsobj.c b/fs/mnemofs/mnemofs_fsobj.c index fa634be4aa..71ddd68007 100644 --- a/fs/mnemofs/mnemofs_fsobj.c +++ b/fs/mnemofs/mnemofs_fsobj.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mnemofs/mnemofs_fsobj.c * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause + * * 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 diff --git a/fs/mnemofs/mnemofs_journal.c b/fs/mnemofs/mnemofs_journal.c index 7d13ddc290..8a3159259f 100644 --- a/fs/mnemofs/mnemofs_journal.c +++ b/fs/mnemofs/mnemofs_journal.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_journal.c - * Journal of mnemofs. + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs_lru.c b/fs/mnemofs/mnemofs_lru.c index 2f61b18b07..5199bbf4a2 100644 --- a/fs/mnemofs/mnemofs_lru.c +++ b/fs/mnemofs/mnemofs_lru.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_lru.c - * LRU cache of mnemofs. + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs_master.c b/fs/mnemofs/mnemofs_master.c index 8b1dbf7d27..4f90735b5e 100644 --- a/fs/mnemofs/mnemofs_master.c +++ b/fs/mnemofs/mnemofs_master.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_master.c - * Master node of mnemofs. + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs_rw.c b/fs/mnemofs/mnemofs_rw.c index 6250ea9f15..bc596937e8 100644 --- a/fs/mnemofs/mnemofs_rw.c +++ b/fs/mnemofs/mnemofs_rw.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_rw.c - * Read/Write utilities for mnemofs + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mnemofs/mnemofs_util.c b/fs/mnemofs/mnemofs_util.c index e8fd5f10b2..b6edb9cf19 100644 --- a/fs/mnemofs/mnemofs_util.c +++ b/fs/mnemofs/mnemofs_util.c @@ -1,6 +1,7 @@ /**************************************************************************** * fs/mnemofs/mnemofs_util.c - * Utilities for mnemofs + * + * SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/fs/mount/CMakeLists.txt b/fs/mount/CMakeLists.txt index f50d991f9a..f02cae57a3 100644 --- a/fs/mount/CMakeLists.txt +++ b/fs/mount/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/mount/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/mount/Make.defs b/fs/mount/Make.defs index b19d4a60fc..181613283d 100644 --- a/fs/mount/Make.defs +++ b/fs/mount/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/mount/Make.defs # +# 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 diff --git a/fs/mount/fs_automount.c b/fs/mount/fs_automount.c index a18c2279bc..cdcd510e3d 100644 --- a/fs/mount/fs_automount.c +++ b/fs/mount/fs_automount.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_automount.c * + * 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 diff --git a/fs/mount/fs_foreachmountpoint.c b/fs/mount/fs_foreachmountpoint.c index 7214228bc0..a2f304c7f5 100644 --- a/fs/mount/fs_foreachmountpoint.c +++ b/fs/mount/fs_foreachmountpoint.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_foreachmountpoint.c * + * 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 diff --git a/fs/mount/fs_gettype.c b/fs/mount/fs_gettype.c index fce945784c..ff01f78183 100644 --- a/fs/mount/fs_gettype.c +++ b/fs/mount/fs_gettype.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_gettype.c * + * 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 diff --git a/fs/mount/fs_mount.c b/fs/mount/fs_mount.c index 7bceed549f..1d852bee72 100644 --- a/fs/mount/fs_mount.c +++ b/fs/mount/fs_mount.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_mount.c * + * 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 diff --git a/fs/mount/fs_procfs_mount.c b/fs/mount/fs_procfs_mount.c index 0a6b0c7937..91392dba69 100644 --- a/fs/mount/fs_procfs_mount.c +++ b/fs/mount/fs_procfs_mount.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_procfs_mount.c * + * 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 diff --git a/fs/mount/fs_umount2.c b/fs/mount/fs_umount2.c index 632f85d4ae..546f6ff98f 100644 --- a/fs/mount/fs_umount2.c +++ b/fs/mount/fs_umount2.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/fs_umount2.c * + * 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 diff --git a/fs/mount/mount.h b/fs/mount/mount.h index dcfd833611..d6a2247f1f 100644 --- a/fs/mount/mount.h +++ b/fs/mount/mount.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mount/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 diff --git a/fs/mqueue/CMakeLists.txt b/fs/mqueue/CMakeLists.txt index 5f7150a2a7..805da116fc 100644 --- a/fs/mqueue/CMakeLists.txt +++ b/fs/mqueue/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/mqueue/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/mqueue/Make.defs b/fs/mqueue/Make.defs index 77263daeb1..2ee6e83f6f 100644 --- a/fs/mqueue/Make.defs +++ b/fs/mqueue/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/mqueue/Make.defs # +# 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 diff --git a/fs/mqueue/mq_close.c b/fs/mqueue/mq_close.c index 9c3b360048..6d12a438ec 100644 --- a/fs/mqueue/mq_close.c +++ b/fs/mqueue/mq_close.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mqueue/mq_close.c * + * 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 diff --git a/fs/mqueue/mq_open.c b/fs/mqueue/mq_open.c index 73eb895c19..d2e5cc79bc 100644 --- a/fs/mqueue/mq_open.c +++ b/fs/mqueue/mq_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mqueue/mq_open.c * + * 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 diff --git a/fs/mqueue/mq_unlink.c b/fs/mqueue/mq_unlink.c index 2148b4895f..fb4d9d1550 100644 --- a/fs/mqueue/mq_unlink.c +++ b/fs/mqueue/mq_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mqueue/mq_unlink.c * + * 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 diff --git a/fs/mqueue/mqueue.h b/fs/mqueue/mqueue.h index 3b7e84ceb0..a3ed24a95f 100644 --- a/fs/mqueue/mqueue.h +++ b/fs/mqueue/mqueue.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/mqueue/mqueue.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 diff --git a/fs/nfs/CMakeLists.txt b/fs/nfs/CMakeLists.txt index affb76ef23..6de78d0281 100644 --- a/fs/nfs/CMakeLists.txt +++ b/fs/nfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/nfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/nfs/Make.defs b/fs/nfs/Make.defs index 4215011b71..781c91a90c 100644 --- a/fs/nfs/Make.defs +++ b/fs/nfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/nfs/Make.defs # +# 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 diff --git a/fs/nfs/nfs.h b/fs/nfs/nfs.h index 2d2061aae1..f7228ea557 100644 --- a/fs/nfs/nfs.h +++ b/fs/nfs/nfs.h @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/nfs.h * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/nfs_mount.h b/fs/nfs/nfs_mount.h index 17660b1fe8..f589000de0 100644 --- a/fs/nfs/nfs_mount.h +++ b/fs/nfs/nfs_mount.h @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/nfs_mount.h * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/nfs_node.h b/fs/nfs/nfs_node.h index ca6303f561..e2e609206a 100644 --- a/fs/nfs/nfs_node.h +++ b/fs/nfs/nfs_node.h @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/nfs_node.h * - * Copyright (C) 2012-2013, 2017 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/nfs_proto.h b/fs/nfs/nfs_proto.h index 11d30cd627..05e7fac0a0 100644 --- a/fs/nfs/nfs_proto.h +++ b/fs/nfs/nfs_proto.h @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/nfs_proto.h * - * Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/nfs_util.c b/fs/nfs/nfs_util.c index 0caef811c7..0aa432fce2 100644 --- a/fs/nfs/nfs_util.c +++ b/fs/nfs/nfs_util.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nfs/nfs_util.c * + * 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 diff --git a/fs/nfs/nfs_vfsops.c b/fs/nfs/nfs_vfsops.c index fb69a303a7..2d0e1af939 100644 --- a/fs/nfs/nfs_vfsops.c +++ b/fs/nfs/nfs_vfsops.c @@ -1,11 +1,11 @@ /**************************************************************************** * fs/nfs/nfs_vfsops.c * - * Copyright (C) 2012-2013, 2015, 2017-2018 Gregory Nutt. All rights - * reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2018 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/rpc.h b/fs/nfs/rpc.h index 3c8437f47b..9c4b269e82 100644 --- a/fs/nfs/rpc.h +++ b/fs/nfs/rpc.h @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/rpc.h * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/rpc_clnt.c b/fs/nfs/rpc_clnt.c index eba6c1eff1..33b402dcc3 100644 --- a/fs/nfs/rpc_clnt.c +++ b/fs/nfs/rpc_clnt.c @@ -1,10 +1,11 @@ /**************************************************************************** * fs/nfs/rpc_clnt.c * - * Copyright (C) 2012-2013, 2018 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2018 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/nfs/xdr_subs.h b/fs/nfs/xdr_subs.h index 5326419792..78838af128 100644 --- a/fs/nfs/xdr_subs.h +++ b/fs/nfs/xdr_subs.h @@ -1,12 +1,11 @@ /**************************************************************************** * fs/nfs/xdr_subs.h - * Definitions for Sun RPC Version 2, from - * "RPC: Remote Procedure Call Protocol Specification" RFC1057 * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Copyright (C) 2012 Jose Pablo Rojas Vargas. All rights reserved. - * Author: Jose Pablo Rojas Vargas - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileContributor: Jose Pablo Rojas Vargas + * SPDX-FileContributor: Gregory Nutt * * Leveraged from OpenBSD: * diff --git a/fs/notify/CMakeLists.txt b/fs/notify/CMakeLists.txt index d66cf2932a..9594cc62fe 100644 --- a/fs/notify/CMakeLists.txt +++ b/fs/notify/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/notify/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/notify/Make.defs b/fs/notify/Make.defs index d61c4d84ec..6b7fc42ec9 100644 --- a/fs/notify/Make.defs +++ b/fs/notify/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/notify/Make.defs # +# 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 diff --git a/fs/notify/inotify.c b/fs/notify/inotify.c index e6e93da1f9..6370c4b41c 100644 --- a/fs/notify/inotify.c +++ b/fs/notify/inotify.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/notify/inotify.c * + * 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 diff --git a/fs/notify/notify.h b/fs/notify/notify.h index dad750513f..4016b737d7 100644 --- a/fs/notify/notify.h +++ b/fs/notify/notify.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/notify/notify.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 diff --git a/fs/nxffs/CMakeLists.txt b/fs/nxffs/CMakeLists.txt index 7880d5d820..f77bcb9b28 100644 --- a/fs/nxffs/CMakeLists.txt +++ b/fs/nxffs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/nxffs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/nxffs/Make.defs b/fs/nxffs/Make.defs index 43c636f362..fd32324b2d 100644 --- a/fs/nxffs/Make.defs +++ b/fs/nxffs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/nxffs/Make.defs # +# 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 diff --git a/fs/nxffs/nxffs.h b/fs/nxffs/nxffs.h index f6c8bcc4d8..e6394776c3 100644 --- a/fs/nxffs/nxffs.h +++ b/fs/nxffs/nxffs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs.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 diff --git a/fs/nxffs/nxffs_block.c b/fs/nxffs/nxffs_block.c index 5205e33827..1288798353 100644 --- a/fs/nxffs/nxffs_block.c +++ b/fs/nxffs/nxffs_block.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_block.c * + * 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 diff --git a/fs/nxffs/nxffs_blockstats.c b/fs/nxffs/nxffs_blockstats.c index 9b0557b822..5b33fe9d84 100644 --- a/fs/nxffs/nxffs_blockstats.c +++ b/fs/nxffs/nxffs_blockstats.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_blockstats.c * + * 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 @@ -120,7 +122,7 @@ int nxffs_blockstats(FAR struct nxffs_volume_s *volume, { /* The block is marked as good */ - stats-> ngood++; + stats->ngood++; } else { @@ -197,7 +199,7 @@ int nxffs_blockstats(FAR struct nxffs_volume_s *volume, { /* The block is marked as good */ - stats-> ngood++; + stats->ngood++; } else { diff --git a/fs/nxffs/nxffs_cache.c b/fs/nxffs/nxffs_cache.c index a307e444fc..87a867f25d 100644 --- a/fs/nxffs/nxffs_cache.c +++ b/fs/nxffs/nxffs_cache.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_cache.c * + * 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 diff --git a/fs/nxffs/nxffs_dirent.c b/fs/nxffs/nxffs_dirent.c index 46ef7ad706..83291f7074 100644 --- a/fs/nxffs/nxffs_dirent.c +++ b/fs/nxffs/nxffs_dirent.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_dirent.c * + * 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 diff --git a/fs/nxffs/nxffs_dump.c b/fs/nxffs/nxffs_dump.c index db074f4d5b..f4117e17e8 100644 --- a/fs/nxffs/nxffs_dump.c +++ b/fs/nxffs/nxffs_dump.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_dump.c * + * 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 diff --git a/fs/nxffs/nxffs_initialize.c b/fs/nxffs/nxffs_initialize.c index 22c9404910..3878326c7a 100644 --- a/fs/nxffs/nxffs_initialize.c +++ b/fs/nxffs/nxffs_initialize.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_initialize.c * + * 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 diff --git a/fs/nxffs/nxffs_inode.c b/fs/nxffs/nxffs_inode.c index b7e9c5e0bb..04a6c147e8 100644 --- a/fs/nxffs/nxffs_inode.c +++ b/fs/nxffs/nxffs_inode.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_inode.c * + * 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 diff --git a/fs/nxffs/nxffs_ioctl.c b/fs/nxffs/nxffs_ioctl.c index c2cbff73ab..5d1e70b65a 100644 --- a/fs/nxffs/nxffs_ioctl.c +++ b/fs/nxffs/nxffs_ioctl.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_ioctl.c * + * 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 diff --git a/fs/nxffs/nxffs_open.c b/fs/nxffs/nxffs_open.c index 5e01ed2696..833cd7ebe1 100644 --- a/fs/nxffs/nxffs_open.c +++ b/fs/nxffs/nxffs_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_open.c * + * 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 diff --git a/fs/nxffs/nxffs_pack.c b/fs/nxffs/nxffs_pack.c index 4e8d952139..1ff34ad73b 100644 --- a/fs/nxffs/nxffs_pack.c +++ b/fs/nxffs/nxffs_pack.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_pack.c * + * 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 diff --git a/fs/nxffs/nxffs_read.c b/fs/nxffs/nxffs_read.c index 31e33fe709..b898aa53a5 100644 --- a/fs/nxffs/nxffs_read.c +++ b/fs/nxffs/nxffs_read.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_read.c * + * 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 diff --git a/fs/nxffs/nxffs_reformat.c b/fs/nxffs/nxffs_reformat.c index 4a732901d6..a9afdb9e4b 100644 --- a/fs/nxffs/nxffs_reformat.c +++ b/fs/nxffs/nxffs_reformat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_reformat.c * + * 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 diff --git a/fs/nxffs/nxffs_stat.c b/fs/nxffs/nxffs_stat.c index b0df7dbc66..d34adaa1ce 100644 --- a/fs/nxffs/nxffs_stat.c +++ b/fs/nxffs/nxffs_stat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_stat.c * + * 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 diff --git a/fs/nxffs/nxffs_truncate.c b/fs/nxffs/nxffs_truncate.c index ff6056e63c..fead6a33ef 100644 --- a/fs/nxffs/nxffs_truncate.c +++ b/fs/nxffs/nxffs_truncate.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_truncate.c * + * 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 diff --git a/fs/nxffs/nxffs_unlink.c b/fs/nxffs/nxffs_unlink.c index b2041554c9..4d626cdd81 100644 --- a/fs/nxffs/nxffs_unlink.c +++ b/fs/nxffs/nxffs_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_unlink.c * + * 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 diff --git a/fs/nxffs/nxffs_util.c b/fs/nxffs/nxffs_util.c index 929731d48c..794690d1cd 100644 --- a/fs/nxffs/nxffs_util.c +++ b/fs/nxffs/nxffs_util.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_util.c * + * 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 diff --git a/fs/nxffs/nxffs_write.c b/fs/nxffs/nxffs_write.c index 64d5d5bbc6..79cbc1a4d8 100644 --- a/fs/nxffs/nxffs_write.c +++ b/fs/nxffs/nxffs_write.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/nxffs/nxffs_write.c * + * 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 diff --git a/fs/partition/CMakeLists.txt b/fs/partition/CMakeLists.txt index a7323a21c7..44c28e02af 100644 --- a/fs/partition/CMakeLists.txt +++ b/fs/partition/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/partition/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/partition/Make.defs b/fs/partition/Make.defs index 7bd0a98184..57c9eb886a 100644 --- a/fs/partition/Make.defs +++ b/fs/partition/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/partition/Make.defs # +# 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 diff --git a/fs/partition/fs_gpt.c b/fs/partition/fs_gpt.c index 549bcc98da..3aaefaa47f 100644 --- a/fs/partition/fs_gpt.c +++ b/fs/partition/fs_gpt.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/fs_gpt.c * + * 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 diff --git a/fs/partition/fs_mbr.c b/fs/partition/fs_mbr.c index 3728961b65..e9c13a47ab 100644 --- a/fs/partition/fs_mbr.c +++ b/fs/partition/fs_mbr.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/fs_mbr.c * + * 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 diff --git a/fs/partition/fs_partition.c b/fs/partition/fs_partition.c index a183ffda92..fec9126521 100644 --- a/fs/partition/fs_partition.c +++ b/fs/partition/fs_partition.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/fs_partition.c * + * 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 diff --git a/fs/partition/fs_ptable.c b/fs/partition/fs_ptable.c index 9010a48258..29708d551e 100644 --- a/fs/partition/fs_ptable.c +++ b/fs/partition/fs_ptable.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/fs_ptable.c * + * 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 diff --git a/fs/partition/fs_txtable.c b/fs/partition/fs_txtable.c index 696024e4fe..2e0dabcecd 100644 --- a/fs/partition/fs_txtable.c +++ b/fs/partition/fs_txtable.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/fs_txtable.c * + * 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 diff --git a/fs/partition/partition.h b/fs/partition/partition.h index 4958501078..1e488a92d5 100644 --- a/fs/partition/partition.h +++ b/fs/partition/partition.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/partition/partition.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 diff --git a/fs/procfs/CMakeLists.txt b/fs/procfs/CMakeLists.txt index bb30fb6731..8cd17b80a4 100644 --- a/fs/procfs/CMakeLists.txt +++ b/fs/procfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/procfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/procfs/Make.defs b/fs/procfs/Make.defs index 594b7e004d..f4e1a996c2 100644 --- a/fs/procfs/Make.defs +++ b/fs/procfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/procfs/Make.defs # +# 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 diff --git a/fs/procfs/fs_procfs.c b/fs/procfs/fs_procfs.c index d12c7acf6b..b0574c010b 100644 --- a/fs/procfs/fs_procfs.c +++ b/fs/procfs/fs_procfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfs.c * + * 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 diff --git a/fs/procfs/fs_procfscpuinfo.c b/fs/procfs/fs_procfscpuinfo.c index 6e49328dd5..516ad8e4f3 100644 --- a/fs/procfs/fs_procfscpuinfo.c +++ b/fs/procfs/fs_procfscpuinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfscpuinfo.c * + * 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 diff --git a/fs/procfs/fs_procfscpuload.c b/fs/procfs/fs_procfscpuload.c index 1fb769422c..9fdd4849d5 100644 --- a/fs/procfs/fs_procfscpuload.c +++ b/fs/procfs/fs_procfscpuload.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfscpuload.c * + * 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 diff --git a/fs/procfs/fs_procfscritmon.c b/fs/procfs/fs_procfscritmon.c index 741706797d..90444425b9 100644 --- a/fs/procfs/fs_procfscritmon.c +++ b/fs/procfs/fs_procfscritmon.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfscritmon.c * + * 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 diff --git a/fs/procfs/fs_procfsfdt.c b/fs/procfs/fs_procfsfdt.c index 89a5d7e650..6efc919a04 100644 --- a/fs/procfs/fs_procfsfdt.c +++ b/fs/procfs/fs_procfsfdt.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsfdt.c * + * 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 diff --git a/fs/procfs/fs_procfsiobinfo.c b/fs/procfs/fs_procfsiobinfo.c index 5d071f8ba5..6623806751 100644 --- a/fs/procfs/fs_procfsiobinfo.c +++ b/fs/procfs/fs_procfsiobinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsiobinfo.c * + * 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 diff --git a/fs/procfs/fs_procfsmeminfo.c b/fs/procfs/fs_procfsmeminfo.c index d474486dbf..f2a07cb827 100644 --- a/fs/procfs/fs_procfsmeminfo.c +++ b/fs/procfs/fs_procfsmeminfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsmeminfo.c * + * 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 diff --git a/fs/procfs/fs_procfspressure.c b/fs/procfs/fs_procfspressure.c index 4a3cad1f59..056cb02806 100644 --- a/fs/procfs/fs_procfspressure.c +++ b/fs/procfs/fs_procfspressure.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfspressure.c * + * 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 diff --git a/fs/procfs/fs_procfsproc.c b/fs/procfs/fs_procfsproc.c index f5dcabdc11..72165ce2f2 100644 --- a/fs/procfs/fs_procfsproc.c +++ b/fs/procfs/fs_procfsproc.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsproc.c * + * 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 diff --git a/fs/procfs/fs_procfstcbinfo.c b/fs/procfs/fs_procfstcbinfo.c index e325358273..9aac5246d3 100644 --- a/fs/procfs/fs_procfstcbinfo.c +++ b/fs/procfs/fs_procfstcbinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfstcbinfo.c * + * 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 diff --git a/fs/procfs/fs_procfsuptime.c b/fs/procfs/fs_procfsuptime.c index 544ae0da2d..21e2230cc0 100644 --- a/fs/procfs/fs_procfsuptime.c +++ b/fs/procfs/fs_procfsuptime.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsuptime.c * + * 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 diff --git a/fs/procfs/fs_procfsutil.c b/fs/procfs/fs_procfsutil.c index 206724ba1a..f498005d35 100644 --- a/fs/procfs/fs_procfsutil.c +++ b/fs/procfs/fs_procfsutil.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsutil.c * + * 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 diff --git a/fs/procfs/fs_procfsversion.c b/fs/procfs/fs_procfsversion.c index 69f7ec68cf..ed2b43b10d 100644 --- a/fs/procfs/fs_procfsversion.c +++ b/fs/procfs/fs_procfsversion.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_procfsversion.c * + * 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 diff --git a/fs/procfs/fs_skeleton.c b/fs/procfs/fs_skeleton.c index c9dd61e2cb..0d785fba58 100644 --- a/fs/procfs/fs_skeleton.c +++ b/fs/procfs/fs_skeleton.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/procfs/fs_skeleton.c * + * 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 diff --git a/fs/romfs/CMakeLists.txt b/fs/romfs/CMakeLists.txt index eb326f508f..ba5793e3c2 100644 --- a/fs/romfs/CMakeLists.txt +++ b/fs/romfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/romfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/romfs/Make.defs b/fs/romfs/Make.defs index 3392b9756f..2be8411646 100644 --- a/fs/romfs/Make.defs +++ b/fs/romfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/romfs/Make.defs # +# 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 diff --git a/fs/romfs/fs_romfs.c b/fs/romfs/fs_romfs.c index db0d03e5d8..3f070d1569 100644 --- a/fs/romfs/fs_romfs.c +++ b/fs/romfs/fs_romfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/romfs/fs_romfs.c * + * 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 diff --git a/fs/romfs/fs_romfs.h b/fs/romfs/fs_romfs.h index 92fe4dc7b2..0e6dc45d18 100644 --- a/fs/romfs/fs_romfs.h +++ b/fs/romfs/fs_romfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/romfs/fs_romfs.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 diff --git a/fs/romfs/fs_romfsutil.c b/fs/romfs/fs_romfsutil.c index d9cfd4af9f..a80c35e3d8 100644 --- a/fs/romfs/fs_romfsutil.c +++ b/fs/romfs/fs_romfsutil.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/romfs/fs_romfsutil.c * + * 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 diff --git a/fs/rpmsgfs/CMakeLists.txt b/fs/rpmsgfs/CMakeLists.txt index 8af86bcdcb..2f4dbfd4c2 100644 --- a/fs/rpmsgfs/CMakeLists.txt +++ b/fs/rpmsgfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/rpmsgfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/rpmsgfs/Make.defs b/fs/rpmsgfs/Make.defs index fb0a7c6e1a..bce794b9eb 100644 --- a/fs/rpmsgfs/Make.defs +++ b/fs/rpmsgfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/rpmsgfs/Make.defs # +# 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 diff --git a/fs/rpmsgfs/rpmsgfs.c b/fs/rpmsgfs/rpmsgfs.c index efea624917..3c4beb26f4 100644 --- a/fs/rpmsgfs/rpmsgfs.c +++ b/fs/rpmsgfs/rpmsgfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/rpmsgfs/rpmsgfs.c * + * 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 diff --git a/fs/rpmsgfs/rpmsgfs.h b/fs/rpmsgfs/rpmsgfs.h index 24bcaeb1e5..5495986c71 100644 --- a/fs/rpmsgfs/rpmsgfs.h +++ b/fs/rpmsgfs/rpmsgfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/rpmsgfs/rpmsgfs.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 diff --git a/fs/rpmsgfs/rpmsgfs_client.c b/fs/rpmsgfs/rpmsgfs_client.c index 2d425f0a77..7088884433 100644 --- a/fs/rpmsgfs/rpmsgfs_client.c +++ b/fs/rpmsgfs/rpmsgfs_client.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/rpmsgfs/rpmsgfs_client.c * + * 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 diff --git a/fs/rpmsgfs/rpmsgfs_server.c b/fs/rpmsgfs/rpmsgfs_server.c index 8e3e065ed6..6573056353 100644 --- a/fs/rpmsgfs/rpmsgfs_server.c +++ b/fs/rpmsgfs/rpmsgfs_server.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/rpmsgfs/rpmsgfs_server.c * + * 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 diff --git a/fs/semaphore/CMakeLists.txt b/fs/semaphore/CMakeLists.txt index b7e5d945bb..1ad6ca8af7 100644 --- a/fs/semaphore/CMakeLists.txt +++ b/fs/semaphore/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/semaphore/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/semaphore/Make.defs b/fs/semaphore/Make.defs index b59bf2175e..15bb837de7 100644 --- a/fs/semaphore/Make.defs +++ b/fs/semaphore/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/semaphore/Make.defs # +# 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 diff --git a/fs/semaphore/sem_close.c b/fs/semaphore/sem_close.c index ae8bd12652..09bb257d00 100644 --- a/fs/semaphore/sem_close.c +++ b/fs/semaphore/sem_close.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/semaphore/sem_close.c * + * 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 diff --git a/fs/semaphore/sem_open.c b/fs/semaphore/sem_open.c index 40bd221857..cacccb2fc2 100644 --- a/fs/semaphore/sem_open.c +++ b/fs/semaphore/sem_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/semaphore/sem_open.c * + * 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 diff --git a/fs/semaphore/sem_unlink.c b/fs/semaphore/sem_unlink.c index ff92a1a9c9..e00fabab09 100644 --- a/fs/semaphore/sem_unlink.c +++ b/fs/semaphore/sem_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/semaphore/sem_unlink.c * + * 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 diff --git a/fs/semaphore/semaphore.h b/fs/semaphore/semaphore.h index 911fa9ec82..06303477e9 100644 --- a/fs/semaphore/semaphore.h +++ b/fs/semaphore/semaphore.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/semaphore/semaphore.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 diff --git a/fs/shm/CMakeLists.txt b/fs/shm/CMakeLists.txt index d6770ea4f1..fb4a64a84a 100644 --- a/fs/shm/CMakeLists.txt +++ b/fs/shm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/shm/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/shm/Make.defs b/fs/shm/Make.defs index f686789c6a..f632fdc304 100644 --- a/fs/shm/Make.defs +++ b/fs/shm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/shm/Make.defs # +# 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 diff --git a/fs/shm/shm_open.c b/fs/shm/shm_open.c index 50dacd5201..1230585ee6 100644 --- a/fs/shm/shm_open.c +++ b/fs/shm/shm_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/shm/shm_open.c * + * 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 diff --git a/fs/shm/shm_unlink.c b/fs/shm/shm_unlink.c index 84ac6a9bc7..25f6297dd9 100644 --- a/fs/shm/shm_unlink.c +++ b/fs/shm/shm_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/shm/shm_unlink.c * + * 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 diff --git a/fs/shm/shmfs.c b/fs/shm/shmfs.c index 0903750fd5..752e2d5dac 100644 --- a/fs/shm/shmfs.c +++ b/fs/shm/shmfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/shm/shmfs.c * + * 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 diff --git a/fs/shm/shmfs.h b/fs/shm/shmfs.h index 5a4e7d3fe6..ce4f0820dc 100644 --- a/fs/shm/shmfs.h +++ b/fs/shm/shmfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/shm/shmfs.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 diff --git a/fs/shm/shmfs_alloc.c b/fs/shm/shmfs_alloc.c index 7db6757cc7..4764c901e6 100644 --- a/fs/shm/shmfs_alloc.c +++ b/fs/shm/shmfs_alloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/shm/shmfs_alloc.c * + * 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 diff --git a/fs/smartfs/CMakeLists.txt b/fs/smartfs/CMakeLists.txt index 84cd379d3b..8455afa1b5 100644 --- a/fs/smartfs/CMakeLists.txt +++ b/fs/smartfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/smartfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/smartfs/Make.defs b/fs/smartfs/Make.defs index e3d1b38900..ff9ec58bb4 100644 --- a/fs/smartfs/Make.defs +++ b/fs/smartfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/smartfs/Make.defs # +# 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 diff --git a/fs/smartfs/smartfs.h b/fs/smartfs/smartfs.h index 4e0ac9a152..6fe214ba62 100644 --- a/fs/smartfs/smartfs.h +++ b/fs/smartfs/smartfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/smartfs/smartfs.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 diff --git a/fs/smartfs/smartfs_procfs.c b/fs/smartfs/smartfs_procfs.c index 16746dafaf..f55b0c2165 100644 --- a/fs/smartfs/smartfs_procfs.c +++ b/fs/smartfs/smartfs_procfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/smartfs/smartfs_procfs.c * + * 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 diff --git a/fs/smartfs/smartfs_smart.c b/fs/smartfs/smartfs_smart.c index 3aa84f627f..2317f967cd 100644 --- a/fs/smartfs/smartfs_smart.c +++ b/fs/smartfs/smartfs_smart.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/smartfs/smartfs_smart.c * + * 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 diff --git a/fs/smartfs/smartfs_utils.c b/fs/smartfs/smartfs_utils.c index 11932f2c32..df209c31b3 100644 --- a/fs/smartfs/smartfs_utils.c +++ b/fs/smartfs/smartfs_utils.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/smartfs/smartfs_utils.c * + * 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 diff --git a/fs/socket/CMakeLists.txt b/fs/socket/CMakeLists.txt index 0e905a5efe..1df0486f3c 100644 --- a/fs/socket/CMakeLists.txt +++ b/fs/socket/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/socket/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/socket/Make.defs b/fs/socket/Make.defs index 4a300e338c..b307fa6f60 100644 --- a/fs/socket/Make.defs +++ b/fs/socket/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/socket/Make.defs # +# 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 diff --git a/fs/socket/accept.c b/fs/socket/accept.c index f69f233930..110de3957b 100644 --- a/fs/socket/accept.c +++ b/fs/socket/accept.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/socket/accept.c * + * 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 diff --git a/fs/socket/socket.c b/fs/socket/socket.c index 6501e27f08..e3875f7bed 100644 --- a/fs/socket/socket.c +++ b/fs/socket/socket.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/socket/socket.c * + * 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 diff --git a/fs/socket/socketpair.c b/fs/socket/socketpair.c index c50bea3158..0ffe89d959 100644 --- a/fs/socket/socketpair.c +++ b/fs/socket/socketpair.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/socket/socketpair.c * + * 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 diff --git a/fs/spiffs/CMakeLists.txt b/fs/spiffs/CMakeLists.txt index 8320f09732..aea0d59383 100644 --- a/fs/spiffs/CMakeLists.txt +++ b/fs/spiffs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/spiffs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/spiffs/Make.defs b/fs/spiffs/Make.defs index 77a22238f7..8ab2a33756 100644 --- a/fs/spiffs/Make.defs +++ b/fs/spiffs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/spiffs/Make.defs # +# 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 diff --git a/fs/spiffs/src/CMakeLists.txt b/fs/spiffs/src/CMakeLists.txt index e5d8086880..82966f4005 100644 --- a/fs/spiffs/src/CMakeLists.txt +++ b/fs/spiffs/src/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/spiffs/src/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/spiffs/src/spiffs.h b/fs/spiffs/src/spiffs.h index d02e0dd051..d564f102ce 100644 --- a/fs/spiffs/src/spiffs.h +++ b/fs/spiffs/src/spiffs.h @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs.h * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_cache.c b/fs/spiffs/src/spiffs_cache.c index 2ec00b2481..8825cc869c 100644 --- a/fs/spiffs/src/spiffs_cache.c +++ b/fs/spiffs/src/spiffs_cache.c @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_cache.c * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_cache.h b/fs/spiffs/src/spiffs_cache.h index d4fb6f3785..087619018b 100644 --- a/fs/spiffs/src/spiffs_cache.h +++ b/fs/spiffs/src/spiffs_cache.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_cache.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 diff --git a/fs/spiffs/src/spiffs_check.c b/fs/spiffs/src/spiffs_check.c index dd46e81e15..cf2e9d54d8 100644 --- a/fs/spiffs/src/spiffs_check.c +++ b/fs/spiffs/src/spiffs_check.c @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_check.c * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_check.h b/fs/spiffs/src/spiffs_check.h index 92bf6a5fea..527af83a7d 100644 --- a/fs/spiffs/src/spiffs_check.h +++ b/fs/spiffs/src/spiffs_check.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_check.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 diff --git a/fs/spiffs/src/spiffs_core.c b/fs/spiffs/src/spiffs_core.c index 9e445d5f58..c40757c87b 100644 --- a/fs/spiffs/src/spiffs_core.c +++ b/fs/spiffs/src/spiffs_core.c @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_core.c * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_core.h b/fs/spiffs/src/spiffs_core.h index 74c8e4f336..a83705a9b6 100644 --- a/fs/spiffs/src/spiffs_core.h +++ b/fs/spiffs/src/spiffs_core.h @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_core.h * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_gc.c b/fs/spiffs/src/spiffs_gc.c index 7ff0bc3a5f..ec8a429be8 100644 --- a/fs/spiffs/src/spiffs_gc.c +++ b/fs/spiffs/src/spiffs_gc.c @@ -1,8 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_gc.c * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/spiffs/src/spiffs_gc.h b/fs/spiffs/src/spiffs_gc.h index afa39d1c26..90b126beb3 100644 --- a/fs/spiffs/src/spiffs_gc.h +++ b/fs/spiffs/src/spiffs_gc.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_gc.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 diff --git a/fs/spiffs/src/spiffs_mtd.c b/fs/spiffs/src/spiffs_mtd.c index a41b230105..d362767d8d 100644 --- a/fs/spiffs/src/spiffs_mtd.c +++ b/fs/spiffs/src/spiffs_mtd.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_mtd.c * + * 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 diff --git a/fs/spiffs/src/spiffs_mtd.h b/fs/spiffs/src/spiffs_mtd.h index e8e271e8a3..d467d5b057 100644 --- a/fs/spiffs/src/spiffs_mtd.h +++ b/fs/spiffs/src/spiffs_mtd.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_mtd.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 diff --git a/fs/spiffs/src/spiffs_vfs.c b/fs/spiffs/src/spiffs_vfs.c index 324162af59..240533ceca 100644 --- a/fs/spiffs/src/spiffs_vfs.c +++ b/fs/spiffs/src/spiffs_vfs.c @@ -1,9 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_vfs.c - * Interface between SPIFFS and the NuttX VFS * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * Includes logic taken from 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license. diff --git a/fs/spiffs/src/spiffs_volume.c b/fs/spiffs/src/spiffs_volume.c index 2df67565b9..94428385cf 100644 --- a/fs/spiffs/src/spiffs_volume.c +++ b/fs/spiffs/src/spiffs_volume.c @@ -1,9 +1,8 @@ /**************************************************************************** * fs/spiffs/src/spiffs_volume.c - * SPIFFS Utility Functions for Volume and File Object Support * - * Copyright (C) 2018 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Gregory Nutt * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- diff --git a/fs/tmpfs/CMakeLists.txt b/fs/tmpfs/CMakeLists.txt index 290ec1fe7c..3d2ff64fc0 100644 --- a/fs/tmpfs/CMakeLists.txt +++ b/fs/tmpfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/tmpfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/tmpfs/Make.defs b/fs/tmpfs/Make.defs index 5617243a1b..f091be50a1 100644 --- a/fs/tmpfs/Make.defs +++ b/fs/tmpfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/tmpfs/Make.defs # +# 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 diff --git a/fs/tmpfs/fs_tmpfs.c b/fs/tmpfs/fs_tmpfs.c index dfb675a3be..58c39175e0 100644 --- a/fs/tmpfs/fs_tmpfs.c +++ b/fs/tmpfs/fs_tmpfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/tmpfs/fs_tmpfs.c * + * 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 diff --git a/fs/tmpfs/fs_tmpfs.h b/fs/tmpfs/fs_tmpfs.h index 0a352dd51c..56a726adc9 100644 --- a/fs/tmpfs/fs_tmpfs.h +++ b/fs/tmpfs/fs_tmpfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/tmpfs/fs_tmpfs.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 diff --git a/fs/unionfs/CMakeLists.txt b/fs/unionfs/CMakeLists.txt index 9cfb371b08..427a49f5cf 100644 --- a/fs/unionfs/CMakeLists.txt +++ b/fs/unionfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/unionfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/unionfs/Make.defs b/fs/unionfs/Make.defs index 70babe4288..659af879da 100644 --- a/fs/unionfs/Make.defs +++ b/fs/unionfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/unionfs/Make.defs # +# 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 diff --git a/fs/unionfs/fs_unionfs.c b/fs/unionfs/fs_unionfs.c index 1ee79d40cb..c920b83b97 100644 --- a/fs/unionfs/fs_unionfs.c +++ b/fs/unionfs/fs_unionfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/unionfs/fs_unionfs.c * + * 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 diff --git a/fs/userfs/CMakeLists.txt b/fs/userfs/CMakeLists.txt index 07b7826cf9..f8bcaf9aff 100644 --- a/fs/userfs/CMakeLists.txt +++ b/fs/userfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/userfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/userfs/Make.defs b/fs/userfs/Make.defs index 69daf85c8a..bebe2e6853 100644 --- a/fs/userfs/Make.defs +++ b/fs/userfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/userfs/Make.defs # +# 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 diff --git a/fs/userfs/fs_userfs.c b/fs/userfs/fs_userfs.c index fc2202bdef..8386cc8b62 100644 --- a/fs/userfs/fs_userfs.c +++ b/fs/userfs/fs_userfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/userfs/fs_userfs.c * + * 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 diff --git a/fs/userfs/userfs.h b/fs/userfs/userfs.h index be7fb8a88e..2c86a4545c 100644 --- a/fs/userfs/userfs.h +++ b/fs/userfs/userfs.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/userfs/userfs.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 diff --git a/fs/v9fs/CMakeLists.txt b/fs/v9fs/CMakeLists.txt index 08af7f6ad8..2df5868a6c 100644 --- a/fs/v9fs/CMakeLists.txt +++ b/fs/v9fs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/v9fs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/v9fs/Make.defs b/fs/v9fs/Make.defs index a9daa15e4d..838f4f62b0 100644 --- a/fs/v9fs/Make.defs +++ b/fs/v9fs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/v9fs/Make.defs # +# 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 diff --git a/fs/v9fs/client.c b/fs/v9fs/client.c index aff8a14540..c20c4442a3 100644 --- a/fs/v9fs/client.c +++ b/fs/v9fs/client.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/v9fs/client.c * + * 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 diff --git a/fs/v9fs/client.h b/fs/v9fs/client.h index 99a24e723a..7cd81d2d85 100644 --- a/fs/v9fs/client.h +++ b/fs/v9fs/client.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/v9fs/client.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 diff --git a/fs/v9fs/transport.c b/fs/v9fs/transport.c index e9b48b28c8..339b1fe6de 100644 --- a/fs/v9fs/transport.c +++ b/fs/v9fs/transport.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/v9fs/transport.c * + * 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 diff --git a/fs/v9fs/v9fs.c b/fs/v9fs/v9fs.c index 8823423aa0..1b877a4cca 100644 --- a/fs/v9fs/v9fs.c +++ b/fs/v9fs/v9fs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/v9fs/v9fs.c * + * 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 diff --git a/fs/v9fs/virtio_9p.c b/fs/v9fs/virtio_9p.c index 67e470d2cd..8e7cc8fb8d 100644 --- a/fs/v9fs/virtio_9p.c +++ b/fs/v9fs/virtio_9p.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/v9fs/virtio_9p.c * + * 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 diff --git a/fs/vfs/CMakeLists.txt b/fs/vfs/CMakeLists.txt index 99af578b77..c81e615b7c 100644 --- a/fs/vfs/CMakeLists.txt +++ b/fs/vfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/vfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/vfs/Make.defs b/fs/vfs/Make.defs index aaf1aa224f..30292d787f 100644 --- a/fs/vfs/Make.defs +++ b/fs/vfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/vfs/Make.defs # +# 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 diff --git a/fs/vfs/fs_chstat.c b/fs/vfs/fs_chstat.c index 594e46da2d..9b0c50c393 100644 --- a/fs/vfs/fs_chstat.c +++ b/fs/vfs/fs_chstat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_chstat.c * + * 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 diff --git a/fs/vfs/fs_close.c b/fs/vfs/fs_close.c index 514a8bf71a..7b460e68ed 100644 --- a/fs/vfs/fs_close.c +++ b/fs/vfs/fs_close.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_close.c * + * 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 diff --git a/fs/vfs/fs_dir.c b/fs/vfs/fs_dir.c index 00b62ff985..d67ab6d588 100644 --- a/fs/vfs/fs_dir.c +++ b/fs/vfs/fs_dir.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_dir.c * + * 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 diff --git a/fs/vfs/fs_dup.c b/fs/vfs/fs_dup.c index 86024afd67..3b2492ba4a 100644 --- a/fs/vfs/fs_dup.c +++ b/fs/vfs/fs_dup.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_dup.c * + * 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 diff --git a/fs/vfs/fs_dup2.c b/fs/vfs/fs_dup2.c index 7d70166b24..39b5494f28 100644 --- a/fs/vfs/fs_dup2.c +++ b/fs/vfs/fs_dup2.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_dup2.c * + * 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 diff --git a/fs/vfs/fs_epoll.c b/fs/vfs/fs_epoll.c index 529a092485..1b24b73f97 100644 --- a/fs/vfs/fs_epoll.c +++ b/fs/vfs/fs_epoll.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_epoll.c * + * 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 diff --git a/fs/vfs/fs_eventfd.c b/fs/vfs/fs_eventfd.c index 2953a5e85d..f5f614a7e5 100644 --- a/fs/vfs/fs_eventfd.c +++ b/fs/vfs/fs_eventfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_eventfd.c * + * 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 diff --git a/fs/vfs/fs_fchstat.c b/fs/vfs/fs_fchstat.c index a495201787..bedf562019 100644 --- a/fs/vfs/fs_fchstat.c +++ b/fs/vfs/fs_fchstat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_fchstat.c * + * 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 diff --git a/fs/vfs/fs_fcntl.c b/fs/vfs/fs_fcntl.c index e2c9fe6376..3df8171559 100644 --- a/fs/vfs/fs_fcntl.c +++ b/fs/vfs/fs_fcntl.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_fcntl.c * + * 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 diff --git a/fs/vfs/fs_fstat.c b/fs/vfs/fs_fstat.c index 4fe8791223..c4585a79ac 100644 --- a/fs/vfs/fs_fstat.c +++ b/fs/vfs/fs_fstat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_fstat.c * + * 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 diff --git a/fs/vfs/fs_fstatfs.c b/fs/vfs/fs_fstatfs.c index 4ecec4df11..94acd04799 100644 --- a/fs/vfs/fs_fstatfs.c +++ b/fs/vfs/fs_fstatfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_fstatfs.c * + * 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 diff --git a/fs/vfs/fs_fsync.c b/fs/vfs/fs_fsync.c index 44a47fcb5a..8a1915c654 100644 --- a/fs/vfs/fs_fsync.c +++ b/fs/vfs/fs_fsync.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_fsync.c * + * 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 diff --git a/fs/vfs/fs_ioctl.c b/fs/vfs/fs_ioctl.c index 2f9488c4c2..7bab9a39ba 100644 --- a/fs/vfs/fs_ioctl.c +++ b/fs/vfs/fs_ioctl.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_ioctl.c * + * 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 diff --git a/fs/vfs/fs_link.c b/fs/vfs/fs_link.c index 864b0a9466..ffdb193706 100644 --- a/fs/vfs/fs_link.c +++ b/fs/vfs/fs_link.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_link.c * + * 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 diff --git a/fs/vfs/fs_lock.c b/fs/vfs/fs_lock.c index a2193d13c7..cf806da1ff 100644 --- a/fs/vfs/fs_lock.c +++ b/fs/vfs/fs_lock.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_lock.c * + * 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 diff --git a/fs/vfs/fs_lseek.c b/fs/vfs/fs_lseek.c index 847ae9140f..5cf85868b7 100644 --- a/fs/vfs/fs_lseek.c +++ b/fs/vfs/fs_lseek.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_lseek.c * + * 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 diff --git a/fs/vfs/fs_mkdir.c b/fs/vfs/fs_mkdir.c index db8e1a4279..5878ef3307 100644 --- a/fs/vfs/fs_mkdir.c +++ b/fs/vfs/fs_mkdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_mkdir.c * + * 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 diff --git a/fs/vfs/fs_open.c b/fs/vfs/fs_open.c index 16644c893e..83f1eb279b 100644 --- a/fs/vfs/fs_open.c +++ b/fs/vfs/fs_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_open.c * + * 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 diff --git a/fs/vfs/fs_poll.c b/fs/vfs/fs_poll.c index 4f626103eb..aa82b226ce 100644 --- a/fs/vfs/fs_poll.c +++ b/fs/vfs/fs_poll.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_poll.c * + * 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 diff --git a/fs/vfs/fs_pread.c b/fs/vfs/fs_pread.c index 5333b7f325..05209285e7 100644 --- a/fs/vfs/fs_pread.c +++ b/fs/vfs/fs_pread.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_pread.c * + * 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 diff --git a/fs/vfs/fs_pseudofile.c b/fs/vfs/fs_pseudofile.c index 1cfe0a9cf4..f6ca5c5fea 100644 --- a/fs/vfs/fs_pseudofile.c +++ b/fs/vfs/fs_pseudofile.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_pseudofile.c * + * 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 diff --git a/fs/vfs/fs_pwrite.c b/fs/vfs/fs_pwrite.c index cd75b5f79e..1d2cee7163 100644 --- a/fs/vfs/fs_pwrite.c +++ b/fs/vfs/fs_pwrite.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_pwrite.c * + * 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 diff --git a/fs/vfs/fs_read.c b/fs/vfs/fs_read.c index 5e4f3e789b..3e60d1337f 100644 --- a/fs/vfs/fs_read.c +++ b/fs/vfs/fs_read.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_read.c * + * 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 diff --git a/fs/vfs/fs_readlink.c b/fs/vfs/fs_readlink.c index 569502e50d..6cdf067d43 100644 --- a/fs/vfs/fs_readlink.c +++ b/fs/vfs/fs_readlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_readlink.c * + * 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 diff --git a/fs/vfs/fs_rename.c b/fs/vfs/fs_rename.c index 1bcaa7a7df..7cd8319796 100644 --- a/fs/vfs/fs_rename.c +++ b/fs/vfs/fs_rename.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_rename.c * + * 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 diff --git a/fs/vfs/fs_rmdir.c b/fs/vfs/fs_rmdir.c index 4a8d1eb577..ddfc8e72d3 100644 --- a/fs/vfs/fs_rmdir.c +++ b/fs/vfs/fs_rmdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_rmdir.c * + * 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 diff --git a/fs/vfs/fs_select.c b/fs/vfs/fs_select.c index 2fce209ee7..d8393a8cb2 100644 --- a/fs/vfs/fs_select.c +++ b/fs/vfs/fs_select.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_select.c * + * 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 diff --git a/fs/vfs/fs_sendfile.c b/fs/vfs/fs_sendfile.c index 75eb1fe666..28825c8255 100644 --- a/fs/vfs/fs_sendfile.c +++ b/fs/vfs/fs_sendfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_sendfile.c * + * 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 diff --git a/fs/vfs/fs_signalfd.c b/fs/vfs/fs_signalfd.c index 6c62b91d41..4ebffc58f1 100644 --- a/fs/vfs/fs_signalfd.c +++ b/fs/vfs/fs_signalfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_signalfd.c * + * 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 diff --git a/fs/vfs/fs_stat.c b/fs/vfs/fs_stat.c index 81eaa74e1c..e956fd1f9e 100644 --- a/fs/vfs/fs_stat.c +++ b/fs/vfs/fs_stat.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_stat.c * + * 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 diff --git a/fs/vfs/fs_statfs.c b/fs/vfs/fs_statfs.c index ae08d1a2ae..842780d35a 100644 --- a/fs/vfs/fs_statfs.c +++ b/fs/vfs/fs_statfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_statfs.c * + * 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 diff --git a/fs/vfs/fs_symlink.c b/fs/vfs/fs_symlink.c index e7f8bb7c42..d868b17749 100644 --- a/fs/vfs/fs_symlink.c +++ b/fs/vfs/fs_symlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_symlink.c * + * 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 diff --git a/fs/vfs/fs_syncfs.c b/fs/vfs/fs_syncfs.c index 2403228986..33284b9177 100644 --- a/fs/vfs/fs_syncfs.c +++ b/fs/vfs/fs_syncfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_syncfs.c * + * 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 diff --git a/fs/vfs/fs_timerfd.c b/fs/vfs/fs_timerfd.c index f5252caf19..5b67fdfc13 100644 --- a/fs/vfs/fs_timerfd.c +++ b/fs/vfs/fs_timerfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_timerfd.c * + * 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 diff --git a/fs/vfs/fs_truncate.c b/fs/vfs/fs_truncate.c index 681c47d61c..d27d30e02a 100644 --- a/fs/vfs/fs_truncate.c +++ b/fs/vfs/fs_truncate.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_truncate.c * + * 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 diff --git a/fs/vfs/fs_uio.c b/fs/vfs/fs_uio.c index 455d021961..5c6e260d55 100644 --- a/fs/vfs/fs_uio.c +++ b/fs/vfs/fs_uio.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_uio.c * + * 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 diff --git a/fs/vfs/fs_unlink.c b/fs/vfs/fs_unlink.c index 998ab70831..8d33d70033 100644 --- a/fs/vfs/fs_unlink.c +++ b/fs/vfs/fs_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_unlink.c * + * 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 diff --git a/fs/vfs/fs_write.c b/fs/vfs/fs_write.c index e8b33bf5b4..505da4b0bc 100644 --- a/fs/vfs/fs_write.c +++ b/fs/vfs/fs_write.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/fs_write.c * + * 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 diff --git a/fs/vfs/lock.h b/fs/vfs/lock.h index c1f888d22d..2a51c9a144 100644 --- a/fs/vfs/lock.h +++ b/fs/vfs/lock.h @@ -1,6 +1,8 @@ /**************************************************************************** * fs/vfs/lock.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 diff --git a/fs/zipfs/CMakeLists.txt b/fs/zipfs/CMakeLists.txt index e9f00e56be..401d84d04b 100644 --- a/fs/zipfs/CMakeLists.txt +++ b/fs/zipfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # fs/zipfs/CMakeLists.txt # +# 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 ASF licenses this diff --git a/fs/zipfs/Make.defs b/fs/zipfs/Make.defs index e03aaaa941..8b4d60ba83 100644 --- a/fs/zipfs/Make.defs +++ b/fs/zipfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # fs/zipfs/Make.defs # +# 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 diff --git a/fs/zipfs/zip_vfs.c b/fs/zipfs/zip_vfs.c index d59d6e94a7..30ca7f5e38 100644 --- a/fs/zipfs/zip_vfs.c +++ b/fs/zipfs/zip_vfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * fs/zipfs/zip_vfs.c * + * 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