From 6b5dddd5d76aebd83dee3f35bd8a58dc8c3b0a82 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Wed, 25 Sep 2024 14:05:00 +0200 Subject: [PATCH] libs/libc: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- libs/libc/CMakeLists.txt | 2 + libs/libc/Makefile | 2 + libs/libc/aio/CMakeLists.txt | 2 + libs/libc/aio/Make.defs | 2 + libs/libc/aio/aio.h | 2 + libs/libc/aio/aio_error.c | 2 + libs/libc/aio/aio_return.c | 2 + libs/libc/aio/aio_suspend.c | 2 + libs/libc/aio/lio_listio.c | 2 + libs/libc/assert/CMakeLists.txt | 2 + libs/libc/assert/Make.defs | 2 + libs/libc/assert/lib_assert.c | 2 + libs/libc/assert/lib_stackchk.c | 2 + libs/libc/audio/CMakeLists.txt | 2 + libs/libc/audio/Make.defs | 2 + libs/libc/audio/lib_buffer.c | 2 + libs/libc/audio/libsrc/CMakeLists.txt | 2 + libs/libc/audio/libsrc/Make.defs | 2 + libs/libc/bin/CMakeLists.txt | 22 +- libs/libc/bin/Makefile | 2 + libs/libc/builtin/CMakeLists.txt | 2 + libs/libc/builtin/Make.defs | 2 + libs/libc/builtin/lib_builtin_forindex.c | 2 + libs/libc/builtin/lib_builtin_getgid.c | 2 + libs/libc/builtin/lib_builtin_getmode.c | 2 + libs/libc/builtin/lib_builtin_getname.c | 2 + libs/libc/builtin/lib_builtin_getuid.c | 2 + libs/libc/builtin/lib_builtin_isavail.c | 2 + libs/libc/builtin/lib_builtin_setlist.c | 2 + libs/libc/ctype/CMakeLists.txt | 2 + libs/libc/ctype/Make.defs | 2 + libs/libc/ctype/lib_ctype.c | 2 + libs/libc/ctype/lib_isalnum.c | 2 + libs/libc/ctype/lib_isalpha.c | 2 + libs/libc/ctype/lib_isascii.c | 2 + libs/libc/ctype/lib_isblank.c | 2 + libs/libc/ctype/lib_iscntrl.c | 2 + libs/libc/ctype/lib_isdigit.c | 2 + libs/libc/ctype/lib_isgraph.c | 2 + libs/libc/ctype/lib_islower.c | 2 + libs/libc/ctype/lib_isprint.c | 2 + libs/libc/ctype/lib_ispunct.c | 2 + libs/libc/ctype/lib_isspace.c | 2 + libs/libc/ctype/lib_isupper.c | 2 + libs/libc/ctype/lib_isxdigit.c | 2 + libs/libc/ctype/lib_tolower.c | 2 + libs/libc/ctype/lib_toupper.c | 2 + libs/libc/dirent/CMakeLists.txt | 2 + libs/libc/dirent/Make.defs | 2 + libs/libc/dirent/lib_alphasort.c | 2 + libs/libc/dirent/lib_closedir.c | 2 + libs/libc/dirent/lib_dirfd.c | 2 + libs/libc/dirent/lib_fdopendir.c | 2 + libs/libc/dirent/lib_ftw.c | 2 + libs/libc/dirent/lib_nftw.c | 2 + libs/libc/dirent/lib_opendir.c | 2 + libs/libc/dirent/lib_readdir.c | 2 + libs/libc/dirent/lib_readdirr.c | 2 + libs/libc/dirent/lib_rewinddir.c | 2 + libs/libc/dirent/lib_scandir.c | 2 + libs/libc/dirent/lib_seekdir.c | 2 + libs/libc/dirent/lib_telldir.c | 2 + libs/libc/dirent/lib_versionsort.c | 2 + libs/libc/dlfcn/CMakeLists.txt | 2 + libs/libc/dlfcn/Make.defs | 2 + libs/libc/dlfcn/lib_dladdr.c | 2 + libs/libc/dlfcn/lib_dlclose.c | 2 + libs/libc/dlfcn/lib_dlerror.c | 2 + libs/libc/dlfcn/lib_dlopen.c | 2 + libs/libc/dlfcn/lib_dlsym.c | 2 + libs/libc/dlfcn/lib_dlsymtab.c | 2 + libs/libc/errno/CMakeLists.txt | 2 + libs/libc/errno/Make.defs | 2 + libs/libc/errno/lib_errno.c | 2 + libs/libc/eventfd/CMakeLists.txt | 2 + libs/libc/eventfd/Make.defs | 2 + libs/libc/eventfd/lib_eventfd.c | 2 + libs/libc/fdt/CMakeLists.txt | 2 + libs/libc/fdt/Make.defs | 2 + libs/libc/fdt/version_gen.h | 2 + libs/libc/fixedmath/CMakeLists.txt | 2 + libs/libc/fixedmath/Make.defs | 2 + libs/libc/fixedmath/lib_b16atan2.c | 2 + libs/libc/fixedmath/lib_b16cos.c | 2 + libs/libc/fixedmath/lib_b16sin.c | 2 + libs/libc/fixedmath/lib_fixedmath.c | 2 + libs/libc/fixedmath/lib_ubsqrt.c | 2 + libs/libc/gdbstub/CMakeLists.txt | 21 + libs/libc/gdbstub/Make.defs | 2 + libs/libc/gdbstub/lib_gdbstub.c | 2 + libs/libc/gnssutils/CMakeLists.txt | 2 + libs/libc/gnssutils/Make.defs | 2 + libs/libc/grp/CMakeLists.txt | 2 + libs/libc/grp/Make.defs | 2 + libs/libc/grp/lib_find_grpfile.c | 2 + libs/libc/grp/lib_getgrbuf.c | 2 + libs/libc/grp/lib_getgrbufr.c | 2 + libs/libc/grp/lib_getgrgid.c | 2 + libs/libc/grp/lib_getgrgidr.c | 2 + libs/libc/grp/lib_getgrnam.c | 2 + libs/libc/grp/lib_getgrnamr.c | 1 + libs/libc/grp/lib_grp.h | 2 + libs/libc/grp/lib_grp_globals.c | 2 + libs/libc/grp/lib_initgroups.c | 2 + libs/libc/hex2bin/CMakeLists.txt | 2 + libs/libc/hex2bin/Make.defs | 2 + libs/libc/hex2bin/lib_fhex2mem.c | 2 + libs/libc/hex2bin/lib_hex2bin.c | 2 + libs/libc/hex2bin/lib_hex2mem.c | 2 + libs/libc/inttypes/CMakeLists.txt | 2 + libs/libc/inttypes/Make.defs | 2 + libs/libc/inttypes/lib_imaxabs.c | 2 + libs/libc/inttypes/lib_imaxdiv.c | 2 + libs/libc/inttypes/lib_strtoimax.c | 2 + libs/libc/inttypes/lib_strtoumax.c | 2 + libs/libc/kbin/CMakeLists.txt | 21 + libs/libc/kbin/Makefile | 2 + libs/libc/libc.h | 2 + libs/libc/libgen/Make.defs | 2 + libs/libc/libgen/lib_basename.c | 2 + libs/libc/libgen/lib_dirname.c | 2 + libs/libc/locale/CMakeLists.txt | 2 + libs/libc/locale/Make.defs | 2 + libs/libc/locale/lib_catalog.c | 2 + libs/libc/locale/lib_duplocale.c | 2 + libs/libc/locale/lib_freelocale.c | 2 + libs/libc/locale/lib_gettext.c | 2 + libs/libc/locale/lib_iconv.c | 2 + libs/libc/locale/lib_langinfo.c | 2 + libs/libc/locale/lib_localeconv.c | 2 + libs/libc/locale/lib_maxlocale.c | 2 + libs/libc/locale/lib_newlocale.c | 2 + libs/libc/locale/lib_setlocale.c | 2 + libs/libc/locale/lib_uselocale.c | 2 + libs/libc/lzf/Make.defs | 2 + libs/libc/lzf/lzf.h | 4 +- libs/libc/lzf/lzf_c.c | 3 +- libs/libc/lzf/lzf_d.c | 4 +- libs/libc/machine/CMakeLists.txt | 2 + libs/libc/machine/Make.defs | 2 + libs/libc/machine/arch_atomic.c | 2 + libs/libc/machine/arm/CMakeLists.txt | 2 + libs/libc/machine/arm/Make.defs | 2 + libs/libc/machine/arm/aeabi_atexit.c | 2 + libs/libc/machine/arm/arm/CMakeLists.txt | 2 + libs/libc/machine/arm/arm/Make.defs | 2 + libs/libc/machine/arm/arm/arch_elf.c | 2 + libs/libc/machine/arm/armv6-m/CMakeLists.txt | 2 + libs/libc/machine/arm/armv6-m/Make.defs | 2 + libs/libc/machine/arm/armv6-m/arch_elf.c | 2 + libs/libc/machine/arm/armv7-a/CMakeLists.txt | 2 + libs/libc/machine/arm/armv7-a/Make.defs | 2 + libs/libc/machine/arm/armv7-a/arch_elf.c | 2 + .../machine/arm/armv7-a/gnu/acle-compat.h | 4 +- .../machine/arm/armv7-a/gnu/arch_memchr.S | 4 +- .../machine/arm/armv7-a/gnu/arch_memcpy.S | 4 +- .../machine/arm/armv7-a/gnu/arch_memmove.S | 4 +- .../machine/arm/armv7-a/gnu/arch_memset.S | 4 +- .../machine/arm/armv7-a/gnu/arch_strcmp.S | 5 +- .../machine/arm/armv7-a/gnu/arch_strlen.S | 4 +- libs/libc/machine/arm/armv7-m/CMakeLists.txt | 2 + libs/libc/machine/arm/armv7-m/Make.defs | 2 + libs/libc/machine/arm/armv7-m/arch_elf.c | 2 + .../machine/arm/armv7-m/gnu/acle-compat.h | 4 +- .../machine/arm/armv7-m/gnu/arch_memchr.S | 4 +- .../machine/arm/armv7-m/gnu/arch_memcpy.S | 4 +- .../machine/arm/armv7-m/gnu/arch_memmove.S | 4 +- .../machine/arm/armv7-m/gnu/arch_memset.S | 4 +- .../machine/arm/armv7-m/gnu/arch_strcmp.S | 4 +- .../machine/arm/armv7-m/gnu/arch_strcpy.S | 630 +++++++++--------- .../machine/arm/armv7-m/gnu/arch_strlen.S | 4 +- libs/libc/machine/arm/armv7-r/CMakeLists.txt | 2 + libs/libc/machine/arm/armv7-r/Make.defs | 2 + libs/libc/machine/arm/armv7-r/arch_elf.c | 2 + .../machine/arm/armv7-r/gnu/acle-compat.h | 4 +- .../machine/arm/armv7-r/gnu/arch_memchr.S | 4 +- .../machine/arm/armv7-r/gnu/arch_memcpy.S | 4 +- .../machine/arm/armv7-r/gnu/arch_memmove.S | 4 +- .../machine/arm/armv7-r/gnu/arch_memset.S | 4 +- .../machine/arm/armv7-r/gnu/arch_strcmp.S | 5 +- .../machine/arm/armv7-r/gnu/arch_strlen.S | 4 +- libs/libc/machine/arm/armv8-m/CMakeLists.txt | 2 + libs/libc/machine/arm/armv8-m/Make.defs | 2 + libs/libc/machine/arm/armv8-m/arch_elf.c | 2 + .../machine/arm/armv8-m/gnu/acle-compat.h | 4 +- .../machine/arm/armv8-m/gnu/arch_memchr.S | 4 +- .../machine/arm/armv8-m/gnu/arch_memcpy.S | 4 +- .../machine/arm/armv8-m/gnu/arch_memmove.S | 4 +- .../machine/arm/armv8-m/gnu/arch_memset.S | 4 +- .../machine/arm/armv8-m/gnu/arch_strcmp.S | 4 +- .../machine/arm/armv8-m/gnu/arch_strcpy.S | 2 + .../machine/arm/armv8-m/gnu/arch_strlen.S | 4 +- libs/libc/machine/arm/gnu/arch_setjmp.S | 2 + libs/libc/machine/arm/gnu/tc32_setjmp.S | 2 + libs/libc/machine/arm/gnu_unwind_find_exidx.c | 2 + libs/libc/machine/arm64/CMakeLists.txt | 2 + libs/libc/machine/arm64/Make.defs | 2 + libs/libc/machine/arm64/arch_elf.c | 2 + libs/libc/machine/arm64/gnu/CMakeLists.txt | 2 + libs/libc/machine/arm64/gnu/arch_memchr.S | 4 +- libs/libc/machine/arm64/gnu/arch_memcmp.S | 4 +- libs/libc/machine/arm64/gnu/arch_memcpy.S | 4 +- libs/libc/machine/arm64/gnu/arch_memmove.S | 4 +- libs/libc/machine/arm64/gnu/arch_memset.S | 4 +- libs/libc/machine/arm64/gnu/arch_setjmp.S | 4 +- libs/libc/machine/arm64/gnu/arch_strchr.S | 4 +- libs/libc/machine/arm64/gnu/arch_strchrnul.S | 4 +- libs/libc/machine/arm64/gnu/arch_strcmp.S | 4 +- libs/libc/machine/arm64/gnu/arch_strcpy.S | 4 +- libs/libc/machine/arm64/gnu/arch_strlen.S | 4 +- libs/libc/machine/arm64/gnu/arch_strncmp.S | 4 +- libs/libc/machine/arm64/gnu/arch_strnlen.S | 4 +- libs/libc/machine/arm64/gnu/arch_strrchr.S | 4 +- libs/libc/machine/renesas/CMakeLists.txt | 21 + libs/libc/machine/renesas/Make.defs | 2 + libs/libc/machine/renesas/rx/CMakeLists.txt | 21 + libs/libc/machine/renesas/rx/Make.defs | 2 + .../libc/machine/renesas/rx/gnu/arch_setjmp.S | 2 + libs/libc/machine/risc-v/Make.defs | 2 + libs/libc/machine/risc-v/arch_elf.c | 2 + .../libc/machine/risc-v/common/CMakeLists.txt | 2 + libs/libc/machine/risc-v/gnu/CMakeLists.txt | 2 + libs/libc/machine/risc-v/gnu/arch_memcpy.S | 2 + libs/libc/machine/risc-v/gnu/arch_memset.S | 3 +- libs/libc/machine/risc-v/gnu/arch_setjmp.S | 2 + libs/libc/machine/risc-v/gnu/arch_strcmp.S | 3 +- libs/libc/machine/risc-v/gnu/asm.h | 3 +- libs/libc/machine/risc-v/rv32/CMakeLists.txt | 2 + libs/libc/machine/risc-v/rv64/CMakeLists.txt | 21 + libs/libc/machine/sim/CMakeLists.txt | 2 + libs/libc/machine/sim/Make.defs | 2 + libs/libc/machine/sim/arch_elf.c | 2 + libs/libc/machine/sim/arch_elf64.c | 2 + libs/libc/machine/sim/arch_setjmp_arm.S | 5 +- libs/libc/machine/sim/arch_setjmp_arm64.S | 2 + libs/libc/machine/sim/arch_setjmp_x86.S | 2 + libs/libc/machine/sim/arch_setjmp_x86.asm | 2 + libs/libc/machine/sim/arch_setjmp_x86_64.S | 2 + libs/libc/machine/sparc/CMakeLists.txt | 21 + libs/libc/machine/sparc/Make.defs | 2 + libs/libc/machine/sparc/arch_elf.c | 2 + libs/libc/machine/tricore/CMakeLists.txt | 2 + libs/libc/machine/x86/CMakeLists.txt | 2 + libs/libc/machine/x86/Make.defs | 2 + libs/libc/machine/x86/arch_elf.c | 2 + libs/libc/machine/x86_64/CMakeLists.txt | 2 + libs/libc/machine/x86_64/Make.defs | 2 + libs/libc/machine/x86_64/arch_elf64.c | 2 + libs/libc/machine/x86_64/gnu/CMakeLists.txt | 2 + libs/libc/machine/x86_64/gnu/arch_memcmp.S | 4 +- libs/libc/machine/x86_64/gnu/arch_memmove.S | 4 +- .../machine/x86_64/gnu/arch_memset_avx2.S | 4 +- .../machine/x86_64/gnu/arch_memset_sse2.S | 4 +- libs/libc/machine/x86_64/gnu/arch_stpcpy.S | 4 +- libs/libc/machine/x86_64/gnu/arch_stpncpy.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strcat.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strcmp.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strcpy.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strlen.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strncmp.S | 4 +- libs/libc/machine/x86_64/gnu/arch_strncpy.S | 4 +- libs/libc/machine/x86_64/gnu/cache.h | 4 +- libs/libc/machine/xtensa/CMakeLists.txt | 2 + libs/libc/machine/xtensa/Make.defs | 2 + libs/libc/machine/xtensa/arch_elf.c | 2 + libs/libc/machine/xtensa/arch_memcpy.S | 2 + libs/libc/machine/xtensa/arch_memmove.S | 2 + libs/libc/machine/xtensa/arch_memset.S | 2 + libs/libc/machine/xtensa/arch_setjmp.S | 2 + libs/libc/machine/xtensa/arch_strcmp.S | 2 + libs/libc/machine/xtensa/arch_strcpy.S | 2 + libs/libc/machine/xtensa/arch_strlen.S | 2 + libs/libc/machine/xtensa/arch_strncpy.S | 2 + libs/libc/machine/xtensa/xtensa_asm.h | 2 + libs/libc/misc/CMakeLists.txt | 2 + libs/libc/misc/Make.defs | 2 + libs/libc/misc/lib_bitmap.c | 2 + libs/libc/misc/lib_crc16.c | 2 + libs/libc/misc/lib_crc16ccitt.c | 2 + libs/libc/misc/lib_crc32.c | 21 +- libs/libc/misc/lib_crc64.c | 2 + libs/libc/misc/lib_crc8.c | 2 + libs/libc/misc/lib_crc8ccitt.c | 2 + libs/libc/misc/lib_crc8table.c | 2 + libs/libc/misc/lib_cxx_initialize.c | 2 + libs/libc/misc/lib_debug.c | 2 + libs/libc/misc/lib_dumpbuffer.c | 2 + libs/libc/misc/lib_dumpvbuffer.c | 2 + libs/libc/misc/lib_envpath.c | 2 + libs/libc/misc/lib_err.c | 2 + libs/libc/misc/lib_execinfo.c | 2 + libs/libc/misc/lib_fchmodat.c | 2 + libs/libc/misc/lib_fdcheck.c | 2 + libs/libc/misc/lib_fdsan.c | 5 +- libs/libc/misc/lib_fnmatch.c | 11 +- libs/libc/misc/lib_fstatat.c | 2 + libs/libc/misc/lib_ftok.c | 2 + libs/libc/misc/lib_getfullpath.c | 2 + libs/libc/misc/lib_getnprocs.c | 2 + libs/libc/misc/lib_getrandom.c | 2 + libs/libc/misc/lib_glob.c | 2 + libs/libc/misc/lib_idr.c | 2 + libs/libc/misc/lib_impure.c | 2 + libs/libc/misc/lib_instrument.c | 2 + libs/libc/misc/lib_kbddecode.c | 2 + libs/libc/misc/lib_kbdencode.c | 2 + libs/libc/misc/lib_mallopt.c | 2 + libs/libc/misc/lib_memfd.c | 4 +- libs/libc/misc/lib_memoryregion.c | 2 + libs/libc/misc/lib_mkdirat.c | 2 + libs/libc/misc/lib_mkfifo.c | 2 + libs/libc/misc/lib_mknod.c | 2 + libs/libc/misc/lib_mutex.c | 2 + libs/libc/misc/lib_ncompress.c | 54 +- libs/libc/misc/lib_openat.c | 2 + libs/libc/misc/lib_pathbuffer.c | 2 + libs/libc/misc/lib_slcddecode.c | 2 + libs/libc/misc/lib_slcdencode.c | 2 + libs/libc/misc/lib_tea_decrypt.c | 2 + libs/libc/misc/lib_tea_encrypt.c | 2 + libs/libc/misc/lib_uadd32x64.c | 2 + libs/libc/misc/lib_uadd64.c | 2 + libs/libc/misc/lib_umask.c | 2 + libs/libc/misc/lib_umul32.c | 2 + libs/libc/misc/lib_umul32x64.c | 2 + libs/libc/misc/lib_umul64.c | 2 + libs/libc/misc/lib_usub64.c | 2 + libs/libc/misc/lib_usub64x32.c | 2 + libs/libc/misc/lib_utimensat.c | 2 + libs/libc/misc/lib_utsname.c | 5 +- libs/libc/misc/lib_xorshift128.c | 2 + libs/libc/modlib/CMakeLists.txt | 2 + libs/libc/modlib/Make.defs | 2 + libs/libc/modlib/modlib.h | 2 + libs/libc/modlib/modlib_bind.c | 2 + libs/libc/modlib/modlib_depend.c | 2 + libs/libc/modlib/modlib_globals.S | 22 + libs/libc/modlib/modlib_init.c | 2 + libs/libc/modlib/modlib_iobuffer.c | 2 + libs/libc/modlib/modlib_load.c | 2 + libs/libc/modlib/modlib_loadhdrs.c | 2 + libs/libc/modlib/modlib_read.c | 2 + libs/libc/modlib/modlib_registry.c | 2 + libs/libc/modlib/modlib_sections.c | 2 + libs/libc/modlib/modlib_symbols.c | 2 + libs/libc/modlib/modlib_symtab.c | 2 + libs/libc/modlib/modlib_uninit.c | 2 + libs/libc/modlib/modlib_unload.c | 2 + libs/libc/modlib/modlib_verify.c | 2 + libs/libc/net/CMakeLists.txt | 2 + libs/libc/net/Make.defs | 2 + libs/libc/net/lib_accept.c | 2 + libs/libc/net/lib_addrconfig.c | 5 +- libs/libc/net/lib_addroute.c | 2 + libs/libc/net/lib_base64.c | 2 + libs/libc/net/lib_delroute.c | 2 + libs/libc/net/lib_etheraton.c | 2 + libs/libc/net/lib_etherntoa.c | 2 + libs/libc/net/lib_freeifaddrs.c | 2 + libs/libc/net/lib_freenameindex.c | 2 + libs/libc/net/lib_getifaddrs.c | 2 + libs/libc/net/lib_htonl.c | 2 + libs/libc/net/lib_htonq.c | 2 + libs/libc/net/lib_htons.c | 2 + libs/libc/net/lib_indextoname.c | 2 + libs/libc/net/lib_inetaddr.c | 10 +- libs/libc/net/lib_inetaton.c | 2 + libs/libc/net/lib_inetnetwork.c | 2 + libs/libc/net/lib_inetntoa.c | 2 + libs/libc/net/lib_inetntop.c | 13 +- libs/libc/net/lib_inetpton.c | 13 +- libs/libc/net/lib_loopback.c | 2 + libs/libc/net/lib_nameindex.c | 2 + libs/libc/net/lib_nametoindex.c | 2 + libs/libc/netdb/CMakeLists.txt | 2 + libs/libc/netdb/Make.defs | 2 + libs/libc/netdb/lib_dn.c | 2 + libs/libc/netdb/lib_dns.h | 43 +- libs/libc/netdb/lib_dnsaddserver.c | 2 + libs/libc/netdb/lib_dnsbind.c | 2 + libs/libc/netdb/lib_dnscache.c | 2 + libs/libc/netdb/lib_dnsdefaultserver.c | 2 + libs/libc/netdb/lib_dnsforeach.c | 2 + libs/libc/netdb/lib_dnsinit.c | 2 + libs/libc/netdb/lib_dnsnotify.c | 2 + libs/libc/netdb/lib_dnsquery.c | 18 +- libs/libc/netdb/lib_dnsqueryfamily.c | 2 + libs/libc/netdb/lib_freeaddrinfo.c | 2 + libs/libc/netdb/lib_gaistrerror.c | 2 + libs/libc/netdb/lib_getaddrinfo.c | 2 + libs/libc/netdb/lib_gethostbyaddr.c | 2 + libs/libc/netdb/lib_gethostbyaddrr.c | 2 + libs/libc/netdb/lib_gethostbyname.c | 2 + libs/libc/netdb/lib_gethostbyname2.c | 2 + libs/libc/netdb/lib_gethostbyname2r.c | 2 + libs/libc/netdb/lib_gethostbynamer.c | 2 + libs/libc/netdb/lib_gethostentbynamer.c | 2 + libs/libc/netdb/lib_getnameinfo.c | 2 + libs/libc/netdb/lib_getservbyname.c | 2 + libs/libc/netdb/lib_getservbynamer.c | 2 + libs/libc/netdb/lib_getservbyport.c | 2 + libs/libc/netdb/lib_getservbyportr.c | 2 + libs/libc/netdb/lib_netdb.c | 2 + libs/libc/netdb/lib_netdb.h | 2 + libs/libc/netdb/lib_parsehostfile.c | 2 + libs/libc/netdb/lib_proto.c | 2 + libs/libc/netdb/lib_protor.c | 3 +- libs/libc/netdb/lib_rexec.c | 2 + libs/libc/obstack/CMakeLists.txt | 21 + libs/libc/obstack/Make.defs | 2 + libs/libc/obstack/lib_obstack_alloc.c | 2 + libs/libc/obstack/lib_obstack_blank.c | 2 + libs/libc/obstack/lib_obstack_copy.c | 2 + libs/libc/obstack/lib_obstack_finish.c | 2 + libs/libc/obstack/lib_obstack_free.c | 2 + libs/libc/obstack/lib_obstack_grow.c | 2 + libs/libc/obstack/lib_obstack_init.c | 2 + libs/libc/obstack/lib_obstack_make_room.c | 2 + libs/libc/obstack/lib_obstack_malloc.c | 2 + libs/libc/obstack/lib_obstack_malloc.h | 2 + libs/libc/obstack/lib_obstack_object_size.c | 2 + libs/libc/obstack/lib_obstack_printf.c | 2 + libs/libc/obstack/lib_obstack_room.c | 2 + libs/libc/obstack/lib_obstack_vprintf.c | 2 + libs/libc/pthread/CMakeLists.txt | 2 + libs/libc/pthread/Make.defs | 2 + libs/libc/pthread/pthread_atfork.c | 2 + libs/libc/pthread/pthread_attr_destroy.c | 2 + libs/libc/pthread/pthread_attr_getaffinity.c | 2 + .../pthread/pthread_attr_getdetachstate.c | 2 + .../pthread/pthread_attr_getinheritsched.c | 2 + .../libc/pthread/pthread_attr_getschedparam.c | 2 + .../pthread/pthread_attr_getschedpolicy.c | 2 + libs/libc/pthread/pthread_attr_getscope.c | 2 + libs/libc/pthread/pthread_attr_getstack.c | 2 + libs/libc/pthread/pthread_attr_getstackaddr.c | 2 + libs/libc/pthread/pthread_attr_getstacksize.c | 2 + libs/libc/pthread/pthread_attr_init.c | 2 + libs/libc/pthread/pthread_attr_setaffinity.c | 2 + .../pthread/pthread_attr_setdetachstate.c | 2 + .../pthread/pthread_attr_setinheritsched.c | 2 + .../libc/pthread/pthread_attr_setschedparam.c | 2 + .../pthread/pthread_attr_setschedpolicy.c | 2 + libs/libc/pthread/pthread_attr_setscope.c | 2 + libs/libc/pthread/pthread_attr_setstack.c | 2 + libs/libc/pthread/pthread_attr_setstackaddr.c | 2 + libs/libc/pthread/pthread_attr_setstacksize.c | 2 + .../pthread/pthread_barrierattr_destroy.c | 2 + .../pthread/pthread_barrierattr_getpshared.c | 2 + libs/libc/pthread/pthread_barrierattr_init.c | 2 + .../pthread/pthread_barrierattr_setpshared.c | 2 + libs/libc/pthread/pthread_barrierdestroy.c | 2 + libs/libc/pthread/pthread_barrierinit.c | 2 + libs/libc/pthread/pthread_cleanup.c | 2 + libs/libc/pthread/pthread_condattr_destroy.c | 2 + libs/libc/pthread/pthread_condattr_getclock.c | 2 + .../pthread/pthread_condattr_getpshared.c | 2 + libs/libc/pthread/pthread_condattr_init.c | 2 + libs/libc/pthread/pthread_condattr_setclock.c | 2 + .../pthread/pthread_condattr_setpshared.c | 2 + libs/libc/pthread/pthread_conddestroy.c | 2 + libs/libc/pthread/pthread_condinit.c | 2 + libs/libc/pthread/pthread_condtimedwait.c | 2 + libs/libc/pthread/pthread_create.c | 2 + libs/libc/pthread/pthread_exit.c | 2 + libs/libc/pthread/pthread_get_stackaddr_np.c | 5 +- libs/libc/pthread/pthread_get_stacksize_np.c | 5 +- libs/libc/pthread/pthread_getcpuclockid.c | 2 + libs/libc/pthread/pthread_getname_np.c | 2 + libs/libc/pthread/pthread_getspecific.c | 2 + libs/libc/pthread/pthread_gettid_np.c | 2 + libs/libc/pthread/pthread_keycreate.c | 2 + libs/libc/pthread/pthread_keydelete.c | 2 + libs/libc/pthread/pthread_kill.c | 2 + .../pthread/pthread_mutex_getprioceiling.c | 2 + libs/libc/pthread/pthread_mutex_lock.c | 2 + .../pthread/pthread_mutex_setprioceiling.c | 2 + libs/libc/pthread/pthread_mutexattr_destroy.c | 2 + .../pthread_mutexattr_getprioceiling.c | 2 + .../pthread/pthread_mutexattr_getprotocol.c | 2 + .../pthread/pthread_mutexattr_getpshared.c | 2 + .../pthread/pthread_mutexattr_getrobust.c | 2 + libs/libc/pthread/pthread_mutexattr_gettype.c | 2 + libs/libc/pthread/pthread_mutexattr_init.c | 2 + .../pthread_mutexattr_setprioceiling.c | 2 + .../pthread/pthread_mutexattr_setprotocol.c | 2 + .../pthread/pthread_mutexattr_setpshared.c | 2 + .../pthread/pthread_mutexattr_setrobust.c | 2 + libs/libc/pthread/pthread_mutexattr_settype.c | 2 + libs/libc/pthread/pthread_once.c | 2 + libs/libc/pthread/pthread_rwlock.c | 2 + libs/libc/pthread/pthread_rwlock_rdlock.c | 2 + libs/libc/pthread/pthread_rwlock_wrlock.c | 2 + .../libc/pthread/pthread_rwlockattr_destroy.c | 2 + .../pthread/pthread_rwlockattr_getpshared.c | 2 + libs/libc/pthread/pthread_rwlockattr_init.c | 2 + .../pthread/pthread_rwlockattr_setpshared.c | 2 + libs/libc/pthread/pthread_self.c | 2 + libs/libc/pthread/pthread_setcancelstate.c | 2 + libs/libc/pthread/pthread_setcanceltype.c | 2 + libs/libc/pthread/pthread_setname_np.c | 2 + libs/libc/pthread/pthread_setspecific.c | 2 + libs/libc/pthread/pthread_spinlock.c | 2 + libs/libc/pthread/pthread_testcancel.c | 2 + libs/libc/pthread/pthread_yield.c | 2 + libs/libc/pwd/CMakeLists.txt | 2 + libs/libc/pwd/Make.defs | 2 + libs/libc/pwd/lib_find_pwdfile.c | 2 + libs/libc/pwd/lib_getpwbuf.c | 2 + libs/libc/pwd/lib_getpwbufr.c | 2 + libs/libc/pwd/lib_getpwent.c | 2 + libs/libc/pwd/lib_getpwnam.c | 2 + libs/libc/pwd/lib_getpwnamr.c | 2 + libs/libc/pwd/lib_getpwuid.c | 2 + libs/libc/pwd/lib_getpwuidr.c | 2 + libs/libc/pwd/lib_pwd.h | 2 + libs/libc/pwd/lib_pwd_globals.c | 2 + libs/libc/queue/CMakeLists.txt | 2 + libs/libc/queue/Make.defs | 2 + libs/libc/queue/queue.c | 2 + libs/libc/regex/CMakeLists.txt | 2 + libs/libc/regex/Make.defs | 2 + libs/libc/regex/regcomp.c | 6 +- libs/libc/regex/regerror.c | 6 +- libs/libc/regex/regexec.c | 6 +- libs/libc/regex/tre-mem.c | 6 +- libs/libc/regex/tre.h | 8 +- libs/libc/sched/CMakeLists.txt | 2 + libs/libc/sched/Make.defs | 2 + libs/libc/sched/clock_getcpuclockid.c | 2 + libs/libc/sched/clock_getres.c | 2 + libs/libc/sched/sched_backtrace.c | 2 + libs/libc/sched/sched_cpucount.c | 2 + libs/libc/sched/sched_dumpstack.c | 2 + libs/libc/sched/sched_getprioritymax.c | 2 + libs/libc/sched/sched_getprioritymin.c | 2 + libs/libc/sched/task_cancelpt.c | 2 + libs/libc/sched/task_setcancelstate.c | 2 + libs/libc/sched/task_setcanceltype.c | 2 + libs/libc/sched/task_startup.c | 2 + libs/libc/sched/task_testcancel.c | 2 + libs/libc/search/CMakeLists.txt | 2 + libs/libc/search/Make.defs | 2 + libs/libc/search/hash_func.c | 4 +- libs/libc/search/hcreate.c | 9 +- libs/libc/search/hcreate_r.c | 8 +- libs/libc/semaphore/CMakeLists.txt | 2 + libs/libc/semaphore/Make.defs | 2 + libs/libc/semaphore/sem_clockwait.c | 2 + libs/libc/semaphore/sem_close.c | 2 + libs/libc/semaphore/sem_destroy.c | 2 + libs/libc/semaphore/sem_getprioceiling.c | 2 + libs/libc/semaphore/sem_getprotocol.c | 2 + libs/libc/semaphore/sem_getvalue.c | 2 + libs/libc/semaphore/sem_init.c | 2 + libs/libc/semaphore/sem_open.c | 2 + libs/libc/semaphore/sem_post.c | 2 + libs/libc/semaphore/sem_setprioceiling.c | 2 + libs/libc/semaphore/sem_setprotocol.c | 2 + libs/libc/semaphore/sem_timedwait.c | 2 + libs/libc/semaphore/sem_trywait.c | 2 + libs/libc/semaphore/sem_unlink.c | 2 + libs/libc/semaphore/sem_wait.c | 2 + libs/libc/signal/CMakeLists.txt | 2 + libs/libc/signal/Make.defs | 2 + libs/libc/signal/sig_addset.c | 2 + libs/libc/signal/sig_altstack.c | 2 + libs/libc/signal/sig_andset.c | 2 + libs/libc/signal/sig_delset.c | 2 + libs/libc/signal/sig_emptyset.c | 2 + libs/libc/signal/sig_fillset.c | 2 + libs/libc/signal/sig_hold.c | 2 + libs/libc/signal/sig_ignore.c | 2 + libs/libc/signal/sig_interrupt.c | 2 + libs/libc/signal/sig_isemptyset.c | 2 + libs/libc/signal/sig_ismember.c | 2 + libs/libc/signal/sig_killpg.c | 2 + libs/libc/signal/sig_nandset.c | 2 + libs/libc/signal/sig_orset.c | 2 + libs/libc/signal/sig_pause.c | 2 + libs/libc/signal/sig_psignal.c | 2 + libs/libc/signal/sig_raise.c | 2 + libs/libc/signal/sig_relse.c | 2 + libs/libc/signal/sig_set.c | 2 + libs/libc/signal/sig_signal.c | 2 + libs/libc/signal/sig_wait.c | 2 + libs/libc/signal/sig_xorset.c | 2 + libs/libc/spawn/CMakeLists.txt | 2 + libs/libc/spawn/Make.defs | 2 + libs/libc/spawn/lib_psa_destroy.c | 2 + libs/libc/spawn/lib_psa_dump.c | 2 + libs/libc/spawn/lib_psa_getflags.c | 2 + libs/libc/spawn/lib_psa_getschedparam.c | 2 + libs/libc/spawn/lib_psa_getschedpolicy.c | 2 + libs/libc/spawn/lib_psa_getsigmask.c | 2 + libs/libc/spawn/lib_psa_getstackaddr.c | 2 + libs/libc/spawn/lib_psa_getstacksize.c | 2 + libs/libc/spawn/lib_psa_init.c | 2 + libs/libc/spawn/lib_psa_setflags.c | 2 + libs/libc/spawn/lib_psa_setschedparam.c | 2 + libs/libc/spawn/lib_psa_setschedpolicy.c | 2 + libs/libc/spawn/lib_psa_setsigmask.c | 2 + libs/libc/spawn/lib_psa_setstackaddr.c | 2 + libs/libc/spawn/lib_psa_setstacksize.c | 2 + libs/libc/spawn/lib_psfa_addaction.c | 2 + libs/libc/spawn/lib_psfa_addclose.c | 2 + libs/libc/spawn/lib_psfa_adddup2.c | 2 + libs/libc/spawn/lib_psfa_addopen.c | 2 + libs/libc/spawn/lib_psfa_destroy.c | 2 + libs/libc/spawn/lib_psfa_dump.c | 2 + libs/libc/spawn/lib_psfa_init.c | 2 + libs/libc/stdio/CMakeLists.txt | 2 + libs/libc/stdio/Make.defs | 2 + libs/libc/stdio/lib_asprintf.c | 2 + libs/libc/stdio/lib_clearerr.c | 2 + libs/libc/stdio/lib_dprintf.c | 2 + libs/libc/stdio/lib_dtoa_data.c | 4 +- libs/libc/stdio/lib_dtoa_engine.c | 4 +- libs/libc/stdio/lib_dtoa_engine.h | 4 +- libs/libc/stdio/lib_fclose.c | 2 + libs/libc/stdio/lib_feof.c | 2 + libs/libc/stdio/lib_ferror.c | 2 + libs/libc/stdio/lib_fflush.c | 2 + libs/libc/stdio/lib_fgetc.c | 2 + libs/libc/stdio/lib_fgetpos.c | 2 + libs/libc/stdio/lib_fgets.c | 2 + libs/libc/stdio/lib_fgetwc.c | 3 +- libs/libc/stdio/lib_fileno.c | 2 + libs/libc/stdio/lib_fmemopen.c | 2 + libs/libc/stdio/lib_fopen.c | 2 + libs/libc/stdio/lib_fopencookie.c | 2 + libs/libc/stdio/lib_fprintf.c | 2 + libs/libc/stdio/lib_fputc.c | 2 + libs/libc/stdio/lib_fputs.c | 2 + libs/libc/stdio/lib_fputwc.c | 3 +- libs/libc/stdio/lib_fputws.c | 3 +- libs/libc/stdio/lib_fread.c | 2 + libs/libc/stdio/lib_freopen.c | 2 + libs/libc/stdio/lib_fscanf.c | 2 + libs/libc/stdio/lib_fseek.c | 2 + libs/libc/stdio/lib_fseeko.c | 2 + libs/libc/stdio/lib_fsetpos.c | 2 + libs/libc/stdio/lib_ftell.c | 2 + libs/libc/stdio/lib_ftello.c | 2 + libs/libc/stdio/lib_fwrite.c | 2 + libs/libc/stdio/lib_getc.c | 2 + libs/libc/stdio/lib_getchar.c | 2 + libs/libc/stdio/lib_getdelim.c | 2 + libs/libc/stdio/lib_gets.c | 2 + libs/libc/stdio/lib_gets_s.c | 2 + libs/libc/stdio/lib_getwc.c | 3 +- libs/libc/stdio/lib_libbsprintf.c | 2 + libs/libc/stdio/lib_libdgets.c | 2 + libs/libc/stdio/lib_libfflush.c | 2 + libs/libc/stdio/lib_libfgets.c | 2 + libs/libc/stdio/lib_libfilelock.c | 2 + libs/libc/stdio/lib_libflushall.c | 2 + libs/libc/stdio/lib_libfread_unlocked.c | 2 + libs/libc/stdio/lib_libfwrite.c | 2 + libs/libc/stdio/lib_libgetstreams.c | 2 + libs/libc/stdio/lib_libsprintf.c | 2 + libs/libc/stdio/lib_libvscanf.c | 2 + libs/libc/stdio/lib_libvsprintf.c | 10 +- libs/libc/stdio/lib_open_memstream.c | 2 + libs/libc/stdio/lib_perror.c | 2 + libs/libc/stdio/lib_printf.c | 2 + libs/libc/stdio/lib_putc.c | 2 + libs/libc/stdio/lib_putchar.c | 2 + libs/libc/stdio/lib_puts.c | 2 + libs/libc/stdio/lib_putwc.c | 3 +- libs/libc/stdio/lib_putwchar.c | 3 +- libs/libc/stdio/lib_rdflush_unlocked.c | 2 + libs/libc/stdio/lib_remove.c | 2 + libs/libc/stdio/lib_renameat.c | 2 + libs/libc/stdio/lib_rewind.c | 2 + libs/libc/stdio/lib_scanf.c | 2 + libs/libc/stdio/lib_setbuf.c | 2 + libs/libc/stdio/lib_setbuffer.c | 2 + libs/libc/stdio/lib_setvbuf.c | 2 + libs/libc/stdio/lib_snprintf.c | 2 + libs/libc/stdio/lib_sprintf.c | 2 + libs/libc/stdio/lib_sscanf.c | 2 + libs/libc/stdio/lib_tempnam.c | 2 + libs/libc/stdio/lib_tmpfile.c | 2 + libs/libc/stdio/lib_tmpnam.c | 2 + libs/libc/stdio/lib_ultoa_invert.c | 4 +- libs/libc/stdio/lib_ultoa_invert.h | 4 +- libs/libc/stdio/lib_ungetc.c | 2 + libs/libc/stdio/lib_ungetwc.c | 3 +- libs/libc/stdio/lib_vasprintf.c | 2 + libs/libc/stdio/lib_vdprintf.c | 7 +- libs/libc/stdio/lib_vfprintf.c | 2 + libs/libc/stdio/lib_vfscanf.c | 2 + libs/libc/stdio/lib_vprintf.c | 2 + libs/libc/stdio/lib_vscanf.c | 2 + libs/libc/stdio/lib_vsnprintf.c | 2 + libs/libc/stdio/lib_vsprintf.c | 2 + libs/libc/stdio/lib_vsscanf.c | 2 + libs/libc/stdio/lib_wrflush_unlocked.c | 2 + libs/libc/stdlib/CMakeLists.txt | 2 + libs/libc/stdlib/Make.defs | 2 + libs/libc/stdlib/lib_abort.c | 2 + libs/libc/stdlib/lib_abs.c | 2 + libs/libc/stdlib/lib_aligned_alloc.c | 2 + libs/libc/stdlib/lib_atexit.c | 2 + libs/libc/stdlib/lib_atof.c | 2 + libs/libc/stdlib/lib_atoi.c | 2 + libs/libc/stdlib/lib_atol.c | 2 + libs/libc/stdlib/lib_atoll.c | 2 + libs/libc/stdlib/lib_checkbase.c | 2 + libs/libc/stdlib/lib_div.c | 5 +- libs/libc/stdlib/lib_exit.c | 2 + libs/libc/stdlib/lib_getprogname.c | 2 + libs/libc/stdlib/lib_itoa.c | 12 +- libs/libc/stdlib/lib_labs.c | 2 + libs/libc/stdlib/lib_ldiv.c | 12 +- libs/libc/stdlib/lib_llabs.c | 2 + libs/libc/stdlib/lib_lldiv.c | 12 +- libs/libc/stdlib/lib_mblen.c | 2 + libs/libc/stdlib/lib_mbstowcs.c | 2 + libs/libc/stdlib/lib_mbtowc.c | 4 +- libs/libc/stdlib/lib_mkdtemp.c | 2 + libs/libc/stdlib/lib_mkstemp.c | 2 + libs/libc/stdlib/lib_mktemp.c | 2 + libs/libc/stdlib/lib_openpty.c | 2 + libs/libc/stdlib/lib_posix_memalign.c | 2 + libs/libc/stdlib/lib_ptsname.c | 2 + libs/libc/stdlib/lib_ptsnamer.c | 2 + libs/libc/stdlib/lib_rand.c | 2 + libs/libc/stdlib/lib_rand48.c | 2 + libs/libc/stdlib/lib_reallocarray.c | 2 + libs/libc/stdlib/lib_realpath.c | 2 + libs/libc/stdlib/lib_srand.c | 2 + libs/libc/stdlib/lib_strtol.c | 2 + libs/libc/stdlib/lib_strtold.c | 6 +- libs/libc/stdlib/lib_strtoll.c | 2 + libs/libc/stdlib/lib_strtoul.c | 2 + libs/libc/stdlib/lib_strtoull.c | 2 + libs/libc/stdlib/lib_unlockpt.c | 2 + libs/libc/stdlib/lib_valloc.c | 2 + libs/libc/stdlib/lib_wcstombs.c | 2 + libs/libc/stdlib/lib_wctomb.c | 3 +- libs/libc/stream/CMakeLists.txt | 2 + libs/libc/stream/Make.defs | 2 + libs/libc/stream/lib_blkoutstream.c | 2 + libs/libc/stream/lib_bufferedoutstream.c | 2 + libs/libc/stream/lib_fileoutstream.c | 2 + libs/libc/stream/lib_hexdumpstream.c | 2 + libs/libc/stream/lib_libnoflush.c | 2 + libs/libc/stream/lib_libsnoflush.c | 2 + libs/libc/stream/lib_lowoutstream.c | 2 + libs/libc/stream/lib_lzfcompress.c | 2 + libs/libc/stream/lib_meminstream.c | 2 + libs/libc/stream/lib_memoutstream.c | 2 + libs/libc/stream/lib_memsistream.c | 2 + libs/libc/stream/lib_memsostream.c | 2 + libs/libc/stream/lib_mtdoutstream.c | 2 + libs/libc/stream/lib_nullinstream.c | 2 + libs/libc/stream/lib_nulloutstream.c | 2 + libs/libc/stream/lib_rawinstream.c | 2 + libs/libc/stream/lib_rawoutstream.c | 2 + libs/libc/stream/lib_rawsistream.c | 2 + libs/libc/stream/lib_rawsostream.c | 2 + libs/libc/stream/lib_stdinstream.c | 2 + libs/libc/stream/lib_stdoutstream.c | 2 + libs/libc/stream/lib_stdsistream.c | 2 + libs/libc/stream/lib_stdsostream.c | 2 + libs/libc/stream/lib_syslograwstream.c | 2 + libs/libc/stream/lib_syslogstream.c | 2 + libs/libc/stream/lib_zeroinstream.c | 2 + libs/libc/string/CMakeLists.txt | 2 + libs/libc/string/Make.defs | 2 + libs/libc/string/lib_bzero.c | 2 + libs/libc/string/lib_explicit_bzero.c | 2 + libs/libc/string/lib_ffs.c | 2 + libs/libc/string/lib_ffsl.c | 2 + libs/libc/string/lib_ffsll.c | 2 + libs/libc/string/lib_fls.c | 2 + libs/libc/string/lib_flsl.c | 2 + libs/libc/string/lib_flsll.c | 2 + libs/libc/string/lib_index.c | 2 + libs/libc/string/lib_isbasedigit.c | 2 + libs/libc/string/lib_memccpy.c | 2 + libs/libc/string/lib_memchr.c | 2 + libs/libc/string/lib_memcmp.c | 2 + libs/libc/string/lib_memcpy.c | 2 + libs/libc/string/lib_memmem.c | 2 + libs/libc/string/lib_memmove.c | 2 + libs/libc/string/lib_mempcpy.c | 2 + libs/libc/string/lib_memrchr.c | 2 + libs/libc/string/lib_memset.c | 2 + libs/libc/string/lib_popcount.c | 2 + libs/libc/string/lib_popcountl.c | 2 + libs/libc/string/lib_popcountll.c | 2 + libs/libc/string/lib_rawmemchr.c | 2 + libs/libc/string/lib_rindex.c | 2 + libs/libc/string/lib_skipspace.c | 2 + libs/libc/string/lib_stpcpy.c | 2 + libs/libc/string/lib_stpncpy.c | 2 + libs/libc/string/lib_strcasecmp.c | 2 + libs/libc/string/lib_strcasestr.c | 2 + libs/libc/string/lib_strcat.c | 2 + libs/libc/string/lib_strchr.c | 2 + libs/libc/string/lib_strchrnul.c | 2 + libs/libc/string/lib_strcmp.c | 2 + libs/libc/string/lib_strcoll.c | 4 +- libs/libc/string/lib_strcpy.c | 2 + libs/libc/string/lib_strcspn.c | 2 + libs/libc/string/lib_strdup.c | 2 + libs/libc/string/lib_strerror.c | 2 + libs/libc/string/lib_strerrorr.c | 2 + libs/libc/string/lib_strlcat.c | 2 + libs/libc/string/lib_strlcpy.c | 2 + libs/libc/string/lib_strlen.c | 2 + libs/libc/string/lib_strncasecmp.c | 2 + libs/libc/string/lib_strncat.c | 2 + libs/libc/string/lib_strncmp.c | 2 + libs/libc/string/lib_strncpy.c | 2 + libs/libc/string/lib_strndup.c | 2 + libs/libc/string/lib_strnlen.c | 2 + libs/libc/string/lib_strpbrk.c | 2 + libs/libc/string/lib_strrchr.c | 2 + libs/libc/string/lib_strsep.c | 2 + libs/libc/string/lib_strsignal.c | 2 + libs/libc/string/lib_strspn.c | 2 + libs/libc/string/lib_strstr.c | 5 +- libs/libc/string/lib_strtok.c | 2 + libs/libc/string/lib_strtokr.c | 2 + libs/libc/string/lib_strverscmp.c | 2 + libs/libc/string/lib_strxfrm.c | 4 +- libs/libc/string/lib_timingsafe_bcmp.c | 4 +- libs/libc/string/lib_vikmemcpy.c | 29 +- libs/libc/symtab/CMakeLists.txt | 2 + libs/libc/symtab/Make.defs | 2 + libs/libc/symtab/symtab_allsyms.c | 2 + libs/libc/symtab/symtab_findbyname.c | 2 + libs/libc/symtab/symtab_findbyvalue.c | 2 + libs/libc/symtab/symtab_sortbyname.c | 2 + libs/libc/syslog/CMakeLists.txt | 2 + libs/libc/syslog/Make.defs | 2 + libs/libc/syslog/lib_setlogmask.c | 2 + libs/libc/syslog/lib_syslog.c | 2 + libs/libc/syslog/syslog.h | 2 + libs/libc/termios/CMakeLists.txt | 2 + libs/libc/termios/Make.defs | 2 + libs/libc/termios/lib_cfmakeraw.c | 2 + libs/libc/termios/lib_cfspeed.c | 2 + libs/libc/termios/lib_isatty.c | 2 + libs/libc/termios/lib_tcdrain.c | 2 + libs/libc/termios/lib_tcflow.c | 2 + libs/libc/termios/lib_tcflush.c | 2 + libs/libc/termios/lib_tcgetattr.c | 2 + libs/libc/termios/lib_tcsendbreak.c | 2 + libs/libc/termios/lib_tcsetattr.c | 2 + libs/libc/termios/lib_ttyname.c | 2 + libs/libc/termios/lib_ttynamer.c | 2 + libs/libc/time/CMakeLists.txt | 3 +- libs/libc/time/Make.defs | 2 + libs/libc/time/lib_asctime.c | 2 + libs/libc/time/lib_asctimer.c | 2 + libs/libc/time/lib_calendar2utc.c | 2 + libs/libc/time/lib_ctime.c | 2 + libs/libc/time/lib_ctimer.c | 2 + libs/libc/time/lib_dayofweek.c | 2 + libs/libc/time/lib_daysbeforemonth.c | 2 + libs/libc/time/lib_difftime.c | 2 + libs/libc/time/lib_gethrtime.c | 2 + libs/libc/time/lib_gettimeofday.c | 2 + libs/libc/time/lib_gmtime.c | 2 + libs/libc/time/lib_gmtimer.c | 2 + libs/libc/time/lib_isleapyear.c | 2 + libs/libc/time/lib_localtime.c | 19 +- libs/libc/time/lib_nanosleep.c | 2 + libs/libc/time/lib_settimeofday.c | 2 + libs/libc/time/lib_strftime.c | 2 + libs/libc/time/lib_time.c | 2 + libs/libc/time/lib_timegm.c | 2 + libs/libc/time/lib_timespec_get.c | 2 + libs/libc/tls/CMakeLists.txt | 2 + libs/libc/tls/Make.defs | 2 + libs/libc/tls/task_getinfo.c | 2 + libs/libc/tls/task_tls.c | 2 + libs/libc/tls/task_tls_destruct.c | 2 + libs/libc/tls/tls_cleanup.c | 2 + libs/libc/tls/tls_destruct.c | 2 + libs/libc/tls/tls_getinfo.c | 2 + libs/libc/uio/CMakeLists.txt | 2 + libs/libc/uio/Make.defs | 2 + libs/libc/uio/lib_preadv.c | 2 + libs/libc/uio/lib_pwritev.c | 2 + libs/libc/uio/lib_readv.c | 2 + libs/libc/uio/lib_writev.c | 2 + libs/libc/unistd/CMakeLists.txt | 2 + libs/libc/unistd/Make.defs | 2 + libs/libc/unistd/lib_access.c | 2 + libs/libc/unistd/lib_alarm.c | 2 + libs/libc/unistd/lib_chdir.c | 2 + libs/libc/unistd/lib_daemon.c | 2 + libs/libc/unistd/lib_execl.c | 2 + libs/libc/unistd/lib_execle.c | 2 + libs/libc/unistd/lib_execv.c | 2 + libs/libc/unistd/lib_fchdir.c | 2 + libs/libc/unistd/lib_fchownat.c | 2 + libs/libc/unistd/lib_flock.c | 2 + libs/libc/unistd/lib_fork.c | 2 + libs/libc/unistd/lib_fstatvfs.c | 2 + libs/libc/unistd/lib_futimes.c | 2 + libs/libc/unistd/lib_getcwd.c | 2 + libs/libc/unistd/lib_getegid.c | 2 + libs/libc/unistd/lib_getentropy.c | 2 + libs/libc/unistd/lib_geteuid.c | 2 + libs/libc/unistd/lib_getgid.c | 2 + libs/libc/unistd/lib_gethostname.c | 9 +- libs/libc/unistd/lib_getopt.c | 2 + libs/libc/unistd/lib_getopt_common.c | 2 + libs/libc/unistd/lib_getopt_long.c | 2 + libs/libc/unistd/lib_getopt_longonly.c | 2 + libs/libc/unistd/lib_getoptargp.c | 2 + libs/libc/unistd/lib_getopterrp.c | 2 + libs/libc/unistd/lib_getoptindp.c | 2 + libs/libc/unistd/lib_getoptoptp.c | 2 + libs/libc/unistd/lib_getoptvars.c | 2 + libs/libc/unistd/lib_getpgid.c | 2 + libs/libc/unistd/lib_getpgrp.c | 2 + libs/libc/unistd/lib_getpriority.c | 2 + libs/libc/unistd/lib_getrlimit.c | 2 + libs/libc/unistd/lib_getrusage.c | 2 + libs/libc/unistd/lib_getuid.c | 2 + libs/libc/unistd/lib_linkat.c | 2 + libs/libc/unistd/lib_lockf.c | 2 + libs/libc/unistd/lib_lutimes.c | 2 + libs/libc/unistd/lib_nice.c | 2 + libs/libc/unistd/lib_pathconf.c | 2 + libs/libc/unistd/lib_posix_fallocate.c | 2 + libs/libc/unistd/lib_readlinkat.c | 2 + libs/libc/unistd/lib_restoredir.c | 2 + libs/libc/unistd/lib_setegid.c | 2 + libs/libc/unistd/lib_seteuid.c | 2 + libs/libc/unistd/lib_setgid.c | 2 + libs/libc/unistd/lib_sethostname.c | 9 +- libs/libc/unistd/lib_setpriority.c | 2 + libs/libc/unistd/lib_setregid.c | 2 + libs/libc/unistd/lib_setreuid.c | 2 + libs/libc/unistd/lib_setrlimit.c | 2 + libs/libc/unistd/lib_setuid.c | 2 + libs/libc/unistd/lib_sleep.c | 2 + libs/libc/unistd/lib_statvfs.c | 2 + libs/libc/unistd/lib_swab.c | 2 + libs/libc/unistd/lib_symlinkat.c | 2 + libs/libc/unistd/lib_sysconf.c | 2 + libs/libc/unistd/lib_times.c | 2 + libs/libc/unistd/lib_truncate.c | 2 + libs/libc/unistd/lib_unlinkat.c | 2 + libs/libc/unistd/lib_usleep.c | 2 + libs/libc/unistd/lib_utime.c | 2 + libs/libc/unistd/lib_utimes.c | 2 + libs/libc/unistd/lib_vfork.c | 2 + libs/libc/unistd/unistd.h | 2 + libs/libc/userfs/CMakeLists.txt | 2 + libs/libc/userfs/Make.defs | 2 + libs/libc/userfs/lib_userfs.c | 2 + libs/libc/uuid/CMakeLists.txt | 2 + libs/libc/uuid/Make.defs | 2 + libs/libc/uuid/lib_uuid_compare.c | 2 + libs/libc/uuid/lib_uuid_create.c | 2 + libs/libc/uuid/lib_uuid_create_nil.c | 2 + libs/libc/uuid/lib_uuid_equal.c | 2 + libs/libc/uuid/lib_uuid_from_string.c | 2 + libs/libc/uuid/lib_uuid_hash.c | 2 + libs/libc/uuid/lib_uuid_is_nil.c | 2 + libs/libc/uuid/lib_uuid_stream.c | 2 + libs/libc/uuid/lib_uuid_to_string.c | 2 + libs/libc/wchar/CMakeLists.txt | 2 + libs/libc/wchar/Make.defs | 2 + libs/libc/wchar/lib_btowc.c | 4 +- libs/libc/wchar/lib_mbrlen.c | 12 +- libs/libc/wchar/lib_mbrtowc.c | 4 +- libs/libc/wchar/lib_mbsinit.c | 2 + libs/libc/wchar/lib_mbsnrtowcs.c | 2 + libs/libc/wchar/lib_mbsrtowcs.c | 12 +- libs/libc/wchar/lib_swprintf.c | 2 + libs/libc/wchar/lib_wcrtomb.c | 38 +- libs/libc/wchar/lib_wcscat.c | 3 +- libs/libc/wchar/lib_wcschr.c | 3 +- libs/libc/wchar/lib_wcscmp.c | 38 +- libs/libc/wchar/lib_wcscoll.c | 38 +- libs/libc/wchar/lib_wcscpy.c | 3 +- libs/libc/wchar/lib_wcscspn.c | 3 +- libs/libc/wchar/lib_wcsftime.c | 2 + libs/libc/wchar/lib_wcslcat.c | 6 +- libs/libc/wchar/lib_wcslcpy.c | 4 +- libs/libc/wchar/lib_wcslen.c | 6 +- libs/libc/wchar/lib_wcsncat.c | 3 +- libs/libc/wchar/lib_wcsncmp.c | 3 +- libs/libc/wchar/lib_wcsncpy.c | 3 +- libs/libc/wchar/lib_wcsnrtombs.c | 2 + libs/libc/wchar/lib_wcspbrk.c | 3 +- libs/libc/wchar/lib_wcsrchr.c | 3 +- libs/libc/wchar/lib_wcsrtombs.c | 2 + libs/libc/wchar/lib_wcsspn.c | 3 +- libs/libc/wchar/lib_wcsstr.c | 3 +- libs/libc/wchar/lib_wcstod.c | 4 +- libs/libc/wchar/lib_wcstof.c | 4 +- libs/libc/wchar/lib_wcstok.c | 3 +- libs/libc/wchar/lib_wcstol.c | 4 +- libs/libc/wchar/lib_wcstold.c | 4 +- libs/libc/wchar/lib_wcstoll.c | 4 +- libs/libc/wchar/lib_wcstoul.c | 4 +- libs/libc/wchar/lib_wcstoull.c | 4 +- libs/libc/wchar/lib_wcswcs.c | 3 +- libs/libc/wchar/lib_wcswidth.c | 3 +- libs/libc/wchar/lib_wcsxfrm.c | 4 +- libs/libc/wchar/lib_wctob.c | 38 +- libs/libc/wchar/lib_wcwidth.c | 3 +- libs/libc/wchar/lib_wmemchr.c | 4 +- libs/libc/wchar/lib_wmemcmp.c | 4 +- libs/libc/wchar/lib_wmemcpy.c | 4 +- libs/libc/wchar/lib_wmemmove.c | 4 +- libs/libc/wchar/lib_wmemset.c | 4 +- libs/libc/wctype/CMakeLists.txt | 2 + libs/libc/wctype/Make.defs | 2 + libs/libc/wctype/lib_iswctype.c | 4 +- libs/libc/wctype/lib_towlower.c | 4 +- libs/libc/wctype/lib_towupper.c | 4 +- libs/libc/wctype/lib_wctype.c | 4 +- libs/libc/wqueue/CMakeLists.txt | 2 + libs/libc/wqueue/Make.defs | 2 + libs/libc/wqueue/work_cancel.c | 2 + libs/libc/wqueue/work_queue.c | 2 + libs/libc/wqueue/work_usrthread.c | 2 + libs/libc/wqueue/wqueue.h | 2 + libs/libc/zoneinfo/CMakeLists.txt | 2 + libs/libc/zoneinfo/Makefile | 2 + libs/libc/zoneinfo/tzromfs.c | 2 + 1034 files changed, 2695 insertions(+), 883 deletions(-) create mode 100644 libs/libc/gdbstub/CMakeLists.txt create mode 100644 libs/libc/machine/renesas/CMakeLists.txt create mode 100644 libs/libc/machine/renesas/rx/CMakeLists.txt create mode 100644 libs/libc/machine/sparc/CMakeLists.txt create mode 100644 libs/libc/obstack/CMakeLists.txt diff --git a/libs/libc/CMakeLists.txt b/libs/libc/CMakeLists.txt index a1e7de67cd..55971ac8d5 100644 --- a/libs/libc/CMakeLists.txt +++ b/libs/libc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/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/libs/libc/Makefile b/libs/libc/Makefile index 747962c36a..e07442cbb0 100644 --- a/libs/libc/Makefile +++ b/libs/libc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/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/libs/libc/aio/CMakeLists.txt b/libs/libc/aio/CMakeLists.txt index dca2b3ce5e..dd1ce6fc06 100644 --- a/libs/libc/aio/CMakeLists.txt +++ b/libs/libc/aio/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/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/libs/libc/aio/Make.defs b/libs/libc/aio/Make.defs index 17e725fec7..de770cf04a 100644 --- a/libs/libc/aio/Make.defs +++ b/libs/libc/aio/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/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 diff --git a/libs/libc/aio/aio.h b/libs/libc/aio/aio.h index e29d3c5c0d..9d8250d475 100644 --- a/libs/libc/aio/aio.h +++ b/libs/libc/aio/aio.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/aio/aio.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/libs/libc/aio/aio_error.c b/libs/libc/aio/aio_error.c index f0d3268399..067bdb7bad 100644 --- a/libs/libc/aio/aio_error.c +++ b/libs/libc/aio/aio_error.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/aio/aio_error.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/libs/libc/aio/aio_return.c b/libs/libc/aio/aio_return.c index ec1dd817cd..f3a8f5192a 100644 --- a/libs/libc/aio/aio_return.c +++ b/libs/libc/aio/aio_return.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/aio/aio_return.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/libs/libc/aio/aio_suspend.c b/libs/libc/aio/aio_suspend.c index 295600d5a6..cc40c87145 100644 --- a/libs/libc/aio/aio_suspend.c +++ b/libs/libc/aio/aio_suspend.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/aio/aio_suspend.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/libs/libc/aio/lio_listio.c b/libs/libc/aio/lio_listio.c index d54e5e2526..06cb72e114 100644 --- a/libs/libc/aio/lio_listio.c +++ b/libs/libc/aio/lio_listio.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/aio/lio_listio.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/libs/libc/assert/CMakeLists.txt b/libs/libc/assert/CMakeLists.txt index 3c5978f7d3..e633f74f83 100644 --- a/libs/libc/assert/CMakeLists.txt +++ b/libs/libc/assert/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/assert/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/libs/libc/assert/Make.defs b/libs/libc/assert/Make.defs index 843b3793e5..c55c2ea2ac 100644 --- a/libs/libc/assert/Make.defs +++ b/libs/libc/assert/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/assert/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/libs/libc/assert/lib_assert.c b/libs/libc/assert/lib_assert.c index 557a933b6b..4a71163d55 100644 --- a/libs/libc/assert/lib_assert.c +++ b/libs/libc/assert/lib_assert.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/assert/lib_assert.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/libs/libc/assert/lib_stackchk.c b/libs/libc/assert/lib_stackchk.c index 0e2a15136f..e9e5ebedcc 100644 --- a/libs/libc/assert/lib_stackchk.c +++ b/libs/libc/assert/lib_stackchk.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/assert/lib_stackchk.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/libs/libc/audio/CMakeLists.txt b/libs/libc/audio/CMakeLists.txt index 8fad703243..48a63a493d 100644 --- a/libs/libc/audio/CMakeLists.txt +++ b/libs/libc/audio/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/audio/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/libs/libc/audio/Make.defs b/libs/libc/audio/Make.defs index 2c55d725d5..b2c1798e09 100644 --- a/libs/libc/audio/Make.defs +++ b/libs/libc/audio/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/audio/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/libs/libc/audio/lib_buffer.c b/libs/libc/audio/lib_buffer.c index ef248df4ae..b1b2cab22d 100644 --- a/libs/libc/audio/lib_buffer.c +++ b/libs/libc/audio/lib_buffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/audio/lib_buffer.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/libs/libc/audio/libsrc/CMakeLists.txt b/libs/libc/audio/libsrc/CMakeLists.txt index a22ecc0e30..3872a0a334 100644 --- a/libs/libc/audio/libsrc/CMakeLists.txt +++ b/libs/libc/audio/libsrc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/audio/libsrc/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/libs/libc/audio/libsrc/Make.defs b/libs/libc/audio/libsrc/Make.defs index aed6918d12..ec0de2c933 100644 --- a/libs/libc/audio/libsrc/Make.defs +++ b/libs/libc/audio/libsrc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/audio/libsrc/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/libs/libc/bin/CMakeLists.txt b/libs/libc/bin/CMakeLists.txt index 8b13789179..fea4d0ab13 100644 --- a/libs/libc/bin/CMakeLists.txt +++ b/libs/libc/bin/CMakeLists.txt @@ -1 +1,21 @@ - +# ############################################################################## +# libs/libc/bin/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 +# 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/libs/libc/bin/Makefile b/libs/libc/bin/Makefile index 53b8d74ba7..735ba9133f 100644 --- a/libs/libc/bin/Makefile +++ b/libs/libc/bin/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/bin/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/libs/libc/builtin/CMakeLists.txt b/libs/libc/builtin/CMakeLists.txt index acb822b131..1be9f03b46 100644 --- a/libs/libc/builtin/CMakeLists.txt +++ b/libs/libc/builtin/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/builtin/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/libs/libc/builtin/Make.defs b/libs/libc/builtin/Make.defs index b9c864e290..afb284e18c 100644 --- a/libs/libc/builtin/Make.defs +++ b/libs/libc/builtin/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/builtin/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/libs/libc/builtin/lib_builtin_forindex.c b/libs/libc/builtin/lib_builtin_forindex.c index eaa7bd28fd..9fc1345ede 100644 --- a/libs/libc/builtin/lib_builtin_forindex.c +++ b/libs/libc/builtin/lib_builtin_forindex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_forindex.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/libs/libc/builtin/lib_builtin_getgid.c b/libs/libc/builtin/lib_builtin_getgid.c index 1c7dddbd57..e845798f00 100644 --- a/libs/libc/builtin/lib_builtin_getgid.c +++ b/libs/libc/builtin/lib_builtin_getgid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_getgid.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/libs/libc/builtin/lib_builtin_getmode.c b/libs/libc/builtin/lib_builtin_getmode.c index 3ea5fe77e9..c3a7e132d5 100644 --- a/libs/libc/builtin/lib_builtin_getmode.c +++ b/libs/libc/builtin/lib_builtin_getmode.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_getmode.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/libs/libc/builtin/lib_builtin_getname.c b/libs/libc/builtin/lib_builtin_getname.c index 612cc9e5e2..75693a9a29 100644 --- a/libs/libc/builtin/lib_builtin_getname.c +++ b/libs/libc/builtin/lib_builtin_getname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_getname.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/libs/libc/builtin/lib_builtin_getuid.c b/libs/libc/builtin/lib_builtin_getuid.c index a88fd6d72b..a4fd549632 100644 --- a/libs/libc/builtin/lib_builtin_getuid.c +++ b/libs/libc/builtin/lib_builtin_getuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_getuid.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/libs/libc/builtin/lib_builtin_isavail.c b/libs/libc/builtin/lib_builtin_isavail.c index 113618b1c1..2b354d7c99 100644 --- a/libs/libc/builtin/lib_builtin_isavail.c +++ b/libs/libc/builtin/lib_builtin_isavail.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_isavail.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/libs/libc/builtin/lib_builtin_setlist.c b/libs/libc/builtin/lib_builtin_setlist.c index 5aa9af6c7c..0fd352e9da 100644 --- a/libs/libc/builtin/lib_builtin_setlist.c +++ b/libs/libc/builtin/lib_builtin_setlist.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/builtin/lib_builtin_setlist.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/libs/libc/ctype/CMakeLists.txt b/libs/libc/ctype/CMakeLists.txt index c77b2b4d41..ffa4a9dc7c 100644 --- a/libs/libc/ctype/CMakeLists.txt +++ b/libs/libc/ctype/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/ctype/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/libs/libc/ctype/Make.defs b/libs/libc/ctype/Make.defs index 86c4272753..c189c4fad8 100644 --- a/libs/libc/ctype/Make.defs +++ b/libs/libc/ctype/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/ctype/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/libs/libc/ctype/lib_ctype.c b/libs/libc/ctype/lib_ctype.c index b11e069906..72638694ae 100644 --- a/libs/libc/ctype/lib_ctype.c +++ b/libs/libc/ctype/lib_ctype.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_ctype.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/libs/libc/ctype/lib_isalnum.c b/libs/libc/ctype/lib_isalnum.c index 64eaa83d54..581ccab713 100644 --- a/libs/libc/ctype/lib_isalnum.c +++ b/libs/libc/ctype/lib_isalnum.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isalnum.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/libs/libc/ctype/lib_isalpha.c b/libs/libc/ctype/lib_isalpha.c index d1065649d9..a1d1b1ac06 100644 --- a/libs/libc/ctype/lib_isalpha.c +++ b/libs/libc/ctype/lib_isalpha.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isalpha.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/libs/libc/ctype/lib_isascii.c b/libs/libc/ctype/lib_isascii.c index c1db283f71..52f86e13f1 100644 --- a/libs/libc/ctype/lib_isascii.c +++ b/libs/libc/ctype/lib_isascii.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isascii.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/libs/libc/ctype/lib_isblank.c b/libs/libc/ctype/lib_isblank.c index b1e206ddd5..59506f8fa7 100644 --- a/libs/libc/ctype/lib_isblank.c +++ b/libs/libc/ctype/lib_isblank.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isblank.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/libs/libc/ctype/lib_iscntrl.c b/libs/libc/ctype/lib_iscntrl.c index 5800c51759..2194c11e22 100644 --- a/libs/libc/ctype/lib_iscntrl.c +++ b/libs/libc/ctype/lib_iscntrl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_iscntrl.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/libs/libc/ctype/lib_isdigit.c b/libs/libc/ctype/lib_isdigit.c index 69926f6fd6..6350b36975 100644 --- a/libs/libc/ctype/lib_isdigit.c +++ b/libs/libc/ctype/lib_isdigit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isdigit.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/libs/libc/ctype/lib_isgraph.c b/libs/libc/ctype/lib_isgraph.c index b6825a8b0d..2f2764233c 100644 --- a/libs/libc/ctype/lib_isgraph.c +++ b/libs/libc/ctype/lib_isgraph.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isgraph.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/libs/libc/ctype/lib_islower.c b/libs/libc/ctype/lib_islower.c index 9fcec04555..ddbdffeb32 100644 --- a/libs/libc/ctype/lib_islower.c +++ b/libs/libc/ctype/lib_islower.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_islower.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/libs/libc/ctype/lib_isprint.c b/libs/libc/ctype/lib_isprint.c index 0c7c2afaa5..a48f863ebf 100644 --- a/libs/libc/ctype/lib_isprint.c +++ b/libs/libc/ctype/lib_isprint.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isprint.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/libs/libc/ctype/lib_ispunct.c b/libs/libc/ctype/lib_ispunct.c index 5139b087a1..a9df000588 100644 --- a/libs/libc/ctype/lib_ispunct.c +++ b/libs/libc/ctype/lib_ispunct.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_ispunct.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/libs/libc/ctype/lib_isspace.c b/libs/libc/ctype/lib_isspace.c index 699c493930..0a971f9106 100644 --- a/libs/libc/ctype/lib_isspace.c +++ b/libs/libc/ctype/lib_isspace.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isspace.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/libs/libc/ctype/lib_isupper.c b/libs/libc/ctype/lib_isupper.c index 56796c322f..f430f7b09a 100644 --- a/libs/libc/ctype/lib_isupper.c +++ b/libs/libc/ctype/lib_isupper.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isupper.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/libs/libc/ctype/lib_isxdigit.c b/libs/libc/ctype/lib_isxdigit.c index 6187358ecc..da999f6985 100644 --- a/libs/libc/ctype/lib_isxdigit.c +++ b/libs/libc/ctype/lib_isxdigit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_isxdigit.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/libs/libc/ctype/lib_tolower.c b/libs/libc/ctype/lib_tolower.c index d65ac4e364..621c5a7bbb 100644 --- a/libs/libc/ctype/lib_tolower.c +++ b/libs/libc/ctype/lib_tolower.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_tolower.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/libs/libc/ctype/lib_toupper.c b/libs/libc/ctype/lib_toupper.c index 7cd5ba0e26..d220462a30 100644 --- a/libs/libc/ctype/lib_toupper.c +++ b/libs/libc/ctype/lib_toupper.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/ctype/lib_toupper.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/libs/libc/dirent/CMakeLists.txt b/libs/libc/dirent/CMakeLists.txt index d50f7cc142..f9834a5c87 100644 --- a/libs/libc/dirent/CMakeLists.txt +++ b/libs/libc/dirent/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/dirent/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/libs/libc/dirent/Make.defs b/libs/libc/dirent/Make.defs index 2ef7192f4b..4725711233 100644 --- a/libs/libc/dirent/Make.defs +++ b/libs/libc/dirent/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/dirent/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/libs/libc/dirent/lib_alphasort.c b/libs/libc/dirent/lib_alphasort.c index 5fe02ec499..83a41876e1 100644 --- a/libs/libc/dirent/lib_alphasort.c +++ b/libs/libc/dirent/lib_alphasort.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_alphasort.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/libs/libc/dirent/lib_closedir.c b/libs/libc/dirent/lib_closedir.c index 05c4435004..c4c04cb1c6 100644 --- a/libs/libc/dirent/lib_closedir.c +++ b/libs/libc/dirent/lib_closedir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_closedir.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/libs/libc/dirent/lib_dirfd.c b/libs/libc/dirent/lib_dirfd.c index f98d9ce040..717cebec8e 100644 --- a/libs/libc/dirent/lib_dirfd.c +++ b/libs/libc/dirent/lib_dirfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_dirfd.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/libs/libc/dirent/lib_fdopendir.c b/libs/libc/dirent/lib_fdopendir.c index be0f213c6d..6176e13d5b 100644 --- a/libs/libc/dirent/lib_fdopendir.c +++ b/libs/libc/dirent/lib_fdopendir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_fdopendir.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/libs/libc/dirent/lib_ftw.c b/libs/libc/dirent/lib_ftw.c index 1d5284f100..420124df2a 100644 --- a/libs/libc/dirent/lib_ftw.c +++ b/libs/libc/dirent/lib_ftw.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_ftw.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/libs/libc/dirent/lib_nftw.c b/libs/libc/dirent/lib_nftw.c index 4f737429ec..0a70f708d0 100644 --- a/libs/libc/dirent/lib_nftw.c +++ b/libs/libc/dirent/lib_nftw.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_nftw.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/libs/libc/dirent/lib_opendir.c b/libs/libc/dirent/lib_opendir.c index 3212ff41de..dad8372ac7 100644 --- a/libs/libc/dirent/lib_opendir.c +++ b/libs/libc/dirent/lib_opendir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_opendir.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/libs/libc/dirent/lib_readdir.c b/libs/libc/dirent/lib_readdir.c index 5438463ec9..80c587ea8d 100644 --- a/libs/libc/dirent/lib_readdir.c +++ b/libs/libc/dirent/lib_readdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_readdir.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/libs/libc/dirent/lib_readdirr.c b/libs/libc/dirent/lib_readdirr.c index 1df0926937..e7cbf472d3 100644 --- a/libs/libc/dirent/lib_readdirr.c +++ b/libs/libc/dirent/lib_readdirr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_readdirr.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/libs/libc/dirent/lib_rewinddir.c b/libs/libc/dirent/lib_rewinddir.c index b181c98546..fdea97bdc4 100644 --- a/libs/libc/dirent/lib_rewinddir.c +++ b/libs/libc/dirent/lib_rewinddir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_rewinddir.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/libs/libc/dirent/lib_scandir.c b/libs/libc/dirent/lib_scandir.c index 380517ce24..c734ff1d24 100644 --- a/libs/libc/dirent/lib_scandir.c +++ b/libs/libc/dirent/lib_scandir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_scandir.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/libs/libc/dirent/lib_seekdir.c b/libs/libc/dirent/lib_seekdir.c index 28b7ac2d2c..fd547498be 100644 --- a/libs/libc/dirent/lib_seekdir.c +++ b/libs/libc/dirent/lib_seekdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_seekdir.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/libs/libc/dirent/lib_telldir.c b/libs/libc/dirent/lib_telldir.c index e3739ee4c5..5eb840b076 100644 --- a/libs/libc/dirent/lib_telldir.c +++ b/libs/libc/dirent/lib_telldir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_telldir.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/libs/libc/dirent/lib_versionsort.c b/libs/libc/dirent/lib_versionsort.c index bd80526c6d..b2e880df02 100644 --- a/libs/libc/dirent/lib_versionsort.c +++ b/libs/libc/dirent/lib_versionsort.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dirent/lib_versionsort.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/libs/libc/dlfcn/CMakeLists.txt b/libs/libc/dlfcn/CMakeLists.txt index 76d4a50a5d..6d2efb2342 100644 --- a/libs/libc/dlfcn/CMakeLists.txt +++ b/libs/libc/dlfcn/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/dlfcn/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/libs/libc/dlfcn/Make.defs b/libs/libc/dlfcn/Make.defs index 731b1c2bed..9e6b12859a 100644 --- a/libs/libc/dlfcn/Make.defs +++ b/libs/libc/dlfcn/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/dlfcn/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/libs/libc/dlfcn/lib_dladdr.c b/libs/libc/dlfcn/lib_dladdr.c index d505ef2540..b0ba15da86 100644 --- a/libs/libc/dlfcn/lib_dladdr.c +++ b/libs/libc/dlfcn/lib_dladdr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dladdr.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/libs/libc/dlfcn/lib_dlclose.c b/libs/libc/dlfcn/lib_dlclose.c index aff1a7bf9a..766ee73a3d 100644 --- a/libs/libc/dlfcn/lib_dlclose.c +++ b/libs/libc/dlfcn/lib_dlclose.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dlclose.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/libs/libc/dlfcn/lib_dlerror.c b/libs/libc/dlfcn/lib_dlerror.c index 342d18fe98..81d7a739c6 100644 --- a/libs/libc/dlfcn/lib_dlerror.c +++ b/libs/libc/dlfcn/lib_dlerror.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dlerror.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/libs/libc/dlfcn/lib_dlopen.c b/libs/libc/dlfcn/lib_dlopen.c index b0fbc3db65..0a4ed4aaa4 100644 --- a/libs/libc/dlfcn/lib_dlopen.c +++ b/libs/libc/dlfcn/lib_dlopen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dlopen.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/libs/libc/dlfcn/lib_dlsym.c b/libs/libc/dlfcn/lib_dlsym.c index 5308e6c699..ef9d4679a0 100644 --- a/libs/libc/dlfcn/lib_dlsym.c +++ b/libs/libc/dlfcn/lib_dlsym.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dlsym.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/libs/libc/dlfcn/lib_dlsymtab.c b/libs/libc/dlfcn/lib_dlsymtab.c index 9b1a2df064..3a2a7ba115 100644 --- a/libs/libc/dlfcn/lib_dlsymtab.c +++ b/libs/libc/dlfcn/lib_dlsymtab.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/dlfcn/lib_dlsymtab.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/libs/libc/errno/CMakeLists.txt b/libs/libc/errno/CMakeLists.txt index 3e108eb1ed..125d860e60 100644 --- a/libs/libc/errno/CMakeLists.txt +++ b/libs/libc/errno/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/errno/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/libs/libc/errno/Make.defs b/libs/libc/errno/Make.defs index 405fe2c1c7..1ef7aa1d93 100644 --- a/libs/libc/errno/Make.defs +++ b/libs/libc/errno/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/errno/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/libs/libc/errno/lib_errno.c b/libs/libc/errno/lib_errno.c index 30144fc845..299ef2909d 100644 --- a/libs/libc/errno/lib_errno.c +++ b/libs/libc/errno/lib_errno.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/errno/lib_errno.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/libs/libc/eventfd/CMakeLists.txt b/libs/libc/eventfd/CMakeLists.txt index 99230fb234..37dbf01e90 100644 --- a/libs/libc/eventfd/CMakeLists.txt +++ b/libs/libc/eventfd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/eventfd/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/libs/libc/eventfd/Make.defs b/libs/libc/eventfd/Make.defs index d16c868b1b..b6dcf9dc2c 100644 --- a/libs/libc/eventfd/Make.defs +++ b/libs/libc/eventfd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/eventfd/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/libs/libc/eventfd/lib_eventfd.c b/libs/libc/eventfd/lib_eventfd.c index 08ad68da10..30a86253e7 100644 --- a/libs/libc/eventfd/lib_eventfd.c +++ b/libs/libc/eventfd/lib_eventfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/eventfd/lib_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/libs/libc/fdt/CMakeLists.txt b/libs/libc/fdt/CMakeLists.txt index a1167cc388..1aeb614765 100644 --- a/libs/libc/fdt/CMakeLists.txt +++ b/libs/libc/fdt/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/fdt/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/libs/libc/fdt/Make.defs b/libs/libc/fdt/Make.defs index d84801c6d5..6264c0a71c 100644 --- a/libs/libc/fdt/Make.defs +++ b/libs/libc/fdt/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/fdt/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/libs/libc/fdt/version_gen.h b/libs/libc/fdt/version_gen.h index 116b02573b..edbf9a860f 100644 --- a/libs/libc/fdt/version_gen.h +++ b/libs/libc/fdt/version_gen.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fdt/version_gen.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/libs/libc/fixedmath/CMakeLists.txt b/libs/libc/fixedmath/CMakeLists.txt index 81e0e07dc3..ecf173eca0 100644 --- a/libs/libc/fixedmath/CMakeLists.txt +++ b/libs/libc/fixedmath/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/fixedmath/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/libs/libc/fixedmath/Make.defs b/libs/libc/fixedmath/Make.defs index 1e99195bfb..8906cd05a7 100644 --- a/libs/libc/fixedmath/Make.defs +++ b/libs/libc/fixedmath/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/fixedmath/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/libs/libc/fixedmath/lib_b16atan2.c b/libs/libc/fixedmath/lib_b16atan2.c index f25f9b2ee7..77bf730709 100644 --- a/libs/libc/fixedmath/lib_b16atan2.c +++ b/libs/libc/fixedmath/lib_b16atan2.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fixedmath/lib_b16atan2.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/libs/libc/fixedmath/lib_b16cos.c b/libs/libc/fixedmath/lib_b16cos.c index 9d9f03071e..9b8cd828b8 100644 --- a/libs/libc/fixedmath/lib_b16cos.c +++ b/libs/libc/fixedmath/lib_b16cos.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fixedmath/lib_b16cos.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/libs/libc/fixedmath/lib_b16sin.c b/libs/libc/fixedmath/lib_b16sin.c index 7cc20ed082..1f4061e4ca 100644 --- a/libs/libc/fixedmath/lib_b16sin.c +++ b/libs/libc/fixedmath/lib_b16sin.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fixedmath/lib_b16sin.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/libs/libc/fixedmath/lib_fixedmath.c b/libs/libc/fixedmath/lib_fixedmath.c index b99e8b3348..65916c40a0 100644 --- a/libs/libc/fixedmath/lib_fixedmath.c +++ b/libs/libc/fixedmath/lib_fixedmath.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fixedmath/lib_fixedmath.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/libs/libc/fixedmath/lib_ubsqrt.c b/libs/libc/fixedmath/lib_ubsqrt.c index 342da15283..94e4d21380 100644 --- a/libs/libc/fixedmath/lib_ubsqrt.c +++ b/libs/libc/fixedmath/lib_ubsqrt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/fixedmath/lib_ubsqrt.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/libs/libc/gdbstub/CMakeLists.txt b/libs/libc/gdbstub/CMakeLists.txt new file mode 100644 index 0000000000..707acb79f8 --- /dev/null +++ b/libs/libc/gdbstub/CMakeLists.txt @@ -0,0 +1,21 @@ +# ############################################################################## +# libs/libc/gdbstub/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 +# 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/libs/libc/gdbstub/Make.defs b/libs/libc/gdbstub/Make.defs index 77c2180c80..922601726a 100644 --- a/libs/libc/gdbstub/Make.defs +++ b/libs/libc/gdbstub/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/gdbstub/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/libs/libc/gdbstub/lib_gdbstub.c b/libs/libc/gdbstub/lib_gdbstub.c index 1cdde7aa46..b97d6486b8 100644 --- a/libs/libc/gdbstub/lib_gdbstub.c +++ b/libs/libc/gdbstub/lib_gdbstub.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/gdbstub/lib_gdbstub.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/libs/libc/gnssutils/CMakeLists.txt b/libs/libc/gnssutils/CMakeLists.txt index ba07a77978..36fd985882 100644 --- a/libs/libc/gnssutils/CMakeLists.txt +++ b/libs/libc/gnssutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/gnssutils/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/libs/libc/gnssutils/Make.defs b/libs/libc/gnssutils/Make.defs index 608ac77d94..2b90285413 100644 --- a/libs/libc/gnssutils/Make.defs +++ b/libs/libc/gnssutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/gnssutils/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/libs/libc/grp/CMakeLists.txt b/libs/libc/grp/CMakeLists.txt index 13e1074003..83312f9b56 100644 --- a/libs/libc/grp/CMakeLists.txt +++ b/libs/libc/grp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/grp/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/libs/libc/grp/Make.defs b/libs/libc/grp/Make.defs index 45b6027caa..7680a6f2ba 100644 --- a/libs/libc/grp/Make.defs +++ b/libs/libc/grp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/grp/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/libs/libc/grp/lib_find_grpfile.c b/libs/libc/grp/lib_find_grpfile.c index 69a177b35d..d0b90ca83a 100644 --- a/libs/libc/grp/lib_find_grpfile.c +++ b/libs/libc/grp/lib_find_grpfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_find_grpfile.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/libs/libc/grp/lib_getgrbuf.c b/libs/libc/grp/lib_getgrbuf.c index 15e10a8ed7..6f99916952 100644 --- a/libs/libc/grp/lib_getgrbuf.c +++ b/libs/libc/grp/lib_getgrbuf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_getgrbuf.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/libs/libc/grp/lib_getgrbufr.c b/libs/libc/grp/lib_getgrbufr.c index b586d57b1b..80bbd3b25d 100644 --- a/libs/libc/grp/lib_getgrbufr.c +++ b/libs/libc/grp/lib_getgrbufr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_getgrbufr.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/libs/libc/grp/lib_getgrgid.c b/libs/libc/grp/lib_getgrgid.c index 403b6d2052..f6348dd779 100644 --- a/libs/libc/grp/lib_getgrgid.c +++ b/libs/libc/grp/lib_getgrgid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_getgrgid.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/libs/libc/grp/lib_getgrgidr.c b/libs/libc/grp/lib_getgrgidr.c index cd2327f651..be36cedc23 100644 --- a/libs/libc/grp/lib_getgrgidr.c +++ b/libs/libc/grp/lib_getgrgidr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_getgrgidr.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/libs/libc/grp/lib_getgrnam.c b/libs/libc/grp/lib_getgrnam.c index 5ec225b5be..976229757a 100644 --- a/libs/libc/grp/lib_getgrnam.c +++ b/libs/libc/grp/lib_getgrnam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_getgrnam.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/libs/libc/grp/lib_getgrnamr.c b/libs/libc/grp/lib_getgrnamr.c index fdb891a7f8..867cd3ff38 100644 --- a/libs/libc/grp/lib_getgrnamr.c +++ b/libs/libc/grp/lib_getgrnamr.c @@ -1,6 +1,7 @@ /**************************************************************************** * libs/libc/grp/lib_getgrnamr.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 diff --git a/libs/libc/grp/lib_grp.h b/libs/libc/grp/lib_grp.h index d03fc5e6e3..a7dbf0efb0 100644 --- a/libs/libc/grp/lib_grp.h +++ b/libs/libc/grp/lib_grp.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_grp.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/libs/libc/grp/lib_grp_globals.c b/libs/libc/grp/lib_grp_globals.c index 3f6829e2f7..124c0b3622 100644 --- a/libs/libc/grp/lib_grp_globals.c +++ b/libs/libc/grp/lib_grp_globals.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_grp_globals.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/libs/libc/grp/lib_initgroups.c b/libs/libc/grp/lib_initgroups.c index 0ef1f0b57f..5329ba9609 100644 --- a/libs/libc/grp/lib_initgroups.c +++ b/libs/libc/grp/lib_initgroups.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/grp/lib_initgroups.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/libs/libc/hex2bin/CMakeLists.txt b/libs/libc/hex2bin/CMakeLists.txt index 34ee54a6b6..28e1082a4e 100644 --- a/libs/libc/hex2bin/CMakeLists.txt +++ b/libs/libc/hex2bin/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/hex2bin/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/libs/libc/hex2bin/Make.defs b/libs/libc/hex2bin/Make.defs index 2303199f87..9d4d477e1b 100644 --- a/libs/libc/hex2bin/Make.defs +++ b/libs/libc/hex2bin/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/hex2bin/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/libs/libc/hex2bin/lib_fhex2mem.c b/libs/libc/hex2bin/lib_fhex2mem.c index 1a37a311b8..085825cf7a 100644 --- a/libs/libc/hex2bin/lib_fhex2mem.c +++ b/libs/libc/hex2bin/lib_fhex2mem.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/hex2bin/lib_fhex2mem.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/libs/libc/hex2bin/lib_hex2bin.c b/libs/libc/hex2bin/lib_hex2bin.c index f9bd6bd2a0..1494d18ba8 100644 --- a/libs/libc/hex2bin/lib_hex2bin.c +++ b/libs/libc/hex2bin/lib_hex2bin.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/hex2bin/lib_hex2bin.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/libs/libc/hex2bin/lib_hex2mem.c b/libs/libc/hex2bin/lib_hex2mem.c index 365b9c289e..7a4a53c7aa 100644 --- a/libs/libc/hex2bin/lib_hex2mem.c +++ b/libs/libc/hex2bin/lib_hex2mem.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/hex2bin/lib_hex2mem.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/libs/libc/inttypes/CMakeLists.txt b/libs/libc/inttypes/CMakeLists.txt index aaf5f6dbfb..1865e3a378 100644 --- a/libs/libc/inttypes/CMakeLists.txt +++ b/libs/libc/inttypes/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/inttypes/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/libs/libc/inttypes/Make.defs b/libs/libc/inttypes/Make.defs index 48c7e7661e..a8539966d3 100644 --- a/libs/libc/inttypes/Make.defs +++ b/libs/libc/inttypes/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/inttypes/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/libs/libc/inttypes/lib_imaxabs.c b/libs/libc/inttypes/lib_imaxabs.c index b248bd7fe0..f6cb8a289e 100644 --- a/libs/libc/inttypes/lib_imaxabs.c +++ b/libs/libc/inttypes/lib_imaxabs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/inttypes/lib_imaxabs.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/libs/libc/inttypes/lib_imaxdiv.c b/libs/libc/inttypes/lib_imaxdiv.c index 86055bd216..77ae3ca229 100644 --- a/libs/libc/inttypes/lib_imaxdiv.c +++ b/libs/libc/inttypes/lib_imaxdiv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/inttypes/lib_imaxdiv.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/libs/libc/inttypes/lib_strtoimax.c b/libs/libc/inttypes/lib_strtoimax.c index b3c58e1a9b..ea4d15c6da 100644 --- a/libs/libc/inttypes/lib_strtoimax.c +++ b/libs/libc/inttypes/lib_strtoimax.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/inttypes/lib_strtoimax.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/libs/libc/inttypes/lib_strtoumax.c b/libs/libc/inttypes/lib_strtoumax.c index c81586eff7..d6e2240e47 100644 --- a/libs/libc/inttypes/lib_strtoumax.c +++ b/libs/libc/inttypes/lib_strtoumax.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/inttypes/lib_strtoumax.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/libs/libc/kbin/CMakeLists.txt b/libs/libc/kbin/CMakeLists.txt index 8b13789179..50be8cb28f 100644 --- a/libs/libc/kbin/CMakeLists.txt +++ b/libs/libc/kbin/CMakeLists.txt @@ -1 +1,22 @@ +# ############################################################################## +# libs/libc/kbin/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 +# 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/libs/libc/kbin/Makefile b/libs/libc/kbin/Makefile index 5933968a81..90cb1895b9 100644 --- a/libs/libc/kbin/Makefile +++ b/libs/libc/kbin/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/kbin/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/libs/libc/libc.h b/libs/libc/libc.h index b531fa87ff..a6a6cca260 100644 --- a/libs/libc/libc.h +++ b/libs/libc/libc.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/libc.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/libs/libc/libgen/Make.defs b/libs/libc/libgen/Make.defs index 738bb2aa6f..575320b4b8 100644 --- a/libs/libc/libgen/Make.defs +++ b/libs/libc/libgen/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/libgen/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/libs/libc/libgen/lib_basename.c b/libs/libc/libgen/lib_basename.c index 9984c23820..8300dbcf19 100644 --- a/libs/libc/libgen/lib_basename.c +++ b/libs/libc/libgen/lib_basename.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/libgen/lib_basename.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/libs/libc/libgen/lib_dirname.c b/libs/libc/libgen/lib_dirname.c index 2ea74965dd..a31d188e51 100644 --- a/libs/libc/libgen/lib_dirname.c +++ b/libs/libc/libgen/lib_dirname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/libgen/lib_dirname.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/libs/libc/locale/CMakeLists.txt b/libs/libc/locale/CMakeLists.txt index 71346f3999..7b80bd635d 100644 --- a/libs/libc/locale/CMakeLists.txt +++ b/libs/libc/locale/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/locale/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/libs/libc/locale/Make.defs b/libs/libc/locale/Make.defs index 4612ab584f..ddd27c9427 100644 --- a/libs/libc/locale/Make.defs +++ b/libs/libc/locale/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/locale/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/libs/libc/locale/lib_catalog.c b/libs/libc/locale/lib_catalog.c index 0dbb1a099e..06944e940b 100644 --- a/libs/libc/locale/lib_catalog.c +++ b/libs/libc/locale/lib_catalog.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_catalog.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/libs/libc/locale/lib_duplocale.c b/libs/libc/locale/lib_duplocale.c index 038499c482..fd10f249cf 100644 --- a/libs/libc/locale/lib_duplocale.c +++ b/libs/libc/locale/lib_duplocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_duplocale.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/libs/libc/locale/lib_freelocale.c b/libs/libc/locale/lib_freelocale.c index 9c0bd39802..ebc55faa57 100644 --- a/libs/libc/locale/lib_freelocale.c +++ b/libs/libc/locale/lib_freelocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_freelocale.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/libs/libc/locale/lib_gettext.c b/libs/libc/locale/lib_gettext.c index cbeeba0b65..5a86302510 100644 --- a/libs/libc/locale/lib_gettext.c +++ b/libs/libc/locale/lib_gettext.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_gettext.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/libs/libc/locale/lib_iconv.c b/libs/libc/locale/lib_iconv.c index 4239915f15..9ba81c8e01 100644 --- a/libs/libc/locale/lib_iconv.c +++ b/libs/libc/locale/lib_iconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_iconv.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/libs/libc/locale/lib_langinfo.c b/libs/libc/locale/lib_langinfo.c index ff98991a8b..e385baeaba 100644 --- a/libs/libc/locale/lib_langinfo.c +++ b/libs/libc/locale/lib_langinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_langinfo.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/libs/libc/locale/lib_localeconv.c b/libs/libc/locale/lib_localeconv.c index 3561f49ec2..80612996d0 100644 --- a/libs/libc/locale/lib_localeconv.c +++ b/libs/libc/locale/lib_localeconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_localeconv.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/libs/libc/locale/lib_maxlocale.c b/libs/libc/locale/lib_maxlocale.c index 1e007531dd..e19d315923 100644 --- a/libs/libc/locale/lib_maxlocale.c +++ b/libs/libc/locale/lib_maxlocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_maxlocale.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/libs/libc/locale/lib_newlocale.c b/libs/libc/locale/lib_newlocale.c index 0407bfa7bd..659104e4ff 100644 --- a/libs/libc/locale/lib_newlocale.c +++ b/libs/libc/locale/lib_newlocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_newlocale.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/libs/libc/locale/lib_setlocale.c b/libs/libc/locale/lib_setlocale.c index ee2b5c471e..c1314822ca 100644 --- a/libs/libc/locale/lib_setlocale.c +++ b/libs/libc/locale/lib_setlocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_setlocale.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/libs/libc/locale/lib_uselocale.c b/libs/libc/locale/lib_uselocale.c index 28c6a57742..bd49a4254c 100644 --- a/libs/libc/locale/lib_uselocale.c +++ b/libs/libc/locale/lib_uselocale.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/locale/lib_uselocale.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/libs/libc/lzf/Make.defs b/libs/libc/lzf/Make.defs index b14dbacbcc..f34a305239 100644 --- a/libs/libc/lzf/Make.defs +++ b/libs/libc/lzf/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/lzf/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/libs/libc/lzf/lzf.h b/libs/libc/lzf/lzf.h index 8dcc4c6b12..fa911df684 100644 --- a/libs/libc/lzf/lzf.h +++ b/libs/libc/lzf/lzf.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/lzf/lzf.h * - * Copyright (c) 2000-2007 - * Author: Marc Alexander Lehmann + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2000-2007 Marc Alexander Lehmann * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/lzf/lzf_c.c b/libs/libc/lzf/lzf_c.c index 216dc68dc6..a6c9112150 100644 --- a/libs/libc/lzf/lzf_c.c +++ b/libs/libc/lzf/lzf_c.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/lzf/lzf_c.c * - * Copyright (c) 2000-2010 Marc Alexander Lehmann + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2000-2010 Marc Alexander Lehmann * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/lzf/lzf_d.c b/libs/libc/lzf/lzf_d.c index 97c985d180..5bd34812ce 100644 --- a/libs/libc/lzf/lzf_d.c +++ b/libs/libc/lzf/lzf_d.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/lzf/lzf_d.c * - * Copyright (c) 2000-2010 - * Author: Marc Alexander Lehmann + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2000-2010 Marc Alexander Lehmann * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/machine/CMakeLists.txt b/libs/libc/machine/CMakeLists.txt index bb003e3112..89abb89e3e 100644 --- a/libs/libc/machine/CMakeLists.txt +++ b/libs/libc/machine/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/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/libs/libc/machine/Make.defs b/libs/libc/machine/Make.defs index 8c82ae76c2..e2453d9b4e 100644 --- a/libs/libc/machine/Make.defs +++ b/libs/libc/machine/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/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/libs/libc/machine/arch_atomic.c b/libs/libc/machine/arch_atomic.c index fef258e718..5da80f452c 100644 --- a/libs/libc/machine/arch_atomic.c +++ b/libs/libc/machine/arch_atomic.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arch_atomic.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/libs/libc/machine/arm/CMakeLists.txt b/libs/libc/machine/arm/CMakeLists.txt index 03a5a9d0ee..8b16ef6bcf 100644 --- a/libs/libc/machine/arm/CMakeLists.txt +++ b/libs/libc/machine/arm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/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/libs/libc/machine/arm/Make.defs b/libs/libc/machine/arm/Make.defs index 5b5a8fc14b..f8268d09eb 100644 --- a/libs/libc/machine/arm/Make.defs +++ b/libs/libc/machine/arm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/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/libs/libc/machine/arm/aeabi_atexit.c b/libs/libc/machine/arm/aeabi_atexit.c index 8f0dac51f5..d79eb596fa 100644 --- a/libs/libc/machine/arm/aeabi_atexit.c +++ b/libs/libc/machine/arm/aeabi_atexit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/aeabi_atexit.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/libs/libc/machine/arm/arm/CMakeLists.txt b/libs/libc/machine/arm/arm/CMakeLists.txt index 3152f6fb14..a115694e87 100644 --- a/libs/libc/machine/arm/arm/CMakeLists.txt +++ b/libs/libc/machine/arm/arm/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/arm/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/libs/libc/machine/arm/arm/Make.defs b/libs/libc/machine/arm/arm/Make.defs index 15df78478c..4082148e38 100644 --- a/libs/libc/machine/arm/arm/Make.defs +++ b/libs/libc/machine/arm/arm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/arm/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/libs/libc/machine/arm/arm/arch_elf.c b/libs/libc/machine/arm/arm/arch_elf.c index 60cdd38cb9..9d102e736a 100644 --- a/libs/libc/machine/arm/arm/arch_elf.c +++ b/libs/libc/machine/arm/arm/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/arm/arch_elf.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/libs/libc/machine/arm/armv6-m/CMakeLists.txt b/libs/libc/machine/arm/armv6-m/CMakeLists.txt index 853c53ffca..cea3993739 100644 --- a/libs/libc/machine/arm/armv6-m/CMakeLists.txt +++ b/libs/libc/machine/arm/armv6-m/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/armv6-m/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/libs/libc/machine/arm/armv6-m/Make.defs b/libs/libc/machine/arm/armv6-m/Make.defs index 4c4fefcfb7..63b2ce8498 100644 --- a/libs/libc/machine/arm/armv6-m/Make.defs +++ b/libs/libc/machine/arm/armv6-m/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/armv6-m/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/libs/libc/machine/arm/armv6-m/arch_elf.c b/libs/libc/machine/arm/armv6-m/arch_elf.c index e35a78a17a..38543b0ed4 100644 --- a/libs/libc/machine/arm/armv6-m/arch_elf.c +++ b/libs/libc/machine/arm/armv6-m/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv6-m/arch_elf.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/libs/libc/machine/arm/armv7-a/CMakeLists.txt b/libs/libc/machine/arm/armv7-a/CMakeLists.txt index 7744719bb9..6b7aa39f40 100644 --- a/libs/libc/machine/arm/armv7-a/CMakeLists.txt +++ b/libs/libc/machine/arm/armv7-a/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/armv7-a/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/libs/libc/machine/arm/armv7-a/Make.defs b/libs/libc/machine/arm/armv7-a/Make.defs index b0ccaef7e8..fa7d0d010d 100644 --- a/libs/libc/machine/arm/armv7-a/Make.defs +++ b/libs/libc/machine/arm/armv7-a/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/armv7-a/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/libs/libc/machine/arm/armv7-a/arch_elf.c b/libs/libc/machine/arm/armv7-a/arch_elf.c index 35eac2aed2..562a34371d 100644 --- a/libs/libc/machine/arm/armv7-a/arch_elf.c +++ b/libs/libc/machine/arm/armv7-a/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/arch_elf.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/libs/libc/machine/arm/armv7-a/gnu/acle-compat.h b/libs/libc/machine/arm/armv7-a/gnu/acle-compat.h index 04e43cf12a..72f76e3af9 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/acle-compat.h +++ b/libs/libc/machine/arm/armv7-a/gnu/acle-compat.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/acle-compat.h * - * Copyright (c) 2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_memchr.S b/libs/libc/machine/arm/armv7-a/gnu/arch_memchr.S index c98e483e22..eb3facd355 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_memchr.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_memchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_memchr.S * - * Copyright (c) 2010-2011, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S b/libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S index 2bd393448e..21fe55e270 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S * - * Copyright (c) 2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, Linaro Limited * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_memmove.S b/libs/libc/machine/arm/armv7-a/gnu/arch_memmove.S index 7d9cf89bba..877910ff01 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_memmove.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_memmove.S * - * Copyright (c) 2015 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_memset.S b/libs/libc/machine/arm/armv7-a/gnu/arch_memset.S index d09d459af1..375e459369 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_memset.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_memset.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_memset.S * - * Copyright (C) 2013 The Android Open Source Project - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2013 The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_strcmp.S b/libs/libc/machine/arm/armv7-a/gnu/arch_strcmp.S index 1d8839d292..f0ab5b93e9 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_strcmp.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_strcmp.S @@ -1,9 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_strcmp.S * - * Copyright (c) 2011 The Android Open Source Project - * Copyright (c) 2008 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011 The Android Open Source Project,2008 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-a/gnu/arch_strlen.S b/libs/libc/machine/arm/armv7-a/gnu/arch_strlen.S index 022ce9e2e3..d62c444fa9 100644 --- a/libs/libc/machine/arm/armv7-a/gnu/arch_strlen.S +++ b/libs/libc/machine/arm/armv7-a/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-a/gnu/arch_strlen.S * - * Copyright (c) 2010-2011,2013 Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011,2013 Linaro Limited,215 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/CMakeLists.txt b/libs/libc/machine/arm/armv7-m/CMakeLists.txt index 10f7b2b9af..48fc8d8e1a 100644 --- a/libs/libc/machine/arm/armv7-m/CMakeLists.txt +++ b/libs/libc/machine/arm/armv7-m/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/armv7-m/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/libs/libc/machine/arm/armv7-m/Make.defs b/libs/libc/machine/arm/armv7-m/Make.defs index e86b896453..dd1301f641 100644 --- a/libs/libc/machine/arm/armv7-m/Make.defs +++ b/libs/libc/machine/arm/armv7-m/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/armv7-m/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/libs/libc/machine/arm/armv7-m/arch_elf.c b/libs/libc/machine/arm/armv7-m/arch_elf.c index 6c074eeaf9..70ce38bd7e 100644 --- a/libs/libc/machine/arm/armv7-m/arch_elf.c +++ b/libs/libc/machine/arm/armv7-m/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/arch_elf.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/libs/libc/machine/arm/armv7-m/gnu/acle-compat.h b/libs/libc/machine/arm/armv7-m/gnu/acle-compat.h index b035c9c2a2..27c23d7e19 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/acle-compat.h +++ b/libs/libc/machine/arm/armv7-m/gnu/acle-compat.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/acle-compat.h * - * Copyright (c) 2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_memchr.S b/libs/libc/machine/arm/armv7-m/gnu/arch_memchr.S index c90bd0bf1d..ff3e65c368 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_memchr.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_memchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_memchr.S * - * Copyright (c) 2010-2011, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S b/libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S index e949ec4bc4..45c799f95c 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S * - * Copyright (c) 2013 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_memmove.S b/libs/libc/machine/arm/armv7-m/gnu/arch_memmove.S index 46705f5a74..8da4d54ad4 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_memmove.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_memmove.S * - * Copyright (c) 2015 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_memset.S b/libs/libc/machine/arm/armv7-m/gnu/arch_memset.S index f3c25481b8..85b4c65088 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_memset.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_memset.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_memset.S * - * Copyright (C) 2008 The Android Open Source Project - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2008 The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_strcmp.S b/libs/libc/machine/arm/armv7-m/gnu/arch_strcmp.S index 40d5431162..6666e12489 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_strcmp.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_strcmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_strcmp.S * - * Copyright (c) 2012-2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S b/libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S index 30de5bdb23..d8646285b3 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S @@ -1,314 +1,316 @@ -/*************************************************************************** - * libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S - * - * Licensed to the Apache Software 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. - * - ***************************************************************************/ - -#include "libc.h" - -#ifdef LIBC_BUILD_STRCPY - -/* This strcpy borrowed some ideas from arch_strcmp.S(). */ - -/* Parameters and result. */ -#define dst r0 -#define src r1 -#define result r0 - -/* Internal variables, or callee saved registers */ -#define tmp1 r4 -#define tmp2 r5 -#define tmp3 r6 -#define src_offset r7 - -#ifdef __ARM_BIG_ENDIAN -# define MASK_0 0xff000000 -# define MASK_1 0xff0000 -# define MASK_2 0xff00 -# define MASK_3 0xff -# define BYTE_0_SHIFT 24 -# define BYTE_1_SHIFT 16 -# define BYTE_2_SHIFT 8 -# define BYTE_3_SHIFT 0 -#else -# define MASK_0 0xff -# define MASK_1 0xff00 -# define MASK_2 0xff0000 -# define MASK_3 0xff000000 -# define BYTE_0_SHIFT 0 -# define BYTE_1_SHIFT 8 -# define BYTE_2_SHIFT 16 -# define BYTE_3_SHIFT 24 -#endif - - - .syntax unified - .text - .section .text.strcpy - .align 2 - .global strcpy - .thumb - .type strcpy, %function - -strcpy: - push {result, tmp1, tmp2, tmp3, src_offset} - eor tmp1, dst, src - tst tmp1, #3 - /* If dst and src not at same byte offset from a word boundary */ - bne .Lstrs_diff_offset - /* Process same byte offset then, get the offset */ - ands tmp1, src, #3 - beq .Ldst_src_aligned - /* get number of bytes unaligned */ - rsb tmp1, #4 - -.Lbyte_copy_until_dsr_src_aligned: - ldrb tmp2, [src], #1 - cmp tmp2, #0 - beq .Lcopy_done - strb tmp2, [dst], #1 - subs tmp1, #1 - bne .Lbyte_copy_until_dsr_src_aligned - -.Ldst_src_aligned: - /* Now dst and src are aligned */ - ldr tmp1, [src], #4 - sub tmp2, tmp1, #0x01010101 - bic tmp2, tmp1 - tst tmp2, #0x80808080 - /* All zero means no zero byte is detected */ - it eq - streq tmp1, [dst], #4 - beq .Ldst_src_aligned - - /* There is a zero in the word, copy until zero */ - sub src, #4 -.Lbyte_copy_until_zero: - ldrb tmp2, [src], #1 - cmp tmp2, #0 - beq .Lcopy_done - strb tmp2, [dst], #1 - b .Lbyte_copy_until_zero - -/* Make dst aligned, so we won't write anything before dst. - * If we attempt to write before dst, atomic read-write must - * be ensured. Atomic operation complicates things. - * So the solution here is byte by byte copy until dst aligned. - */ -.Lstrs_diff_offset: - ands tmp1, dst, #3 - beq .Ldiff_offset_loop_begin - /* get number of dst bytes unaligned */ - rsb tmp1, #4 - -.Lbyte_copy_until_dst_aligned: - ldrb tmp2, [src], #1 - cmp tmp2, #0 - beq .Lcopy_done - strb tmp2, [dst], #1 - subs tmp1, #1 - bne .Lbyte_copy_until_dst_aligned - -.Ldiff_offset_loop_begin: - /* src_offset mustn't be 0 here */ - and src_offset, src, 3 - lsls src_offset, #3 - bic src, #3 -/* first word logic - * prepend 0xff to make the algorithm simpler - * only the first word needs to be prepended - */ - ldr tmp1, [src], #4 - mov tmp2, #0xffffffff - rsb tmp3, src_offset, #32 - -#ifdef __ARM_BIG_ENDIAN - lsls tmp2, tmp3 -#else - lsrs tmp2, tmp3 -#endif - orr tmp1, tmp1, tmp2 - /* Test if the first word contains zero */ - sub tmp3, tmp1, #0x01010101 - bic tmp3, tmp1 - tst tmp3, #0x80808080 - /* non-zero means zero byte is detected */ - bne .Ltail_copy - - /* before loop, set tmp2=tmp1 to simplify the logic in the loop */ - mov tmp2, tmp1 -.Ldiff_offset_loop: - mov tmp1, tmp2 - ldr tmp2, [src], #4 - /* Test if contains zero */ - sub tmp3, tmp2, #0x01010101 - bic tmp3, tmp2 - tst tmp3, #0x80808080 - /* non-zero means zero byte is detected */ - bne .Ltail_copy - /* Now let's fill dst */ -#ifdef __ARM_BIG_ENDIAN - lsls tmp1, src_offset - rsb tmp3, src_offset, #32 - lsrs tmp3, tmp2, tmp3 - orr tmp1, tmp1, tmp3 -#else - lsrs tmp1, src_offset - rsb tmp3, src_offset, #32 - lsls tmp3, tmp2, tmp3 - orr tmp1, tmp1, tmp3 -#endif - str tmp1, [dst], #4 - b .Ldiff_offset_loop - -.Ltail_copy: - cmp src_offset, #24 - beq .Loffset_3 - cmp src_offset, #16 - beq .Loffset_2 - /* src_offset == 8 here */ - ands tmp3, tmp1, MASK_1 - beq .Lcopy_done - lsrs tmp3, BYTE_1_SHIFT - strb tmp3, [dst], #1 -.Loffset_2: - ands tmp3, tmp1, MASK_2 - beq .Lcopy_done - lsrs tmp3, BYTE_2_SHIFT - strb tmp3, [dst], #1 -.Loffset_3: - ands tmp3, tmp1, MASK_3 - beq .Lcopy_done - lsrs tmp3, BYTE_3_SHIFT - strb tmp3, [dst], #1 - ands tmp3, tmp2, MASK_0 - beq .Lcopy_done - lsrs tmp3, BYTE_0_SHIFT - strb tmp3, [dst], #1 - ands tmp3, tmp2, MASK_1 - beq .Lcopy_done - lsrs tmp3, BYTE_1_SHIFT - strb tmp3, [dst], #1 - ands tmp3, tmp2, MASK_2 - beq .Lcopy_done - lsrs tmp3, BYTE_2_SHIFT - strb tmp3, [dst], #1 -.Lcopy_done: - mov tmp3, #0 - strb tmp3, [dst] - pop {result, tmp1, tmp2, tmp3, src_offset} - bx lr - -#if 0 -/* Pseudo Code of strcpy when dst/src not at same byte offset */ - -/* Make dst aligned, so we won't write anything before dst. - * If we attempt to write before dst, atomic read-write must - * be ensured. Atomic operation complicates things. - * So the solution here is byte by byte copy until dst aligned. - */ - if (dst & 3 == 0) - goto diff_offset_loop_begin; - ByteCopyUntilDstAligned(); - -.diff_offset_loop_begin: -/* src_offset mustn't be 0 here */ - src_offset = src & 3; - src_offset = src_offset * 8; - src = src & 0xfffffffc; - tmp1 = *src; - src +=4; -/* first word logic - * prepend 0xff to make the algorithm simpler - * only the first word needs to be prepended - */ - if (src_offset != 0) - { - tmp2 = 0xffffffff -#if big endian - tmp2 = tmp2 << (32 - src_offset) -#else - tmp2 = tmp2 >> (32 - src_offset) -#endif - tmp1 |= tmp2 - } - if (HasZeroByte(tmp1)) - { - goto .tail_copy; - } - -/* before loop, set tmp2=tmp1 to simplify the logic in the loop */ - tmp2 = tmp1 -.diff_offset_loop: - tmp1 = tmp2; - tmp2 = *src; - src += 4; - - /* double word tail means we have to copy from tmp1 and tmp2 to dst */ - if (HasZeroByte(tmp2)) - { - goto .tail_copy; - } -/* Now let's fill dst */ -#if big endian - tmp1 = tmp1 << (src_offset); - tmp1 |= tmp2 >> (32 - src_offset); - *dst = tmp1; -#else - tmp1 = tmp1 >> (src_offset); - tmp1 |= tmp2 << (32 - src_offset); - *dst = tmp1; -#endif - dst +=4; - goto .diff_offset_loop; - -/* byte by byte copy at the tail */ -.tail_copy: - if (src_offset == 3) - goto offset_3; - if (src_offset == 2) - goto offset_2; - -/* src_offset mustn't be 0 here */ -/* default src_offset == 1 */ - if (tmp1 & MASK_1 == 0) - goto cpy_done; - *dst++ = tmp1 & MASK_1; -offset_2: - if (tmp1 & MASK_2 == 0) - goto cpy_done; - *dst++ = tmp1 & MASK_2; -offset_3: - if (tmp1 & MASK_3 == 0) - goto cpy_done; - *dst++ = tmp1 & MASK_3; - if (tmp2 & MASK_0 == 0) - goto cpy_done; - *dst++ = tmp2 & MASK_0; - if (tmp2 & MASK_1 == 0) - goto cpy_done; - *dst++ = tmp2 & MASK_1; - if (tmp2 & MASK_2 == 0) - goto cpy_done; - *dst++ = tmp2 & MASK_2; -/* tmp2 BYTE3 must be zero here */ - -.cpy_done: - *dst++ = 0; -#endif /* Pseudo code end */ - -#endif +/*************************************************************************** + * libs/libc/machine/arm/armv7-m/gnu/arch_strcpy.S + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software 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. + * + ***************************************************************************/ + +#include "libc.h" + +#ifdef LIBC_BUILD_STRCPY + +/* This strcpy borrowed some ideas from arch_strcmp.S(). */ + +/* Parameters and result. */ +#define dst r0 +#define src r1 +#define result r0 + +/* Internal variables, or callee saved registers */ +#define tmp1 r4 +#define tmp2 r5 +#define tmp3 r6 +#define src_offset r7 + +#ifdef __ARM_BIG_ENDIAN +# define MASK_0 0xff000000 +# define MASK_1 0xff0000 +# define MASK_2 0xff00 +# define MASK_3 0xff +# define BYTE_0_SHIFT 24 +# define BYTE_1_SHIFT 16 +# define BYTE_2_SHIFT 8 +# define BYTE_3_SHIFT 0 +#else +# define MASK_0 0xff +# define MASK_1 0xff00 +# define MASK_2 0xff0000 +# define MASK_3 0xff000000 +# define BYTE_0_SHIFT 0 +# define BYTE_1_SHIFT 8 +# define BYTE_2_SHIFT 16 +# define BYTE_3_SHIFT 24 +#endif + + + .syntax unified + .text + .section .text.strcpy + .align 2 + .global strcpy + .thumb + .type strcpy, %function + +strcpy: + push {result, tmp1, tmp2, tmp3, src_offset} + eor tmp1, dst, src + tst tmp1, #3 + /* If dst and src not at same byte offset from a word boundary */ + bne .Lstrs_diff_offset + /* Process same byte offset then, get the offset */ + ands tmp1, src, #3 + beq .Ldst_src_aligned + /* get number of bytes unaligned */ + rsb tmp1, #4 + +.Lbyte_copy_until_dsr_src_aligned: + ldrb tmp2, [src], #1 + cmp tmp2, #0 + beq .Lcopy_done + strb tmp2, [dst], #1 + subs tmp1, #1 + bne .Lbyte_copy_until_dsr_src_aligned + +.Ldst_src_aligned: + /* Now dst and src are aligned */ + ldr tmp1, [src], #4 + sub tmp2, tmp1, #0x01010101 + bic tmp2, tmp1 + tst tmp2, #0x80808080 + /* All zero means no zero byte is detected */ + it eq + streq tmp1, [dst], #4 + beq .Ldst_src_aligned + + /* There is a zero in the word, copy until zero */ + sub src, #4 +.Lbyte_copy_until_zero: + ldrb tmp2, [src], #1 + cmp tmp2, #0 + beq .Lcopy_done + strb tmp2, [dst], #1 + b .Lbyte_copy_until_zero + +/* Make dst aligned, so we won't write anything before dst. + * If we attempt to write before dst, atomic read-write must + * be ensured. Atomic operation complicates things. + * So the solution here is byte by byte copy until dst aligned. + */ +.Lstrs_diff_offset: + ands tmp1, dst, #3 + beq .Ldiff_offset_loop_begin + /* get number of dst bytes unaligned */ + rsb tmp1, #4 + +.Lbyte_copy_until_dst_aligned: + ldrb tmp2, [src], #1 + cmp tmp2, #0 + beq .Lcopy_done + strb tmp2, [dst], #1 + subs tmp1, #1 + bne .Lbyte_copy_until_dst_aligned + +.Ldiff_offset_loop_begin: + /* src_offset mustn't be 0 here */ + and src_offset, src, 3 + lsls src_offset, #3 + bic src, #3 +/* first word logic + * prepend 0xff to make the algorithm simpler + * only the first word needs to be prepended + */ + ldr tmp1, [src], #4 + mov tmp2, #0xffffffff + rsb tmp3, src_offset, #32 + +#ifdef __ARM_BIG_ENDIAN + lsls tmp2, tmp3 +#else + lsrs tmp2, tmp3 +#endif + orr tmp1, tmp1, tmp2 + /* Test if the first word contains zero */ + sub tmp3, tmp1, #0x01010101 + bic tmp3, tmp1 + tst tmp3, #0x80808080 + /* non-zero means zero byte is detected */ + bne .Ltail_copy + + /* before loop, set tmp2=tmp1 to simplify the logic in the loop */ + mov tmp2, tmp1 +.Ldiff_offset_loop: + mov tmp1, tmp2 + ldr tmp2, [src], #4 + /* Test if contains zero */ + sub tmp3, tmp2, #0x01010101 + bic tmp3, tmp2 + tst tmp3, #0x80808080 + /* non-zero means zero byte is detected */ + bne .Ltail_copy + /* Now let's fill dst */ +#ifdef __ARM_BIG_ENDIAN + lsls tmp1, src_offset + rsb tmp3, src_offset, #32 + lsrs tmp3, tmp2, tmp3 + orr tmp1, tmp1, tmp3 +#else + lsrs tmp1, src_offset + rsb tmp3, src_offset, #32 + lsls tmp3, tmp2, tmp3 + orr tmp1, tmp1, tmp3 +#endif + str tmp1, [dst], #4 + b .Ldiff_offset_loop + +.Ltail_copy: + cmp src_offset, #24 + beq .Loffset_3 + cmp src_offset, #16 + beq .Loffset_2 + /* src_offset == 8 here */ + ands tmp3, tmp1, MASK_1 + beq .Lcopy_done + lsrs tmp3, BYTE_1_SHIFT + strb tmp3, [dst], #1 +.Loffset_2: + ands tmp3, tmp1, MASK_2 + beq .Lcopy_done + lsrs tmp3, BYTE_2_SHIFT + strb tmp3, [dst], #1 +.Loffset_3: + ands tmp3, tmp1, MASK_3 + beq .Lcopy_done + lsrs tmp3, BYTE_3_SHIFT + strb tmp3, [dst], #1 + ands tmp3, tmp2, MASK_0 + beq .Lcopy_done + lsrs tmp3, BYTE_0_SHIFT + strb tmp3, [dst], #1 + ands tmp3, tmp2, MASK_1 + beq .Lcopy_done + lsrs tmp3, BYTE_1_SHIFT + strb tmp3, [dst], #1 + ands tmp3, tmp2, MASK_2 + beq .Lcopy_done + lsrs tmp3, BYTE_2_SHIFT + strb tmp3, [dst], #1 +.Lcopy_done: + mov tmp3, #0 + strb tmp3, [dst] + pop {result, tmp1, tmp2, tmp3, src_offset} + bx lr + +#if 0 +/* Pseudo Code of strcpy when dst/src not at same byte offset */ + +/* Make dst aligned, so we won't write anything before dst. + * If we attempt to write before dst, atomic read-write must + * be ensured. Atomic operation complicates things. + * So the solution here is byte by byte copy until dst aligned. + */ + if (dst & 3 == 0) + goto diff_offset_loop_begin; + ByteCopyUntilDstAligned(); + +.diff_offset_loop_begin: +/* src_offset mustn't be 0 here */ + src_offset = src & 3; + src_offset = src_offset * 8; + src = src & 0xfffffffc; + tmp1 = *src; + src +=4; +/* first word logic + * prepend 0xff to make the algorithm simpler + * only the first word needs to be prepended + */ + if (src_offset != 0) + { + tmp2 = 0xffffffff +#if big endian + tmp2 = tmp2 << (32 - src_offset) +#else + tmp2 = tmp2 >> (32 - src_offset) +#endif + tmp1 |= tmp2 + } + if (HasZeroByte(tmp1)) + { + goto .tail_copy; + } + +/* before loop, set tmp2=tmp1 to simplify the logic in the loop */ + tmp2 = tmp1 +.diff_offset_loop: + tmp1 = tmp2; + tmp2 = *src; + src += 4; + + /* double word tail means we have to copy from tmp1 and tmp2 to dst */ + if (HasZeroByte(tmp2)) + { + goto .tail_copy; + } +/* Now let's fill dst */ +#if big endian + tmp1 = tmp1 << (src_offset); + tmp1 |= tmp2 >> (32 - src_offset); + *dst = tmp1; +#else + tmp1 = tmp1 >> (src_offset); + tmp1 |= tmp2 << (32 - src_offset); + *dst = tmp1; +#endif + dst +=4; + goto .diff_offset_loop; + +/* byte by byte copy at the tail */ +.tail_copy: + if (src_offset == 3) + goto offset_3; + if (src_offset == 2) + goto offset_2; + +/* src_offset mustn't be 0 here */ +/* default src_offset == 1 */ + if (tmp1 & MASK_1 == 0) + goto cpy_done; + *dst++ = tmp1 & MASK_1; +offset_2: + if (tmp1 & MASK_2 == 0) + goto cpy_done; + *dst++ = tmp1 & MASK_2; +offset_3: + if (tmp1 & MASK_3 == 0) + goto cpy_done; + *dst++ = tmp1 & MASK_3; + if (tmp2 & MASK_0 == 0) + goto cpy_done; + *dst++ = tmp2 & MASK_0; + if (tmp2 & MASK_1 == 0) + goto cpy_done; + *dst++ = tmp2 & MASK_1; + if (tmp2 & MASK_2 == 0) + goto cpy_done; + *dst++ = tmp2 & MASK_2; +/* tmp2 BYTE3 must be zero here */ + +.cpy_done: + *dst++ = 0; +#endif /* Pseudo code end */ + +#endif diff --git a/libs/libc/machine/arm/armv7-m/gnu/arch_strlen.S b/libs/libc/machine/arm/armv7-m/gnu/arch_strlen.S index 5371db28a2..162f023cee 100644 --- a/libs/libc/machine/arm/armv7-m/gnu/arch_strlen.S +++ b/libs/libc/machine/arm/armv7-m/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-m/gnu/arch_strlen.S * - * Copyright (c) 2010-2011,2013 Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011,2013 Linaro Limited, 2015 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/CMakeLists.txt b/libs/libc/machine/arm/armv7-r/CMakeLists.txt index dbbedfb4da..0492afcb64 100644 --- a/libs/libc/machine/arm/armv7-r/CMakeLists.txt +++ b/libs/libc/machine/arm/armv7-r/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/armv7-r/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/libs/libc/machine/arm/armv7-r/Make.defs b/libs/libc/machine/arm/armv7-r/Make.defs index 1814051cc7..2e5e509f37 100644 --- a/libs/libc/machine/arm/armv7-r/Make.defs +++ b/libs/libc/machine/arm/armv7-r/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/armv7-r/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/libs/libc/machine/arm/armv7-r/arch_elf.c b/libs/libc/machine/arm/armv7-r/arch_elf.c index 8ddfda1812..1937762bf1 100644 --- a/libs/libc/machine/arm/armv7-r/arch_elf.c +++ b/libs/libc/machine/arm/armv7-r/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/arch_elf.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/libs/libc/machine/arm/armv7-r/gnu/acle-compat.h b/libs/libc/machine/arm/armv7-r/gnu/acle-compat.h index f37c67f703..b9464069a9 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/acle-compat.h +++ b/libs/libc/machine/arm/armv7-r/gnu/acle-compat.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/acle-compat.h * - * Copyright (c) 2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S b/libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S index 5c6f334d00..51c5c593f3 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S * - * Copyright (c) 2010-2011, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_memcpy.S b/libs/libc/machine/arm/armv7-r/gnu/arch_memcpy.S index f05e58dbfc..07a5804805 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_memcpy.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_memcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_memchr.S * - * Copyright (c) 2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, Linaro Limited * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_memmove.S b/libs/libc/machine/arm/armv7-r/gnu/arch_memmove.S index b0a5da5378..097766fe19 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_memmove.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_memmove.S * - * Copyright (c) 2015 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_memset.S b/libs/libc/machine/arm/armv7-r/gnu/arch_memset.S index f37d922158..47fe6263ec 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_memset.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_memset.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_memset.S * - * Copyright (C) 2013 The Android Open Source Project - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_strcmp.S b/libs/libc/machine/arm/armv7-r/gnu/arch_strcmp.S index 5a67b9e6ea..21e73a2451 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_strcmp.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_strcmp.S @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_strcmp.S * - * Copyright (c) 2011 The Android Open Source Project - * Copyright (c) 2008 ARM Ltd + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011 The Android Open Source Project,2008 ARM Ltd + * * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libs/libc/machine/arm/armv7-r/gnu/arch_strlen.S b/libs/libc/machine/arm/armv7-r/gnu/arch_strlen.S index 75deb3a05c..419e556a3d 100644 --- a/libs/libc/machine/arm/armv7-r/gnu/arch_strlen.S +++ b/libs/libc/machine/arm/armv7-r/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv7-r/gnu/arch_strlen.S * - * Copyright (c) 2010-2011,2013 Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011,2013 Linaro Limited, 2015 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/CMakeLists.txt b/libs/libc/machine/arm/armv8-m/CMakeLists.txt index 809f82fe6e..39626072ac 100644 --- a/libs/libc/machine/arm/armv8-m/CMakeLists.txt +++ b/libs/libc/machine/arm/armv8-m/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm/armv8-m/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/libs/libc/machine/arm/armv8-m/Make.defs b/libs/libc/machine/arm/armv8-m/Make.defs index 744df7e7e4..bb38110912 100644 --- a/libs/libc/machine/arm/armv8-m/Make.defs +++ b/libs/libc/machine/arm/armv8-m/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm/armv8-m/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/libs/libc/machine/arm/armv8-m/arch_elf.c b/libs/libc/machine/arm/armv8-m/arch_elf.c index 772a454e8a..1f10f8fe5f 100644 --- a/libs/libc/machine/arm/armv8-m/arch_elf.c +++ b/libs/libc/machine/arm/armv8-m/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/arch_elf.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/libs/libc/machine/arm/armv8-m/gnu/acle-compat.h b/libs/libc/machine/arm/armv8-m/gnu/acle-compat.h index 23338bbb04..ca469f1ac3 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/acle-compat.h +++ b/libs/libc/machine/arm/armv8-m/gnu/acle-compat.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/acle-compat.h * - * Copyright (c) 2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_memchr.S b/libs/libc/machine/arm/armv8-m/gnu/arch_memchr.S index 3975ef2198..c6eba59797 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_memchr.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_memchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_memchr.S * - * Copyright (c) 2010-2011, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_memcpy.S b/libs/libc/machine/arm/armv8-m/gnu/arch_memcpy.S index 58f460736e..0fc4f9382b 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_memcpy.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_memcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_memcpy.S * - * Copyright (c) 2013 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_memmove.S b/libs/libc/machine/arm/armv8-m/gnu/arch_memmove.S index e4b0535406..3b451566c4 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_memmove.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_memmove.S * - * Copyright (c) 2015 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_memset.S b/libs/libc/machine/arm/armv8-m/gnu/arch_memset.S index 61195fc07e..59b31d292d 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_memset.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_memset.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_memset.S * - * Copyright (c) 2015 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 ARM Ltd,2008 The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_strcmp.S b/libs/libc/machine/arm/armv8-m/gnu/arch_strcmp.S index 6eab622d91..1ed1b48a00 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_strcmp.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_strcmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_strcmp.S * - * Copyright (c) 2012-2014 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2014 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/armv8-m/gnu/arch_strcpy.S b/libs/libc/machine/arm/armv8-m/gnu/arch_strcpy.S index 59f2a767aa..448236cc26 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_strcpy.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_strcpy.S @@ -1,6 +1,8 @@ /*************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_strcpy.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/arm/armv8-m/gnu/arch_strlen.S b/libs/libc/machine/arm/armv8-m/gnu/arch_strlen.S index d197f8cb02..7d2505ced3 100644 --- a/libs/libc/machine/arm/armv8-m/gnu/arch_strlen.S +++ b/libs/libc/machine/arm/armv8-m/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/armv8-m/gnu/arch_strlen.S * - * Copyright (c) 2010-2011,2013 Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011,2013 Linaro Limited, 2015 ARM Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm/gnu/arch_setjmp.S b/libs/libc/machine/arm/gnu/arch_setjmp.S index 77a26adfdd..63284d8784 100644 --- a/libs/libc/machine/arm/gnu/arch_setjmp.S +++ b/libs/libc/machine/arm/gnu/arch_setjmp.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/gnu/arm_setjmp.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/arm/gnu/tc32_setjmp.S b/libs/libc/machine/arm/gnu/tc32_setjmp.S index e36d5ab3e6..1a00ba590d 100644 --- a/libs/libc/machine/arm/gnu/tc32_setjmp.S +++ b/libs/libc/machine/arm/gnu/tc32_setjmp.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/gnu/tc32_setjmp.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/arm/gnu_unwind_find_exidx.c b/libs/libc/machine/arm/gnu_unwind_find_exidx.c index 4ab3b07cbc..5ff5a52014 100644 --- a/libs/libc/machine/arm/gnu_unwind_find_exidx.c +++ b/libs/libc/machine/arm/gnu_unwind_find_exidx.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm/gnu_unwind_find_exidx.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/libs/libc/machine/arm64/CMakeLists.txt b/libs/libc/machine/arm64/CMakeLists.txt index 08cabb0ff2..aea54d1551 100644 --- a/libs/libc/machine/arm64/CMakeLists.txt +++ b/libs/libc/machine/arm64/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm64/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/libs/libc/machine/arm64/Make.defs b/libs/libc/machine/arm64/Make.defs index c9c085d732..785f58fa3f 100644 --- a/libs/libc/machine/arm64/Make.defs +++ b/libs/libc/machine/arm64/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/arm64/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/libs/libc/machine/arm64/arch_elf.c b/libs/libc/machine/arm64/arch_elf.c index 41d8032762..b3211575b7 100644 --- a/libs/libc/machine/arm64/arch_elf.c +++ b/libs/libc/machine/arm64/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/arch_elf.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/libs/libc/machine/arm64/gnu/CMakeLists.txt b/libs/libc/machine/arm64/gnu/CMakeLists.txt index 2d556c22b2..706109b6b3 100644 --- a/libs/libc/machine/arm64/gnu/CMakeLists.txt +++ b/libs/libc/machine/arm64/gnu/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/arm64/gnu/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/libs/libc/machine/arm64/gnu/arch_memchr.S b/libs/libc/machine/arm64/gnu/arch_memchr.S index c764133ae2..f323ba36bc 100644 --- a/libs/libc/machine/arm64/gnu/arch_memchr.S +++ b/libs/libc/machine/arm64/gnu/arch_memchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_memchr.S * - * Copyright (c) 2014, ARM Limited - * All rights Reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, ARM Limited, All rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/arm64/gnu/arch_memcmp.S b/libs/libc/machine/arm64/gnu/arch_memcmp.S index e8413de279..7c526e5c0c 100644 --- a/libs/libc/machine/arm64/gnu/arch_memcmp.S +++ b/libs/libc/machine/arm64/gnu/arch_memcmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_memcmp.S * - * Copyright (c) 2018 Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Linaro Limited, 2017 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_memcpy.S b/libs/libc/machine/arm64/gnu/arch_memcpy.S index 14da7530cd..47855372e9 100644 --- a/libs/libc/machine/arm64/gnu/arch_memcpy.S +++ b/libs/libc/machine/arm64/gnu/arch_memcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_memcpy.S * - * Copyright (c) 2012-2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2013, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_memmove.S b/libs/libc/machine/arm64/gnu/arch_memmove.S index ce9dc50d35..d58e401d48 100644 --- a/libs/libc/machine/arm64/gnu/arch_memmove.S +++ b/libs/libc/machine/arm64/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_memmove.S * - * Copyright (c) 2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_memset.S b/libs/libc/machine/arm64/gnu/arch_memset.S index b43e353413..fc7d4e96d1 100644 --- a/libs/libc/machine/arm64/gnu/arch_memset.S +++ b/libs/libc/machine/arm64/gnu/arch_memset.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_memset.S * - * Copyright (c) 2012-2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2013, Linaro Limited, 2015 ARM Ltd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_setjmp.S b/libs/libc/machine/arm64/gnu/arch_setjmp.S index 90ae531f8f..c6a1c020b5 100644 --- a/libs/libc/machine/arm64/gnu/arch_setjmp.S +++ b/libs/libc/machine/arm64/gnu/arch_setjmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_setjmp.S * - * Copyright (c) 2011, 2012 ARM Ltd - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011, 2012 ARM Ltd, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_strchr.S b/libs/libc/machine/arm64/gnu/arch_strchr.S index 697369126a..eb84222627 100644 --- a/libs/libc/machine/arm64/gnu/arch_strchr.S +++ b/libs/libc/machine/arm64/gnu/arch_strchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strchr.S * - * Copyright (c) 2014, ARM Limited - * All rights Reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, ARM Limited, All rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/arm64/gnu/arch_strchrnul.S b/libs/libc/machine/arm64/gnu/arch_strchrnul.S index 41698d9a06..9fb829971d 100644 --- a/libs/libc/machine/arm64/gnu/arch_strchrnul.S +++ b/libs/libc/machine/arm64/gnu/arch_strchrnul.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strchrnul.S * - * Copyright (c) 2014, ARM Limited - * All rights Reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, ARM Limited, All rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/arm64/gnu/arch_strcmp.S b/libs/libc/machine/arm64/gnu/arch_strcmp.S index feceb217fc..c20d265afa 100644 --- a/libs/libc/machine/arm64/gnu/arch_strcmp.S +++ b/libs/libc/machine/arm64/gnu/arch_strcmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strcmp.S * - * Copyright (c) 2012-2018, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012-2018, Linaro Limited, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_strcpy.S b/libs/libc/machine/arm64/gnu/arch_strcpy.S index 3bb27ffc71..02febd19ea 100644 --- a/libs/libc/machine/arm64/gnu/arch_strcpy.S +++ b/libs/libc/machine/arm64/gnu/arch_strcpy.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strcpy.S * - * Copyright (c) 2013, 2014, 2015 ARM Ltd. - * All rights Reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, 2014, 2015 ARM Ltd., All rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/arm64/gnu/arch_strlen.S b/libs/libc/machine/arm64/gnu/arch_strlen.S index d52736008d..bf1c817c37 100644 --- a/libs/libc/machine/arm64/gnu/arch_strlen.S +++ b/libs/libc/machine/arm64/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strlen.S * - * Copyright (c) 2013-2015, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013-2015, Linaro Limited, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_strncmp.S b/libs/libc/machine/arm64/gnu/arch_strncmp.S index bcf8a7dab1..e045cf7628 100644 --- a/libs/libc/machine/arm64/gnu/arch_strncmp.S +++ b/libs/libc/machine/arm64/gnu/arch_strncmp.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strncmp.S * - * Copyright (c) 2013, 2018, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, 2018, Linaro Limited, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_strnlen.S b/libs/libc/machine/arm64/gnu/arch_strnlen.S index f6013e648d..cf05778870 100644 --- a/libs/libc/machine/arm64/gnu/arch_strnlen.S +++ b/libs/libc/machine/arm64/gnu/arch_strnlen.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strnlen.S * - * Copyright (c) 2013, Linaro Limited - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013, Linaro Limited, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/machine/arm64/gnu/arch_strrchr.S b/libs/libc/machine/arm64/gnu/arch_strrchr.S index 473447c293..c35dd56dc8 100644 --- a/libs/libc/machine/arm64/gnu/arch_strrchr.S +++ b/libs/libc/machine/arm64/gnu/arch_strrchr.S @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/machine/arm64/gnu/arch_strrchr.S * - * Copyright (c) 2014, ARM Limited - * All rights Reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, ARM Limited, All rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/renesas/CMakeLists.txt b/libs/libc/machine/renesas/CMakeLists.txt new file mode 100644 index 0000000000..866fe62b9d --- /dev/null +++ b/libs/libc/machine/renesas/CMakeLists.txt @@ -0,0 +1,21 @@ +# ############################################################################## +# libs/libc/machine/renesas/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 +# 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/libs/libc/machine/renesas/Make.defs b/libs/libc/machine/renesas/Make.defs index a99c83e7cc..0f7f906e43 100644 --- a/libs/libc/machine/renesas/Make.defs +++ b/libs/libc/machine/renesas/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/renesas/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/libs/libc/machine/renesas/rx/CMakeLists.txt b/libs/libc/machine/renesas/rx/CMakeLists.txt new file mode 100644 index 0000000000..5f88d2dfe5 --- /dev/null +++ b/libs/libc/machine/renesas/rx/CMakeLists.txt @@ -0,0 +1,21 @@ +# ############################################################################## +# libs/libc/machine/renesas/rx/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 +# 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/libs/libc/machine/renesas/rx/Make.defs b/libs/libc/machine/renesas/rx/Make.defs index 4e8aa5a1bf..7418badeee 100644 --- a/libs/libc/machine/renesas/rx/Make.defs +++ b/libs/libc/machine/renesas/rx/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/renesas/rx/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/libs/libc/machine/renesas/rx/gnu/arch_setjmp.S b/libs/libc/machine/renesas/rx/gnu/arch_setjmp.S index 2a6aae972a..f50719cceb 100644 --- a/libs/libc/machine/renesas/rx/gnu/arch_setjmp.S +++ b/libs/libc/machine/renesas/rx/gnu/arch_setjmp.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/renesas/rx/gnu/arm_setjmp.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/risc-v/Make.defs b/libs/libc/machine/risc-v/Make.defs index e51d810eb1..f4d9d172c1 100644 --- a/libs/libc/machine/risc-v/Make.defs +++ b/libs/libc/machine/risc-v/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/risc-v/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/libs/libc/machine/risc-v/arch_elf.c b/libs/libc/machine/risc-v/arch_elf.c index 8e826bddc5..98d99a4f1c 100644 --- a/libs/libc/machine/risc-v/arch_elf.c +++ b/libs/libc/machine/risc-v/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/risc-v/arch_elf.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/libs/libc/machine/risc-v/common/CMakeLists.txt b/libs/libc/machine/risc-v/common/CMakeLists.txt index 8cbcd06bfa..f4e18e4867 100644 --- a/libs/libc/machine/risc-v/common/CMakeLists.txt +++ b/libs/libc/machine/risc-v/common/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/risc-v/common/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/libs/libc/machine/risc-v/gnu/CMakeLists.txt b/libs/libc/machine/risc-v/gnu/CMakeLists.txt index 66fc5ee991..188ffac6b5 100644 --- a/libs/libc/machine/risc-v/gnu/CMakeLists.txt +++ b/libs/libc/machine/risc-v/gnu/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/risc-v/gnu/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/libs/libc/machine/risc-v/gnu/arch_memcpy.S b/libs/libc/machine/risc-v/gnu/arch_memcpy.S index 0a9a4fd8f8..af531aaf3b 100644 --- a/libs/libc/machine/risc-v/gnu/arch_memcpy.S +++ b/libs/libc/machine/risc-v/gnu/arch_memcpy.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/risc-v/gnu/arch_memcpy.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/risc-v/gnu/arch_memset.S b/libs/libc/machine/risc-v/gnu/arch_memset.S index a52ebf5f5f..5a104231fb 100644 --- a/libs/libc/machine/risc-v/gnu/arch_memset.S +++ b/libs/libc/machine/risc-v/gnu/arch_memset.S @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/machine/risc-v/gnu/arch_memset.S * - * Copyright (c) 2017 SiFive Inc. All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-FileCopyrightText: 2017 SiFive Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions diff --git a/libs/libc/machine/risc-v/gnu/arch_setjmp.S b/libs/libc/machine/risc-v/gnu/arch_setjmp.S index b98a9d2342..b5c534fe9d 100644 --- a/libs/libc/machine/risc-v/gnu/arch_setjmp.S +++ b/libs/libc/machine/risc-v/gnu/arch_setjmp.S @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/risc-v/gnu/arch_setjmp.S # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software 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/libs/libc/machine/risc-v/gnu/arch_strcmp.S b/libs/libc/machine/risc-v/gnu/arch_strcmp.S index afc140ae1b..c4159a6253 100644 --- a/libs/libc/machine/risc-v/gnu/arch_strcmp.S +++ b/libs/libc/machine/risc-v/gnu/arch_strcmp.S @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/machine/risc-v/gnu/arch_strcmp.S * - * Copyright (c) 2017 SiFive Inc. All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-FileCopyrightText: 2017 SiFive Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions diff --git a/libs/libc/machine/risc-v/gnu/asm.h b/libs/libc/machine/risc-v/gnu/asm.h index 2b4aabac14..673cb9c0b1 100644 --- a/libs/libc/machine/risc-v/gnu/asm.h +++ b/libs/libc/machine/risc-v/gnu/asm.h @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/machine/risc-v/gnu/asm.h * - * Copyright (c) 2017 SiFive Inc. All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-FileCopyrightText: 2017 SiFive Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions diff --git a/libs/libc/machine/risc-v/rv32/CMakeLists.txt b/libs/libc/machine/risc-v/rv32/CMakeLists.txt index 9b33b6c815..9d0a85b3ea 100644 --- a/libs/libc/machine/risc-v/rv32/CMakeLists.txt +++ b/libs/libc/machine/risc-v/rv32/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/risc-v/rv32/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/libs/libc/machine/risc-v/rv64/CMakeLists.txt b/libs/libc/machine/risc-v/rv64/CMakeLists.txt index 8b13789179..345f73fd8a 100644 --- a/libs/libc/machine/risc-v/rv64/CMakeLists.txt +++ b/libs/libc/machine/risc-v/rv64/CMakeLists.txt @@ -1 +1,22 @@ +# ############################################################################## +# libs/libc/machine/risc-v/rv64/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 +# 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/libs/libc/machine/sim/CMakeLists.txt b/libs/libc/machine/sim/CMakeLists.txt index 22ccff0bdb..f221e53214 100644 --- a/libs/libc/machine/sim/CMakeLists.txt +++ b/libs/libc/machine/sim/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/sim/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/libs/libc/machine/sim/Make.defs b/libs/libc/machine/sim/Make.defs index 867d95179f..86a2ea4dac 100644 --- a/libs/libc/machine/sim/Make.defs +++ b/libs/libc/machine/sim/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/sim/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/libs/libc/machine/sim/arch_elf.c b/libs/libc/machine/sim/arch_elf.c index bba6f23a61..752b96b9c5 100644 --- a/libs/libc/machine/sim/arch_elf.c +++ b/libs/libc/machine/sim/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/sim/arch_elf.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/libs/libc/machine/sim/arch_elf64.c b/libs/libc/machine/sim/arch_elf64.c index 31e0e83472..6159be9fdb 100644 --- a/libs/libc/machine/sim/arch_elf64.c +++ b/libs/libc/machine/sim/arch_elf64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/sim/arch_elf64.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/libs/libc/machine/sim/arch_setjmp_arm.S b/libs/libc/machine/sim/arch_setjmp_arm.S index 8279776be6..538a71b7d1 100644 --- a/libs/libc/machine/sim/arch_setjmp_arm.S +++ b/libs/libc/machine/sim/arch_setjmp_arm.S @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/machine/sim/arch_setjmp_arm.S * - * Copyright (C) 2017 Gregory Nutt. All rights reserved. - * Author: Nickolay Semyonov (RPI) + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2017 Gregory Nutt. All rights reserved. + * SPDX-FileContributor: Nickolay Semyonov (RPI) * * Extracted from the MUSL C-library. The MUSL C library has a compatible * MIT license and is released here under the NuttX 3-clause BSD license: diff --git a/libs/libc/machine/sim/arch_setjmp_arm64.S b/libs/libc/machine/sim/arch_setjmp_arm64.S index fea6140dc4..15f0b55abe 100644 --- a/libs/libc/machine/sim/arch_setjmp_arm64.S +++ b/libs/libc/machine/sim/arch_setjmp_arm64.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/sim/arch_setjmp_arm64.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/sim/arch_setjmp_x86.S b/libs/libc/machine/sim/arch_setjmp_x86.S index e9bdef6a05..439e21331a 100644 --- a/libs/libc/machine/sim/arch_setjmp_x86.S +++ b/libs/libc/machine/sim/arch_setjmp_x86.S @@ -1,6 +1,8 @@ /************************************************************************** * libs/libc/machine/sim/arch_setjmp_x86.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/sim/arch_setjmp_x86.asm b/libs/libc/machine/sim/arch_setjmp_x86.asm index b8758c653b..70c2730833 100644 --- a/libs/libc/machine/sim/arch_setjmp_x86.asm +++ b/libs/libc/machine/sim/arch_setjmp_x86.asm @@ -1,6 +1,8 @@ ;*************************************************************************** ; libs/libc/machine/sim/arch_setjmp_x86.asm ; +; SPDX-License-Identifier: Apache-2.0 +; ; Licensed to the Apache Software 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/libs/libc/machine/sim/arch_setjmp_x86_64.S b/libs/libc/machine/sim/arch_setjmp_x86_64.S index cc747f8f8a..62c15ff355 100644 --- a/libs/libc/machine/sim/arch_setjmp_x86_64.S +++ b/libs/libc/machine/sim/arch_setjmp_x86_64.S @@ -1,6 +1,8 @@ /************************************************************************** * libs/libc/machine/sim/arch_setjmp_x86_64.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/sparc/CMakeLists.txt b/libs/libc/machine/sparc/CMakeLists.txt new file mode 100644 index 0000000000..9f837b6116 --- /dev/null +++ b/libs/libc/machine/sparc/CMakeLists.txt @@ -0,0 +1,21 @@ +# ############################################################################## +# libs/libc/machine/sparc/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 +# 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/libs/libc/machine/sparc/Make.defs b/libs/libc/machine/sparc/Make.defs index 183c2dce77..8746571c0b 100644 --- a/libs/libc/machine/sparc/Make.defs +++ b/libs/libc/machine/sparc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/sparc/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/libs/libc/machine/sparc/arch_elf.c b/libs/libc/machine/sparc/arch_elf.c index 49f6fff630..3044a75191 100644 --- a/libs/libc/machine/sparc/arch_elf.c +++ b/libs/libc/machine/sparc/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/sparc/arch_elf.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/libs/libc/machine/tricore/CMakeLists.txt b/libs/libc/machine/tricore/CMakeLists.txt index d863e3d92f..dc98b2b2e4 100644 --- a/libs/libc/machine/tricore/CMakeLists.txt +++ b/libs/libc/machine/tricore/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/tricore/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/libs/libc/machine/x86/CMakeLists.txt b/libs/libc/machine/x86/CMakeLists.txt index 1aa14b6629..130386ba95 100644 --- a/libs/libc/machine/x86/CMakeLists.txt +++ b/libs/libc/machine/x86/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/x86/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/libs/libc/machine/x86/Make.defs b/libs/libc/machine/x86/Make.defs index 35e5857d92..7a397eb148 100644 --- a/libs/libc/machine/x86/Make.defs +++ b/libs/libc/machine/x86/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/x86/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/libs/libc/machine/x86/arch_elf.c b/libs/libc/machine/x86/arch_elf.c index 947b9b131d..8511218a99 100644 --- a/libs/libc/machine/x86/arch_elf.c +++ b/libs/libc/machine/x86/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/x86/arch_elf.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/libs/libc/machine/x86_64/CMakeLists.txt b/libs/libc/machine/x86_64/CMakeLists.txt index 3c9e94ca89..67807c391f 100644 --- a/libs/libc/machine/x86_64/CMakeLists.txt +++ b/libs/libc/machine/x86_64/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/x86_64/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/libs/libc/machine/x86_64/Make.defs b/libs/libc/machine/x86_64/Make.defs index e30495401a..120b9ca004 100644 --- a/libs/libc/machine/x86_64/Make.defs +++ b/libs/libc/machine/x86_64/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/x86_64/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/libs/libc/machine/x86_64/arch_elf64.c b/libs/libc/machine/x86_64/arch_elf64.c index 7da06ed0d1..41eebe26b1 100644 --- a/libs/libc/machine/x86_64/arch_elf64.c +++ b/libs/libc/machine/x86_64/arch_elf64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/x86_64/arch_elf64.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/libs/libc/machine/x86_64/gnu/CMakeLists.txt b/libs/libc/machine/x86_64/gnu/CMakeLists.txt index c2d4ed8331..9c4ab0431b 100644 --- a/libs/libc/machine/x86_64/gnu/CMakeLists.txt +++ b/libs/libc/machine/x86_64/gnu/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/X86_64/gnu/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/libs/libc/machine/x86_64/gnu/arch_memcmp.S b/libs/libc/machine/x86_64/gnu/arch_memcmp.S index e4b8a724ca..23027ce903 100644 --- a/libs/libc/machine/x86_64/gnu/arch_memcmp.S +++ b/libs/libc/machine/x86_64/gnu/arch_memcmp.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_memcmp.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_memmove.S b/libs/libc/machine/x86_64/gnu/arch_memmove.S index 16abf91818..93c368eb59 100644 --- a/libs/libc/machine/x86_64/gnu/arch_memmove.S +++ b/libs/libc/machine/x86_64/gnu/arch_memmove.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_memmove.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_memset_avx2.S b/libs/libc/machine/x86_64/gnu/arch_memset_avx2.S index 3b39b0cbd4..c293b15717 100644 --- a/libs/libc/machine/x86_64/gnu/arch_memset_avx2.S +++ b/libs/libc/machine/x86_64/gnu/arch_memset_avx2.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_memset_avx2.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_memset_sse2.S b/libs/libc/machine/x86_64/gnu/arch_memset_sse2.S index 1b6961c83e..3341aed23e 100644 --- a/libs/libc/machine/x86_64/gnu/arch_memset_sse2.S +++ b/libs/libc/machine/x86_64/gnu/arch_memset_sse2.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_memset_sse2.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_stpcpy.S b/libs/libc/machine/x86_64/gnu/arch_stpcpy.S index d9a2bd8eb6..2d3189800d 100644 --- a/libs/libc/machine/x86_64/gnu/arch_stpcpy.S +++ b/libs/libc/machine/x86_64/gnu/arch_stpcpy.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_stpcpy.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_stpncpy.S b/libs/libc/machine/x86_64/gnu/arch_stpncpy.S index cff948d791..f478623cf6 100644 --- a/libs/libc/machine/x86_64/gnu/arch_stpncpy.S +++ b/libs/libc/machine/x86_64/gnu/arch_stpncpy.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strpcpy.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strcat.S b/libs/libc/machine/x86_64/gnu/arch_strcat.S index f76031554f..6ca704ba56 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strcat.S +++ b/libs/libc/machine/x86_64/gnu/arch_strcat.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strcat.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strcmp.S b/libs/libc/machine/x86_64/gnu/arch_strcmp.S index 4b75831b78..b112a643e7 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strcmp.S +++ b/libs/libc/machine/x86_64/gnu/arch_strcmp.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strcmp.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strcpy.S b/libs/libc/machine/x86_64/gnu/arch_strcpy.S index 7164518fd9..380fb1b58d 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strcpy.S +++ b/libs/libc/machine/x86_64/gnu/arch_strcpy.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strcpy.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strlen.S b/libs/libc/machine/x86_64/gnu/arch_strlen.S index b0128a7d01..157e97735e 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strlen.S +++ b/libs/libc/machine/x86_64/gnu/arch_strlen.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strlen.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strncmp.S b/libs/libc/machine/x86_64/gnu/arch_strncmp.S index d13d9d3c72..b17877cf2a 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strncmp.S +++ b/libs/libc/machine/x86_64/gnu/arch_strncmp.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strncmp.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/arch_strncpy.S b/libs/libc/machine/x86_64/gnu/arch_strncpy.S index 42ad3c09eb..e87851a7da 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strncpy.S +++ b/libs/libc/machine/x86_64/gnu/arch_strncpy.S @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/arch_strncpy.S * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/x86_64/gnu/cache.h b/libs/libc/machine/x86_64/gnu/cache.h index 444e36f27c..3ff2433b67 100644 --- a/libs/libc/machine/x86_64/gnu/cache.h +++ b/libs/libc/machine/x86_64/gnu/cache.h @@ -1,8 +1,8 @@ /********************************************************************************* * libs/libc/machine/x86_64/gnu/cache.h * - * Copyright (c) 2014, Intel Corporation - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/libs/libc/machine/xtensa/CMakeLists.txt b/libs/libc/machine/xtensa/CMakeLists.txt index 25fbb0291f..0f46f6c712 100644 --- a/libs/libc/machine/xtensa/CMakeLists.txt +++ b/libs/libc/machine/xtensa/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/machine/xtensa/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/libs/libc/machine/xtensa/Make.defs b/libs/libc/machine/xtensa/Make.defs index 78fb412c7c..3f38e09fe0 100644 --- a/libs/libc/machine/xtensa/Make.defs +++ b/libs/libc/machine/xtensa/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/machine/xtensa/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/libs/libc/machine/xtensa/arch_elf.c b/libs/libc/machine/xtensa/arch_elf.c index 3e7558b2de..c9911dc7f1 100644 --- a/libs/libc/machine/xtensa/arch_elf.c +++ b/libs/libc/machine/xtensa/arch_elf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_elf.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/libs/libc/machine/xtensa/arch_memcpy.S b/libs/libc/machine/xtensa/arch_memcpy.S index a92e33d184..a75898a6a5 100644 --- a/libs/libc/machine/xtensa/arch_memcpy.S +++ b/libs/libc/machine/xtensa/arch_memcpy.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_memcpy.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_memmove.S b/libs/libc/machine/xtensa/arch_memmove.S index 658635fd10..f9e15d9cfb 100644 --- a/libs/libc/machine/xtensa/arch_memmove.S +++ b/libs/libc/machine/xtensa/arch_memmove.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_memset.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_memset.S b/libs/libc/machine/xtensa/arch_memset.S index 896766e3a0..7ef503f50d 100644 --- a/libs/libc/machine/xtensa/arch_memset.S +++ b/libs/libc/machine/xtensa/arch_memset.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_memset.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_setjmp.S b/libs/libc/machine/xtensa/arch_setjmp.S index b60add35dc..8f085fc22d 100644 --- a/libs/libc/machine/xtensa/arch_setjmp.S +++ b/libs/libc/machine/xtensa/arch_setjmp.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_setjmp.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_strcmp.S b/libs/libc/machine/xtensa/arch_strcmp.S index a3fabd8e07..7bc67827c9 100644 --- a/libs/libc/machine/xtensa/arch_strcmp.S +++ b/libs/libc/machine/xtensa/arch_strcmp.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_strcmp.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_strcpy.S b/libs/libc/machine/xtensa/arch_strcpy.S index 24efd7bc1b..a2e53b91ea 100644 --- a/libs/libc/machine/xtensa/arch_strcpy.S +++ b/libs/libc/machine/xtensa/arch_strcpy.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_strcpy.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_strlen.S b/libs/libc/machine/xtensa/arch_strlen.S index 27c9eb4687..429ef7b4dd 100644 --- a/libs/libc/machine/xtensa/arch_strlen.S +++ b/libs/libc/machine/xtensa/arch_strlen.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_strlen.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/arch_strncpy.S b/libs/libc/machine/xtensa/arch_strncpy.S index 17625dcb92..5073f2b8ee 100644 --- a/libs/libc/machine/xtensa/arch_strncpy.S +++ b/libs/libc/machine/xtensa/arch_strncpy.S @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/arch_strncpy.S * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software 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/libs/libc/machine/xtensa/xtensa_asm.h b/libs/libc/machine/xtensa/xtensa_asm.h index 99137635c5..9c7def8634 100644 --- a/libs/libc/machine/xtensa/xtensa_asm.h +++ b/libs/libc/machine/xtensa/xtensa_asm.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/machine/xtensa/xtensa_asm.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/libs/libc/misc/CMakeLists.txt b/libs/libc/misc/CMakeLists.txt index 00fb6810d2..8dc028c0e6 100644 --- a/libs/libc/misc/CMakeLists.txt +++ b/libs/libc/misc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/misc/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/libs/libc/misc/Make.defs b/libs/libc/misc/Make.defs index 9089921011..2369fec786 100644 --- a/libs/libc/misc/Make.defs +++ b/libs/libc/misc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/misc/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/libs/libc/misc/lib_bitmap.c b/libs/libc/misc/lib_bitmap.c index c0f0d6a3f3..bb919a485c 100644 --- a/libs/libc/misc/lib_bitmap.c +++ b/libs/libc/misc/lib_bitmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_bitmap.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/libs/libc/misc/lib_crc16.c b/libs/libc/misc/lib_crc16.c index a35ff44eaa..171b9a17cd 100644 --- a/libs/libc/misc/lib_crc16.c +++ b/libs/libc/misc/lib_crc16.c @@ -1,6 +1,8 @@ /************************************************************************************************ * libs/libc/misc/lib_crc16.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/libs/libc/misc/lib_crc16ccitt.c b/libs/libc/misc/lib_crc16ccitt.c index 9612823561..e041d9ce4f 100644 --- a/libs/libc/misc/lib_crc16ccitt.c +++ b/libs/libc/misc/lib_crc16ccitt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_crc16ccitt.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/libs/libc/misc/lib_crc32.c b/libs/libc/misc/lib_crc32.c index e464157fd4..e5e817d148 100644 --- a/libs/libc/misc/lib_crc32.c +++ b/libs/libc/misc/lib_crc32.c @@ -1,11 +1,26 @@ /************************************************************************************************ * libs/libc/misc/lib_crc32.c * - * This file is a part of NuttX: + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. + * Licensed to the Apache Software 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 * - * The logic in this file was developed by Gary S. Brown: + * 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. + * + ***********************************************************************************************/ + +/* The logic in this file was developed by Gary S. Brown: * * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or code or tables * extracted from it, as desired without restriction. diff --git a/libs/libc/misc/lib_crc64.c b/libs/libc/misc/lib_crc64.c index 6ad3989b13..8c4296d304 100644 --- a/libs/libc/misc/lib_crc64.c +++ b/libs/libc/misc/lib_crc64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_crc64.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/libs/libc/misc/lib_crc8.c b/libs/libc/misc/lib_crc8.c index c23e687306..320eabc148 100644 --- a/libs/libc/misc/lib_crc8.c +++ b/libs/libc/misc/lib_crc8.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_crc8.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/libs/libc/misc/lib_crc8ccitt.c b/libs/libc/misc/lib_crc8ccitt.c index 8ad84a54c9..e5081483a0 100644 --- a/libs/libc/misc/lib_crc8ccitt.c +++ b/libs/libc/misc/lib_crc8ccitt.c @@ -1,6 +1,8 @@ /*************************************************************************** * libs/libc/misc/lib_crc8ccitt.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/libs/libc/misc/lib_crc8table.c b/libs/libc/misc/lib_crc8table.c index b5d998aedb..d71542a6e9 100644 --- a/libs/libc/misc/lib_crc8table.c +++ b/libs/libc/misc/lib_crc8table.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_crc8table.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/libs/libc/misc/lib_cxx_initialize.c b/libs/libc/misc/lib_cxx_initialize.c index ffdbb97071..0d7aaaaa08 100644 --- a/libs/libc/misc/lib_cxx_initialize.c +++ b/libs/libc/misc/lib_cxx_initialize.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_cxx_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/libs/libc/misc/lib_debug.c b/libs/libc/misc/lib_debug.c index 0693e2871c..75ae82fd0d 100644 --- a/libs/libc/misc/lib_debug.c +++ b/libs/libc/misc/lib_debug.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_debug.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/libs/libc/misc/lib_dumpbuffer.c b/libs/libc/misc/lib_dumpbuffer.c index 6c38377796..00bb820cb8 100644 --- a/libs/libc/misc/lib_dumpbuffer.c +++ b/libs/libc/misc/lib_dumpbuffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_dumpbuffer.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/libs/libc/misc/lib_dumpvbuffer.c b/libs/libc/misc/lib_dumpvbuffer.c index 7d08687d3b..286a787604 100644 --- a/libs/libc/misc/lib_dumpvbuffer.c +++ b/libs/libc/misc/lib_dumpvbuffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_dumpvbuffer.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/libs/libc/misc/lib_envpath.c b/libs/libc/misc/lib_envpath.c index 73a4ed13ae..70d551a382 100644 --- a/libs/libc/misc/lib_envpath.c +++ b/libs/libc/misc/lib_envpath.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_envpath.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/libs/libc/misc/lib_err.c b/libs/libc/misc/lib_err.c index ff0c835107..a8a27c5f88 100644 --- a/libs/libc/misc/lib_err.c +++ b/libs/libc/misc/lib_err.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_err.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/libs/libc/misc/lib_execinfo.c b/libs/libc/misc/lib_execinfo.c index 90fb3969d8..55c975594e 100644 --- a/libs/libc/misc/lib_execinfo.c +++ b/libs/libc/misc/lib_execinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_execinfo.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/libs/libc/misc/lib_fchmodat.c b/libs/libc/misc/lib_fchmodat.c index c2a96817fb..65186a39b0 100644 --- a/libs/libc/misc/lib_fchmodat.c +++ b/libs/libc/misc/lib_fchmodat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_fchmodat.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/libs/libc/misc/lib_fdcheck.c b/libs/libc/misc/lib_fdcheck.c index 504e98dfe6..f14d3b751d 100644 --- a/libs/libc/misc/lib_fdcheck.c +++ b/libs/libc/misc/lib_fdcheck.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_fdcheck.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/libs/libc/misc/lib_fdsan.c b/libs/libc/misc/lib_fdsan.c index 628aa652cb..f85dd59b34 100644 --- a/libs/libc/misc/lib_fdsan.c +++ b/libs/libc/misc/lib_fdsan.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_fdsan.c - * Copyright (C) 2018 The Android Open Source Project - * All rights reserved. + * + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2018 The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/misc/lib_fnmatch.c b/libs/libc/misc/lib_fnmatch.c index 7e2e8947fe..e736ee7dcf 100644 --- a/libs/libc/misc/lib_fnmatch.c +++ b/libs/libc/misc/lib_fnmatch.c @@ -1,14 +1,11 @@ /**************************************************************************** * libs/libc/misc/lib_fnmatch.c * - * Simple shell-style filename pattern matcher written by Jef Poskanzer - * This pattern matcher only handles '?', '*' and '**', and multiple - * patterns separated by '|'. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1995, 2000 by Jef Poskanzer . + * SPDX-FileContributor: with extensions by Ken Pettit * - * Copyright 1995, 2000 by Jef Poskanzer . - * All rights reserved. - * - * With extensions by Ken Pettit. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/misc/lib_fstatat.c b/libs/libc/misc/lib_fstatat.c index 99003aa4bb..f9660719d8 100644 --- a/libs/libc/misc/lib_fstatat.c +++ b/libs/libc/misc/lib_fstatat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_fstatat.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/libs/libc/misc/lib_ftok.c b/libs/libc/misc/lib_ftok.c index a5c704149f..20022ea2a3 100644 --- a/libs/libc/misc/lib_ftok.c +++ b/libs/libc/misc/lib_ftok.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_ftok.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/libs/libc/misc/lib_getfullpath.c b/libs/libc/misc/lib_getfullpath.c index 7e457c71a8..b7f930301f 100644 --- a/libs/libc/misc/lib_getfullpath.c +++ b/libs/libc/misc/lib_getfullpath.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_getfullpath.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/libs/libc/misc/lib_getnprocs.c b/libs/libc/misc/lib_getnprocs.c index 80cc96af0b..565c5419ae 100644 --- a/libs/libc/misc/lib_getnprocs.c +++ b/libs/libc/misc/lib_getnprocs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_getnprocs.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/libs/libc/misc/lib_getrandom.c b/libs/libc/misc/lib_getrandom.c index f6eebe5815..eb799603fe 100644 --- a/libs/libc/misc/lib_getrandom.c +++ b/libs/libc/misc/lib_getrandom.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_getrandom.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/libs/libc/misc/lib_glob.c b/libs/libc/misc/lib_glob.c index 9e2593874a..e86811bd17 100644 --- a/libs/libc/misc/lib_glob.c +++ b/libs/libc/misc/lib_glob.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_glob.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/libs/libc/misc/lib_idr.c b/libs/libc/misc/lib_idr.c index 1c98bf1fec..a7c95e23e8 100644 --- a/libs/libc/misc/lib_idr.c +++ b/libs/libc/misc/lib_idr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_idr.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/libs/libc/misc/lib_impure.c b/libs/libc/misc/lib_impure.c index a6e12ce7f7..dc34005739 100644 --- a/libs/libc/misc/lib_impure.c +++ b/libs/libc/misc/lib_impure.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_impure.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/libs/libc/misc/lib_instrument.c b/libs/libc/misc/lib_instrument.c index e16af3b3b8..767acb09ff 100644 --- a/libs/libc/misc/lib_instrument.c +++ b/libs/libc/misc/lib_instrument.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_instrument.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/libs/libc/misc/lib_kbddecode.c b/libs/libc/misc/lib_kbddecode.c index dac910a988..b743a55f1a 100644 --- a/libs/libc/misc/lib_kbddecode.c +++ b/libs/libc/misc/lib_kbddecode.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_kbddecode.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/libs/libc/misc/lib_kbdencode.c b/libs/libc/misc/lib_kbdencode.c index d64bc8bef0..d4e381772f 100644 --- a/libs/libc/misc/lib_kbdencode.c +++ b/libs/libc/misc/lib_kbdencode.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_kbdencode.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/libs/libc/misc/lib_mallopt.c b/libs/libc/misc/lib_mallopt.c index 31234e9376..6b5745503f 100644 --- a/libs/libc/misc/lib_mallopt.c +++ b/libs/libc/misc/lib_mallopt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_mallopt.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/libs/libc/misc/lib_memfd.c b/libs/libc/misc/lib_memfd.c index d53ed4f52d..58d1dac1d4 100644 --- a/libs/libc/misc/lib_memfd.c +++ b/libs/libc/misc/lib_memfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_memfd.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 @@ -74,4 +76,4 @@ int memfd_create(FAR const char *name, unsigned int flags) return ret; #endif } -#endif \ No newline at end of file +#endif diff --git a/libs/libc/misc/lib_memoryregion.c b/libs/libc/misc/lib_memoryregion.c index b94a5f8af1..4fe18b2523 100644 --- a/libs/libc/misc/lib_memoryregion.c +++ b/libs/libc/misc/lib_memoryregion.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_memoryregion.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/libs/libc/misc/lib_mkdirat.c b/libs/libc/misc/lib_mkdirat.c index db99dbdb66..df306096d3 100644 --- a/libs/libc/misc/lib_mkdirat.c +++ b/libs/libc/misc/lib_mkdirat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_mkdirat.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/libs/libc/misc/lib_mkfifo.c b/libs/libc/misc/lib_mkfifo.c index bbe3551ef0..407f08ae64 100644 --- a/libs/libc/misc/lib_mkfifo.c +++ b/libs/libc/misc/lib_mkfifo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_mkfifo.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/libs/libc/misc/lib_mknod.c b/libs/libc/misc/lib_mknod.c index c4a3bb859f..afb70a6c77 100644 --- a/libs/libc/misc/lib_mknod.c +++ b/libs/libc/misc/lib_mknod.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_mknod.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/libs/libc/misc/lib_mutex.c b/libs/libc/misc/lib_mutex.c index bbf960d889..6e0acc9245 100644 --- a/libs/libc/misc/lib_mutex.c +++ b/libs/libc/misc/lib_mutex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_mutex.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/libs/libc/misc/lib_ncompress.c b/libs/libc/misc/lib_ncompress.c index a1c5fc8a4b..683e3d331b 100644 --- a/libs/libc/misc/lib_ncompress.c +++ b/libs/libc/misc/lib_ncompress.c @@ -1,14 +1,28 @@ /**************************************************************************** * libs/libc/misc/lib_ncompress.c - * File compression ala IEEE Computer, Mar 1992. * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * This is the file compress24.c extracted from the ncompress-4.2.4 release + * Licensed to the Apache Software 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. + * + ****************************************************************************/ + +/* This is the file compress24.c extracted from the ncompress-4.2.4 release * and adapted for NuttX. The original code was released into the public - * domain. This NuttX version is re-released under the standard NuttX - * BSD 3-clause license. The original authors are listed below: + * domain. The original authors are listed below: * * Spencer W. Thomas (decvax!harpo!utah-cs!utah-gr!thomas) * Jim McKie (decvax!mcvax!jim) @@ -19,34 +33,6 @@ * Dave Mack (csu@alembic.acs.com) * Peter Jannesen, Network Communication Systems * (peter@ncs.nl) - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * ****************************************************************************/ /**************************************************************************** diff --git a/libs/libc/misc/lib_openat.c b/libs/libc/misc/lib_openat.c index 9ce18d7350..9c35df7fc5 100644 --- a/libs/libc/misc/lib_openat.c +++ b/libs/libc/misc/lib_openat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_openat.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/libs/libc/misc/lib_pathbuffer.c b/libs/libc/misc/lib_pathbuffer.c index 3bc299b496..834b48901f 100644 --- a/libs/libc/misc/lib_pathbuffer.c +++ b/libs/libc/misc/lib_pathbuffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_pathbuffer.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/libs/libc/misc/lib_slcddecode.c b/libs/libc/misc/lib_slcddecode.c index df3f522112..9d29ee438a 100644 --- a/libs/libc/misc/lib_slcddecode.c +++ b/libs/libc/misc/lib_slcddecode.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_slcddecode.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/libs/libc/misc/lib_slcdencode.c b/libs/libc/misc/lib_slcdencode.c index f47b03f518..4cee9b5b18 100644 --- a/libs/libc/misc/lib_slcdencode.c +++ b/libs/libc/misc/lib_slcdencode.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_slcdencode.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/libs/libc/misc/lib_tea_decrypt.c b/libs/libc/misc/lib_tea_decrypt.c index 57de189870..4be2278cb0 100644 --- a/libs/libc/misc/lib_tea_decrypt.c +++ b/libs/libc/misc/lib_tea_decrypt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_tea_decrypt.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/libs/libc/misc/lib_tea_encrypt.c b/libs/libc/misc/lib_tea_encrypt.c index 216418dc35..9a306a0e28 100644 --- a/libs/libc/misc/lib_tea_encrypt.c +++ b/libs/libc/misc/lib_tea_encrypt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_tea_encrypt.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/libs/libc/misc/lib_uadd32x64.c b/libs/libc/misc/lib_uadd32x64.c index 77446ba219..5bb8a2618c 100644 --- a/libs/libc/misc/lib_uadd32x64.c +++ b/libs/libc/misc/lib_uadd32x64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_uadd32x64.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/libs/libc/misc/lib_uadd64.c b/libs/libc/misc/lib_uadd64.c index 70991bb729..c59ed5aaf3 100644 --- a/libs/libc/misc/lib_uadd64.c +++ b/libs/libc/misc/lib_uadd64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_uadd64.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/libs/libc/misc/lib_umask.c b/libs/libc/misc/lib_umask.c index aa8cb03f84..d1e340b651 100644 --- a/libs/libc/misc/lib_umask.c +++ b/libs/libc/misc/lib_umask.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_umask.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/libs/libc/misc/lib_umul32.c b/libs/libc/misc/lib_umul32.c index 693d925313..ca8ab618f8 100644 --- a/libs/libc/misc/lib_umul32.c +++ b/libs/libc/misc/lib_umul32.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_umul32.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/libs/libc/misc/lib_umul32x64.c b/libs/libc/misc/lib_umul32x64.c index 09f7b9f138..ffc7524462 100644 --- a/libs/libc/misc/lib_umul32x64.c +++ b/libs/libc/misc/lib_umul32x64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_umul32x64.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/libs/libc/misc/lib_umul64.c b/libs/libc/misc/lib_umul64.c index 415afa2454..a1453f1929 100644 --- a/libs/libc/misc/lib_umul64.c +++ b/libs/libc/misc/lib_umul64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_umul64.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/libs/libc/misc/lib_usub64.c b/libs/libc/misc/lib_usub64.c index dac0d8b677..5a6d8f715c 100644 --- a/libs/libc/misc/lib_usub64.c +++ b/libs/libc/misc/lib_usub64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_usub64.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/libs/libc/misc/lib_usub64x32.c b/libs/libc/misc/lib_usub64x32.c index df8e2267d6..65503aeee8 100644 --- a/libs/libc/misc/lib_usub64x32.c +++ b/libs/libc/misc/lib_usub64x32.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_usub64x32.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/libs/libc/misc/lib_utimensat.c b/libs/libc/misc/lib_utimensat.c index 989bd8ea94..4c16ace456 100644 --- a/libs/libc/misc/lib_utimensat.c +++ b/libs/libc/misc/lib_utimensat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_utimensat.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/libs/libc/misc/lib_utsname.c b/libs/libc/misc/lib_utsname.c index 2ae7064f32..77fc671e7f 100644 --- a/libs/libc/misc/lib_utsname.c +++ b/libs/libc/misc/lib_utsname.c @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/misc/lib_utsname.c * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Stavros Polymenis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/misc/lib_xorshift128.c b/libs/libc/misc/lib_xorshift128.c index 3bda6f70ca..8d557bbc7f 100644 --- a/libs/libc/misc/lib_xorshift128.c +++ b/libs/libc/misc/lib_xorshift128.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/misc/lib_xorshift128.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/libs/libc/modlib/CMakeLists.txt b/libs/libc/modlib/CMakeLists.txt index e1606b6772..7372cad4fe 100644 --- a/libs/libc/modlib/CMakeLists.txt +++ b/libs/libc/modlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/modlib/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/libs/libc/modlib/Make.defs b/libs/libc/modlib/Make.defs index 8b6f1d0100..c9f5c222cf 100644 --- a/libs/libc/modlib/Make.defs +++ b/libs/libc/modlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/modlib/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/libs/libc/modlib/modlib.h b/libs/libc/modlib/modlib.h index 9b436744ef..74043cc5a4 100644 --- a/libs/libc/modlib/modlib.h +++ b/libs/libc/modlib/modlib.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib.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/libs/libc/modlib/modlib_bind.c b/libs/libc/modlib/modlib_bind.c index 89443250e4..51703c6c60 100644 --- a/libs/libc/modlib/modlib_bind.c +++ b/libs/libc/modlib/modlib_bind.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_bind.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/libs/libc/modlib/modlib_depend.c b/libs/libc/modlib/modlib_depend.c index 0f7eaf40e3..258597ae63 100644 --- a/libs/libc/modlib/modlib_depend.c +++ b/libs/libc/modlib/modlib_depend.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_depend.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/libs/libc/modlib/modlib_globals.S b/libs/libc/modlib/modlib_globals.S index 4319ae01c2..a458fdabe5 100644 --- a/libs/libc/modlib/modlib_globals.S +++ b/libs/libc/modlib/modlib_globals.S @@ -1,3 +1,25 @@ +/**************************************************************************** + * libs/libc/modlib/modlib_globals.S + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software 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. + * + ****************************************************************************/ + #ifdef __CYGWIN__ # define SYMBOL(s) _##s # define GLOBAL .global diff --git a/libs/libc/modlib/modlib_init.c b/libs/libc/modlib/modlib_init.c index 6b269c9805..6f1c709cdb 100644 --- a/libs/libc/modlib/modlib_init.c +++ b/libs/libc/modlib/modlib_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_init.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/libs/libc/modlib/modlib_iobuffer.c b/libs/libc/modlib/modlib_iobuffer.c index 1c99e9c9ae..f9b75f7f22 100644 --- a/libs/libc/modlib/modlib_iobuffer.c +++ b/libs/libc/modlib/modlib_iobuffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_iobuffer.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/libs/libc/modlib/modlib_load.c b/libs/libc/modlib/modlib_load.c index 4aaae3a1b9..0d36f97ccf 100644 --- a/libs/libc/modlib/modlib_load.c +++ b/libs/libc/modlib/modlib_load.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_load.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/libs/libc/modlib/modlib_loadhdrs.c b/libs/libc/modlib/modlib_loadhdrs.c index 498b5054b0..5f8a65e537 100644 --- a/libs/libc/modlib/modlib_loadhdrs.c +++ b/libs/libc/modlib/modlib_loadhdrs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_loadhdrs.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/libs/libc/modlib/modlib_read.c b/libs/libc/modlib/modlib_read.c index beef1eebab..8f0fb09b89 100644 --- a/libs/libc/modlib/modlib_read.c +++ b/libs/libc/modlib/modlib_read.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_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/libs/libc/modlib/modlib_registry.c b/libs/libc/modlib/modlib_registry.c index 1453ec9899..3e8dacd0ae 100644 --- a/libs/libc/modlib/modlib_registry.c +++ b/libs/libc/modlib/modlib_registry.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_registry.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/libs/libc/modlib/modlib_sections.c b/libs/libc/modlib/modlib_sections.c index 917f6b4958..25f99736f2 100644 --- a/libs/libc/modlib/modlib_sections.c +++ b/libs/libc/modlib/modlib_sections.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_sections.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/libs/libc/modlib/modlib_symbols.c b/libs/libc/modlib/modlib_symbols.c index 247d5cf614..7cf0b4fa69 100644 --- a/libs/libc/modlib/modlib_symbols.c +++ b/libs/libc/modlib/modlib_symbols.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_symbols.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/libs/libc/modlib/modlib_symtab.c b/libs/libc/modlib/modlib_symtab.c index 03e27e032b..e7b34c604e 100644 --- a/libs/libc/modlib/modlib_symtab.c +++ b/libs/libc/modlib/modlib_symtab.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_symtab.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/libs/libc/modlib/modlib_uninit.c b/libs/libc/modlib/modlib_uninit.c index 7cd9de6d48..e6c22edf76 100644 --- a/libs/libc/modlib/modlib_uninit.c +++ b/libs/libc/modlib/modlib_uninit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_uninit.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/libs/libc/modlib/modlib_unload.c b/libs/libc/modlib/modlib_unload.c index 981e2a8fd1..9d36cc79d0 100644 --- a/libs/libc/modlib/modlib_unload.c +++ b/libs/libc/modlib/modlib_unload.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_unload.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/libs/libc/modlib/modlib_verify.c b/libs/libc/modlib/modlib_verify.c index d1aea6b1fa..4f59c438a8 100644 --- a/libs/libc/modlib/modlib_verify.c +++ b/libs/libc/modlib/modlib_verify.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/modlib/modlib_verify.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/libs/libc/net/CMakeLists.txt b/libs/libc/net/CMakeLists.txt index f14620cf08..0c4652056e 100644 --- a/libs/libc/net/CMakeLists.txt +++ b/libs/libc/net/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/net/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/libs/libc/net/Make.defs b/libs/libc/net/Make.defs index 3cee4348bf..8b7e17fc48 100644 --- a/libs/libc/net/Make.defs +++ b/libs/libc/net/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/net/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/libs/libc/net/lib_accept.c b/libs/libc/net/lib_accept.c index fa7c8ee067..c0b4eb81ab 100644 --- a/libs/libc/net/lib_accept.c +++ b/libs/libc/net/lib_accept.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_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/libs/libc/net/lib_addrconfig.c b/libs/libc/net/lib_addrconfig.c index c6f5832be7..8fb739265b 100644 --- a/libs/libc/net/lib_addrconfig.c +++ b/libs/libc/net/lib_addrconfig.c @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/net/lib_addrconfig.c * - * Author: Max Nekludov - * Copyright (c) 2015, Max Nekludov. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015, Max Nekludov. All rights reserved. + * SPDX-FileContributor: Author: Max Nekludov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/net/lib_addroute.c b/libs/libc/net/lib_addroute.c index 7f6bac68f1..198f0613ae 100644 --- a/libs/libc/net/lib_addroute.c +++ b/libs/libc/net/lib_addroute.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_addroute.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/libs/libc/net/lib_base64.c b/libs/libc/net/lib_base64.c index 28a158d3f6..039ffbdad3 100644 --- a/libs/libc/net/lib_base64.c +++ b/libs/libc/net/lib_base64.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_base64.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/libs/libc/net/lib_delroute.c b/libs/libc/net/lib_delroute.c index f4c36817b0..27bc2e1214 100644 --- a/libs/libc/net/lib_delroute.c +++ b/libs/libc/net/lib_delroute.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_delroute.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/libs/libc/net/lib_etheraton.c b/libs/libc/net/lib_etheraton.c index aab68f471e..b1dd24fc20 100644 --- a/libs/libc/net/lib_etheraton.c +++ b/libs/libc/net/lib_etheraton.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_etheraton.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/libs/libc/net/lib_etherntoa.c b/libs/libc/net/lib_etherntoa.c index 48f4c96cfb..6901b0a976 100644 --- a/libs/libc/net/lib_etherntoa.c +++ b/libs/libc/net/lib_etherntoa.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_etherntoa.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/libs/libc/net/lib_freeifaddrs.c b/libs/libc/net/lib_freeifaddrs.c index 2e68969e7f..36d1693d5b 100644 --- a/libs/libc/net/lib_freeifaddrs.c +++ b/libs/libc/net/lib_freeifaddrs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_freeifaddrs.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/libs/libc/net/lib_freenameindex.c b/libs/libc/net/lib_freenameindex.c index d88c1f3a46..27e3f864f2 100644 --- a/libs/libc/net/lib_freenameindex.c +++ b/libs/libc/net/lib_freenameindex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_freenameindex.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/libs/libc/net/lib_getifaddrs.c b/libs/libc/net/lib_getifaddrs.c index 49f6f2ec40..7a722e9a0d 100644 --- a/libs/libc/net/lib_getifaddrs.c +++ b/libs/libc/net/lib_getifaddrs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_getifaddrs.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/libs/libc/net/lib_htonl.c b/libs/libc/net/lib_htonl.c index 8f1a00bc0a..92c6e16bb8 100644 --- a/libs/libc/net/lib_htonl.c +++ b/libs/libc/net/lib_htonl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_htonl.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/libs/libc/net/lib_htonq.c b/libs/libc/net/lib_htonq.c index 73661408d8..1c8c9714a3 100644 --- a/libs/libc/net/lib_htonq.c +++ b/libs/libc/net/lib_htonq.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_htonq.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/libs/libc/net/lib_htons.c b/libs/libc/net/lib_htons.c index ebef3c6472..f3bfda3859 100644 --- a/libs/libc/net/lib_htons.c +++ b/libs/libc/net/lib_htons.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_htons.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/libs/libc/net/lib_indextoname.c b/libs/libc/net/lib_indextoname.c index acd547f149..bc6adcd850 100644 --- a/libs/libc/net/lib_indextoname.c +++ b/libs/libc/net/lib_indextoname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_indextoname.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/libs/libc/net/lib_inetaddr.c b/libs/libc/net/lib_inetaddr.c index 13f8b786b9..3bbb288ab3 100644 --- a/libs/libc/net/lib_inetaddr.c +++ b/libs/libc/net/lib_inetaddr.c @@ -1,12 +1,10 @@ /**************************************************************************** * libs/libc/net/lib_inetaddr.c * - * Copyright (C) 2011 Yu Qiang. All rights reserved. - * Author: Yu Qiang - * - * This file is a part of NuttX: - * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011 Yu Qiang. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileContributor: Yu Qiang * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/net/lib_inetaton.c b/libs/libc/net/lib_inetaton.c index 4778918c13..03dbe89265 100644 --- a/libs/libc/net/lib_inetaton.c +++ b/libs/libc/net/lib_inetaton.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_inetaton.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/libs/libc/net/lib_inetnetwork.c b/libs/libc/net/lib_inetnetwork.c index 15afc6a1a0..5d5cba7eca 100644 --- a/libs/libc/net/lib_inetnetwork.c +++ b/libs/libc/net/lib_inetnetwork.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_inetnetwork.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/libs/libc/net/lib_inetntoa.c b/libs/libc/net/lib_inetntoa.c index dc672cab9b..64343dacc1 100644 --- a/libs/libc/net/lib_inetntoa.c +++ b/libs/libc/net/lib_inetntoa.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_inetntoa.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/libs/libc/net/lib_inetntop.c b/libs/libc/net/lib_inetntop.c index 0fb0acd8bf..dbaf10e3b5 100644 --- a/libs/libc/net/lib_inetntop.c +++ b/libs/libc/net/lib_inetntop.c @@ -1,14 +1,11 @@ /**************************************************************************** * libs/libc/net/lib_inetntop.c * - * Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Includes some logic extracted from hwport_ftpd, written by Jaehyuk Cho - * which was released under the BSD license. - * - * Copyright (C) HWPORT.COM. All rights reserved. - * Author: JAEHYUK CHO + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: HWPORT.COM. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: JAEHYUK CHO * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/net/lib_inetpton.c b/libs/libc/net/lib_inetpton.c index 724759dcd9..e2ef39409a 100644 --- a/libs/libc/net/lib_inetpton.c +++ b/libs/libc/net/lib_inetpton.c @@ -1,14 +1,11 @@ /**************************************************************************** * libs/libc/net/lib_inetpton.c * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Includes some logic extracted from hwport_ftpd, written by Jaehyuk Cho - * which was released under the BSD license. - * - * Copyright (C) HWPORT.COM. All rights reserved. - * Author: JAEHYUK CHO + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: HWPORT.COM. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: JAEHYUK CHO * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/net/lib_loopback.c b/libs/libc/net/lib_loopback.c index a85d08a6b8..344dcb63b3 100644 --- a/libs/libc/net/lib_loopback.c +++ b/libs/libc/net/lib_loopback.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_loopback.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/libs/libc/net/lib_nameindex.c b/libs/libc/net/lib_nameindex.c index 42a91c25c7..fa22eba519 100644 --- a/libs/libc/net/lib_nameindex.c +++ b/libs/libc/net/lib_nameindex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_nameindex.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/libs/libc/net/lib_nametoindex.c b/libs/libc/net/lib_nametoindex.c index 8adc63817b..c8962a06c2 100644 --- a/libs/libc/net/lib_nametoindex.c +++ b/libs/libc/net/lib_nametoindex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/net/lib_nametoindex.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/libs/libc/netdb/CMakeLists.txt b/libs/libc/netdb/CMakeLists.txt index c4b7d751b0..3bca87c6aa 100644 --- a/libs/libc/netdb/CMakeLists.txt +++ b/libs/libc/netdb/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/netdb/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/libs/libc/netdb/Make.defs b/libs/libc/netdb/Make.defs index 41f7b28461..39f7beef4c 100644 --- a/libs/libc/netdb/Make.defs +++ b/libs/libc/netdb/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/netdb/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/libs/libc/netdb/lib_dn.c b/libs/libc/netdb/lib_dn.c index 5f1d0b53f7..6003c27881 100644 --- a/libs/libc/netdb/lib_dn.c +++ b/libs/libc/netdb/lib_dn.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dn.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/libs/libc/netdb/lib_dns.h b/libs/libc/netdb/lib_dns.h index 40f40c844e..8385ca563e 100644 --- a/libs/libc/netdb/lib_dns.h +++ b/libs/libc/netdb/lib_dns.h @@ -1,39 +1,22 @@ /**************************************************************************** * libs/libc/netdb/lib_dns.h - * DNS resolver code header file. * - * Copyright (C) 2007-2009, 2011-2012, 2014 Gregory Nutt. - * All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * Inspired by/based on uIP logic by Adam Dunkels: + * Licensed to the Apache Software 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 * - * Copyright (c) 2002-2003, Adam Dunkels. All rights reserved. - * Author Adam Dunkels + * http://www.apache.org/licenses/LICENSE-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote - * products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS - * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * 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/libs/libc/netdb/lib_dnsaddserver.c b/libs/libc/netdb/lib_dnsaddserver.c index 50c71a79f5..b32d17ad4d 100644 --- a/libs/libc/netdb/lib_dnsaddserver.c +++ b/libs/libc/netdb/lib_dnsaddserver.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsaddserver.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/libs/libc/netdb/lib_dnsbind.c b/libs/libc/netdb/lib_dnsbind.c index 23b3e911a4..a61893e56b 100644 --- a/libs/libc/netdb/lib_dnsbind.c +++ b/libs/libc/netdb/lib_dnsbind.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsbind.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/libs/libc/netdb/lib_dnscache.c b/libs/libc/netdb/lib_dnscache.c index 1260185103..6f6d989a79 100644 --- a/libs/libc/netdb/lib_dnscache.c +++ b/libs/libc/netdb/lib_dnscache.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnscache.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/libs/libc/netdb/lib_dnsdefaultserver.c b/libs/libc/netdb/lib_dnsdefaultserver.c index e29dccacaf..81074013a8 100644 --- a/libs/libc/netdb/lib_dnsdefaultserver.c +++ b/libs/libc/netdb/lib_dnsdefaultserver.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsdefaultserver.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/libs/libc/netdb/lib_dnsforeach.c b/libs/libc/netdb/lib_dnsforeach.c index fb7e40b29b..ec39eea2f4 100644 --- a/libs/libc/netdb/lib_dnsforeach.c +++ b/libs/libc/netdb/lib_dnsforeach.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsforeach.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/libs/libc/netdb/lib_dnsinit.c b/libs/libc/netdb/lib_dnsinit.c index 4ce1dc7c26..2c312dab2a 100644 --- a/libs/libc/netdb/lib_dnsinit.c +++ b/libs/libc/netdb/lib_dnsinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsinit.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/libs/libc/netdb/lib_dnsnotify.c b/libs/libc/netdb/lib_dnsnotify.c index 98a69483bc..07daeff12c 100644 --- a/libs/libc/netdb/lib_dnsnotify.c +++ b/libs/libc/netdb/lib_dnsnotify.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsnotify.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/libs/libc/netdb/lib_dnsquery.c b/libs/libc/netdb/lib_dnsquery.c index a01e79db79..0564278075 100644 --- a/libs/libc/netdb/lib_dnsquery.c +++ b/libs/libc/netdb/lib_dnsquery.c @@ -1,19 +1,11 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsquery.c - * DNS host name to IP address resolver. * - * The DNS resolver functions are used to lookup a hostname and map it to a - * numerical IP address. - * - * Copyright (C) 2007, 2009, 2012, 2014-2018 Gregory Nutt. All rights - * reserved. - * Author: Gregory Nutt - * - * Based heavily on portions of uIP: - * - * Author: Adam Dunkels - * Copyright (c) 2002-2003, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: 2007, 2009, 2012, 2014-2018 Gregory Nutt. + * SPDX-License-Identifier: 2002-2003, Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/netdb/lib_dnsqueryfamily.c b/libs/libc/netdb/lib_dnsqueryfamily.c index cfb39aa520..34c948ca2b 100644 --- a/libs/libc/netdb/lib_dnsqueryfamily.c +++ b/libs/libc/netdb/lib_dnsqueryfamily.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_dnsqueryfamily.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/libs/libc/netdb/lib_freeaddrinfo.c b/libs/libc/netdb/lib_freeaddrinfo.c index 93b982d334..cb5ddbac03 100644 --- a/libs/libc/netdb/lib_freeaddrinfo.c +++ b/libs/libc/netdb/lib_freeaddrinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_freeaddrinfo.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/libs/libc/netdb/lib_gaistrerror.c b/libs/libc/netdb/lib_gaistrerror.c index 56b147b955..7bdea95e23 100644 --- a/libs/libc/netdb/lib_gaistrerror.c +++ b/libs/libc/netdb/lib_gaistrerror.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gaistrerror.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/libs/libc/netdb/lib_getaddrinfo.c b/libs/libc/netdb/lib_getaddrinfo.c index 0e2e69f550..380cf70069 100644 --- a/libs/libc/netdb/lib_getaddrinfo.c +++ b/libs/libc/netdb/lib_getaddrinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getaddrinfo.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/libs/libc/netdb/lib_gethostbyaddr.c b/libs/libc/netdb/lib_gethostbyaddr.c index 8afa5a2bd1..8049bd5dd7 100644 --- a/libs/libc/netdb/lib_gethostbyaddr.c +++ b/libs/libc/netdb/lib_gethostbyaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbyaddr.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/libs/libc/netdb/lib_gethostbyaddrr.c b/libs/libc/netdb/lib_gethostbyaddrr.c index 2abb332601..ad46bfc78d 100644 --- a/libs/libc/netdb/lib_gethostbyaddrr.c +++ b/libs/libc/netdb/lib_gethostbyaddrr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbyaddrr.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/libs/libc/netdb/lib_gethostbyname.c b/libs/libc/netdb/lib_gethostbyname.c index 5a65034c97..e201461413 100644 --- a/libs/libc/netdb/lib_gethostbyname.c +++ b/libs/libc/netdb/lib_gethostbyname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbyname.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/libs/libc/netdb/lib_gethostbyname2.c b/libs/libc/netdb/lib_gethostbyname2.c index d1e486db13..1e82b4da1e 100644 --- a/libs/libc/netdb/lib_gethostbyname2.c +++ b/libs/libc/netdb/lib_gethostbyname2.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbyname2.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/libs/libc/netdb/lib_gethostbyname2r.c b/libs/libc/netdb/lib_gethostbyname2r.c index 36884da502..4a879b1ace 100644 --- a/libs/libc/netdb/lib_gethostbyname2r.c +++ b/libs/libc/netdb/lib_gethostbyname2r.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbyname2r.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/libs/libc/netdb/lib_gethostbynamer.c b/libs/libc/netdb/lib_gethostbynamer.c index 6a03821e58..4218e7c1b5 100644 --- a/libs/libc/netdb/lib_gethostbynamer.c +++ b/libs/libc/netdb/lib_gethostbynamer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostbynamer.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/libs/libc/netdb/lib_gethostentbynamer.c b/libs/libc/netdb/lib_gethostentbynamer.c index 191143ee7f..45e8512e4f 100644 --- a/libs/libc/netdb/lib_gethostentbynamer.c +++ b/libs/libc/netdb/lib_gethostentbynamer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_gethostentbynamer.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/libs/libc/netdb/lib_getnameinfo.c b/libs/libc/netdb/lib_getnameinfo.c index cac204bfb4..3c60c43e94 100644 --- a/libs/libc/netdb/lib_getnameinfo.c +++ b/libs/libc/netdb/lib_getnameinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getnameinfo.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/libs/libc/netdb/lib_getservbyname.c b/libs/libc/netdb/lib_getservbyname.c index a727272ac4..327285ef30 100644 --- a/libs/libc/netdb/lib_getservbyname.c +++ b/libs/libc/netdb/lib_getservbyname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getservbyname.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/libs/libc/netdb/lib_getservbynamer.c b/libs/libc/netdb/lib_getservbynamer.c index a616d402de..a1fe9fee71 100644 --- a/libs/libc/netdb/lib_getservbynamer.c +++ b/libs/libc/netdb/lib_getservbynamer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getservbynamer.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/libs/libc/netdb/lib_getservbyport.c b/libs/libc/netdb/lib_getservbyport.c index 41184ed58b..862202f716 100644 --- a/libs/libc/netdb/lib_getservbyport.c +++ b/libs/libc/netdb/lib_getservbyport.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getservbyport.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/libs/libc/netdb/lib_getservbyportr.c b/libs/libc/netdb/lib_getservbyportr.c index 25e78d5312..59cd305cee 100644 --- a/libs/libc/netdb/lib_getservbyportr.c +++ b/libs/libc/netdb/lib_getservbyportr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_getservbyportr.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/libs/libc/netdb/lib_netdb.c b/libs/libc/netdb/lib_netdb.c index a44dae6c7f..544828cd43 100644 --- a/libs/libc/netdb/lib_netdb.c +++ b/libs/libc/netdb/lib_netdb.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_netdb.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/libs/libc/netdb/lib_netdb.h b/libs/libc/netdb/lib_netdb.h index b4d4a0a60e..03bb762888 100644 --- a/libs/libc/netdb/lib_netdb.h +++ b/libs/libc/netdb/lib_netdb.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_netdb.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/libs/libc/netdb/lib_parsehostfile.c b/libs/libc/netdb/lib_parsehostfile.c index 494df98b5c..4881c2c6d1 100644 --- a/libs/libc/netdb/lib_parsehostfile.c +++ b/libs/libc/netdb/lib_parsehostfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_parsehostfile.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/libs/libc/netdb/lib_proto.c b/libs/libc/netdb/lib_proto.c index 43acdb00df..3e71eb584b 100644 --- a/libs/libc/netdb/lib_proto.c +++ b/libs/libc/netdb/lib_proto.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_proto.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/libs/libc/netdb/lib_protor.c b/libs/libc/netdb/lib_protor.c index 8692a271d3..21a64149fd 100644 --- a/libs/libc/netdb/lib_protor.c +++ b/libs/libc/netdb/lib_protor.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_protor.c * - * Copyright © 2005-2020 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2020 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/netdb/lib_rexec.c b/libs/libc/netdb/lib_rexec.c index e6aa9a7955..2d23d0d7dc 100644 --- a/libs/libc/netdb/lib_rexec.c +++ b/libs/libc/netdb/lib_rexec.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/netdb/lib_rexec.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/libs/libc/obstack/CMakeLists.txt b/libs/libc/obstack/CMakeLists.txt new file mode 100644 index 0000000000..c8b3a04129 --- /dev/null +++ b/libs/libc/obstack/CMakeLists.txt @@ -0,0 +1,21 @@ +# ############################################################################## +# libs/libc/obstack/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 +# 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/libs/libc/obstack/Make.defs b/libs/libc/obstack/Make.defs index c163af8989..da434ff567 100644 --- a/libs/libc/obstack/Make.defs +++ b/libs/libc/obstack/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/obstack/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/libs/libc/obstack/lib_obstack_alloc.c b/libs/libc/obstack/lib_obstack_alloc.c index 928526f74f..02b4bcff2f 100644 --- a/libs/libc/obstack/lib_obstack_alloc.c +++ b/libs/libc/obstack/lib_obstack_alloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_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/libs/libc/obstack/lib_obstack_blank.c b/libs/libc/obstack/lib_obstack_blank.c index 407b3880af..84e1dd5181 100644 --- a/libs/libc/obstack/lib_obstack_blank.c +++ b/libs/libc/obstack/lib_obstack_blank.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_blank.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/libs/libc/obstack/lib_obstack_copy.c b/libs/libc/obstack/lib_obstack_copy.c index 18f7254899..0f3207bd93 100644 --- a/libs/libc/obstack/lib_obstack_copy.c +++ b/libs/libc/obstack/lib_obstack_copy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_copy.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/libs/libc/obstack/lib_obstack_finish.c b/libs/libc/obstack/lib_obstack_finish.c index 5cf1595b5a..7480f486db 100644 --- a/libs/libc/obstack/lib_obstack_finish.c +++ b/libs/libc/obstack/lib_obstack_finish.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_finish.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/libs/libc/obstack/lib_obstack_free.c b/libs/libc/obstack/lib_obstack_free.c index 6d5437de00..751d471c75 100644 --- a/libs/libc/obstack/lib_obstack_free.c +++ b/libs/libc/obstack/lib_obstack_free.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_free.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/libs/libc/obstack/lib_obstack_grow.c b/libs/libc/obstack/lib_obstack_grow.c index e0ac2cb55c..3f40f8445a 100644 --- a/libs/libc/obstack/lib_obstack_grow.c +++ b/libs/libc/obstack/lib_obstack_grow.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_grow.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/libs/libc/obstack/lib_obstack_init.c b/libs/libc/obstack/lib_obstack_init.c index 369fe476d4..498983e053 100644 --- a/libs/libc/obstack/lib_obstack_init.c +++ b/libs/libc/obstack/lib_obstack_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_init.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/libs/libc/obstack/lib_obstack_make_room.c b/libs/libc/obstack/lib_obstack_make_room.c index 673fc22b3d..c06d83110c 100644 --- a/libs/libc/obstack/lib_obstack_make_room.c +++ b/libs/libc/obstack/lib_obstack_make_room.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_make_room.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/libs/libc/obstack/lib_obstack_malloc.c b/libs/libc/obstack/lib_obstack_malloc.c index 8382ad5dc5..06bed9cd0e 100644 --- a/libs/libc/obstack/lib_obstack_malloc.c +++ b/libs/libc/obstack/lib_obstack_malloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_malloc.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/libs/libc/obstack/lib_obstack_malloc.h b/libs/libc/obstack/lib_obstack_malloc.h index 1906856fd7..fa6665a94b 100644 --- a/libs/libc/obstack/lib_obstack_malloc.h +++ b/libs/libc/obstack/lib_obstack_malloc.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_malloc.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/libs/libc/obstack/lib_obstack_object_size.c b/libs/libc/obstack/lib_obstack_object_size.c index c8bf13ad2f..4bb23509c5 100644 --- a/libs/libc/obstack/lib_obstack_object_size.c +++ b/libs/libc/obstack/lib_obstack_object_size.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_object_size.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/libs/libc/obstack/lib_obstack_printf.c b/libs/libc/obstack/lib_obstack_printf.c index 74cfcc804a..8fde948151 100644 --- a/libs/libc/obstack/lib_obstack_printf.c +++ b/libs/libc/obstack/lib_obstack_printf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_printf.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/libs/libc/obstack/lib_obstack_room.c b/libs/libc/obstack/lib_obstack_room.c index 1afc308964..c0c93e5392 100644 --- a/libs/libc/obstack/lib_obstack_room.c +++ b/libs/libc/obstack/lib_obstack_room.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_room.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/libs/libc/obstack/lib_obstack_vprintf.c b/libs/libc/obstack/lib_obstack_vprintf.c index 2e35623b9e..bedc3051d1 100644 --- a/libs/libc/obstack/lib_obstack_vprintf.c +++ b/libs/libc/obstack/lib_obstack_vprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/obstack/lib_obstack_vprintf.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/libs/libc/pthread/CMakeLists.txt b/libs/libc/pthread/CMakeLists.txt index 167bc00d3d..2f39a9b3fe 100644 --- a/libs/libc/pthread/CMakeLists.txt +++ b/libs/libc/pthread/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/pthread/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/libs/libc/pthread/Make.defs b/libs/libc/pthread/Make.defs index d0b5e7a847..fa69fd39ba 100644 --- a/libs/libc/pthread/Make.defs +++ b/libs/libc/pthread/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/pthread/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/libs/libc/pthread/pthread_atfork.c b/libs/libc/pthread/pthread_atfork.c index 5a1ab52f2a..9cc1082cb8 100644 --- a/libs/libc/pthread/pthread_atfork.c +++ b/libs/libc/pthread/pthread_atfork.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_atfork.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/libs/libc/pthread/pthread_attr_destroy.c b/libs/libc/pthread/pthread_attr_destroy.c index 8dae7f0263..1b2183550c 100644 --- a/libs/libc/pthread/pthread_attr_destroy.c +++ b/libs/libc/pthread/pthread_attr_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_destroy.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/libs/libc/pthread/pthread_attr_getaffinity.c b/libs/libc/pthread/pthread_attr_getaffinity.c index dc4e327057..e26291d607 100644 --- a/libs/libc/pthread/pthread_attr_getaffinity.c +++ b/libs/libc/pthread/pthread_attr_getaffinity.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getaffinity.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/libs/libc/pthread/pthread_attr_getdetachstate.c b/libs/libc/pthread/pthread_attr_getdetachstate.c index d27d55db2e..6e9b146cdc 100644 --- a/libs/libc/pthread/pthread_attr_getdetachstate.c +++ b/libs/libc/pthread/pthread_attr_getdetachstate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getdetachstate.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/libs/libc/pthread/pthread_attr_getinheritsched.c b/libs/libc/pthread/pthread_attr_getinheritsched.c index 40a5cf3019..74ce4a0efe 100644 --- a/libs/libc/pthread/pthread_attr_getinheritsched.c +++ b/libs/libc/pthread/pthread_attr_getinheritsched.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getinheritsched.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/libs/libc/pthread/pthread_attr_getschedparam.c b/libs/libc/pthread/pthread_attr_getschedparam.c index 382c333b4c..22997a819a 100644 --- a/libs/libc/pthread/pthread_attr_getschedparam.c +++ b/libs/libc/pthread/pthread_attr_getschedparam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getschedparam.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/libs/libc/pthread/pthread_attr_getschedpolicy.c b/libs/libc/pthread/pthread_attr_getschedpolicy.c index dfb0c49635..6d73578dc7 100644 --- a/libs/libc/pthread/pthread_attr_getschedpolicy.c +++ b/libs/libc/pthread/pthread_attr_getschedpolicy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getschedpolicy.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/libs/libc/pthread/pthread_attr_getscope.c b/libs/libc/pthread/pthread_attr_getscope.c index a54a214f18..7628b2b121 100644 --- a/libs/libc/pthread/pthread_attr_getscope.c +++ b/libs/libc/pthread/pthread_attr_getscope.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getscope.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/libs/libc/pthread/pthread_attr_getstack.c b/libs/libc/pthread/pthread_attr_getstack.c index 4a35a9f422..38d50599cb 100644 --- a/libs/libc/pthread/pthread_attr_getstack.c +++ b/libs/libc/pthread/pthread_attr_getstack.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getstack.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/libs/libc/pthread/pthread_attr_getstackaddr.c b/libs/libc/pthread/pthread_attr_getstackaddr.c index 0b0ba13d79..edcb452532 100644 --- a/libs/libc/pthread/pthread_attr_getstackaddr.c +++ b/libs/libc/pthread/pthread_attr_getstackaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getstackaddr.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/libs/libc/pthread/pthread_attr_getstacksize.c b/libs/libc/pthread/pthread_attr_getstacksize.c index 56b3dc2dc2..97dcf3d9fd 100644 --- a/libs/libc/pthread/pthread_attr_getstacksize.c +++ b/libs/libc/pthread/pthread_attr_getstacksize.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_getstacksize.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/libs/libc/pthread/pthread_attr_init.c b/libs/libc/pthread/pthread_attr_init.c index 7831d5f7ad..283453ce3a 100644 --- a/libs/libc/pthread/pthread_attr_init.c +++ b/libs/libc/pthread/pthread_attr_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_init.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/libs/libc/pthread/pthread_attr_setaffinity.c b/libs/libc/pthread/pthread_attr_setaffinity.c index a35021a1cf..cdc7cdf050 100644 --- a/libs/libc/pthread/pthread_attr_setaffinity.c +++ b/libs/libc/pthread/pthread_attr_setaffinity.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setaffinity.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/libs/libc/pthread/pthread_attr_setdetachstate.c b/libs/libc/pthread/pthread_attr_setdetachstate.c index 1669fccfb1..605da54f71 100644 --- a/libs/libc/pthread/pthread_attr_setdetachstate.c +++ b/libs/libc/pthread/pthread_attr_setdetachstate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setdetachstate.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/libs/libc/pthread/pthread_attr_setinheritsched.c b/libs/libc/pthread/pthread_attr_setinheritsched.c index 02ef7642cb..ef7c84112d 100644 --- a/libs/libc/pthread/pthread_attr_setinheritsched.c +++ b/libs/libc/pthread/pthread_attr_setinheritsched.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setinheritsched.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/libs/libc/pthread/pthread_attr_setschedparam.c b/libs/libc/pthread/pthread_attr_setschedparam.c index c4a338a8e2..1655dace71 100644 --- a/libs/libc/pthread/pthread_attr_setschedparam.c +++ b/libs/libc/pthread/pthread_attr_setschedparam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setschedparam.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/libs/libc/pthread/pthread_attr_setschedpolicy.c b/libs/libc/pthread/pthread_attr_setschedpolicy.c index 3e164d41ed..0af7dc2ee8 100644 --- a/libs/libc/pthread/pthread_attr_setschedpolicy.c +++ b/libs/libc/pthread/pthread_attr_setschedpolicy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setschedpolicy.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/libs/libc/pthread/pthread_attr_setscope.c b/libs/libc/pthread/pthread_attr_setscope.c index 225a891f98..614a54b7ce 100644 --- a/libs/libc/pthread/pthread_attr_setscope.c +++ b/libs/libc/pthread/pthread_attr_setscope.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setscope.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/libs/libc/pthread/pthread_attr_setstack.c b/libs/libc/pthread/pthread_attr_setstack.c index 9c68a36d79..dff7269c80 100644 --- a/libs/libc/pthread/pthread_attr_setstack.c +++ b/libs/libc/pthread/pthread_attr_setstack.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setstack.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/libs/libc/pthread/pthread_attr_setstackaddr.c b/libs/libc/pthread/pthread_attr_setstackaddr.c index d2cfd5dc75..0b90293375 100644 --- a/libs/libc/pthread/pthread_attr_setstackaddr.c +++ b/libs/libc/pthread/pthread_attr_setstackaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setstackaddr.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/libs/libc/pthread/pthread_attr_setstacksize.c b/libs/libc/pthread/pthread_attr_setstacksize.c index f3de28de17..689ee7a402 100644 --- a/libs/libc/pthread/pthread_attr_setstacksize.c +++ b/libs/libc/pthread/pthread_attr_setstacksize.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_attr_setstacksize.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/libs/libc/pthread/pthread_barrierattr_destroy.c b/libs/libc/pthread/pthread_barrierattr_destroy.c index ccfaaf8fa9..35e82eebad 100644 --- a/libs/libc/pthread/pthread_barrierattr_destroy.c +++ b/libs/libc/pthread/pthread_barrierattr_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierattr_destroy.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/libs/libc/pthread/pthread_barrierattr_getpshared.c b/libs/libc/pthread/pthread_barrierattr_getpshared.c index 22c7bea720..8fef4fb28c 100644 --- a/libs/libc/pthread/pthread_barrierattr_getpshared.c +++ b/libs/libc/pthread/pthread_barrierattr_getpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierattr_getpshared.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/libs/libc/pthread/pthread_barrierattr_init.c b/libs/libc/pthread/pthread_barrierattr_init.c index e632babff9..e5fa1a6d66 100644 --- a/libs/libc/pthread/pthread_barrierattr_init.c +++ b/libs/libc/pthread/pthread_barrierattr_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierattr_init.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/libs/libc/pthread/pthread_barrierattr_setpshared.c b/libs/libc/pthread/pthread_barrierattr_setpshared.c index 9b8d3cbab2..73ef470494 100644 --- a/libs/libc/pthread/pthread_barrierattr_setpshared.c +++ b/libs/libc/pthread/pthread_barrierattr_setpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierattr_setpshared.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/libs/libc/pthread/pthread_barrierdestroy.c b/libs/libc/pthread/pthread_barrierdestroy.c index 11625f5c4c..b390ff089b 100644 --- a/libs/libc/pthread/pthread_barrierdestroy.c +++ b/libs/libc/pthread/pthread_barrierdestroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierdestroy.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/libs/libc/pthread/pthread_barrierinit.c b/libs/libc/pthread/pthread_barrierinit.c index 86253444b5..5ff90ed72e 100644 --- a/libs/libc/pthread/pthread_barrierinit.c +++ b/libs/libc/pthread/pthread_barrierinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_barrierinit.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/libs/libc/pthread/pthread_cleanup.c b/libs/libc/pthread/pthread_cleanup.c index 2687c75d53..835d7d7e68 100644 --- a/libs/libc/pthread/pthread_cleanup.c +++ b/libs/libc/pthread/pthread_cleanup.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_cleanup.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/libs/libc/pthread/pthread_condattr_destroy.c b/libs/libc/pthread/pthread_condattr_destroy.c index 827996b5aa..86d7ad1698 100644 --- a/libs/libc/pthread/pthread_condattr_destroy.c +++ b/libs/libc/pthread/pthread_condattr_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_destroy.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/libs/libc/pthread/pthread_condattr_getclock.c b/libs/libc/pthread/pthread_condattr_getclock.c index e8d37edd80..a73a17e4aa 100644 --- a/libs/libc/pthread/pthread_condattr_getclock.c +++ b/libs/libc/pthread/pthread_condattr_getclock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_getclock.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/libs/libc/pthread/pthread_condattr_getpshared.c b/libs/libc/pthread/pthread_condattr_getpshared.c index 4f85ff0d74..3e5b50f64e 100644 --- a/libs/libc/pthread/pthread_condattr_getpshared.c +++ b/libs/libc/pthread/pthread_condattr_getpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_getpshared.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/libs/libc/pthread/pthread_condattr_init.c b/libs/libc/pthread/pthread_condattr_init.c index d420374f55..5249034e40 100644 --- a/libs/libc/pthread/pthread_condattr_init.c +++ b/libs/libc/pthread/pthread_condattr_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_init.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/libs/libc/pthread/pthread_condattr_setclock.c b/libs/libc/pthread/pthread_condattr_setclock.c index 0697d2d086..1380bd6018 100644 --- a/libs/libc/pthread/pthread_condattr_setclock.c +++ b/libs/libc/pthread/pthread_condattr_setclock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_setclock.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/libs/libc/pthread/pthread_condattr_setpshared.c b/libs/libc/pthread/pthread_condattr_setpshared.c index 2e589a7d4f..321fef98ae 100644 --- a/libs/libc/pthread/pthread_condattr_setpshared.c +++ b/libs/libc/pthread/pthread_condattr_setpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condattr_setpshared.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/libs/libc/pthread/pthread_conddestroy.c b/libs/libc/pthread/pthread_conddestroy.c index 806a8bc461..c27c63be01 100644 --- a/libs/libc/pthread/pthread_conddestroy.c +++ b/libs/libc/pthread/pthread_conddestroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_conddestroy.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/libs/libc/pthread/pthread_condinit.c b/libs/libc/pthread/pthread_condinit.c index 9a218d1777..d4f133b948 100644 --- a/libs/libc/pthread/pthread_condinit.c +++ b/libs/libc/pthread/pthread_condinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condinit.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/libs/libc/pthread/pthread_condtimedwait.c b/libs/libc/pthread/pthread_condtimedwait.c index 1f7437cbb1..42522477bf 100644 --- a/libs/libc/pthread/pthread_condtimedwait.c +++ b/libs/libc/pthread/pthread_condtimedwait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_condtimedwait.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/libs/libc/pthread/pthread_create.c b/libs/libc/pthread/pthread_create.c index b9e8d692c4..6c87140361 100644 --- a/libs/libc/pthread/pthread_create.c +++ b/libs/libc/pthread/pthread_create.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_create.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/libs/libc/pthread/pthread_exit.c b/libs/libc/pthread/pthread_exit.c index 25b430650f..412ddf8200 100644 --- a/libs/libc/pthread/pthread_exit.c +++ b/libs/libc/pthread/pthread_exit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_exit.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/libs/libc/pthread/pthread_get_stackaddr_np.c b/libs/libc/pthread/pthread_get_stackaddr_np.c index a8a570b46a..5e5d083fa3 100644 --- a/libs/libc/pthread/pthread_get_stackaddr_np.c +++ b/libs/libc/pthread/pthread_get_stackaddr_np.c @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/pthread/pthread_get_stackaddr_np.c * - * Copyright (C) 2018 Geoff Norton. All rights reserved. - * Author: Geoff Norton + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018 Geoff Norton. All rights reserved. + * SPDX-FileContributor: Geoff Norton * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/pthread/pthread_get_stacksize_np.c b/libs/libc/pthread/pthread_get_stacksize_np.c index 248f337274..734985100e 100644 --- a/libs/libc/pthread/pthread_get_stacksize_np.c +++ b/libs/libc/pthread/pthread_get_stacksize_np.c @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/pthread/pthread_get_stacksize_np.c * - * Copyright (C) 2018 Geoff Norton. All rights reserved. - * Author: Geoff Norton + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2018 Geoff Norton. All rights reserved. + * SPDX-FileContributor: Geoff Norton * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/pthread/pthread_getcpuclockid.c b/libs/libc/pthread/pthread_getcpuclockid.c index a3fa78acff..029739426e 100644 --- a/libs/libc/pthread/pthread_getcpuclockid.c +++ b/libs/libc/pthread/pthread_getcpuclockid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_getcpuclockid.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/libs/libc/pthread/pthread_getname_np.c b/libs/libc/pthread/pthread_getname_np.c index ab29c6d2ac..6867692569 100644 --- a/libs/libc/pthread/pthread_getname_np.c +++ b/libs/libc/pthread/pthread_getname_np.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_getname_np.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/libs/libc/pthread/pthread_getspecific.c b/libs/libc/pthread/pthread_getspecific.c index b1a2e62047..20cc56b93d 100644 --- a/libs/libc/pthread/pthread_getspecific.c +++ b/libs/libc/pthread/pthread_getspecific.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_getspecific.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/libs/libc/pthread/pthread_gettid_np.c b/libs/libc/pthread/pthread_gettid_np.c index 7199f5112b..81e16ec48d 100644 --- a/libs/libc/pthread/pthread_gettid_np.c +++ b/libs/libc/pthread/pthread_gettid_np.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_gettid_np.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/libs/libc/pthread/pthread_keycreate.c b/libs/libc/pthread/pthread_keycreate.c index f82aec64bb..f819dd98e0 100644 --- a/libs/libc/pthread/pthread_keycreate.c +++ b/libs/libc/pthread/pthread_keycreate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_keycreate.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/libs/libc/pthread/pthread_keydelete.c b/libs/libc/pthread/pthread_keydelete.c index 6cf16bcdbf..594f5e7301 100644 --- a/libs/libc/pthread/pthread_keydelete.c +++ b/libs/libc/pthread/pthread_keydelete.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_keydelete.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/libs/libc/pthread/pthread_kill.c b/libs/libc/pthread/pthread_kill.c index 67683c679e..bcd509a818 100644 --- a/libs/libc/pthread/pthread_kill.c +++ b/libs/libc/pthread/pthread_kill.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_kill.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/libs/libc/pthread/pthread_mutex_getprioceiling.c b/libs/libc/pthread/pthread_mutex_getprioceiling.c index e621227c90..27f3d52bf2 100644 --- a/libs/libc/pthread/pthread_mutex_getprioceiling.c +++ b/libs/libc/pthread/pthread_mutex_getprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutex_getprioceiling.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/libs/libc/pthread/pthread_mutex_lock.c b/libs/libc/pthread/pthread_mutex_lock.c index 88afc3473c..fb2484fa9a 100644 --- a/libs/libc/pthread/pthread_mutex_lock.c +++ b/libs/libc/pthread/pthread_mutex_lock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutex_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/libs/libc/pthread/pthread_mutex_setprioceiling.c b/libs/libc/pthread/pthread_mutex_setprioceiling.c index 04751883d6..f98af46605 100644 --- a/libs/libc/pthread/pthread_mutex_setprioceiling.c +++ b/libs/libc/pthread/pthread_mutex_setprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutex_setprioceiling.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/libs/libc/pthread/pthread_mutexattr_destroy.c b/libs/libc/pthread/pthread_mutexattr_destroy.c index 01cefa6b9a..824995d03d 100644 --- a/libs/libc/pthread/pthread_mutexattr_destroy.c +++ b/libs/libc/pthread/pthread_mutexattr_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_destroy.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/libs/libc/pthread/pthread_mutexattr_getprioceiling.c b/libs/libc/pthread/pthread_mutexattr_getprioceiling.c index 7c518a5944..a413a7876b 100644 --- a/libs/libc/pthread/pthread_mutexattr_getprioceiling.c +++ b/libs/libc/pthread/pthread_mutexattr_getprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_getprioceiling.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/libs/libc/pthread/pthread_mutexattr_getprotocol.c b/libs/libc/pthread/pthread_mutexattr_getprotocol.c index c883d6bb37..65e0009635 100644 --- a/libs/libc/pthread/pthread_mutexattr_getprotocol.c +++ b/libs/libc/pthread/pthread_mutexattr_getprotocol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_getprotocol.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/libs/libc/pthread/pthread_mutexattr_getpshared.c b/libs/libc/pthread/pthread_mutexattr_getpshared.c index 2d42135e66..cccb7bd181 100644 --- a/libs/libc/pthread/pthread_mutexattr_getpshared.c +++ b/libs/libc/pthread/pthread_mutexattr_getpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_getpshared.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/libs/libc/pthread/pthread_mutexattr_getrobust.c b/libs/libc/pthread/pthread_mutexattr_getrobust.c index 89efc64736..22be04959f 100644 --- a/libs/libc/pthread/pthread_mutexattr_getrobust.c +++ b/libs/libc/pthread/pthread_mutexattr_getrobust.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_getrobust.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/libs/libc/pthread/pthread_mutexattr_gettype.c b/libs/libc/pthread/pthread_mutexattr_gettype.c index 5fd58e9b82..469eb96118 100644 --- a/libs/libc/pthread/pthread_mutexattr_gettype.c +++ b/libs/libc/pthread/pthread_mutexattr_gettype.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_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/libs/libc/pthread/pthread_mutexattr_init.c b/libs/libc/pthread/pthread_mutexattr_init.c index 66c9a9f722..b03172bcf8 100644 --- a/libs/libc/pthread/pthread_mutexattr_init.c +++ b/libs/libc/pthread/pthread_mutexattr_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_init.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/libs/libc/pthread/pthread_mutexattr_setprioceiling.c b/libs/libc/pthread/pthread_mutexattr_setprioceiling.c index dd011ebd0a..96c9ee3dfa 100644 --- a/libs/libc/pthread/pthread_mutexattr_setprioceiling.c +++ b/libs/libc/pthread/pthread_mutexattr_setprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_setprioceiling.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/libs/libc/pthread/pthread_mutexattr_setprotocol.c b/libs/libc/pthread/pthread_mutexattr_setprotocol.c index 9233891ab8..a0578948c2 100644 --- a/libs/libc/pthread/pthread_mutexattr_setprotocol.c +++ b/libs/libc/pthread/pthread_mutexattr_setprotocol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_setprotocol.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/libs/libc/pthread/pthread_mutexattr_setpshared.c b/libs/libc/pthread/pthread_mutexattr_setpshared.c index ab8019718f..e9f58cd666 100644 --- a/libs/libc/pthread/pthread_mutexattr_setpshared.c +++ b/libs/libc/pthread/pthread_mutexattr_setpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_setpshared.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/libs/libc/pthread/pthread_mutexattr_setrobust.c b/libs/libc/pthread/pthread_mutexattr_setrobust.c index 86dd7228cb..7a77499495 100644 --- a/libs/libc/pthread/pthread_mutexattr_setrobust.c +++ b/libs/libc/pthread/pthread_mutexattr_setrobust.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_setrobust.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/libs/libc/pthread/pthread_mutexattr_settype.c b/libs/libc/pthread/pthread_mutexattr_settype.c index 189748be55..14cef9f263 100644 --- a/libs/libc/pthread/pthread_mutexattr_settype.c +++ b/libs/libc/pthread/pthread_mutexattr_settype.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_mutexattr_settype.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/libs/libc/pthread/pthread_once.c b/libs/libc/pthread/pthread_once.c index 8d3a38f178..0f7292e365 100644 --- a/libs/libc/pthread/pthread_once.c +++ b/libs/libc/pthread/pthread_once.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_once.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/libs/libc/pthread/pthread_rwlock.c b/libs/libc/pthread/pthread_rwlock.c index 73c3f9e285..9f173fe484 100644 --- a/libs/libc/pthread/pthread_rwlock.c +++ b/libs/libc/pthread/pthread_rwlock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlock.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/libs/libc/pthread/pthread_rwlock_rdlock.c b/libs/libc/pthread/pthread_rwlock_rdlock.c index 46e7b85c0f..ca00026878 100644 --- a/libs/libc/pthread/pthread_rwlock_rdlock.c +++ b/libs/libc/pthread/pthread_rwlock_rdlock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlock_rdlock.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/libs/libc/pthread/pthread_rwlock_wrlock.c b/libs/libc/pthread/pthread_rwlock_wrlock.c index 6260a5fcae..057d180e0f 100644 --- a/libs/libc/pthread/pthread_rwlock_wrlock.c +++ b/libs/libc/pthread/pthread_rwlock_wrlock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlock_wrlock.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/libs/libc/pthread/pthread_rwlockattr_destroy.c b/libs/libc/pthread/pthread_rwlockattr_destroy.c index ecf4e36800..cb9d3d056b 100644 --- a/libs/libc/pthread/pthread_rwlockattr_destroy.c +++ b/libs/libc/pthread/pthread_rwlockattr_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlockattr_destroy.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/libs/libc/pthread/pthread_rwlockattr_getpshared.c b/libs/libc/pthread/pthread_rwlockattr_getpshared.c index 3bec7cad09..5f0162ca6c 100644 --- a/libs/libc/pthread/pthread_rwlockattr_getpshared.c +++ b/libs/libc/pthread/pthread_rwlockattr_getpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlockattr_getpshared.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/libs/libc/pthread/pthread_rwlockattr_init.c b/libs/libc/pthread/pthread_rwlockattr_init.c index 2005d2317e..b83b317786 100644 --- a/libs/libc/pthread/pthread_rwlockattr_init.c +++ b/libs/libc/pthread/pthread_rwlockattr_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlockattr_init.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/libs/libc/pthread/pthread_rwlockattr_setpshared.c b/libs/libc/pthread/pthread_rwlockattr_setpshared.c index 634c5c20c3..e87310ce40 100644 --- a/libs/libc/pthread/pthread_rwlockattr_setpshared.c +++ b/libs/libc/pthread/pthread_rwlockattr_setpshared.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_rwlockattr_setpshared.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/libs/libc/pthread/pthread_self.c b/libs/libc/pthread/pthread_self.c index 3b7c102e09..4c5866847b 100644 --- a/libs/libc/pthread/pthread_self.c +++ b/libs/libc/pthread/pthread_self.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_self.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/libs/libc/pthread/pthread_setcancelstate.c b/libs/libc/pthread/pthread_setcancelstate.c index adea78cbae..fbc9328ad5 100644 --- a/libs/libc/pthread/pthread_setcancelstate.c +++ b/libs/libc/pthread/pthread_setcancelstate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_setcancelstate.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/libs/libc/pthread/pthread_setcanceltype.c b/libs/libc/pthread/pthread_setcanceltype.c index 68dcd9bf10..3d4066d17f 100644 --- a/libs/libc/pthread/pthread_setcanceltype.c +++ b/libs/libc/pthread/pthread_setcanceltype.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_setcanceltype.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/libs/libc/pthread/pthread_setname_np.c b/libs/libc/pthread/pthread_setname_np.c index 7e24ab812a..0728f77d4a 100644 --- a/libs/libc/pthread/pthread_setname_np.c +++ b/libs/libc/pthread/pthread_setname_np.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_setname_np.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/libs/libc/pthread/pthread_setspecific.c b/libs/libc/pthread/pthread_setspecific.c index 226610b3e1..3b4939e122 100644 --- a/libs/libc/pthread/pthread_setspecific.c +++ b/libs/libc/pthread/pthread_setspecific.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_setspecific.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/libs/libc/pthread/pthread_spinlock.c b/libs/libc/pthread/pthread_spinlock.c index 9b0f422cea..4bd9847f31 100644 --- a/libs/libc/pthread/pthread_spinlock.c +++ b/libs/libc/pthread/pthread_spinlock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_spinlock.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/libs/libc/pthread/pthread_testcancel.c b/libs/libc/pthread/pthread_testcancel.c index 6af9074b57..a2a72341ec 100644 --- a/libs/libc/pthread/pthread_testcancel.c +++ b/libs/libc/pthread/pthread_testcancel.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_testcancel.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/libs/libc/pthread/pthread_yield.c b/libs/libc/pthread/pthread_yield.c index 8eb480b236..65b18e337d 100644 --- a/libs/libc/pthread/pthread_yield.c +++ b/libs/libc/pthread/pthread_yield.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pthread/pthread_yield.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/libs/libc/pwd/CMakeLists.txt b/libs/libc/pwd/CMakeLists.txt index e1639684b1..cae7ddc91b 100644 --- a/libs/libc/pwd/CMakeLists.txt +++ b/libs/libc/pwd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/pwd/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/libs/libc/pwd/Make.defs b/libs/libc/pwd/Make.defs index 6d6333ebb9..f763baa1fd 100644 --- a/libs/libc/pwd/Make.defs +++ b/libs/libc/pwd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/pwd/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/libs/libc/pwd/lib_find_pwdfile.c b/libs/libc/pwd/lib_find_pwdfile.c index 5cfa14da9d..8368eed1d2 100644 --- a/libs/libc/pwd/lib_find_pwdfile.c +++ b/libs/libc/pwd/lib_find_pwdfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_find_pwdfile.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/libs/libc/pwd/lib_getpwbuf.c b/libs/libc/pwd/lib_getpwbuf.c index 7d85f91dd0..91e259718f 100644 --- a/libs/libc/pwd/lib_getpwbuf.c +++ b/libs/libc/pwd/lib_getpwbuf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwbuf.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/libs/libc/pwd/lib_getpwbufr.c b/libs/libc/pwd/lib_getpwbufr.c index 26486b0bed..1139210bfb 100644 --- a/libs/libc/pwd/lib_getpwbufr.c +++ b/libs/libc/pwd/lib_getpwbufr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwbufr.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/libs/libc/pwd/lib_getpwent.c b/libs/libc/pwd/lib_getpwent.c index d1bf0d6737..b91e2a34cc 100644 --- a/libs/libc/pwd/lib_getpwent.c +++ b/libs/libc/pwd/lib_getpwent.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwent.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/libs/libc/pwd/lib_getpwnam.c b/libs/libc/pwd/lib_getpwnam.c index 8cda336a6a..d5c21aabc3 100644 --- a/libs/libc/pwd/lib_getpwnam.c +++ b/libs/libc/pwd/lib_getpwnam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwnam.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/libs/libc/pwd/lib_getpwnamr.c b/libs/libc/pwd/lib_getpwnamr.c index eba4798e56..bb32683aac 100644 --- a/libs/libc/pwd/lib_getpwnamr.c +++ b/libs/libc/pwd/lib_getpwnamr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwnamr.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/libs/libc/pwd/lib_getpwuid.c b/libs/libc/pwd/lib_getpwuid.c index 582672990a..049666c0f7 100644 --- a/libs/libc/pwd/lib_getpwuid.c +++ b/libs/libc/pwd/lib_getpwuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwuid.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/libs/libc/pwd/lib_getpwuidr.c b/libs/libc/pwd/lib_getpwuidr.c index 7b477cdee2..ce349549e7 100644 --- a/libs/libc/pwd/lib_getpwuidr.c +++ b/libs/libc/pwd/lib_getpwuidr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_getpwuidr.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/libs/libc/pwd/lib_pwd.h b/libs/libc/pwd/lib_pwd.h index 08dde30f8f..f9f80d88ea 100644 --- a/libs/libc/pwd/lib_pwd.h +++ b/libs/libc/pwd/lib_pwd.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_pwd.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/libs/libc/pwd/lib_pwd_globals.c b/libs/libc/pwd/lib_pwd_globals.c index f6488d60e7..38ef84adc5 100644 --- a/libs/libc/pwd/lib_pwd_globals.c +++ b/libs/libc/pwd/lib_pwd_globals.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/pwd/lib_pwd_globals.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/libs/libc/queue/CMakeLists.txt b/libs/libc/queue/CMakeLists.txt index 0f55f6548f..4b2c3b5fd6 100644 --- a/libs/libc/queue/CMakeLists.txt +++ b/libs/libc/queue/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/queue/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/libs/libc/queue/Make.defs b/libs/libc/queue/Make.defs index a3a6ade67d..cb050c5e4c 100644 --- a/libs/libc/queue/Make.defs +++ b/libs/libc/queue/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/queue/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/libs/libc/queue/queue.c b/libs/libc/queue/queue.c index e08bd76480..0b70b7c1ac 100644 --- a/libs/libc/queue/queue.c +++ b/libs/libc/queue/queue.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/queue/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/libs/libc/regex/CMakeLists.txt b/libs/libc/regex/CMakeLists.txt index e023c9012f..a15566e1c6 100644 --- a/libs/libc/regex/CMakeLists.txt +++ b/libs/libc/regex/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/regex/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/libs/libc/regex/Make.defs b/libs/libc/regex/Make.defs index 4f329cb413..15fc2a4400 100644 --- a/libs/libc/regex/Make.defs +++ b/libs/libc/regex/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/regex/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/libs/libc/regex/regcomp.c b/libs/libc/regex/regcomp.c index 600b3c3ed7..ef96542c4e 100644 --- a/libs/libc/regex/regcomp.c +++ b/libs/libc/regex/regcomp.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/regex/regcomp.c * - * regcomp.c - TRE POSIX compatible regex compilation functions. - * - * Copyright (c) 2001-2009 Ville Laurikari - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/regex/regerror.c b/libs/libc/regex/regerror.c index 721cb2be9c..9a30e1f2ed 100644 --- a/libs/libc/regex/regerror.c +++ b/libs/libc/regex/regerror.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/regex/regerror.c * - * regerror.c - TRE POSIX compatible matching functions (and more). - * - * Copyright (c) 2001-2009 Ville Laurikari - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/regex/regexec.c b/libs/libc/regex/regexec.c index 0a9dfb8427..060f82cbc1 100644 --- a/libs/libc/regex/regexec.c +++ b/libs/libc/regex/regexec.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/regex/regexec.c * - * regexec.c - TRE POSIX compatible matching functions (and more). - * - * Copyright (c) 2001-2009 Ville Laurikari - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/regex/tre-mem.c b/libs/libc/regex/tre-mem.c index 88908c1373..78f663f7c9 100644 --- a/libs/libc/regex/tre-mem.c +++ b/libs/libc/regex/tre-mem.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/regex/tre-mem.c * - * tre-mem.c - TRE memory allocator - * - * Copyright (c) 2001-2009 Ville Laurikari - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/regex/tre.h b/libs/libc/regex/tre.h index 9ac9b62626..afa160122f 100644 --- a/libs/libc/regex/tre.h +++ b/libs/libc/regex/tre.h @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/regex/tre.h * - * tre-internal.h - TRE internal definitions - * - * Copyright (c) 2001-2009 Ville Laurikari - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001-2009 Ville Laurikari * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -285,4 +283,4 @@ void tre_mem_destroy(tre_mem_t mem); #define xfree free #define xrealloc realloc -#endif /* _REGEX_TRE_H */ \ No newline at end of file +#endif /* _REGEX_TRE_H */ diff --git a/libs/libc/sched/CMakeLists.txt b/libs/libc/sched/CMakeLists.txt index a32a324945..6f1fa76bac 100644 --- a/libs/libc/sched/CMakeLists.txt +++ b/libs/libc/sched/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/sched/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/libs/libc/sched/Make.defs b/libs/libc/sched/Make.defs index 83816fd291..da8588d1fa 100644 --- a/libs/libc/sched/Make.defs +++ b/libs/libc/sched/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/sched/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/libs/libc/sched/clock_getcpuclockid.c b/libs/libc/sched/clock_getcpuclockid.c index fe73f29e74..d40caf0f47 100644 --- a/libs/libc/sched/clock_getcpuclockid.c +++ b/libs/libc/sched/clock_getcpuclockid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/clock_getcpuclockid.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/libs/libc/sched/clock_getres.c b/libs/libc/sched/clock_getres.c index 3da1f34413..6d373175c6 100644 --- a/libs/libc/sched/clock_getres.c +++ b/libs/libc/sched/clock_getres.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/clock_getres.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/libs/libc/sched/sched_backtrace.c b/libs/libc/sched/sched_backtrace.c index ab0fb86a1b..ad7f6cb97f 100644 --- a/libs/libc/sched/sched_backtrace.c +++ b/libs/libc/sched/sched_backtrace.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/sched_backtrace.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/libs/libc/sched/sched_cpucount.c b/libs/libc/sched/sched_cpucount.c index d832d703da..35f02c53ff 100644 --- a/libs/libc/sched/sched_cpucount.c +++ b/libs/libc/sched/sched_cpucount.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/sched_cpucount.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/libs/libc/sched/sched_dumpstack.c b/libs/libc/sched/sched_dumpstack.c index fec6a729d3..3045e412fc 100644 --- a/libs/libc/sched/sched_dumpstack.c +++ b/libs/libc/sched/sched_dumpstack.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/sched_dumpstack.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/libs/libc/sched/sched_getprioritymax.c b/libs/libc/sched/sched_getprioritymax.c index e5fd5d13fd..c8db4327ce 100644 --- a/libs/libc/sched/sched_getprioritymax.c +++ b/libs/libc/sched/sched_getprioritymax.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/sched_getprioritymax.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/libs/libc/sched/sched_getprioritymin.c b/libs/libc/sched/sched_getprioritymin.c index 8f2d362f0e..e1c3fb58cb 100644 --- a/libs/libc/sched/sched_getprioritymin.c +++ b/libs/libc/sched/sched_getprioritymin.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/sched_getprioritymin.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/libs/libc/sched/task_cancelpt.c b/libs/libc/sched/task_cancelpt.c index b15cd807f2..e29f95e4c4 100644 --- a/libs/libc/sched/task_cancelpt.c +++ b/libs/libc/sched/task_cancelpt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/task_cancelpt.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/libs/libc/sched/task_setcancelstate.c b/libs/libc/sched/task_setcancelstate.c index e329dc6920..ad5cc23870 100644 --- a/libs/libc/sched/task_setcancelstate.c +++ b/libs/libc/sched/task_setcancelstate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/task_setcancelstate.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/libs/libc/sched/task_setcanceltype.c b/libs/libc/sched/task_setcanceltype.c index dcad4e4e87..f151d204ae 100644 --- a/libs/libc/sched/task_setcanceltype.c +++ b/libs/libc/sched/task_setcanceltype.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/task_setcanceltype.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/libs/libc/sched/task_startup.c b/libs/libc/sched/task_startup.c index a723be05f9..f35d2d33fa 100644 --- a/libs/libc/sched/task_startup.c +++ b/libs/libc/sched/task_startup.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/task_startup.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/libs/libc/sched/task_testcancel.c b/libs/libc/sched/task_testcancel.c index 6173cbcd5c..0514428abb 100644 --- a/libs/libc/sched/task_testcancel.c +++ b/libs/libc/sched/task_testcancel.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/sched/task_testcancel.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/libs/libc/search/CMakeLists.txt b/libs/libc/search/CMakeLists.txt index 3c32686e94..a1a309073f 100644 --- a/libs/libc/search/CMakeLists.txt +++ b/libs/libc/search/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/search/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/libs/libc/search/Make.defs b/libs/libc/search/Make.defs index a22ea40bb3..38f703120a 100644 --- a/libs/libc/search/Make.defs +++ b/libs/libc/search/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/search/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/libs/libc/search/hash_func.c b/libs/libc/search/hash_func.c index c237121085..ed4df891a4 100644 --- a/libs/libc/search/hash_func.c +++ b/libs/libc/search/hash_func.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/search/hash_func.c * - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause-UC + * SPDX-FileCopyrightText: 1990, 1993 The Regents of the University of California. * * This code is derived from software contributed to Berkeley by * Margo Seltzer. diff --git a/libs/libc/search/hcreate.c b/libs/libc/search/hcreate.c index f3ea5c3dd6..c746c3a84a 100644 --- a/libs/libc/search/hcreate.c +++ b/libs/libc/search/hcreate.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/search/hcreate.c * - * $NetBSD: hcreate.c,v 1.2 2001/02/19 21:26:04 ross Exp $ - * - * Copyright (c) 2001 Christopher G. Demetriou - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2001 Christopher G. Demetriou.All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -28,9 +26,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * <> - * - * * hcreate() / hsearch() / hdestroy() * * SysV/XPG4 hash table functions. diff --git a/libs/libc/search/hcreate_r.c b/libs/libc/search/hcreate_r.c index 13f835f1ec..f64a06ea2a 100644 --- a/libs/libc/search/hcreate_r.c +++ b/libs/libc/search/hcreate_r.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/search/hcreate_r.c * - * $NetBSD: hcreate.c,v 1.2 2001/02/19 21:26:04 ross Exp $ - * - * Copyright (c) 2001 Christopher G. Demetriou - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2001 Christopher G. Demetriou,All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -28,8 +26,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * <> - * * hcreate() / hsearch() / hdestroy() * * SysV/XPG4 hash table functions. diff --git a/libs/libc/semaphore/CMakeLists.txt b/libs/libc/semaphore/CMakeLists.txt index 687c924fb1..970eac72a3 100644 --- a/libs/libc/semaphore/CMakeLists.txt +++ b/libs/libc/semaphore/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/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/libs/libc/semaphore/Make.defs b/libs/libc/semaphore/Make.defs index afb7492b67..b967da80ae 100644 --- a/libs/libc/semaphore/Make.defs +++ b/libs/libc/semaphore/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/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/libs/libc/semaphore/sem_clockwait.c b/libs/libc/semaphore/sem_clockwait.c index 4658dcc1b5..7d6eb730bc 100644 --- a/libs/libc/semaphore/sem_clockwait.c +++ b/libs/libc/semaphore/sem_clockwait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_clockwait.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/libs/libc/semaphore/sem_close.c b/libs/libc/semaphore/sem_close.c index ecd2888814..9ea59c9399 100644 --- a/libs/libc/semaphore/sem_close.c +++ b/libs/libc/semaphore/sem_close.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/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/libs/libc/semaphore/sem_destroy.c b/libs/libc/semaphore/sem_destroy.c index 2e4331779d..a55c1c6889 100644 --- a/libs/libc/semaphore/sem_destroy.c +++ b/libs/libc/semaphore/sem_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_destroy.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/libs/libc/semaphore/sem_getprioceiling.c b/libs/libc/semaphore/sem_getprioceiling.c index 6480061615..9fac69aec7 100644 --- a/libs/libc/semaphore/sem_getprioceiling.c +++ b/libs/libc/semaphore/sem_getprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_getprioceiling.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/libs/libc/semaphore/sem_getprotocol.c b/libs/libc/semaphore/sem_getprotocol.c index 38dbd172e7..6c466c3f0a 100644 --- a/libs/libc/semaphore/sem_getprotocol.c +++ b/libs/libc/semaphore/sem_getprotocol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_getprotocol.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/libs/libc/semaphore/sem_getvalue.c b/libs/libc/semaphore/sem_getvalue.c index b5b75884ad..194f5fa1ef 100644 --- a/libs/libc/semaphore/sem_getvalue.c +++ b/libs/libc/semaphore/sem_getvalue.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_getvalue.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/libs/libc/semaphore/sem_init.c b/libs/libc/semaphore/sem_init.c index e74c92b842..37facb0b1f 100644 --- a/libs/libc/semaphore/sem_init.c +++ b/libs/libc/semaphore/sem_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_init.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/libs/libc/semaphore/sem_open.c b/libs/libc/semaphore/sem_open.c index a0daa11b5c..3c51a38d0c 100644 --- a/libs/libc/semaphore/sem_open.c +++ b/libs/libc/semaphore/sem_open.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/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/libs/libc/semaphore/sem_post.c b/libs/libc/semaphore/sem_post.c index 093360e141..31a896d61c 100644 --- a/libs/libc/semaphore/sem_post.c +++ b/libs/libc/semaphore/sem_post.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_post.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/libs/libc/semaphore/sem_setprioceiling.c b/libs/libc/semaphore/sem_setprioceiling.c index ed3ebdcde5..bbbdaea247 100644 --- a/libs/libc/semaphore/sem_setprioceiling.c +++ b/libs/libc/semaphore/sem_setprioceiling.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_setprioceiling.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/libs/libc/semaphore/sem_setprotocol.c b/libs/libc/semaphore/sem_setprotocol.c index 1b48d69623..775bf28dd7 100644 --- a/libs/libc/semaphore/sem_setprotocol.c +++ b/libs/libc/semaphore/sem_setprotocol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_setprotocol.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/libs/libc/semaphore/sem_timedwait.c b/libs/libc/semaphore/sem_timedwait.c index 55e5df3b99..7eba496abe 100644 --- a/libs/libc/semaphore/sem_timedwait.c +++ b/libs/libc/semaphore/sem_timedwait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_timedwait.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/libs/libc/semaphore/sem_trywait.c b/libs/libc/semaphore/sem_trywait.c index 1e3c1dceea..98603e290c 100644 --- a/libs/libc/semaphore/sem_trywait.c +++ b/libs/libc/semaphore/sem_trywait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_trywait.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/libs/libc/semaphore/sem_unlink.c b/libs/libc/semaphore/sem_unlink.c index 77f2f856e2..f78c14d173 100644 --- a/libs/libc/semaphore/sem_unlink.c +++ b/libs/libc/semaphore/sem_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/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/libs/libc/semaphore/sem_wait.c b/libs/libc/semaphore/sem_wait.c index 21d2a5a95e..0e137411b0 100644 --- a/libs/libc/semaphore/sem_wait.c +++ b/libs/libc/semaphore/sem_wait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/semaphore/sem_wait.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/libs/libc/signal/CMakeLists.txt b/libs/libc/signal/CMakeLists.txt index 8edadd42e5..70a21aa0fe 100644 --- a/libs/libc/signal/CMakeLists.txt +++ b/libs/libc/signal/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/signal/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/libs/libc/signal/Make.defs b/libs/libc/signal/Make.defs index 3b3b229062..7d42a239ad 100644 --- a/libs/libc/signal/Make.defs +++ b/libs/libc/signal/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/signal/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/libs/libc/signal/sig_addset.c b/libs/libc/signal/sig_addset.c index b2bcc2c342..57d00c70fb 100644 --- a/libs/libc/signal/sig_addset.c +++ b/libs/libc/signal/sig_addset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_addset.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/libs/libc/signal/sig_altstack.c b/libs/libc/signal/sig_altstack.c index e9c8e5f038..4f4c18fe64 100644 --- a/libs/libc/signal/sig_altstack.c +++ b/libs/libc/signal/sig_altstack.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_altstack.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/libs/libc/signal/sig_andset.c b/libs/libc/signal/sig_andset.c index 57474dff46..018592b4cc 100644 --- a/libs/libc/signal/sig_andset.c +++ b/libs/libc/signal/sig_andset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_andset.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/libs/libc/signal/sig_delset.c b/libs/libc/signal/sig_delset.c index aa0d541554..29d6a96066 100644 --- a/libs/libc/signal/sig_delset.c +++ b/libs/libc/signal/sig_delset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_delset.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/libs/libc/signal/sig_emptyset.c b/libs/libc/signal/sig_emptyset.c index dd5ddec5b0..98be75e508 100644 --- a/libs/libc/signal/sig_emptyset.c +++ b/libs/libc/signal/sig_emptyset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_emptyset.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/libs/libc/signal/sig_fillset.c b/libs/libc/signal/sig_fillset.c index 9f88bee9ec..8f08ddfda7 100644 --- a/libs/libc/signal/sig_fillset.c +++ b/libs/libc/signal/sig_fillset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_fillset.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/libs/libc/signal/sig_hold.c b/libs/libc/signal/sig_hold.c index ed990b740c..2d4c5b775b 100644 --- a/libs/libc/signal/sig_hold.c +++ b/libs/libc/signal/sig_hold.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_hold.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/libs/libc/signal/sig_ignore.c b/libs/libc/signal/sig_ignore.c index ad97ac9c1e..23b8563c44 100644 --- a/libs/libc/signal/sig_ignore.c +++ b/libs/libc/signal/sig_ignore.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_ignore.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/libs/libc/signal/sig_interrupt.c b/libs/libc/signal/sig_interrupt.c index cc3e0d4306..676b95ce22 100644 --- a/libs/libc/signal/sig_interrupt.c +++ b/libs/libc/signal/sig_interrupt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_interrupt.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/libs/libc/signal/sig_isemptyset.c b/libs/libc/signal/sig_isemptyset.c index 874a160242..b98ff271eb 100644 --- a/libs/libc/signal/sig_isemptyset.c +++ b/libs/libc/signal/sig_isemptyset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_isemptyset.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/libs/libc/signal/sig_ismember.c b/libs/libc/signal/sig_ismember.c index d605a92027..0b760c728c 100644 --- a/libs/libc/signal/sig_ismember.c +++ b/libs/libc/signal/sig_ismember.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_ismember.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/libs/libc/signal/sig_killpg.c b/libs/libc/signal/sig_killpg.c index e1869f64fd..f0c2d5008e 100644 --- a/libs/libc/signal/sig_killpg.c +++ b/libs/libc/signal/sig_killpg.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_killpg.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/libs/libc/signal/sig_nandset.c b/libs/libc/signal/sig_nandset.c index b5b8d9a242..78ae718087 100644 --- a/libs/libc/signal/sig_nandset.c +++ b/libs/libc/signal/sig_nandset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_nandset.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/libs/libc/signal/sig_orset.c b/libs/libc/signal/sig_orset.c index d253cb4d79..ffef2bb6fc 100644 --- a/libs/libc/signal/sig_orset.c +++ b/libs/libc/signal/sig_orset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_orset.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/libs/libc/signal/sig_pause.c b/libs/libc/signal/sig_pause.c index edb8b14b21..63b0cab371 100644 --- a/libs/libc/signal/sig_pause.c +++ b/libs/libc/signal/sig_pause.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_pause.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/libs/libc/signal/sig_psignal.c b/libs/libc/signal/sig_psignal.c index 6bada1a38f..4402f80c26 100644 --- a/libs/libc/signal/sig_psignal.c +++ b/libs/libc/signal/sig_psignal.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_psignal.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/libs/libc/signal/sig_raise.c b/libs/libc/signal/sig_raise.c index 17bbbcc02b..f5a847a9d0 100644 --- a/libs/libc/signal/sig_raise.c +++ b/libs/libc/signal/sig_raise.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_raise.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/libs/libc/signal/sig_relse.c b/libs/libc/signal/sig_relse.c index cf283d7849..42502aa491 100644 --- a/libs/libc/signal/sig_relse.c +++ b/libs/libc/signal/sig_relse.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_relse.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/libs/libc/signal/sig_set.c b/libs/libc/signal/sig_set.c index 3b78f6bc1f..ae2f23c746 100644 --- a/libs/libc/signal/sig_set.c +++ b/libs/libc/signal/sig_set.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_set.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/libs/libc/signal/sig_signal.c b/libs/libc/signal/sig_signal.c index d16191042b..8ed40cf2ef 100644 --- a/libs/libc/signal/sig_signal.c +++ b/libs/libc/signal/sig_signal.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_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/libs/libc/signal/sig_wait.c b/libs/libc/signal/sig_wait.c index ede4744b44..b4df7f54af 100644 --- a/libs/libc/signal/sig_wait.c +++ b/libs/libc/signal/sig_wait.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_wait.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/libs/libc/signal/sig_xorset.c b/libs/libc/signal/sig_xorset.c index cec9d219d4..55ad9bf905 100644 --- a/libs/libc/signal/sig_xorset.c +++ b/libs/libc/signal/sig_xorset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/signal/sig_xorset.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/libs/libc/spawn/CMakeLists.txt b/libs/libc/spawn/CMakeLists.txt index b91fc3815a..10579ef0ce 100644 --- a/libs/libc/spawn/CMakeLists.txt +++ b/libs/libc/spawn/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/spawn/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/libs/libc/spawn/Make.defs b/libs/libc/spawn/Make.defs index 783c3714e4..4d72a305a7 100644 --- a/libs/libc/spawn/Make.defs +++ b/libs/libc/spawn/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/spawn/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/libs/libc/spawn/lib_psa_destroy.c b/libs/libc/spawn/lib_psa_destroy.c index d6bb22e7cc..c56375d9d3 100644 --- a/libs/libc/spawn/lib_psa_destroy.c +++ b/libs/libc/spawn/lib_psa_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_destroy.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/libs/libc/spawn/lib_psa_dump.c b/libs/libc/spawn/lib_psa_dump.c index d45efe86b3..5823a56549 100644 --- a/libs/libc/spawn/lib_psa_dump.c +++ b/libs/libc/spawn/lib_psa_dump.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_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/libs/libc/spawn/lib_psa_getflags.c b/libs/libc/spawn/lib_psa_getflags.c index e7c87339fb..779705a24b 100644 --- a/libs/libc/spawn/lib_psa_getflags.c +++ b/libs/libc/spawn/lib_psa_getflags.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getflags.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/libs/libc/spawn/lib_psa_getschedparam.c b/libs/libc/spawn/lib_psa_getschedparam.c index 00d62ad53a..ea7b66fd9c 100644 --- a/libs/libc/spawn/lib_psa_getschedparam.c +++ b/libs/libc/spawn/lib_psa_getschedparam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getschedparam.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/libs/libc/spawn/lib_psa_getschedpolicy.c b/libs/libc/spawn/lib_psa_getschedpolicy.c index a31dea9961..81fbb6ba05 100644 --- a/libs/libc/spawn/lib_psa_getschedpolicy.c +++ b/libs/libc/spawn/lib_psa_getschedpolicy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getschedpolicy.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/libs/libc/spawn/lib_psa_getsigmask.c b/libs/libc/spawn/lib_psa_getsigmask.c index 70e558cd01..d993e2cc10 100644 --- a/libs/libc/spawn/lib_psa_getsigmask.c +++ b/libs/libc/spawn/lib_psa_getsigmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getsigmask.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/libs/libc/spawn/lib_psa_getstackaddr.c b/libs/libc/spawn/lib_psa_getstackaddr.c index 36798c8540..20b2909298 100644 --- a/libs/libc/spawn/lib_psa_getstackaddr.c +++ b/libs/libc/spawn/lib_psa_getstackaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getstackaddr.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/libs/libc/spawn/lib_psa_getstacksize.c b/libs/libc/spawn/lib_psa_getstacksize.c index fbbb98d686..6118c37935 100644 --- a/libs/libc/spawn/lib_psa_getstacksize.c +++ b/libs/libc/spawn/lib_psa_getstacksize.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_getstacksize.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/libs/libc/spawn/lib_psa_init.c b/libs/libc/spawn/lib_psa_init.c index cb1261e06a..306e68d1a9 100644 --- a/libs/libc/spawn/lib_psa_init.c +++ b/libs/libc/spawn/lib_psa_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_init.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/libs/libc/spawn/lib_psa_setflags.c b/libs/libc/spawn/lib_psa_setflags.c index c417dab7d9..9997f750e6 100644 --- a/libs/libc/spawn/lib_psa_setflags.c +++ b/libs/libc/spawn/lib_psa_setflags.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setflags.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/libs/libc/spawn/lib_psa_setschedparam.c b/libs/libc/spawn/lib_psa_setschedparam.c index a02aebf837..a347a992be 100644 --- a/libs/libc/spawn/lib_psa_setschedparam.c +++ b/libs/libc/spawn/lib_psa_setschedparam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setschedparam.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/libs/libc/spawn/lib_psa_setschedpolicy.c b/libs/libc/spawn/lib_psa_setschedpolicy.c index c0f5c39525..7278fc0863 100644 --- a/libs/libc/spawn/lib_psa_setschedpolicy.c +++ b/libs/libc/spawn/lib_psa_setschedpolicy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setschedpolicy.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/libs/libc/spawn/lib_psa_setsigmask.c b/libs/libc/spawn/lib_psa_setsigmask.c index e176f59865..be085ce1fa 100644 --- a/libs/libc/spawn/lib_psa_setsigmask.c +++ b/libs/libc/spawn/lib_psa_setsigmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setsigmask.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/libs/libc/spawn/lib_psa_setstackaddr.c b/libs/libc/spawn/lib_psa_setstackaddr.c index 058c8b8228..537f8f5902 100644 --- a/libs/libc/spawn/lib_psa_setstackaddr.c +++ b/libs/libc/spawn/lib_psa_setstackaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setstackaddr.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/libs/libc/spawn/lib_psa_setstacksize.c b/libs/libc/spawn/lib_psa_setstacksize.c index 0aa2dc84ee..042b53a524 100644 --- a/libs/libc/spawn/lib_psa_setstacksize.c +++ b/libs/libc/spawn/lib_psa_setstacksize.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psa_setstacksize.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/libs/libc/spawn/lib_psfa_addaction.c b/libs/libc/spawn/lib_psfa_addaction.c index deeb7f0bcb..15cb2d727e 100644 --- a/libs/libc/spawn/lib_psfa_addaction.c +++ b/libs/libc/spawn/lib_psfa_addaction.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_addaction.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/libs/libc/spawn/lib_psfa_addclose.c b/libs/libc/spawn/lib_psfa_addclose.c index 9a86436202..b940ba07b7 100644 --- a/libs/libc/spawn/lib_psfa_addclose.c +++ b/libs/libc/spawn/lib_psfa_addclose.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_addclose.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/libs/libc/spawn/lib_psfa_adddup2.c b/libs/libc/spawn/lib_psfa_adddup2.c index 58697a6120..bf88260aae 100644 --- a/libs/libc/spawn/lib_psfa_adddup2.c +++ b/libs/libc/spawn/lib_psfa_adddup2.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_adddup2.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/libs/libc/spawn/lib_psfa_addopen.c b/libs/libc/spawn/lib_psfa_addopen.c index 6a3aeecb21..66bbd8bfc2 100644 --- a/libs/libc/spawn/lib_psfa_addopen.c +++ b/libs/libc/spawn/lib_psfa_addopen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_addopen.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/libs/libc/spawn/lib_psfa_destroy.c b/libs/libc/spawn/lib_psfa_destroy.c index b3aea25785..ea98f9847e 100644 --- a/libs/libc/spawn/lib_psfa_destroy.c +++ b/libs/libc/spawn/lib_psfa_destroy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_destroy.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/libs/libc/spawn/lib_psfa_dump.c b/libs/libc/spawn/lib_psfa_dump.c index 9701051011..8d0b5989d1 100644 --- a/libs/libc/spawn/lib_psfa_dump.c +++ b/libs/libc/spawn/lib_psfa_dump.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_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/libs/libc/spawn/lib_psfa_init.c b/libs/libc/spawn/lib_psfa_init.c index 247d27bdff..dc7d9811d4 100644 --- a/libs/libc/spawn/lib_psfa_init.c +++ b/libs/libc/spawn/lib_psfa_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/spawn/lib_psfa_init.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/libs/libc/stdio/CMakeLists.txt b/libs/libc/stdio/CMakeLists.txt index 8f89bae209..a62fd9d2eb 100644 --- a/libs/libc/stdio/CMakeLists.txt +++ b/libs/libc/stdio/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/stdio/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/libs/libc/stdio/Make.defs b/libs/libc/stdio/Make.defs index c38594746f..5f61a8f243 100644 --- a/libs/libc/stdio/Make.defs +++ b/libs/libc/stdio/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/stdio/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/libs/libc/stdio/lib_asprintf.c b/libs/libc/stdio/lib_asprintf.c index ce062d6fdc..72b6563e4f 100644 --- a/libs/libc/stdio/lib_asprintf.c +++ b/libs/libc/stdio/lib_asprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_asprintf.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/libs/libc/stdio/lib_clearerr.c b/libs/libc/stdio/lib_clearerr.c index faee4a973e..43f2adb553 100644 --- a/libs/libc/stdio/lib_clearerr.c +++ b/libs/libc/stdio/lib_clearerr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_clearerr.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/libs/libc/stdio/lib_dprintf.c b/libs/libc/stdio/lib_dprintf.c index 9d617d40ec..ba46015fdc 100644 --- a/libs/libc/stdio/lib_dprintf.c +++ b/libs/libc/stdio/lib_dprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_dprintf.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/libs/libc/stdio/lib_dtoa_data.c b/libs/libc/stdio/lib_dtoa_data.c index 47bd57874f..4ae66ff6c1 100644 --- a/libs/libc/stdio/lib_dtoa_data.c +++ b/libs/libc/stdio/lib_dtoa_data.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_dtoa_data.c * - * Copyright © 2018, Keith Packard - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018, Keith Packard. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_dtoa_engine.c b/libs/libc/stdio/lib_dtoa_engine.c index 76ccb7dbf8..63ec9b14ca 100644 --- a/libs/libc/stdio/lib_dtoa_engine.c +++ b/libs/libc/stdio/lib_dtoa_engine.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_dtoa_engine.c * - * Copyright © 2018, Keith Packard - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018, Keith Packard. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_dtoa_engine.h b/libs/libc/stdio/lib_dtoa_engine.h index d09e1dff1e..ab6e2ce890 100644 --- a/libs/libc/stdio/lib_dtoa_engine.h +++ b/libs/libc/stdio/lib_dtoa_engine.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_dtoa_engine.h * - * Copyright © 2018, Keith Packard - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2018, Keith Packard. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_fclose.c b/libs/libc/stdio/lib_fclose.c index 98b28ed417..cee301e1f2 100644 --- a/libs/libc/stdio/lib_fclose.c +++ b/libs/libc/stdio/lib_fclose.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fclose.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/libs/libc/stdio/lib_feof.c b/libs/libc/stdio/lib_feof.c index b87015fb03..dcbde85dcb 100644 --- a/libs/libc/stdio/lib_feof.c +++ b/libs/libc/stdio/lib_feof.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_feof.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/libs/libc/stdio/lib_ferror.c b/libs/libc/stdio/lib_ferror.c index 32ecf8c16d..93522581eb 100644 --- a/libs/libc/stdio/lib_ferror.c +++ b/libs/libc/stdio/lib_ferror.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ferror.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/libs/libc/stdio/lib_fflush.c b/libs/libc/stdio/lib_fflush.c index 5c461f4e3d..2a7358c6d2 100644 --- a/libs/libc/stdio/lib_fflush.c +++ b/libs/libc/stdio/lib_fflush.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fflush.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/libs/libc/stdio/lib_fgetc.c b/libs/libc/stdio/lib_fgetc.c index 2a4f19cfe3..88ad21b069 100644 --- a/libs/libc/stdio/lib_fgetc.c +++ b/libs/libc/stdio/lib_fgetc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fgetc.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/libs/libc/stdio/lib_fgetpos.c b/libs/libc/stdio/lib_fgetpos.c index 6a77e77d8e..f2eecfd1d1 100644 --- a/libs/libc/stdio/lib_fgetpos.c +++ b/libs/libc/stdio/lib_fgetpos.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fgetpos.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/libs/libc/stdio/lib_fgets.c b/libs/libc/stdio/lib_fgets.c index e39ca9560d..2f81d78158 100644 --- a/libs/libc/stdio/lib_fgets.c +++ b/libs/libc/stdio/lib_fgets.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fgets.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/libs/libc/stdio/lib_fgetwc.c b/libs/libc/stdio/lib_fgetwc.c index 463669fde0..5215abf308 100644 --- a/libs/libc/stdio/lib_fgetwc.c +++ b/libs/libc/stdio/lib_fgetwc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fgetwc.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_fileno.c b/libs/libc/stdio/lib_fileno.c index c90d6bdc98..a32e57fe6f 100644 --- a/libs/libc/stdio/lib_fileno.c +++ b/libs/libc/stdio/lib_fileno.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fileno.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/libs/libc/stdio/lib_fmemopen.c b/libs/libc/stdio/lib_fmemopen.c index 9524899928..846c50f4bb 100644 --- a/libs/libc/stdio/lib_fmemopen.c +++ b/libs/libc/stdio/lib_fmemopen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fmemopen.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/libs/libc/stdio/lib_fopen.c b/libs/libc/stdio/lib_fopen.c index 1576ee41f7..0881222384 100644 --- a/libs/libc/stdio/lib_fopen.c +++ b/libs/libc/stdio/lib_fopen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fopen.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/libs/libc/stdio/lib_fopencookie.c b/libs/libc/stdio/lib_fopencookie.c index ce96e4659f..7efdad0d19 100644 --- a/libs/libc/stdio/lib_fopencookie.c +++ b/libs/libc/stdio/lib_fopencookie.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fopencookie.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/libs/libc/stdio/lib_fprintf.c b/libs/libc/stdio/lib_fprintf.c index 8d7585830e..b243e94cc4 100644 --- a/libs/libc/stdio/lib_fprintf.c +++ b/libs/libc/stdio/lib_fprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fprintf.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/libs/libc/stdio/lib_fputc.c b/libs/libc/stdio/lib_fputc.c index ac7c06f8ee..4a971bb2fe 100644 --- a/libs/libc/stdio/lib_fputc.c +++ b/libs/libc/stdio/lib_fputc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fputc.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/libs/libc/stdio/lib_fputs.c b/libs/libc/stdio/lib_fputs.c index 4ae8b50538..4bb300b08c 100644 --- a/libs/libc/stdio/lib_fputs.c +++ b/libs/libc/stdio/lib_fputs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fputs.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/libs/libc/stdio/lib_fputwc.c b/libs/libc/stdio/lib_fputwc.c index c3e3fa56f4..c114c19d2e 100644 --- a/libs/libc/stdio/lib_fputwc.c +++ b/libs/libc/stdio/lib_fputwc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fputwc.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_fputws.c b/libs/libc/stdio/lib_fputws.c index 71d4f3f6de..304426c3e8 100644 --- a/libs/libc/stdio/lib_fputws.c +++ b/libs/libc/stdio/lib_fputws.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fputws.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_fread.c b/libs/libc/stdio/lib_fread.c index 9b94a64f01..51ed2d63c5 100644 --- a/libs/libc/stdio/lib_fread.c +++ b/libs/libc/stdio/lib_fread.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fread.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/libs/libc/stdio/lib_freopen.c b/libs/libc/stdio/lib_freopen.c index b9b52dbd3e..cefb5660e2 100644 --- a/libs/libc/stdio/lib_freopen.c +++ b/libs/libc/stdio/lib_freopen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_freopen.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/libs/libc/stdio/lib_fscanf.c b/libs/libc/stdio/lib_fscanf.c index 3e511eabd7..bae36feea8 100644 --- a/libs/libc/stdio/lib_fscanf.c +++ b/libs/libc/stdio/lib_fscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fscanf.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/libs/libc/stdio/lib_fseek.c b/libs/libc/stdio/lib_fseek.c index 9dd5dcfe4b..8f48b59dab 100644 --- a/libs/libc/stdio/lib_fseek.c +++ b/libs/libc/stdio/lib_fseek.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fseek.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/libs/libc/stdio/lib_fseeko.c b/libs/libc/stdio/lib_fseeko.c index cf8062840f..72002ffc41 100644 --- a/libs/libc/stdio/lib_fseeko.c +++ b/libs/libc/stdio/lib_fseeko.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fseeko.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/libs/libc/stdio/lib_fsetpos.c b/libs/libc/stdio/lib_fsetpos.c index 6e6a063e5f..a0ac40ffc0 100644 --- a/libs/libc/stdio/lib_fsetpos.c +++ b/libs/libc/stdio/lib_fsetpos.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fsetpos.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/libs/libc/stdio/lib_ftell.c b/libs/libc/stdio/lib_ftell.c index dc40fb578a..668ad12b6b 100644 --- a/libs/libc/stdio/lib_ftell.c +++ b/libs/libc/stdio/lib_ftell.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ftell.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/libs/libc/stdio/lib_ftello.c b/libs/libc/stdio/lib_ftello.c index 735302105e..0d4c9341f9 100644 --- a/libs/libc/stdio/lib_ftello.c +++ b/libs/libc/stdio/lib_ftello.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ftello.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/libs/libc/stdio/lib_fwrite.c b/libs/libc/stdio/lib_fwrite.c index 0856ccfa34..7f09d0a8d0 100644 --- a/libs/libc/stdio/lib_fwrite.c +++ b/libs/libc/stdio/lib_fwrite.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_fwrite.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/libs/libc/stdio/lib_getc.c b/libs/libc/stdio/lib_getc.c index 693f43ef77..b322412b6d 100644 --- a/libs/libc/stdio/lib_getc.c +++ b/libs/libc/stdio/lib_getc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_getc.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/libs/libc/stdio/lib_getchar.c b/libs/libc/stdio/lib_getchar.c index 5904c85e33..4034661d8a 100644 --- a/libs/libc/stdio/lib_getchar.c +++ b/libs/libc/stdio/lib_getchar.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_getchar.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/libs/libc/stdio/lib_getdelim.c b/libs/libc/stdio/lib_getdelim.c index 46c3acd2c8..3eaed14caa 100644 --- a/libs/libc/stdio/lib_getdelim.c +++ b/libs/libc/stdio/lib_getdelim.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_getdelim.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/libs/libc/stdio/lib_gets.c b/libs/libc/stdio/lib_gets.c index c39d4471a4..c35c86b4a4 100644 --- a/libs/libc/stdio/lib_gets.c +++ b/libs/libc/stdio/lib_gets.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_gets.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/libs/libc/stdio/lib_gets_s.c b/libs/libc/stdio/lib_gets_s.c index fb9a26584f..bcb9c02fd6 100644 --- a/libs/libc/stdio/lib_gets_s.c +++ b/libs/libc/stdio/lib_gets_s.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_gets_s.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/libs/libc/stdio/lib_getwc.c b/libs/libc/stdio/lib_getwc.c index df8870f706..8b91d9fa63 100644 --- a/libs/libc/stdio/lib_getwc.c +++ b/libs/libc/stdio/lib_getwc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_getwc.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_libbsprintf.c b/libs/libc/stdio/lib_libbsprintf.c index 714d561d4d..a6dda523b3 100644 --- a/libs/libc/stdio/lib_libbsprintf.c +++ b/libs/libc/stdio/lib_libbsprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libbsprintf.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/libs/libc/stdio/lib_libdgets.c b/libs/libc/stdio/lib_libdgets.c index 22815168a5..0f1f8da350 100644 --- a/libs/libc/stdio/lib_libdgets.c +++ b/libs/libc/stdio/lib_libdgets.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libdgets.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/libs/libc/stdio/lib_libfflush.c b/libs/libc/stdio/lib_libfflush.c index 2e268a0200..a0fcb34766 100644 --- a/libs/libc/stdio/lib_libfflush.c +++ b/libs/libc/stdio/lib_libfflush.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libfflush.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/libs/libc/stdio/lib_libfgets.c b/libs/libc/stdio/lib_libfgets.c index cb07f262ce..c50191ff56 100644 --- a/libs/libc/stdio/lib_libfgets.c +++ b/libs/libc/stdio/lib_libfgets.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libfgets.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/libs/libc/stdio/lib_libfilelock.c b/libs/libc/stdio/lib_libfilelock.c index f13c5b8dce..a0e355b693 100644 --- a/libs/libc/stdio/lib_libfilelock.c +++ b/libs/libc/stdio/lib_libfilelock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libfilelock.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/libs/libc/stdio/lib_libflushall.c b/libs/libc/stdio/lib_libflushall.c index f8b60b27c7..be82451d8d 100644 --- a/libs/libc/stdio/lib_libflushall.c +++ b/libs/libc/stdio/lib_libflushall.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libflushall.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/libs/libc/stdio/lib_libfread_unlocked.c b/libs/libc/stdio/lib_libfread_unlocked.c index 9b56854e3d..1ce4f93195 100644 --- a/libs/libc/stdio/lib_libfread_unlocked.c +++ b/libs/libc/stdio/lib_libfread_unlocked.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libfread_unlocked.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/libs/libc/stdio/lib_libfwrite.c b/libs/libc/stdio/lib_libfwrite.c index 6e00bb5362..37a6535de0 100644 --- a/libs/libc/stdio/lib_libfwrite.c +++ b/libs/libc/stdio/lib_libfwrite.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libfwrite.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/libs/libc/stdio/lib_libgetstreams.c b/libs/libc/stdio/lib_libgetstreams.c index df412adc3f..7775cc6c12 100644 --- a/libs/libc/stdio/lib_libgetstreams.c +++ b/libs/libc/stdio/lib_libgetstreams.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libgetstreams.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/libs/libc/stdio/lib_libsprintf.c b/libs/libc/stdio/lib_libsprintf.c index 5b16b48c09..fdfca626a0 100644 --- a/libs/libc/stdio/lib_libsprintf.c +++ b/libs/libc/stdio/lib_libsprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libsprintf.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/libs/libc/stdio/lib_libvscanf.c b/libs/libc/stdio/lib_libvscanf.c index da73e1eed1..f232ab042d 100644 --- a/libs/libc/stdio/lib_libvscanf.c +++ b/libs/libc/stdio/lib_libvscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_libvscanf.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/libs/libc/stdio/lib_libvsprintf.c b/libs/libc/stdio/lib_libvsprintf.c index 34911c0911..e0402aceee 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -1,11 +1,11 @@ /**************************************************************************** * libs/libc/stdio/lib_libvsprintf.c * - * Copyright (c) 2002, Alexander Popov (sasho@vip.bg) - * Copyright (c) 2002,2004,2005 Joerg Wunsch - * Copyright (c) 2005, Helmut Wallner - * Copyright (c) 2007, Dmitry Xmelkov - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2002, Alexander Popov (sasho@vip.bg) + * SPDX-FileCopyrightText: 2002,2004,2005 Joerg Wunsch + * SPDX-FileCopyrightText: 2005, Helmut Wallner + * SPDX-FileCopyrightText: 2007, Dmitry Xmelkov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_open_memstream.c b/libs/libc/stdio/lib_open_memstream.c index 777973e17c..eef98b5e06 100644 --- a/libs/libc/stdio/lib_open_memstream.c +++ b/libs/libc/stdio/lib_open_memstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_open_memstream.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/libs/libc/stdio/lib_perror.c b/libs/libc/stdio/lib_perror.c index 60e74e1eb1..da93099b56 100644 --- a/libs/libc/stdio/lib_perror.c +++ b/libs/libc/stdio/lib_perror.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_perror.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/libs/libc/stdio/lib_printf.c b/libs/libc/stdio/lib_printf.c index 2d93482598..7c787fb735 100644 --- a/libs/libc/stdio/lib_printf.c +++ b/libs/libc/stdio/lib_printf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_printf.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/libs/libc/stdio/lib_putc.c b/libs/libc/stdio/lib_putc.c index 00162b7275..8dbe32f947 100644 --- a/libs/libc/stdio/lib_putc.c +++ b/libs/libc/stdio/lib_putc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_putc.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/libs/libc/stdio/lib_putchar.c b/libs/libc/stdio/lib_putchar.c index 97a9ea9553..e993667e2c 100644 --- a/libs/libc/stdio/lib_putchar.c +++ b/libs/libc/stdio/lib_putchar.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_putchar.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/libs/libc/stdio/lib_puts.c b/libs/libc/stdio/lib_puts.c index f6d45fc458..b51a5a8394 100644 --- a/libs/libc/stdio/lib_puts.c +++ b/libs/libc/stdio/lib_puts.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_puts.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/libs/libc/stdio/lib_putwc.c b/libs/libc/stdio/lib_putwc.c index f55221954b..9fc4d16221 100644 --- a/libs/libc/stdio/lib_putwc.c +++ b/libs/libc/stdio/lib_putwc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_putwc.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_putwchar.c b/libs/libc/stdio/lib_putwchar.c index 43911641c0..c4761fc6c0 100644 --- a/libs/libc/stdio/lib_putwchar.c +++ b/libs/libc/stdio/lib_putwchar.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_putwchar.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_rdflush_unlocked.c b/libs/libc/stdio/lib_rdflush_unlocked.c index 5b5f275cf8..59f2cbc33d 100644 --- a/libs/libc/stdio/lib_rdflush_unlocked.c +++ b/libs/libc/stdio/lib_rdflush_unlocked.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_rdflush_unlocked.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/libs/libc/stdio/lib_remove.c b/libs/libc/stdio/lib_remove.c index c455b1dbc4..5242c1ee80 100644 --- a/libs/libc/stdio/lib_remove.c +++ b/libs/libc/stdio/lib_remove.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_remove.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/libs/libc/stdio/lib_renameat.c b/libs/libc/stdio/lib_renameat.c index 99abe268a6..f1e3319cf3 100644 --- a/libs/libc/stdio/lib_renameat.c +++ b/libs/libc/stdio/lib_renameat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_renameat.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/libs/libc/stdio/lib_rewind.c b/libs/libc/stdio/lib_rewind.c index e488eaf5c8..fadc4d71c0 100644 --- a/libs/libc/stdio/lib_rewind.c +++ b/libs/libc/stdio/lib_rewind.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_rewind.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/libs/libc/stdio/lib_scanf.c b/libs/libc/stdio/lib_scanf.c index 349a1de7fa..4444310d9f 100644 --- a/libs/libc/stdio/lib_scanf.c +++ b/libs/libc/stdio/lib_scanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_scanf.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/libs/libc/stdio/lib_setbuf.c b/libs/libc/stdio/lib_setbuf.c index 5df2292ee8..16e44833df 100644 --- a/libs/libc/stdio/lib_setbuf.c +++ b/libs/libc/stdio/lib_setbuf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_setbuf.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/libs/libc/stdio/lib_setbuffer.c b/libs/libc/stdio/lib_setbuffer.c index 0d880f64b2..27a3a11312 100644 --- a/libs/libc/stdio/lib_setbuffer.c +++ b/libs/libc/stdio/lib_setbuffer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_setbuffer.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/libs/libc/stdio/lib_setvbuf.c b/libs/libc/stdio/lib_setvbuf.c index 0277cfdd21..3231dbf176 100644 --- a/libs/libc/stdio/lib_setvbuf.c +++ b/libs/libc/stdio/lib_setvbuf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_setvbuf.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/libs/libc/stdio/lib_snprintf.c b/libs/libc/stdio/lib_snprintf.c index 6884f36f73..68a625b6bf 100644 --- a/libs/libc/stdio/lib_snprintf.c +++ b/libs/libc/stdio/lib_snprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_snprintf.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/libs/libc/stdio/lib_sprintf.c b/libs/libc/stdio/lib_sprintf.c index 1536828e5d..6d2951aaf2 100644 --- a/libs/libc/stdio/lib_sprintf.c +++ b/libs/libc/stdio/lib_sprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_sprintf.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/libs/libc/stdio/lib_sscanf.c b/libs/libc/stdio/lib_sscanf.c index 3349713496..87226472cc 100644 --- a/libs/libc/stdio/lib_sscanf.c +++ b/libs/libc/stdio/lib_sscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_sscanf.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/libs/libc/stdio/lib_tempnam.c b/libs/libc/stdio/lib_tempnam.c index 7151905eb4..def08537a5 100644 --- a/libs/libc/stdio/lib_tempnam.c +++ b/libs/libc/stdio/lib_tempnam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_tempnam.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/libs/libc/stdio/lib_tmpfile.c b/libs/libc/stdio/lib_tmpfile.c index 1965c09c55..779db9c61c 100644 --- a/libs/libc/stdio/lib_tmpfile.c +++ b/libs/libc/stdio/lib_tmpfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_tmpfile.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/libs/libc/stdio/lib_tmpnam.c b/libs/libc/stdio/lib_tmpnam.c index e4804466b6..b40c431e7b 100644 --- a/libs/libc/stdio/lib_tmpnam.c +++ b/libs/libc/stdio/lib_tmpnam.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_tmpnam.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/libs/libc/stdio/lib_ultoa_invert.c b/libs/libc/stdio/lib_ultoa_invert.c index ae35b966dc..8c4aeabaf9 100644 --- a/libs/libc/stdio/lib_ultoa_invert.c +++ b/libs/libc/stdio/lib_ultoa_invert.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ultoa_invert.c * - * Copyright © 2017, Keith Packard - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2017, Keith Packard. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_ultoa_invert.h b/libs/libc/stdio/lib_ultoa_invert.h index b297a2f950..52a3792945 100644 --- a/libs/libc/stdio/lib_ultoa_invert.h +++ b/libs/libc/stdio/lib_ultoa_invert.h @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ultoa_invert.h * - * Copyright (c) 2005, Dmitry Xmelkov - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2005, Dmitry Xmelkov. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_ungetc.c b/libs/libc/stdio/lib_ungetc.c index 1b9827c0b1..76b3c68c21 100644 --- a/libs/libc/stdio/lib_ungetc.c +++ b/libs/libc/stdio/lib_ungetc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ungetc.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/libs/libc/stdio/lib_ungetwc.c b/libs/libc/stdio/lib_ungetwc.c index d3ea7bc53b..fcd8b9185e 100644 --- a/libs/libc/stdio/lib_ungetwc.c +++ b/libs/libc/stdio/lib_ungetwc.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_ungetwc.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdio/lib_vasprintf.c b/libs/libc/stdio/lib_vasprintf.c index 257640a788..5f00137a3a 100644 --- a/libs/libc/stdio/lib_vasprintf.c +++ b/libs/libc/stdio/lib_vasprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vasprintf.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/libs/libc/stdio/lib_vdprintf.c b/libs/libc/stdio/lib_vdprintf.c index aef5923156..d7c7349eb4 100644 --- a/libs/libc/stdio/lib_vdprintf.c +++ b/libs/libc/stdio/lib_vdprintf.c @@ -1,9 +1,10 @@ /**************************************************************************** * libs/libc/stdio/lib_vdprintf.c * - * Copyright (C) 2012 Andrew Tridgell. All rights reserved. - * Authors: Andrew Tridgell - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Andrew Tridgell. All rights reserved. + * SPDX-FileContributor: Andrew Tridgell + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdio/lib_vfprintf.c b/libs/libc/stdio/lib_vfprintf.c index 511acccc6e..a9963d2acb 100644 --- a/libs/libc/stdio/lib_vfprintf.c +++ b/libs/libc/stdio/lib_vfprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vfprintf.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/libs/libc/stdio/lib_vfscanf.c b/libs/libc/stdio/lib_vfscanf.c index 9106b41b7a..8ecd148225 100644 --- a/libs/libc/stdio/lib_vfscanf.c +++ b/libs/libc/stdio/lib_vfscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vfscanf.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/libs/libc/stdio/lib_vprintf.c b/libs/libc/stdio/lib_vprintf.c index eeb0e1652e..fd980a99ee 100644 --- a/libs/libc/stdio/lib_vprintf.c +++ b/libs/libc/stdio/lib_vprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vprintf.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/libs/libc/stdio/lib_vscanf.c b/libs/libc/stdio/lib_vscanf.c index bd491059d4..e87590c557 100644 --- a/libs/libc/stdio/lib_vscanf.c +++ b/libs/libc/stdio/lib_vscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vscanf.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/libs/libc/stdio/lib_vsnprintf.c b/libs/libc/stdio/lib_vsnprintf.c index 292056ce76..8b81e07813 100644 --- a/libs/libc/stdio/lib_vsnprintf.c +++ b/libs/libc/stdio/lib_vsnprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vsnprintf.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/libs/libc/stdio/lib_vsprintf.c b/libs/libc/stdio/lib_vsprintf.c index b474a63ac9..aae5df4a98 100644 --- a/libs/libc/stdio/lib_vsprintf.c +++ b/libs/libc/stdio/lib_vsprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vsprintf.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/libs/libc/stdio/lib_vsscanf.c b/libs/libc/stdio/lib_vsscanf.c index 6be4a0c2fa..8a35242fc4 100644 --- a/libs/libc/stdio/lib_vsscanf.c +++ b/libs/libc/stdio/lib_vsscanf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_vsscanf.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/libs/libc/stdio/lib_wrflush_unlocked.c b/libs/libc/stdio/lib_wrflush_unlocked.c index 0280ac7959..32603882b6 100644 --- a/libs/libc/stdio/lib_wrflush_unlocked.c +++ b/libs/libc/stdio/lib_wrflush_unlocked.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdio/lib_wrflush_unlocked.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/libs/libc/stdlib/CMakeLists.txt b/libs/libc/stdlib/CMakeLists.txt index f2a21cd7da..a0cde9ee28 100644 --- a/libs/libc/stdlib/CMakeLists.txt +++ b/libs/libc/stdlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/stdlib/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/libs/libc/stdlib/Make.defs b/libs/libc/stdlib/Make.defs index 4f719d4a04..3294bfdc36 100644 --- a/libs/libc/stdlib/Make.defs +++ b/libs/libc/stdlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/stdlib/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/libs/libc/stdlib/lib_abort.c b/libs/libc/stdlib/lib_abort.c index e15508493e..4f41a2ec8a 100644 --- a/libs/libc/stdlib/lib_abort.c +++ b/libs/libc/stdlib/lib_abort.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_abort.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/libs/libc/stdlib/lib_abs.c b/libs/libc/stdlib/lib_abs.c index 7926406bcd..eed90564b5 100644 --- a/libs/libc/stdlib/lib_abs.c +++ b/libs/libc/stdlib/lib_abs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_abs.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/libs/libc/stdlib/lib_aligned_alloc.c b/libs/libc/stdlib/lib_aligned_alloc.c index 53bcebc99a..f04e43744b 100644 --- a/libs/libc/stdlib/lib_aligned_alloc.c +++ b/libs/libc/stdlib/lib_aligned_alloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_aligned_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/libs/libc/stdlib/lib_atexit.c b/libs/libc/stdlib/lib_atexit.c index b2cfceaed2..5a3322c412 100644 --- a/libs/libc/stdlib/lib_atexit.c +++ b/libs/libc/stdlib/lib_atexit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_atexit.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/libs/libc/stdlib/lib_atof.c b/libs/libc/stdlib/lib_atof.c index 3c75173b8f..9e04a3dd38 100644 --- a/libs/libc/stdlib/lib_atof.c +++ b/libs/libc/stdlib/lib_atof.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_atof.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/libs/libc/stdlib/lib_atoi.c b/libs/libc/stdlib/lib_atoi.c index 4181464e50..5c48e6dd8f 100644 --- a/libs/libc/stdlib/lib_atoi.c +++ b/libs/libc/stdlib/lib_atoi.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_atoi.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/libs/libc/stdlib/lib_atol.c b/libs/libc/stdlib/lib_atol.c index d1d6ba84ed..31bc867ea0 100644 --- a/libs/libc/stdlib/lib_atol.c +++ b/libs/libc/stdlib/lib_atol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_atol.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/libs/libc/stdlib/lib_atoll.c b/libs/libc/stdlib/lib_atoll.c index e42a0654cb..300970cd91 100644 --- a/libs/libc/stdlib/lib_atoll.c +++ b/libs/libc/stdlib/lib_atoll.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_atoll.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/libs/libc/stdlib/lib_checkbase.c b/libs/libc/stdlib/lib_checkbase.c index ad8f112680..3c322b67ca 100644 --- a/libs/libc/stdlib/lib_checkbase.c +++ b/libs/libc/stdlib/lib_checkbase.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_checkbase.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/libs/libc/stdlib/lib_div.c b/libs/libc/stdlib/lib_div.c index 818056a831..af02d989ed 100644 --- a/libs/libc/stdlib/lib_div.c +++ b/libs/libc/stdlib/lib_div.c @@ -1,8 +1,9 @@ /**************************************************************************** * libs/libc/stdlib/lib_div.c * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Author: Stavros Polymenis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdlib/lib_exit.c b/libs/libc/stdlib/lib_exit.c index e45438b301..3d371f2e7d 100644 --- a/libs/libc/stdlib/lib_exit.c +++ b/libs/libc/stdlib/lib_exit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_exit.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/libs/libc/stdlib/lib_getprogname.c b/libs/libc/stdlib/lib_getprogname.c index eb244e2a24..33ead76aff 100644 --- a/libs/libc/stdlib/lib_getprogname.c +++ b/libs/libc/stdlib/lib_getprogname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_getprogname.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/libs/libc/stdlib/lib_itoa.c b/libs/libc/stdlib/lib_itoa.c index a1eb52dbbc..9f19614a3c 100644 --- a/libs/libc/stdlib/lib_itoa.c +++ b/libs/libc/stdlib/lib_itoa.c @@ -1,13 +1,11 @@ /**************************************************************************** * libs/libc/stdlib/lib_itoa.c * - * Copyright (C) 2013 Brooks Automation, Inc. All rights reserved. - * Author: Ryan Sundberg - * - * This file is a part of NuttX: - * - * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2010-2011 Gregory Nutt + * SPDX-FileCopyrightText: 2013 Brooks Automation, Inc. All rights reserved. + * SPDX-FileContributor: Ryan Sundberg + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdlib/lib_labs.c b/libs/libc/stdlib/lib_labs.c index 0f8f9ff01e..3cb7338fbe 100644 --- a/libs/libc/stdlib/lib_labs.c +++ b/libs/libc/stdlib/lib_labs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_labs.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/libs/libc/stdlib/lib_ldiv.c b/libs/libc/stdlib/lib_ldiv.c index 9b095e7c07..62784603cb 100644 --- a/libs/libc/stdlib/lib_ldiv.c +++ b/libs/libc/stdlib/lib_ldiv.c @@ -1,13 +1,11 @@ /**************************************************************************** * libs/libc/stdlib/lib_ldiv.c * - * Copyright (C) 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * A direct leverage of the div() inplement by: - * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Stavros Polymenis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdlib/lib_llabs.c b/libs/libc/stdlib/lib_llabs.c index 5eb29cdf43..a2efd8d6d9 100644 --- a/libs/libc/stdlib/lib_llabs.c +++ b/libs/libc/stdlib/lib_llabs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_llabs.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/libs/libc/stdlib/lib_lldiv.c b/libs/libc/stdlib/lib_lldiv.c index 34ba598d22..b81944756d 100644 --- a/libs/libc/stdlib/lib_lldiv.c +++ b/libs/libc/stdlib/lib_lldiv.c @@ -1,13 +1,11 @@ /**************************************************************************** * libs/libc/stdlib/lib_lldiv.c * - * Copyright (C) 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * A direct leverage of the div() inplement by: - * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Author: Stavros Polymenis + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Stavros Polymenis * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdlib/lib_mblen.c b/libs/libc/stdlib/lib_mblen.c index 64fe2c1a33..3ead67b0c8 100644 --- a/libs/libc/stdlib/lib_mblen.c +++ b/libs/libc/stdlib/lib_mblen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mblen.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/libs/libc/stdlib/lib_mbstowcs.c b/libs/libc/stdlib/lib_mbstowcs.c index 41a6c4f670..37c9b6dc97 100644 --- a/libs/libc/stdlib/lib_mbstowcs.c +++ b/libs/libc/stdlib/lib_mbstowcs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mbstowcs.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/libs/libc/stdlib/lib_mbtowc.c b/libs/libc/stdlib/lib_mbtowc.c index 3ea8de49c9..4a95196129 100644 --- a/libs/libc/stdlib/lib_mbtowc.c +++ b/libs/libc/stdlib/lib_mbtowc.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mbtowc.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stdlib/lib_mkdtemp.c b/libs/libc/stdlib/lib_mkdtemp.c index 59e7a146fc..19c84a12ca 100644 --- a/libs/libc/stdlib/lib_mkdtemp.c +++ b/libs/libc/stdlib/lib_mkdtemp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mkdtemp.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/libs/libc/stdlib/lib_mkstemp.c b/libs/libc/stdlib/lib_mkstemp.c index 1c64f2ef74..6f65bfed25 100644 --- a/libs/libc/stdlib/lib_mkstemp.c +++ b/libs/libc/stdlib/lib_mkstemp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mkstemp.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/libs/libc/stdlib/lib_mktemp.c b/libs/libc/stdlib/lib_mktemp.c index aca6861129..e742daa105 100644 --- a/libs/libc/stdlib/lib_mktemp.c +++ b/libs/libc/stdlib/lib_mktemp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_mktemp.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/libs/libc/stdlib/lib_openpty.c b/libs/libc/stdlib/lib_openpty.c index 6e8056108d..24f74dc574 100644 --- a/libs/libc/stdlib/lib_openpty.c +++ b/libs/libc/stdlib/lib_openpty.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_openpty.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/libs/libc/stdlib/lib_posix_memalign.c b/libs/libc/stdlib/lib_posix_memalign.c index f4f8e5ef9d..82ccf55458 100644 --- a/libs/libc/stdlib/lib_posix_memalign.c +++ b/libs/libc/stdlib/lib_posix_memalign.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_posix_memalign.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/libs/libc/stdlib/lib_ptsname.c b/libs/libc/stdlib/lib_ptsname.c index 170db5d7e6..ddf92bcbe1 100644 --- a/libs/libc/stdlib/lib_ptsname.c +++ b/libs/libc/stdlib/lib_ptsname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_ptsname.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/libs/libc/stdlib/lib_ptsnamer.c b/libs/libc/stdlib/lib_ptsnamer.c index cf8343f797..8a342d3723 100644 --- a/libs/libc/stdlib/lib_ptsnamer.c +++ b/libs/libc/stdlib/lib_ptsnamer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_ptsnamer.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/libs/libc/stdlib/lib_rand.c b/libs/libc/stdlib/lib_rand.c index 23611da9f6..b05878acc2 100644 --- a/libs/libc/stdlib/lib_rand.c +++ b/libs/libc/stdlib/lib_rand.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_rand.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/libs/libc/stdlib/lib_rand48.c b/libs/libc/stdlib/lib_rand48.c index 5d083d06aa..a5a3f6e961 100644 --- a/libs/libc/stdlib/lib_rand48.c +++ b/libs/libc/stdlib/lib_rand48.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_rand48.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/libs/libc/stdlib/lib_reallocarray.c b/libs/libc/stdlib/lib_reallocarray.c index 1931a9891d..7810883a56 100644 --- a/libs/libc/stdlib/lib_reallocarray.c +++ b/libs/libc/stdlib/lib_reallocarray.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_reallocarray.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/libs/libc/stdlib/lib_realpath.c b/libs/libc/stdlib/lib_realpath.c index 596f244cb6..3973e1ac73 100644 --- a/libs/libc/stdlib/lib_realpath.c +++ b/libs/libc/stdlib/lib_realpath.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_realpath.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/libs/libc/stdlib/lib_srand.c b/libs/libc/stdlib/lib_srand.c index ac20b9583a..3b5cc7a327 100644 --- a/libs/libc/stdlib/lib_srand.c +++ b/libs/libc/stdlib/lib_srand.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_srand.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/libs/libc/stdlib/lib_strtol.c b/libs/libc/stdlib/lib_strtol.c index a517ad856e..9e78ae814c 100644 --- a/libs/libc/stdlib/lib_strtol.c +++ b/libs/libc/stdlib/lib_strtol.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_strtol.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/libs/libc/stdlib/lib_strtold.c b/libs/libc/stdlib/lib_strtold.c index d994ddfc45..56a20992bd 100644 --- a/libs/libc/stdlib/lib_strtold.c +++ b/libs/libc/stdlib/lib_strtold.c @@ -1,10 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_strtold.c - * Convert string to float and (long) double * - * A pretty straight forward conversion of strtod(): - * - * Copyright © 2005-2020 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: Copyright © 2005-2020 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/stdlib/lib_strtoll.c b/libs/libc/stdlib/lib_strtoll.c index d495b4a70f..05dc917d1a 100644 --- a/libs/libc/stdlib/lib_strtoll.c +++ b/libs/libc/stdlib/lib_strtoll.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_strtoll.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/libs/libc/stdlib/lib_strtoul.c b/libs/libc/stdlib/lib_strtoul.c index cc7025afd6..0dadec7c3c 100644 --- a/libs/libc/stdlib/lib_strtoul.c +++ b/libs/libc/stdlib/lib_strtoul.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_strtoul.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/libs/libc/stdlib/lib_strtoull.c b/libs/libc/stdlib/lib_strtoull.c index b3b6804516..e3ac64f920 100644 --- a/libs/libc/stdlib/lib_strtoull.c +++ b/libs/libc/stdlib/lib_strtoull.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_strtoull.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/libs/libc/stdlib/lib_unlockpt.c b/libs/libc/stdlib/lib_unlockpt.c index aab8eb8b65..c792344a0e 100644 --- a/libs/libc/stdlib/lib_unlockpt.c +++ b/libs/libc/stdlib/lib_unlockpt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_unlockpt.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/libs/libc/stdlib/lib_valloc.c b/libs/libc/stdlib/lib_valloc.c index 1c72cf7e92..1114663eea 100644 --- a/libs/libc/stdlib/lib_valloc.c +++ b/libs/libc/stdlib/lib_valloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_valloc.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/libs/libc/stdlib/lib_wcstombs.c b/libs/libc/stdlib/lib_wcstombs.c index 3b19a9daf9..e0520df72b 100644 --- a/libs/libc/stdlib/lib_wcstombs.c +++ b/libs/libc/stdlib/lib_wcstombs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stdlib/lib_wcstombs.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/libs/libc/stdlib/lib_wctomb.c b/libs/libc/stdlib/lib_wctomb.c index 855ed1c904..dcf0aca52a 100644 --- a/libs/libc/stdlib/lib_wctomb.c +++ b/libs/libc/stdlib/lib_wctomb.c @@ -1,8 +1,7 @@ /**************************************************************************** * libs/libc/stdlib/lib_wctomb.c * - * This code is derived from software contributed to Berkeley by - * Chris Torek. + * SPDX-License-Identifier: BSD-3-Clause-UC * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/stream/CMakeLists.txt b/libs/libc/stream/CMakeLists.txt index fc6b53ad7b..8c6fb41b26 100644 --- a/libs/libc/stream/CMakeLists.txt +++ b/libs/libc/stream/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/stream/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/libs/libc/stream/Make.defs b/libs/libc/stream/Make.defs index e9ae093d3e..729411f2ad 100644 --- a/libs/libc/stream/Make.defs +++ b/libs/libc/stream/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/stream/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/libs/libc/stream/lib_blkoutstream.c b/libs/libc/stream/lib_blkoutstream.c index 666f3f5756..14be9be081 100644 --- a/libs/libc/stream/lib_blkoutstream.c +++ b/libs/libc/stream/lib_blkoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_blkoutstream.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/libs/libc/stream/lib_bufferedoutstream.c b/libs/libc/stream/lib_bufferedoutstream.c index 305a0fc4e2..ae9c9f5443 100644 --- a/libs/libc/stream/lib_bufferedoutstream.c +++ b/libs/libc/stream/lib_bufferedoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_bufferedoutstream.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/libs/libc/stream/lib_fileoutstream.c b/libs/libc/stream/lib_fileoutstream.c index 02e0796073..d3ffe6a300 100644 --- a/libs/libc/stream/lib_fileoutstream.c +++ b/libs/libc/stream/lib_fileoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_fileoutstream.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/libs/libc/stream/lib_hexdumpstream.c b/libs/libc/stream/lib_hexdumpstream.c index 2854980c9b..7bdcc89177 100644 --- a/libs/libc/stream/lib_hexdumpstream.c +++ b/libs/libc/stream/lib_hexdumpstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_hexdumpstream.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/libs/libc/stream/lib_libnoflush.c b/libs/libc/stream/lib_libnoflush.c index 61dc0bc0b6..063381231e 100644 --- a/libs/libc/stream/lib_libnoflush.c +++ b/libs/libc/stream/lib_libnoflush.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_libnoflush.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/libs/libc/stream/lib_libsnoflush.c b/libs/libc/stream/lib_libsnoflush.c index cd69b31eef..c93e0bf197 100644 --- a/libs/libc/stream/lib_libsnoflush.c +++ b/libs/libc/stream/lib_libsnoflush.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_libsnoflush.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/libs/libc/stream/lib_lowoutstream.c b/libs/libc/stream/lib_lowoutstream.c index 5bc248e014..ffefea7cac 100644 --- a/libs/libc/stream/lib_lowoutstream.c +++ b/libs/libc/stream/lib_lowoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_lowoutstream.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/libs/libc/stream/lib_lzfcompress.c b/libs/libc/stream/lib_lzfcompress.c index a43d9af850..a26bfa1b27 100644 --- a/libs/libc/stream/lib_lzfcompress.c +++ b/libs/libc/stream/lib_lzfcompress.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_lzfcompress.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/libs/libc/stream/lib_meminstream.c b/libs/libc/stream/lib_meminstream.c index 473a2e312e..c4b05767ed 100644 --- a/libs/libc/stream/lib_meminstream.c +++ b/libs/libc/stream/lib_meminstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_meminstream.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/libs/libc/stream/lib_memoutstream.c b/libs/libc/stream/lib_memoutstream.c index 9186938df5..17b3bf2945 100644 --- a/libs/libc/stream/lib_memoutstream.c +++ b/libs/libc/stream/lib_memoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_memoutstream.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/libs/libc/stream/lib_memsistream.c b/libs/libc/stream/lib_memsistream.c index d6146c3138..08e62352ca 100644 --- a/libs/libc/stream/lib_memsistream.c +++ b/libs/libc/stream/lib_memsistream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_memsistream.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/libs/libc/stream/lib_memsostream.c b/libs/libc/stream/lib_memsostream.c index ecfd6940f8..2187c5e42c 100644 --- a/libs/libc/stream/lib_memsostream.c +++ b/libs/libc/stream/lib_memsostream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_memsostream.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/libs/libc/stream/lib_mtdoutstream.c b/libs/libc/stream/lib_mtdoutstream.c index abdc58d5c7..229a78d8dc 100644 --- a/libs/libc/stream/lib_mtdoutstream.c +++ b/libs/libc/stream/lib_mtdoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_mtdoutstream.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/libs/libc/stream/lib_nullinstream.c b/libs/libc/stream/lib_nullinstream.c index def2fad8e3..effdd1e6bb 100644 --- a/libs/libc/stream/lib_nullinstream.c +++ b/libs/libc/stream/lib_nullinstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_nullinstream.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/libs/libc/stream/lib_nulloutstream.c b/libs/libc/stream/lib_nulloutstream.c index de18b073b9..c3f57399ee 100644 --- a/libs/libc/stream/lib_nulloutstream.c +++ b/libs/libc/stream/lib_nulloutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_nulloutstream.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/libs/libc/stream/lib_rawinstream.c b/libs/libc/stream/lib_rawinstream.c index 0f39fe4128..02d4e0181d 100644 --- a/libs/libc/stream/lib_rawinstream.c +++ b/libs/libc/stream/lib_rawinstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_rawinstream.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/libs/libc/stream/lib_rawoutstream.c b/libs/libc/stream/lib_rawoutstream.c index c90598985e..5eb798caf7 100644 --- a/libs/libc/stream/lib_rawoutstream.c +++ b/libs/libc/stream/lib_rawoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_rawoutstream.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/libs/libc/stream/lib_rawsistream.c b/libs/libc/stream/lib_rawsistream.c index e29b75949d..72d77550c4 100644 --- a/libs/libc/stream/lib_rawsistream.c +++ b/libs/libc/stream/lib_rawsistream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_rawsistream.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/libs/libc/stream/lib_rawsostream.c b/libs/libc/stream/lib_rawsostream.c index 319486da5d..a81efa2a37 100644 --- a/libs/libc/stream/lib_rawsostream.c +++ b/libs/libc/stream/lib_rawsostream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_rawsostream.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/libs/libc/stream/lib_stdinstream.c b/libs/libc/stream/lib_stdinstream.c index 40f4ac1272..ae7094ec2b 100644 --- a/libs/libc/stream/lib_stdinstream.c +++ b/libs/libc/stream/lib_stdinstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_stdinstream.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/libs/libc/stream/lib_stdoutstream.c b/libs/libc/stream/lib_stdoutstream.c index 8e168ffa55..672346180d 100644 --- a/libs/libc/stream/lib_stdoutstream.c +++ b/libs/libc/stream/lib_stdoutstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_stdoutstream.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/libs/libc/stream/lib_stdsistream.c b/libs/libc/stream/lib_stdsistream.c index 0af0488c74..a86dab9e43 100644 --- a/libs/libc/stream/lib_stdsistream.c +++ b/libs/libc/stream/lib_stdsistream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_stdsistream.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/libs/libc/stream/lib_stdsostream.c b/libs/libc/stream/lib_stdsostream.c index 02886d6861..c3a2331470 100644 --- a/libs/libc/stream/lib_stdsostream.c +++ b/libs/libc/stream/lib_stdsostream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_stdsostream.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/libs/libc/stream/lib_syslograwstream.c b/libs/libc/stream/lib_syslograwstream.c index de99b9b9a3..23354004cd 100644 --- a/libs/libc/stream/lib_syslograwstream.c +++ b/libs/libc/stream/lib_syslograwstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_syslograwstream.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/libs/libc/stream/lib_syslogstream.c b/libs/libc/stream/lib_syslogstream.c index e8af6d39d7..495a7ba99c 100644 --- a/libs/libc/stream/lib_syslogstream.c +++ b/libs/libc/stream/lib_syslogstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_syslogstream.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/libs/libc/stream/lib_zeroinstream.c b/libs/libc/stream/lib_zeroinstream.c index 55f4202a14..051e15c222 100644 --- a/libs/libc/stream/lib_zeroinstream.c +++ b/libs/libc/stream/lib_zeroinstream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/stream/lib_zeroinstream.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/libs/libc/string/CMakeLists.txt b/libs/libc/string/CMakeLists.txt index c893384de2..289316b29c 100644 --- a/libs/libc/string/CMakeLists.txt +++ b/libs/libc/string/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/string/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/libs/libc/string/Make.defs b/libs/libc/string/Make.defs index 54989a901c..0f8ac1d451 100644 --- a/libs/libc/string/Make.defs +++ b/libs/libc/string/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/string/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/libs/libc/string/lib_bzero.c b/libs/libc/string/lib_bzero.c index a0dfeace4e..e73ad42465 100644 --- a/libs/libc/string/lib_bzero.c +++ b/libs/libc/string/lib_bzero.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_bzero.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/libs/libc/string/lib_explicit_bzero.c b/libs/libc/string/lib_explicit_bzero.c index ca8f7ce433..05f2cd8c82 100644 --- a/libs/libc/string/lib_explicit_bzero.c +++ b/libs/libc/string/lib_explicit_bzero.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_explicit_bzero.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/libs/libc/string/lib_ffs.c b/libs/libc/string/lib_ffs.c index 3ee8feff64..19cb9832d7 100644 --- a/libs/libc/string/lib_ffs.c +++ b/libs/libc/string/lib_ffs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_ffs.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/libs/libc/string/lib_ffsl.c b/libs/libc/string/lib_ffsl.c index b7a8a884cc..35b591ef05 100644 --- a/libs/libc/string/lib_ffsl.c +++ b/libs/libc/string/lib_ffsl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_ffsl.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/libs/libc/string/lib_ffsll.c b/libs/libc/string/lib_ffsll.c index 11e07b1a59..ad7c4ba5c7 100644 --- a/libs/libc/string/lib_ffsll.c +++ b/libs/libc/string/lib_ffsll.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_ffsll.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/libs/libc/string/lib_fls.c b/libs/libc/string/lib_fls.c index e5ff8188a7..feb170a46f 100644 --- a/libs/libc/string/lib_fls.c +++ b/libs/libc/string/lib_fls.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_fls.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/libs/libc/string/lib_flsl.c b/libs/libc/string/lib_flsl.c index 6c0f8b5c9c..8c754fa285 100644 --- a/libs/libc/string/lib_flsl.c +++ b/libs/libc/string/lib_flsl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_flsl.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/libs/libc/string/lib_flsll.c b/libs/libc/string/lib_flsll.c index c81e3e6896..155cd65757 100644 --- a/libs/libc/string/lib_flsll.c +++ b/libs/libc/string/lib_flsll.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_flsll.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/libs/libc/string/lib_index.c b/libs/libc/string/lib_index.c index e62745ccf9..1432093549 100644 --- a/libs/libc/string/lib_index.c +++ b/libs/libc/string/lib_index.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_index.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/libs/libc/string/lib_isbasedigit.c b/libs/libc/string/lib_isbasedigit.c index c9d5b772ae..4780b463fd 100644 --- a/libs/libc/string/lib_isbasedigit.c +++ b/libs/libc/string/lib_isbasedigit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_isbasedigit.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/libs/libc/string/lib_memccpy.c b/libs/libc/string/lib_memccpy.c index e9f1773ebb..283e5650cf 100644 --- a/libs/libc/string/lib_memccpy.c +++ b/libs/libc/string/lib_memccpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memccpy.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/libs/libc/string/lib_memchr.c b/libs/libc/string/lib_memchr.c index 7eb42429b4..2c24e3256f 100644 --- a/libs/libc/string/lib_memchr.c +++ b/libs/libc/string/lib_memchr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memchr.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/libs/libc/string/lib_memcmp.c b/libs/libc/string/lib_memcmp.c index 7f3efadac1..251cbf7bba 100644 --- a/libs/libc/string/lib_memcmp.c +++ b/libs/libc/string/lib_memcmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memcmp.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/libs/libc/string/lib_memcpy.c b/libs/libc/string/lib_memcpy.c index 2d6748f83e..c1ff6ae1e8 100644 --- a/libs/libc/string/lib_memcpy.c +++ b/libs/libc/string/lib_memcpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memcpy.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/libs/libc/string/lib_memmem.c b/libs/libc/string/lib_memmem.c index 73d8afdba4..f698731ca5 100644 --- a/libs/libc/string/lib_memmem.c +++ b/libs/libc/string/lib_memmem.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memmem.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/libs/libc/string/lib_memmove.c b/libs/libc/string/lib_memmove.c index aec9e60af6..fd6d43383a 100644 --- a/libs/libc/string/lib_memmove.c +++ b/libs/libc/string/lib_memmove.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memmove.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/libs/libc/string/lib_mempcpy.c b/libs/libc/string/lib_mempcpy.c index 1869800ff3..57c128034f 100644 --- a/libs/libc/string/lib_mempcpy.c +++ b/libs/libc/string/lib_mempcpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_mempcpy.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/libs/libc/string/lib_memrchr.c b/libs/libc/string/lib_memrchr.c index 6e32e48e00..9a8f4a69d6 100644 --- a/libs/libc/string/lib_memrchr.c +++ b/libs/libc/string/lib_memrchr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memrchr.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/libs/libc/string/lib_memset.c b/libs/libc/string/lib_memset.c index bca6ced43e..1a00a41ee4 100644 --- a/libs/libc/string/lib_memset.c +++ b/libs/libc/string/lib_memset.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_memset.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/libs/libc/string/lib_popcount.c b/libs/libc/string/lib_popcount.c index 6988a45256..87fb1cd0c5 100644 --- a/libs/libc/string/lib_popcount.c +++ b/libs/libc/string/lib_popcount.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_popcount.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/libs/libc/string/lib_popcountl.c b/libs/libc/string/lib_popcountl.c index 027f4af88b..3874e7b090 100644 --- a/libs/libc/string/lib_popcountl.c +++ b/libs/libc/string/lib_popcountl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_popcountl.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/libs/libc/string/lib_popcountll.c b/libs/libc/string/lib_popcountll.c index 0854df4b76..0468852012 100644 --- a/libs/libc/string/lib_popcountll.c +++ b/libs/libc/string/lib_popcountll.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_popcountll.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/libs/libc/string/lib_rawmemchr.c b/libs/libc/string/lib_rawmemchr.c index f4e99c9fbb..47a57e6262 100644 --- a/libs/libc/string/lib_rawmemchr.c +++ b/libs/libc/string/lib_rawmemchr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_rawmemchr.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/libs/libc/string/lib_rindex.c b/libs/libc/string/lib_rindex.c index 2375ee0177..29e23eb73f 100644 --- a/libs/libc/string/lib_rindex.c +++ b/libs/libc/string/lib_rindex.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_rindex.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/libs/libc/string/lib_skipspace.c b/libs/libc/string/lib_skipspace.c index 0f025b95f6..7a00211c54 100644 --- a/libs/libc/string/lib_skipspace.c +++ b/libs/libc/string/lib_skipspace.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_skipspace.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/libs/libc/string/lib_stpcpy.c b/libs/libc/string/lib_stpcpy.c index 38095366c0..ae1a9cbfb9 100644 --- a/libs/libc/string/lib_stpcpy.c +++ b/libs/libc/string/lib_stpcpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_stpcpy.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/libs/libc/string/lib_stpncpy.c b/libs/libc/string/lib_stpncpy.c index 1095c34e65..acbc1f3a45 100644 --- a/libs/libc/string/lib_stpncpy.c +++ b/libs/libc/string/lib_stpncpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_stpncpy.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/libs/libc/string/lib_strcasecmp.c b/libs/libc/string/lib_strcasecmp.c index 2e2c88525f..1bfcfd052a 100644 --- a/libs/libc/string/lib_strcasecmp.c +++ b/libs/libc/string/lib_strcasecmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcasecmp.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/libs/libc/string/lib_strcasestr.c b/libs/libc/string/lib_strcasestr.c index 9ccddaff16..9962ca29ab 100644 --- a/libs/libc/string/lib_strcasestr.c +++ b/libs/libc/string/lib_strcasestr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcasestr.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/libs/libc/string/lib_strcat.c b/libs/libc/string/lib_strcat.c index 6795c7e5ef..7dcc5e4ee8 100644 --- a/libs/libc/string/lib_strcat.c +++ b/libs/libc/string/lib_strcat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcat.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/libs/libc/string/lib_strchr.c b/libs/libc/string/lib_strchr.c index a0a5d4ac75..98538abbb5 100644 --- a/libs/libc/string/lib_strchr.c +++ b/libs/libc/string/lib_strchr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strchr.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/libs/libc/string/lib_strchrnul.c b/libs/libc/string/lib_strchrnul.c index b70be79f5d..d8433b695c 100644 --- a/libs/libc/string/lib_strchrnul.c +++ b/libs/libc/string/lib_strchrnul.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strchrnul.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/libs/libc/string/lib_strcmp.c b/libs/libc/string/lib_strcmp.c index e4e09f7b9a..f445d5f99a 100644 --- a/libs/libc/string/lib_strcmp.c +++ b/libs/libc/string/lib_strcmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcmp.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/libs/libc/string/lib_strcoll.c b/libs/libc/string/lib_strcoll.c index c5bed80930..31d49db473 100644 --- a/libs/libc/string/lib_strcoll.c +++ b/libs/libc/string/lib_strcoll.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcoll.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/string/lib_strcpy.c b/libs/libc/string/lib_strcpy.c index bf11193d13..38c73c3a48 100644 --- a/libs/libc/string/lib_strcpy.c +++ b/libs/libc/string/lib_strcpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcpy.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/libs/libc/string/lib_strcspn.c b/libs/libc/string/lib_strcspn.c index 7a8211ef0a..1b68641aa4 100644 --- a/libs/libc/string/lib_strcspn.c +++ b/libs/libc/string/lib_strcspn.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strcspn.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/libs/libc/string/lib_strdup.c b/libs/libc/string/lib_strdup.c index c22e5be6df..e92b4ad589 100644 --- a/libs/libc/string/lib_strdup.c +++ b/libs/libc/string/lib_strdup.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strdup.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/libs/libc/string/lib_strerror.c b/libs/libc/string/lib_strerror.c index 70454d2ba3..5fab598ac6 100644 --- a/libs/libc/string/lib_strerror.c +++ b/libs/libc/string/lib_strerror.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strerror.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/libs/libc/string/lib_strerrorr.c b/libs/libc/string/lib_strerrorr.c index 625d8532fd..1aa2dbd619 100644 --- a/libs/libc/string/lib_strerrorr.c +++ b/libs/libc/string/lib_strerrorr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strerrorr.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/libs/libc/string/lib_strlcat.c b/libs/libc/string/lib_strlcat.c index 6be5edd329..d96aabb331 100644 --- a/libs/libc/string/lib_strlcat.c +++ b/libs/libc/string/lib_strlcat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strlcat.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/libs/libc/string/lib_strlcpy.c b/libs/libc/string/lib_strlcpy.c index 81f471f297..21eb8abb49 100644 --- a/libs/libc/string/lib_strlcpy.c +++ b/libs/libc/string/lib_strlcpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strlcpy.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/libs/libc/string/lib_strlen.c b/libs/libc/string/lib_strlen.c index da0fca9ea2..594f01a481 100644 --- a/libs/libc/string/lib_strlen.c +++ b/libs/libc/string/lib_strlen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strlen.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/libs/libc/string/lib_strncasecmp.c b/libs/libc/string/lib_strncasecmp.c index efd18df965..d3efd33997 100644 --- a/libs/libc/string/lib_strncasecmp.c +++ b/libs/libc/string/lib_strncasecmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strncasecmp.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/libs/libc/string/lib_strncat.c b/libs/libc/string/lib_strncat.c index 98ff265294..4abe2d18bd 100644 --- a/libs/libc/string/lib_strncat.c +++ b/libs/libc/string/lib_strncat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strncat.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/libs/libc/string/lib_strncmp.c b/libs/libc/string/lib_strncmp.c index 3028e1d459..e46c7abbce 100644 --- a/libs/libc/string/lib_strncmp.c +++ b/libs/libc/string/lib_strncmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strncmp.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/libs/libc/string/lib_strncpy.c b/libs/libc/string/lib_strncpy.c index 6bfd2a599d..3e36df4ff5 100644 --- a/libs/libc/string/lib_strncpy.c +++ b/libs/libc/string/lib_strncpy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strncpy.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/libs/libc/string/lib_strndup.c b/libs/libc/string/lib_strndup.c index 130d0ced09..1db4ee9ab1 100644 --- a/libs/libc/string/lib_strndup.c +++ b/libs/libc/string/lib_strndup.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strndup.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/libs/libc/string/lib_strnlen.c b/libs/libc/string/lib_strnlen.c index 44cf5cc648..bf162a7501 100644 --- a/libs/libc/string/lib_strnlen.c +++ b/libs/libc/string/lib_strnlen.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strnlen.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/libs/libc/string/lib_strpbrk.c b/libs/libc/string/lib_strpbrk.c index b52aa92d8a..8494443172 100644 --- a/libs/libc/string/lib_strpbrk.c +++ b/libs/libc/string/lib_strpbrk.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strpbrk.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/libs/libc/string/lib_strrchr.c b/libs/libc/string/lib_strrchr.c index 526f802494..d19afc743b 100644 --- a/libs/libc/string/lib_strrchr.c +++ b/libs/libc/string/lib_strrchr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strrchr.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/libs/libc/string/lib_strsep.c b/libs/libc/string/lib_strsep.c index f40fa5dfb1..0ec9d1cd75 100644 --- a/libs/libc/string/lib_strsep.c +++ b/libs/libc/string/lib_strsep.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strsep.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/libs/libc/string/lib_strsignal.c b/libs/libc/string/lib_strsignal.c index 3f21685173..048dc5b6c2 100644 --- a/libs/libc/string/lib_strsignal.c +++ b/libs/libc/string/lib_strsignal.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strsignal.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/libs/libc/string/lib_strspn.c b/libs/libc/string/lib_strspn.c index 65443e0485..f9cd903e66 100644 --- a/libs/libc/string/lib_strspn.c +++ b/libs/libc/string/lib_strspn.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strspn.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/libs/libc/string/lib_strstr.c b/libs/libc/string/lib_strstr.c index d61d14afc4..5451e85ee9 100644 --- a/libs/libc/string/lib_strstr.c +++ b/libs/libc/string/lib_strstr.c @@ -1,9 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strstr.c * - * The MIT License (MIT) - * - * Copyright (c) 2014-2015 Tal Einat + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2014-2015 Tal Einat * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/libs/libc/string/lib_strtok.c b/libs/libc/string/lib_strtok.c index 9f3efe79c4..d3dc9fe9fe 100644 --- a/libs/libc/string/lib_strtok.c +++ b/libs/libc/string/lib_strtok.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strtok.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/libs/libc/string/lib_strtokr.c b/libs/libc/string/lib_strtokr.c index 55487f1588..2602902144 100644 --- a/libs/libc/string/lib_strtokr.c +++ b/libs/libc/string/lib_strtokr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strtokr.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/libs/libc/string/lib_strverscmp.c b/libs/libc/string/lib_strverscmp.c index 6ab59e2d27..91076c58ce 100644 --- a/libs/libc/string/lib_strverscmp.c +++ b/libs/libc/string/lib_strverscmp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strverscmp.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/libs/libc/string/lib_strxfrm.c b/libs/libc/string/lib_strxfrm.c index 20dd8d481e..07e9e11a82 100644 --- a/libs/libc/string/lib_strxfrm.c +++ b/libs/libc/string/lib_strxfrm.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_strxfrm.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/string/lib_timingsafe_bcmp.c b/libs/libc/string/lib_timingsafe_bcmp.c index c150ffde3d..a92fd2cd9e 100644 --- a/libs/libc/string/lib_timingsafe_bcmp.c +++ b/libs/libc/string/lib_timingsafe_bcmp.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_timingsafe_bcmp.c - * $OpenBSD: timingsafe_bcmp.c,v 1.3 2015/08/31 02:53:57 guenther Exp $ * - * Copyright (c) 2010 Damien Miller. All rights reserved. + * SPDX-License-Identifier: ISC + * SPDX-FileCopyrightText: 2010 Damien Miller. All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff --git a/libs/libc/string/lib_vikmemcpy.c b/libs/libc/string/lib_vikmemcpy.c index 8356358fd0..8e7dd19ec5 100644 --- a/libs/libc/string/lib_vikmemcpy.c +++ b/libs/libc/string/lib_vikmemcpy.c @@ -1,16 +1,8 @@ /**************************************************************************** * libs/libc/string/lib_vikmemcpy.c * - * This is version of the optimized memcpy by Daniel Vik, adapted to the - * NuttX environment. - * - * Copyright (C) 1999-2010 Daniel Vik - * - * Adaptations include: - * - File name change - * - Use of types defined in stdint.h - * - Integration with the NuttX configuration system - * - Other cosmetic changes for consistency with NuttX coding standards + * SPDX-License-Identifier: Zlib + * SPDX-FileCopyrightText: Copyright (C) 1999-2010 Daniel Vik * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any @@ -32,23 +24,6 @@ * 3. This notice may not be removed or altered from any source * distribution. * - * Description: Implementation of the standard library function memcpy. - * This implementation of memcpy() is ANSI-C89 compatible. - * - * The following configuration options can be set: - * - * CONFIG_ENDIAN_BIG - * Uses processor with big endian addressing. Default is little endian. - * - * CONFIG_MEMCPY_PRE_INC_PTRS - * Use pre increment of pointers. Default is post increment of pointers. - * - * CONFIG_MEMCPY_INDEXED_COPY - * Copying data using array indexing. Using this option, disables the - * CONFIG_MEMCPY_PRE_INC_PTRS option. - * - * CONFIG_MEMCPY_64BIT - Compiles memcpy for 64 bit architectures - * ****************************************************************************/ /**************************************************************************** diff --git a/libs/libc/symtab/CMakeLists.txt b/libs/libc/symtab/CMakeLists.txt index d567382c41..733021f75a 100644 --- a/libs/libc/symtab/CMakeLists.txt +++ b/libs/libc/symtab/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/symtab/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/libs/libc/symtab/Make.defs b/libs/libc/symtab/Make.defs index 021d49d80b..5d720bb802 100644 --- a/libs/libc/symtab/Make.defs +++ b/libs/libc/symtab/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/symtab/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/libs/libc/symtab/symtab_allsyms.c b/libs/libc/symtab/symtab_allsyms.c index 436d0c5dbb..b2dd9ae545 100644 --- a/libs/libc/symtab/symtab_allsyms.c +++ b/libs/libc/symtab/symtab_allsyms.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/symtab/symtab_allsyms.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/libs/libc/symtab/symtab_findbyname.c b/libs/libc/symtab/symtab_findbyname.c index 7efa80c5ea..ecc503dd18 100644 --- a/libs/libc/symtab/symtab_findbyname.c +++ b/libs/libc/symtab/symtab_findbyname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/symtab/symtab_findbyname.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/libs/libc/symtab/symtab_findbyvalue.c b/libs/libc/symtab/symtab_findbyvalue.c index eaed5a0bb7..037aa46d3b 100644 --- a/libs/libc/symtab/symtab_findbyvalue.c +++ b/libs/libc/symtab/symtab_findbyvalue.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/symtab/symtab_findbyvalue.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/libs/libc/symtab/symtab_sortbyname.c b/libs/libc/symtab/symtab_sortbyname.c index 7a0b7d0bfd..a988e0110c 100644 --- a/libs/libc/symtab/symtab_sortbyname.c +++ b/libs/libc/symtab/symtab_sortbyname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/symtab/symtab_sortbyname.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/libs/libc/syslog/CMakeLists.txt b/libs/libc/syslog/CMakeLists.txt index 8db92ad415..e583e84d69 100644 --- a/libs/libc/syslog/CMakeLists.txt +++ b/libs/libc/syslog/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/syslog/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/libs/libc/syslog/Make.defs b/libs/libc/syslog/Make.defs index c58fb45512..242cd1dd5a 100644 --- a/libs/libc/syslog/Make.defs +++ b/libs/libc/syslog/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/syslog/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/libs/libc/syslog/lib_setlogmask.c b/libs/libc/syslog/lib_setlogmask.c index 5bc70e7c8d..d6398c6c69 100644 --- a/libs/libc/syslog/lib_setlogmask.c +++ b/libs/libc/syslog/lib_setlogmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/syslog/lib_setlogmask.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/libs/libc/syslog/lib_syslog.c b/libs/libc/syslog/lib_syslog.c index 4ff67c7c19..5cdb73c145 100644 --- a/libs/libc/syslog/lib_syslog.c +++ b/libs/libc/syslog/lib_syslog.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/syslog/lib_syslog.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/libs/libc/syslog/syslog.h b/libs/libc/syslog/syslog.h index f05efe8fac..c13c87b6ee 100644 --- a/libs/libc/syslog/syslog.h +++ b/libs/libc/syslog/syslog.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/syslog/syslog.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/libs/libc/termios/CMakeLists.txt b/libs/libc/termios/CMakeLists.txt index eefb89fa0b..71b7381917 100644 --- a/libs/libc/termios/CMakeLists.txt +++ b/libs/libc/termios/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/termios/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/libs/libc/termios/Make.defs b/libs/libc/termios/Make.defs index fcb1dc7f33..3cf99568ac 100644 --- a/libs/libc/termios/Make.defs +++ b/libs/libc/termios/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/termios/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/libs/libc/termios/lib_cfmakeraw.c b/libs/libc/termios/lib_cfmakeraw.c index ea84d4632d..858ace7820 100644 --- a/libs/libc/termios/lib_cfmakeraw.c +++ b/libs/libc/termios/lib_cfmakeraw.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_cfmakeraw.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/libs/libc/termios/lib_cfspeed.c b/libs/libc/termios/lib_cfspeed.c index 79f5025ddd..99b5c98dbc 100644 --- a/libs/libc/termios/lib_cfspeed.c +++ b/libs/libc/termios/lib_cfspeed.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_cfspeed.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/libs/libc/termios/lib_isatty.c b/libs/libc/termios/lib_isatty.c index b88e75b187..7f1b8b792c 100644 --- a/libs/libc/termios/lib_isatty.c +++ b/libs/libc/termios/lib_isatty.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_isatty.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/libs/libc/termios/lib_tcdrain.c b/libs/libc/termios/lib_tcdrain.c index c0e242ab68..852a9af924 100644 --- a/libs/libc/termios/lib_tcdrain.c +++ b/libs/libc/termios/lib_tcdrain.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcdrain.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/libs/libc/termios/lib_tcflow.c b/libs/libc/termios/lib_tcflow.c index 0b5456f6ce..e6429a4d33 100644 --- a/libs/libc/termios/lib_tcflow.c +++ b/libs/libc/termios/lib_tcflow.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcflow.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/libs/libc/termios/lib_tcflush.c b/libs/libc/termios/lib_tcflush.c index 88b35a2bc2..f6b088c0b3 100644 --- a/libs/libc/termios/lib_tcflush.c +++ b/libs/libc/termios/lib_tcflush.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcflush.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/libs/libc/termios/lib_tcgetattr.c b/libs/libc/termios/lib_tcgetattr.c index a1bbcdc3bd..669aa70112 100644 --- a/libs/libc/termios/lib_tcgetattr.c +++ b/libs/libc/termios/lib_tcgetattr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcgetattr.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/libs/libc/termios/lib_tcsendbreak.c b/libs/libc/termios/lib_tcsendbreak.c index 088d177353..b8f89715a8 100644 --- a/libs/libc/termios/lib_tcsendbreak.c +++ b/libs/libc/termios/lib_tcsendbreak.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcsendbreak.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/libs/libc/termios/lib_tcsetattr.c b/libs/libc/termios/lib_tcsetattr.c index 8142087f58..f30c963c32 100644 --- a/libs/libc/termios/lib_tcsetattr.c +++ b/libs/libc/termios/lib_tcsetattr.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_tcsetattr.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/libs/libc/termios/lib_ttyname.c b/libs/libc/termios/lib_ttyname.c index f94a7ca344..cbcfd4a85a 100644 --- a/libs/libc/termios/lib_ttyname.c +++ b/libs/libc/termios/lib_ttyname.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_ttyname.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/libs/libc/termios/lib_ttynamer.c b/libs/libc/termios/lib_ttynamer.c index 6eb7031012..8a30257a3a 100644 --- a/libs/libc/termios/lib_ttynamer.c +++ b/libs/libc/termios/lib_ttynamer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/termios/lib_ttynamer.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/libs/libc/time/CMakeLists.txt b/libs/libc/time/CMakeLists.txt index 5d99f5c0e5..f01d6d86fd 100644 --- a/libs/libc/time/CMakeLists.txt +++ b/libs/libc/time/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/time/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 @@ -17,7 +19,6 @@ # the License. # # ############################################################################## -# ############################################################################## set(SRCS lib_strftime.c diff --git a/libs/libc/time/Make.defs b/libs/libc/time/Make.defs index 65553c6c1c..78d23a911f 100644 --- a/libs/libc/time/Make.defs +++ b/libs/libc/time/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/time/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/libs/libc/time/lib_asctime.c b/libs/libc/time/lib_asctime.c index 5504b037e1..9eb32e83c3 100644 --- a/libs/libc/time/lib_asctime.c +++ b/libs/libc/time/lib_asctime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_asctime.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/libs/libc/time/lib_asctimer.c b/libs/libc/time/lib_asctimer.c index 1d8b58e95d..36ee2d204b 100644 --- a/libs/libc/time/lib_asctimer.c +++ b/libs/libc/time/lib_asctimer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_asctimer.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/libs/libc/time/lib_calendar2utc.c b/libs/libc/time/lib_calendar2utc.c index a476bc7d97..c602ade6a3 100644 --- a/libs/libc/time/lib_calendar2utc.c +++ b/libs/libc/time/lib_calendar2utc.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_calendar2utc.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/libs/libc/time/lib_ctime.c b/libs/libc/time/lib_ctime.c index 7f0c335829..3564d16cd1 100644 --- a/libs/libc/time/lib_ctime.c +++ b/libs/libc/time/lib_ctime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_ctime.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/libs/libc/time/lib_ctimer.c b/libs/libc/time/lib_ctimer.c index 55b4eac1b0..2bb7145f94 100644 --- a/libs/libc/time/lib_ctimer.c +++ b/libs/libc/time/lib_ctimer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_ctimer.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/libs/libc/time/lib_dayofweek.c b/libs/libc/time/lib_dayofweek.c index f2219ef762..ca9ff68e81 100644 --- a/libs/libc/time/lib_dayofweek.c +++ b/libs/libc/time/lib_dayofweek.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_dayofweek.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/libs/libc/time/lib_daysbeforemonth.c b/libs/libc/time/lib_daysbeforemonth.c index ec77378c3d..65334c5686 100644 --- a/libs/libc/time/lib_daysbeforemonth.c +++ b/libs/libc/time/lib_daysbeforemonth.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_daysbeforemonth.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/libs/libc/time/lib_difftime.c b/libs/libc/time/lib_difftime.c index 88efd4d86e..f158b5501e 100644 --- a/libs/libc/time/lib_difftime.c +++ b/libs/libc/time/lib_difftime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_difftime.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/libs/libc/time/lib_gethrtime.c b/libs/libc/time/lib_gethrtime.c index 278aed154e..930a8ebcaf 100644 --- a/libs/libc/time/lib_gethrtime.c +++ b/libs/libc/time/lib_gethrtime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_gethrtime.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/libs/libc/time/lib_gettimeofday.c b/libs/libc/time/lib_gettimeofday.c index fa815fde23..85358311e8 100644 --- a/libs/libc/time/lib_gettimeofday.c +++ b/libs/libc/time/lib_gettimeofday.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_gettimeofday.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/libs/libc/time/lib_gmtime.c b/libs/libc/time/lib_gmtime.c index e98b1600ce..1d2102d931 100644 --- a/libs/libc/time/lib_gmtime.c +++ b/libs/libc/time/lib_gmtime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_gmtime.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/libs/libc/time/lib_gmtimer.c b/libs/libc/time/lib_gmtimer.c index d78d8e2ce6..dfc742bb5b 100644 --- a/libs/libc/time/lib_gmtimer.c +++ b/libs/libc/time/lib_gmtimer.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_gmtimer.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/libs/libc/time/lib_isleapyear.c b/libs/libc/time/lib_isleapyear.c index eedec59aa5..f18e46352f 100644 --- a/libs/libc/time/lib_isleapyear.c +++ b/libs/libc/time/lib_isleapyear.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_isleapyear.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/libs/libc/time/lib_localtime.c b/libs/libc/time/lib_localtime.c index ffefbfd2a9..64e79f2b06 100644 --- a/libs/libc/time/lib_localtime.c +++ b/libs/libc/time/lib_localtime.c @@ -1,19 +1,12 @@ /**************************************************************************** * libs/libc/time/lib_localtime.c * - * Re-released as part of NuttX under the 3-clause BSD license: - * - * Copyright (C) 2014 Gregory Nutt. All rights reserved. - * Ported to NuttX by Max Neklyudov - * Style updates by Gregory Nutt - * - * With these notes: - * - * This file is in the public domain, so clarified as of - * 1996-06-05 by Arthur David Olson. - * - * Leap second handling from Bradley White. - * POSIX-style TZ environment variable handling from Guy Harris. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014 Gregory Nutt. All rights reserved. + * SPDX-FileContributor: Ported to NuttX by Max Neklyudov + * SPDX-FileContributor: Guy Harris + * SPDX-FileContributor: Bradley White + * SPDX-FileContributor: Arthur David Olson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/time/lib_nanosleep.c b/libs/libc/time/lib_nanosleep.c index 1d74f9036b..4d8d0308e4 100644 --- a/libs/libc/time/lib_nanosleep.c +++ b/libs/libc/time/lib_nanosleep.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_nanosleep.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/libs/libc/time/lib_settimeofday.c b/libs/libc/time/lib_settimeofday.c index 5e2e7ea396..dc0a5ab7e4 100644 --- a/libs/libc/time/lib_settimeofday.c +++ b/libs/libc/time/lib_settimeofday.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_settimeofday.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/libs/libc/time/lib_strftime.c b/libs/libc/time/lib_strftime.c index 107c12ca9e..ddb64663a3 100644 --- a/libs/libc/time/lib_strftime.c +++ b/libs/libc/time/lib_strftime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_strftime.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/libs/libc/time/lib_time.c b/libs/libc/time/lib_time.c index 999dbc31b4..67a3701c69 100644 --- a/libs/libc/time/lib_time.c +++ b/libs/libc/time/lib_time.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_time.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/libs/libc/time/lib_timegm.c b/libs/libc/time/lib_timegm.c index cdaf97fb6f..96f23ed5cf 100644 --- a/libs/libc/time/lib_timegm.c +++ b/libs/libc/time/lib_timegm.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_timegm.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/libs/libc/time/lib_timespec_get.c b/libs/libc/time/lib_timespec_get.c index 5add5e5354..3bc0d3aaa1 100644 --- a/libs/libc/time/lib_timespec_get.c +++ b/libs/libc/time/lib_timespec_get.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/time/lib_timespec_get.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/libs/libc/tls/CMakeLists.txt b/libs/libc/tls/CMakeLists.txt index c882c4cb05..70dfba3d7b 100644 --- a/libs/libc/tls/CMakeLists.txt +++ b/libs/libc/tls/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/tls/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/libs/libc/tls/Make.defs b/libs/libc/tls/Make.defs index 788518b709..fd109f59fd 100644 --- a/libs/libc/tls/Make.defs +++ b/libs/libc/tls/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/tls/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/libs/libc/tls/task_getinfo.c b/libs/libc/tls/task_getinfo.c index 4bfad05c6e..4a9a7f63e6 100644 --- a/libs/libc/tls/task_getinfo.c +++ b/libs/libc/tls/task_getinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/task_getinfo.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/libs/libc/tls/task_tls.c b/libs/libc/tls/task_tls.c index 5330e5201e..9a07b59e7a 100644 --- a/libs/libc/tls/task_tls.c +++ b/libs/libc/tls/task_tls.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/task_tls.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/libs/libc/tls/task_tls_destruct.c b/libs/libc/tls/task_tls_destruct.c index 7e068afafe..4bbbba5aec 100644 --- a/libs/libc/tls/task_tls_destruct.c +++ b/libs/libc/tls/task_tls_destruct.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/task_tls_destruct.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/libs/libc/tls/tls_cleanup.c b/libs/libc/tls/tls_cleanup.c index 5ee7bbaa8a..0465dc7318 100644 --- a/libs/libc/tls/tls_cleanup.c +++ b/libs/libc/tls/tls_cleanup.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/tls_cleanup.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/libs/libc/tls/tls_destruct.c b/libs/libc/tls/tls_destruct.c index bf72040bd7..d968d707cb 100644 --- a/libs/libc/tls/tls_destruct.c +++ b/libs/libc/tls/tls_destruct.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/tls_destruct.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/libs/libc/tls/tls_getinfo.c b/libs/libc/tls/tls_getinfo.c index 8f65df48d9..50e4379fcd 100644 --- a/libs/libc/tls/tls_getinfo.c +++ b/libs/libc/tls/tls_getinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/tls/tls_getinfo.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/libs/libc/uio/CMakeLists.txt b/libs/libc/uio/CMakeLists.txt index 645c7d378e..1074488fec 100644 --- a/libs/libc/uio/CMakeLists.txt +++ b/libs/libc/uio/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/uio/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/libs/libc/uio/Make.defs b/libs/libc/uio/Make.defs index eca08968bc..04620764dd 100644 --- a/libs/libc/uio/Make.defs +++ b/libs/libc/uio/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/uio/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/libs/libc/uio/lib_preadv.c b/libs/libc/uio/lib_preadv.c index 427d5124fb..709f89648f 100644 --- a/libs/libc/uio/lib_preadv.c +++ b/libs/libc/uio/lib_preadv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uio/lib_preadv.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/libs/libc/uio/lib_pwritev.c b/libs/libc/uio/lib_pwritev.c index 1203e20f0c..2cd195eff9 100644 --- a/libs/libc/uio/lib_pwritev.c +++ b/libs/libc/uio/lib_pwritev.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uio/lib_pwritev.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/libs/libc/uio/lib_readv.c b/libs/libc/uio/lib_readv.c index 95e7d57b03..c16d0a673b 100644 --- a/libs/libc/uio/lib_readv.c +++ b/libs/libc/uio/lib_readv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uio/lib_readv.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/libs/libc/uio/lib_writev.c b/libs/libc/uio/lib_writev.c index b8df8ff414..79623e64b6 100644 --- a/libs/libc/uio/lib_writev.c +++ b/libs/libc/uio/lib_writev.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uio/lib_writev.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/libs/libc/unistd/CMakeLists.txt b/libs/libc/unistd/CMakeLists.txt index e2b3d28a74..4771e780bd 100644 --- a/libs/libc/unistd/CMakeLists.txt +++ b/libs/libc/unistd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/unistd/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/libs/libc/unistd/Make.defs b/libs/libc/unistd/Make.defs index f15c29b297..bd8aa9f28e 100644 --- a/libs/libc/unistd/Make.defs +++ b/libs/libc/unistd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/unistd/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/libs/libc/unistd/lib_access.c b/libs/libc/unistd/lib_access.c index d35abcdcac..9ad7e421d0 100644 --- a/libs/libc/unistd/lib_access.c +++ b/libs/libc/unistd/lib_access.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_access.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/libs/libc/unistd/lib_alarm.c b/libs/libc/unistd/lib_alarm.c index d6c5dfb337..9df4c0ed5b 100644 --- a/libs/libc/unistd/lib_alarm.c +++ b/libs/libc/unistd/lib_alarm.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_alarm.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/libs/libc/unistd/lib_chdir.c b/libs/libc/unistd/lib_chdir.c index 82438aa812..51b4315a3f 100644 --- a/libs/libc/unistd/lib_chdir.c +++ b/libs/libc/unistd/lib_chdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_chdir.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/libs/libc/unistd/lib_daemon.c b/libs/libc/unistd/lib_daemon.c index 28f9a3fcce..b9e11d24ca 100644 --- a/libs/libc/unistd/lib_daemon.c +++ b/libs/libc/unistd/lib_daemon.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_daemon.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/libs/libc/unistd/lib_execl.c b/libs/libc/unistd/lib_execl.c index 6caf029c9d..4ba1d2dba9 100644 --- a/libs/libc/unistd/lib_execl.c +++ b/libs/libc/unistd/lib_execl.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_execl.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/libs/libc/unistd/lib_execle.c b/libs/libc/unistd/lib_execle.c index a4860c2919..537d1e2d28 100644 --- a/libs/libc/unistd/lib_execle.c +++ b/libs/libc/unistd/lib_execle.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_execle.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/libs/libc/unistd/lib_execv.c b/libs/libc/unistd/lib_execv.c index 59f0bc3491..8448b5c6b2 100644 --- a/libs/libc/unistd/lib_execv.c +++ b/libs/libc/unistd/lib_execv.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_execv.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/libs/libc/unistd/lib_fchdir.c b/libs/libc/unistd/lib_fchdir.c index b59cc66963..19e0794f1f 100644 --- a/libs/libc/unistd/lib_fchdir.c +++ b/libs/libc/unistd/lib_fchdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_fchdir.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/libs/libc/unistd/lib_fchownat.c b/libs/libc/unistd/lib_fchownat.c index a140c669de..8992f65e20 100644 --- a/libs/libc/unistd/lib_fchownat.c +++ b/libs/libc/unistd/lib_fchownat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_fchownat.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/libs/libc/unistd/lib_flock.c b/libs/libc/unistd/lib_flock.c index 8e2b33ef66..9b16956cff 100644 --- a/libs/libc/unistd/lib_flock.c +++ b/libs/libc/unistd/lib_flock.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_flock.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/libs/libc/unistd/lib_fork.c b/libs/libc/unistd/lib_fork.c index dbd3c1470d..5c947e334c 100644 --- a/libs/libc/unistd/lib_fork.c +++ b/libs/libc/unistd/lib_fork.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_fork.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/libs/libc/unistd/lib_fstatvfs.c b/libs/libc/unistd/lib_fstatvfs.c index 18710066cc..5276b03454 100644 --- a/libs/libc/unistd/lib_fstatvfs.c +++ b/libs/libc/unistd/lib_fstatvfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_fstatvfs.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/libs/libc/unistd/lib_futimes.c b/libs/libc/unistd/lib_futimes.c index 30616492f2..f56bfbc538 100644 --- a/libs/libc/unistd/lib_futimes.c +++ b/libs/libc/unistd/lib_futimes.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_futimes.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/libs/libc/unistd/lib_getcwd.c b/libs/libc/unistd/lib_getcwd.c index 6a6bd472a8..94a998900c 100644 --- a/libs/libc/unistd/lib_getcwd.c +++ b/libs/libc/unistd/lib_getcwd.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getcwd.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/libs/libc/unistd/lib_getegid.c b/libs/libc/unistd/lib_getegid.c index 89b6bef988..48cf8fb1c1 100644 --- a/libs/libc/unistd/lib_getegid.c +++ b/libs/libc/unistd/lib_getegid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getegid.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/libs/libc/unistd/lib_getentropy.c b/libs/libc/unistd/lib_getentropy.c index 9c4ec1cf96..078b2e3bbe 100644 --- a/libs/libc/unistd/lib_getentropy.c +++ b/libs/libc/unistd/lib_getentropy.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getentropy.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/libs/libc/unistd/lib_geteuid.c b/libs/libc/unistd/lib_geteuid.c index 4b17ae9617..d17049f420 100644 --- a/libs/libc/unistd/lib_geteuid.c +++ b/libs/libc/unistd/lib_geteuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_geteuid.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/libs/libc/unistd/lib_getgid.c b/libs/libc/unistd/lib_getgid.c index ee6e7623a9..da97bd2fde 100644 --- a/libs/libc/unistd/lib_getgid.c +++ b/libs/libc/unistd/lib_getgid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getgid.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/libs/libc/unistd/lib_gethostname.c b/libs/libc/unistd/lib_gethostname.c index 57dcf734e5..9e0cf5b9e0 100644 --- a/libs/libc/unistd/lib_gethostname.c +++ b/libs/libc/unistd/lib_gethostname.c @@ -1,10 +1,11 @@ /**************************************************************************** * libs/libc/unistd/lib_gethostname.c * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Copyright (C) 2015, 2016 Gregory Nutt. All rights reserved. - * Author: Stavros Polymenis - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileCopyrightText: 2015, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileContributor: Stavros Polymenis + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/unistd/lib_getopt.c b/libs/libc/unistd/lib_getopt.c index bdd34564c2..0f25c95eb5 100644 --- a/libs/libc/unistd/lib_getopt.c +++ b/libs/libc/unistd/lib_getopt.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getopt.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/libs/libc/unistd/lib_getopt_common.c b/libs/libc/unistd/lib_getopt_common.c index cede600c67..014f297071 100644 --- a/libs/libc/unistd/lib_getopt_common.c +++ b/libs/libc/unistd/lib_getopt_common.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getopt_common.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/libs/libc/unistd/lib_getopt_long.c b/libs/libc/unistd/lib_getopt_long.c index b3a8fa4b8c..735cf6af2a 100644 --- a/libs/libc/unistd/lib_getopt_long.c +++ b/libs/libc/unistd/lib_getopt_long.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getopt_long.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/libs/libc/unistd/lib_getopt_longonly.c b/libs/libc/unistd/lib_getopt_longonly.c index cfe49ee80a..e136bfd1c3 100644 --- a/libs/libc/unistd/lib_getopt_longonly.c +++ b/libs/libc/unistd/lib_getopt_longonly.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getopt_longonly.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/libs/libc/unistd/lib_getoptargp.c b/libs/libc/unistd/lib_getoptargp.c index 37034a14dd..000bff36c0 100644 --- a/libs/libc/unistd/lib_getoptargp.c +++ b/libs/libc/unistd/lib_getoptargp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getoptargp.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/libs/libc/unistd/lib_getopterrp.c b/libs/libc/unistd/lib_getopterrp.c index fb02ef1666..6feab79175 100644 --- a/libs/libc/unistd/lib_getopterrp.c +++ b/libs/libc/unistd/lib_getopterrp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getopterrp.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/libs/libc/unistd/lib_getoptindp.c b/libs/libc/unistd/lib_getoptindp.c index 440284b9c9..2a59ac37d4 100644 --- a/libs/libc/unistd/lib_getoptindp.c +++ b/libs/libc/unistd/lib_getoptindp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getoptindp.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/libs/libc/unistd/lib_getoptoptp.c b/libs/libc/unistd/lib_getoptoptp.c index c1615e498a..9a112ee1b4 100644 --- a/libs/libc/unistd/lib_getoptoptp.c +++ b/libs/libc/unistd/lib_getoptoptp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getoptoptp.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/libs/libc/unistd/lib_getoptvars.c b/libs/libc/unistd/lib_getoptvars.c index 49f3b6a559..172f396fc0 100644 --- a/libs/libc/unistd/lib_getoptvars.c +++ b/libs/libc/unistd/lib_getoptvars.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getoptvars.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/libs/libc/unistd/lib_getpgid.c b/libs/libc/unistd/lib_getpgid.c index d09bceb9b2..ddca4d001f 100644 --- a/libs/libc/unistd/lib_getpgid.c +++ b/libs/libc/unistd/lib_getpgid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getpgid.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/libs/libc/unistd/lib_getpgrp.c b/libs/libc/unistd/lib_getpgrp.c index fbc7ecc459..4dcb1208e2 100644 --- a/libs/libc/unistd/lib_getpgrp.c +++ b/libs/libc/unistd/lib_getpgrp.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getpgrp.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/libs/libc/unistd/lib_getpriority.c b/libs/libc/unistd/lib_getpriority.c index 9f3f4a15e5..8f2f7461ea 100644 --- a/libs/libc/unistd/lib_getpriority.c +++ b/libs/libc/unistd/lib_getpriority.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getpriority.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/libs/libc/unistd/lib_getrlimit.c b/libs/libc/unistd/lib_getrlimit.c index c523852ff7..1e4850aafc 100644 --- a/libs/libc/unistd/lib_getrlimit.c +++ b/libs/libc/unistd/lib_getrlimit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getrlimit.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/libs/libc/unistd/lib_getrusage.c b/libs/libc/unistd/lib_getrusage.c index 57d44851ba..d718ed205b 100644 --- a/libs/libc/unistd/lib_getrusage.c +++ b/libs/libc/unistd/lib_getrusage.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getrusage.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/libs/libc/unistd/lib_getuid.c b/libs/libc/unistd/lib_getuid.c index 85ad77ecf2..616e06b68d 100644 --- a/libs/libc/unistd/lib_getuid.c +++ b/libs/libc/unistd/lib_getuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_getuid.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/libs/libc/unistd/lib_linkat.c b/libs/libc/unistd/lib_linkat.c index f0b252095f..cb0729a2c7 100644 --- a/libs/libc/unistd/lib_linkat.c +++ b/libs/libc/unistd/lib_linkat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_linkat.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/libs/libc/unistd/lib_lockf.c b/libs/libc/unistd/lib_lockf.c index 4ceade3cc7..419571748b 100644 --- a/libs/libc/unistd/lib_lockf.c +++ b/libs/libc/unistd/lib_lockf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_lockf.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/libs/libc/unistd/lib_lutimes.c b/libs/libc/unistd/lib_lutimes.c index bc6f5ed4e1..bc7df73c69 100644 --- a/libs/libc/unistd/lib_lutimes.c +++ b/libs/libc/unistd/lib_lutimes.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_lutimes.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/libs/libc/unistd/lib_nice.c b/libs/libc/unistd/lib_nice.c index d3861e4cca..4e02715c64 100644 --- a/libs/libc/unistd/lib_nice.c +++ b/libs/libc/unistd/lib_nice.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_nice.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/libs/libc/unistd/lib_pathconf.c b/libs/libc/unistd/lib_pathconf.c index e572cbf68a..69d750a62f 100644 --- a/libs/libc/unistd/lib_pathconf.c +++ b/libs/libc/unistd/lib_pathconf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_pathconf.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/libs/libc/unistd/lib_posix_fallocate.c b/libs/libc/unistd/lib_posix_fallocate.c index e3bf307bf4..6f50ef37b5 100644 --- a/libs/libc/unistd/lib_posix_fallocate.c +++ b/libs/libc/unistd/lib_posix_fallocate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_posix_fallocate.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/libs/libc/unistd/lib_readlinkat.c b/libs/libc/unistd/lib_readlinkat.c index 85e863b9aa..8d3043b9a7 100644 --- a/libs/libc/unistd/lib_readlinkat.c +++ b/libs/libc/unistd/lib_readlinkat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_readlinkat.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/libs/libc/unistd/lib_restoredir.c b/libs/libc/unistd/lib_restoredir.c index 2a7a49372d..cb6009d91f 100644 --- a/libs/libc/unistd/lib_restoredir.c +++ b/libs/libc/unistd/lib_restoredir.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_restoredir.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/libs/libc/unistd/lib_setegid.c b/libs/libc/unistd/lib_setegid.c index 91be25d350..fc72ca1aa9 100644 --- a/libs/libc/unistd/lib_setegid.c +++ b/libs/libc/unistd/lib_setegid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setegid.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/libs/libc/unistd/lib_seteuid.c b/libs/libc/unistd/lib_seteuid.c index d77579ed79..6d137ea7cd 100644 --- a/libs/libc/unistd/lib_seteuid.c +++ b/libs/libc/unistd/lib_seteuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_seteuid.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/libs/libc/unistd/lib_setgid.c b/libs/libc/unistd/lib_setgid.c index d148e44430..57b70179af 100644 --- a/libs/libc/unistd/lib_setgid.c +++ b/libs/libc/unistd/lib_setgid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setgid.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/libs/libc/unistd/lib_sethostname.c b/libs/libc/unistd/lib_sethostname.c index 4573622243..e80a2417df 100644 --- a/libs/libc/unistd/lib_sethostname.c +++ b/libs/libc/unistd/lib_sethostname.c @@ -1,10 +1,11 @@ /**************************************************************************** * libs/libc/unistd/lib_sethostname.c * - * Copyright (C) 2015 Stavros Polymenis. All rights reserved. - * Copyright (C) 2015, 2016 Gregory Nutt. All rights reserved. - * Author: Stavros Polymenis - * Gregory Nutt + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015 Stavros Polymenis. All rights reserved. + * SPDX-FileCopyrightText: 2015, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileContributor: Stavros Polymenis + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/unistd/lib_setpriority.c b/libs/libc/unistd/lib_setpriority.c index 96213a82a2..ff711abda1 100644 --- a/libs/libc/unistd/lib_setpriority.c +++ b/libs/libc/unistd/lib_setpriority.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setpriority.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/libs/libc/unistd/lib_setregid.c b/libs/libc/unistd/lib_setregid.c index f71fe5770f..0f331e9794 100644 --- a/libs/libc/unistd/lib_setregid.c +++ b/libs/libc/unistd/lib_setregid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setregid.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/libs/libc/unistd/lib_setreuid.c b/libs/libc/unistd/lib_setreuid.c index f4d6b37ee8..f2163a846f 100644 --- a/libs/libc/unistd/lib_setreuid.c +++ b/libs/libc/unistd/lib_setreuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setreuid.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/libs/libc/unistd/lib_setrlimit.c b/libs/libc/unistd/lib_setrlimit.c index 8c00c3fff7..6f21c9110d 100644 --- a/libs/libc/unistd/lib_setrlimit.c +++ b/libs/libc/unistd/lib_setrlimit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setrlimit.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/libs/libc/unistd/lib_setuid.c b/libs/libc/unistd/lib_setuid.c index b6c5efda73..fdd4f53bbe 100644 --- a/libs/libc/unistd/lib_setuid.c +++ b/libs/libc/unistd/lib_setuid.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_setuid.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/libs/libc/unistd/lib_sleep.c b/libs/libc/unistd/lib_sleep.c index 82bec85bed..98a789406f 100644 --- a/libs/libc/unistd/lib_sleep.c +++ b/libs/libc/unistd/lib_sleep.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_sleep.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/libs/libc/unistd/lib_statvfs.c b/libs/libc/unistd/lib_statvfs.c index 449fe56bce..7f7756888b 100644 --- a/libs/libc/unistd/lib_statvfs.c +++ b/libs/libc/unistd/lib_statvfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_statvfs.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/libs/libc/unistd/lib_swab.c b/libs/libc/unistd/lib_swab.c index 2f183ff978..ea72f58a77 100644 --- a/libs/libc/unistd/lib_swab.c +++ b/libs/libc/unistd/lib_swab.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_swab.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/libs/libc/unistd/lib_symlinkat.c b/libs/libc/unistd/lib_symlinkat.c index 6a6d6ee9c1..14ebe44a85 100644 --- a/libs/libc/unistd/lib_symlinkat.c +++ b/libs/libc/unistd/lib_symlinkat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_symlinkat.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/libs/libc/unistd/lib_sysconf.c b/libs/libc/unistd/lib_sysconf.c index a35120e5d1..8683350a9a 100644 --- a/libs/libc/unistd/lib_sysconf.c +++ b/libs/libc/unistd/lib_sysconf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_sysconf.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/libs/libc/unistd/lib_times.c b/libs/libc/unistd/lib_times.c index 7d40a608f6..f6f51f8cef 100644 --- a/libs/libc/unistd/lib_times.c +++ b/libs/libc/unistd/lib_times.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_times.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/libs/libc/unistd/lib_truncate.c b/libs/libc/unistd/lib_truncate.c index 09b664adb8..b328e1246a 100644 --- a/libs/libc/unistd/lib_truncate.c +++ b/libs/libc/unistd/lib_truncate.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_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/libs/libc/unistd/lib_unlinkat.c b/libs/libc/unistd/lib_unlinkat.c index cde938743b..a63acb54e6 100644 --- a/libs/libc/unistd/lib_unlinkat.c +++ b/libs/libc/unistd/lib_unlinkat.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_unlinkat.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/libs/libc/unistd/lib_usleep.c b/libs/libc/unistd/lib_usleep.c index 06a45c4291..5e011d6f90 100644 --- a/libs/libc/unistd/lib_usleep.c +++ b/libs/libc/unistd/lib_usleep.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_usleep.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/libs/libc/unistd/lib_utime.c b/libs/libc/unistd/lib_utime.c index 26491bd958..71e6ff48c8 100644 --- a/libs/libc/unistd/lib_utime.c +++ b/libs/libc/unistd/lib_utime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_utime.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/libs/libc/unistd/lib_utimes.c b/libs/libc/unistd/lib_utimes.c index 16e2945117..4ed8da56a4 100644 --- a/libs/libc/unistd/lib_utimes.c +++ b/libs/libc/unistd/lib_utimes.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_utimes.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/libs/libc/unistd/lib_vfork.c b/libs/libc/unistd/lib_vfork.c index b7e97be38e..c5d9655a76 100644 --- a/libs/libc/unistd/lib_vfork.c +++ b/libs/libc/unistd/lib_vfork.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/lib_vfork.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/libs/libc/unistd/unistd.h b/libs/libc/unistd/unistd.h index 86c5c90ab2..ca2a23eb85 100644 --- a/libs/libc/unistd/unistd.h +++ b/libs/libc/unistd/unistd.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/unistd/unistd.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/libs/libc/userfs/CMakeLists.txt b/libs/libc/userfs/CMakeLists.txt index 96b737d465..0d01a98434 100644 --- a/libs/libc/userfs/CMakeLists.txt +++ b/libs/libc/userfs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/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/libs/libc/userfs/Make.defs b/libs/libc/userfs/Make.defs index 9d68d946a0..198c0c210c 100644 --- a/libs/libc/userfs/Make.defs +++ b/libs/libc/userfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/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/libs/libc/userfs/lib_userfs.c b/libs/libc/userfs/lib_userfs.c index 6ff6d6c83c..886f1fbfb0 100644 --- a/libs/libc/userfs/lib_userfs.c +++ b/libs/libc/userfs/lib_userfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/userfs/lib_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/libs/libc/uuid/CMakeLists.txt b/libs/libc/uuid/CMakeLists.txt index 13f02a6070..e200814a15 100644 --- a/libs/libc/uuid/CMakeLists.txt +++ b/libs/libc/uuid/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/uuid/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/libs/libc/uuid/Make.defs b/libs/libc/uuid/Make.defs index f5ef98740d..ec27c66ee4 100644 --- a/libs/libc/uuid/Make.defs +++ b/libs/libc/uuid/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/uuid/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/libs/libc/uuid/lib_uuid_compare.c b/libs/libc/uuid/lib_uuid_compare.c index 56a70a56b8..016b942f2d 100644 --- a/libs/libc/uuid/lib_uuid_compare.c +++ b/libs/libc/uuid/lib_uuid_compare.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_compare.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/libs/libc/uuid/lib_uuid_create.c b/libs/libc/uuid/lib_uuid_create.c index 41b61828b5..41262bd5aa 100644 --- a/libs/libc/uuid/lib_uuid_create.c +++ b/libs/libc/uuid/lib_uuid_create.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_create.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/libs/libc/uuid/lib_uuid_create_nil.c b/libs/libc/uuid/lib_uuid_create_nil.c index 3c0a5f36b6..a7d0e9695a 100644 --- a/libs/libc/uuid/lib_uuid_create_nil.c +++ b/libs/libc/uuid/lib_uuid_create_nil.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_create_nil.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/libs/libc/uuid/lib_uuid_equal.c b/libs/libc/uuid/lib_uuid_equal.c index 59977f742d..d23326ab6b 100644 --- a/libs/libc/uuid/lib_uuid_equal.c +++ b/libs/libc/uuid/lib_uuid_equal.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_equal.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/libs/libc/uuid/lib_uuid_from_string.c b/libs/libc/uuid/lib_uuid_from_string.c index d1b10c6246..ca4104a04d 100644 --- a/libs/libc/uuid/lib_uuid_from_string.c +++ b/libs/libc/uuid/lib_uuid_from_string.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_from_string.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/libs/libc/uuid/lib_uuid_hash.c b/libs/libc/uuid/lib_uuid_hash.c index 27915fae31..8140c8d094 100644 --- a/libs/libc/uuid/lib_uuid_hash.c +++ b/libs/libc/uuid/lib_uuid_hash.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_hash.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/libs/libc/uuid/lib_uuid_is_nil.c b/libs/libc/uuid/lib_uuid_is_nil.c index f907e1c11c..79eb60ac96 100644 --- a/libs/libc/uuid/lib_uuid_is_nil.c +++ b/libs/libc/uuid/lib_uuid_is_nil.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_is_nil.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/libs/libc/uuid/lib_uuid_stream.c b/libs/libc/uuid/lib_uuid_stream.c index 1f03f36183..0d4949ea5e 100644 --- a/libs/libc/uuid/lib_uuid_stream.c +++ b/libs/libc/uuid/lib_uuid_stream.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_stream.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/libs/libc/uuid/lib_uuid_to_string.c b/libs/libc/uuid/lib_uuid_to_string.c index 614d01fb77..fead51a318 100644 --- a/libs/libc/uuid/lib_uuid_to_string.c +++ b/libs/libc/uuid/lib_uuid_to_string.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/uuid/lib_uuid_to_string.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/libs/libc/wchar/CMakeLists.txt b/libs/libc/wchar/CMakeLists.txt index 8f53373b60..1bdd3cbb76 100644 --- a/libs/libc/wchar/CMakeLists.txt +++ b/libs/libc/wchar/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/wchar/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/libs/libc/wchar/Make.defs b/libs/libc/wchar/Make.defs index 1ff33ba725..c43484f4c8 100644 --- a/libs/libc/wchar/Make.defs +++ b/libs/libc/wchar/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/wchar/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/libs/libc/wchar/lib_btowc.c b/libs/libc/wchar/lib_btowc.c index 48ddff6cd6..4c46590cfc 100644 --- a/libs/libc/wchar/lib_btowc.c +++ b/libs/libc/wchar/lib_btowc.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_btowc.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_mbrlen.c b/libs/libc/wchar/lib_mbrlen.c index 60b327a33f..fd9441f90b 100644 --- a/libs/libc/wchar/lib_mbrlen.c +++ b/libs/libc/wchar/lib_mbrlen.c @@ -1,14 +1,10 @@ /**************************************************************************** * libs/libc/wchar/lib_mbrlen.c * - * Copyright (c) 2002-2004 Tim J. Robbins. - * All rights reserved. - * - * Copyright (c) 2011 The FreeBSD Foundation - * All rights reserved. - * - * Portions of this software were developed by David Chisnall - * under sponsorship from the FreeBSD Foundation. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2002-2004 Tim J. Robbins. All rights reserved. + * SPDX-FileCopyrightText: 2011 The FreeBSD Foundation,All rights reserved. + * SPDX-FileContributor: David Chisnall * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_mbrtowc.c b/libs/libc/wchar/lib_mbrtowc.c index 2f2f79ade8..3efe93290b 100644 --- a/libs/libc/wchar/lib_mbrtowc.c +++ b/libs/libc/wchar/lib_mbrtowc.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_mbrtowc.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_mbsinit.c b/libs/libc/wchar/lib_mbsinit.c index 39288edb9c..a4eead868b 100644 --- a/libs/libc/wchar/lib_mbsinit.c +++ b/libs/libc/wchar/lib_mbsinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_mbsinit.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/libs/libc/wchar/lib_mbsnrtowcs.c b/libs/libc/wchar/lib_mbsnrtowcs.c index c81356f261..907fb1c017 100644 --- a/libs/libc/wchar/lib_mbsnrtowcs.c +++ b/libs/libc/wchar/lib_mbsnrtowcs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_mbsnrtowcs.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/libs/libc/wchar/lib_mbsrtowcs.c b/libs/libc/wchar/lib_mbsrtowcs.c index 947477b79a..178999abfe 100644 --- a/libs/libc/wchar/lib_mbsrtowcs.c +++ b/libs/libc/wchar/lib_mbsrtowcs.c @@ -1,14 +1,10 @@ /**************************************************************************** * libs/libc/wchar/lib_mbsrtowcs.c * - * Copyright (c) 2002-2004 Tim J. Robbins. - * All rights reserved. - * - * Copyright (c) 2011 The FreeBSD Foundation - * All rights reserved. - * - * Portions of this software were developed by David Chisnall - * under sponsorship from the FreeBSD Foundation. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2002-2004 Tim J. Robbins. All rights reserved. + * SPDX-FileCopyrightText: 2011 The FreeBSD Foundation. All rights reserved. + * SPDX-FileContributor: David Chisnall * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_swprintf.c b/libs/libc/wchar/lib_swprintf.c index fd0b41fd5e..0261f360e6 100644 --- a/libs/libc/wchar/lib_swprintf.c +++ b/libs/libc/wchar/lib_swprintf.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_swprintf.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/libs/libc/wchar/lib_wcrtomb.c b/libs/libc/wchar/lib_wcrtomb.c index e2a0a575e6..17e8a7e302 100644 --- a/libs/libc/wchar/lib_wcrtomb.c +++ b/libs/libc/wchar/lib_wcrtomb.c @@ -1,32 +1,22 @@ /**************************************************************************** * libs/libc/wchar/lib_wcrtomb.c * - * This code is derived from software contributed to Berkeley by - * Chris Torek. + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. + * Licensed to the Apache Software 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 * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * 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/libs/libc/wchar/lib_wcscat.c b/libs/libc/wchar/lib_wcscat.c index b94cb3c2c7..aef83ad757 100644 --- a/libs/libc/wchar/lib_wcscat.c +++ b/libs/libc/wchar/lib_wcscat.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcscat.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcschr.c b/libs/libc/wchar/lib_wcschr.c index 5bc3dc03a1..0e9904cc13 100644 --- a/libs/libc/wchar/lib_wcschr.c +++ b/libs/libc/wchar/lib_wcschr.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcschr.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcscmp.c b/libs/libc/wchar/lib_wcscmp.c index a41a051c54..9cc5060b50 100644 --- a/libs/libc/wchar/lib_wcscmp.c +++ b/libs/libc/wchar/lib_wcscmp.c @@ -1,32 +1,22 @@ /**************************************************************************** * libs/libc/wchar/lib_wcscmp.c * - * This code is derived from software contributed to Berkeley by - * Chris Torek. + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. + * Licensed to the Apache Software 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 * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * 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/libs/libc/wchar/lib_wcscoll.c b/libs/libc/wchar/lib_wcscoll.c index 153f3dabed..3aba7b8fac 100644 --- a/libs/libc/wchar/lib_wcscoll.c +++ b/libs/libc/wchar/lib_wcscoll.c @@ -1,32 +1,22 @@ /**************************************************************************** * libs/libc/wchar/lib_wcscoll.c * - * This code is derived from software contributed to Berkeley by - * Chris Torek. + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. + * Licensed to the Apache Software 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 * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * 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/libs/libc/wchar/lib_wcscpy.c b/libs/libc/wchar/lib_wcscpy.c index 694140c31b..649233d489 100644 --- a/libs/libc/wchar/lib_wcscpy.c +++ b/libs/libc/wchar/lib_wcscpy.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcscpy.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcscspn.c b/libs/libc/wchar/lib_wcscspn.c index 087345803c..8997bc7e40 100644 --- a/libs/libc/wchar/lib_wcscspn.c +++ b/libs/libc/wchar/lib_wcscspn.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcscspn.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsftime.c b/libs/libc/wchar/lib_wcsftime.c index e156172ddf..e399bd8e6c 100644 --- a/libs/libc/wchar/lib_wcsftime.c +++ b/libs/libc/wchar/lib_wcsftime.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsftime.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/libs/libc/wchar/lib_wcslcat.c b/libs/libc/wchar/lib_wcslcat.c index 867b0371b6..aead124d2a 100644 --- a/libs/libc/wchar/lib_wcslcat.c +++ b/libs/libc/wchar/lib_wcslcat.c @@ -2,9 +2,7 @@ * libs/libc/wchar/lib_wcslcat.c * * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 1998 Todd C. Miller - * All rights reserved. + * SPDX-FileCopyrightText: 1998 Todd C. Miller * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -28,8 +26,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp - * ****************************************************************************/ /**************************************************************************** diff --git a/libs/libc/wchar/lib_wcslcpy.c b/libs/libc/wchar/lib_wcslcpy.c index ece59aea21..3dd658d19f 100644 --- a/libs/libc/wchar/lib_wcslcpy.c +++ b/libs/libc/wchar/lib_wcslcpy.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcslcpy.c * - * Copyright (c) 1998 Todd C. Miller - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 1998 Todd C. Miller * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcslen.c b/libs/libc/wchar/lib_wcslen.c index c510e48f7f..966b2146e6 100644 --- a/libs/libc/wchar/lib_wcslen.c +++ b/libs/libc/wchar/lib_wcslen.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcslen.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -26,8 +26,6 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * citrus Id: wcslen.c,v 1.1 1999/12/29 21:47:45 tshiozak Exp - * ****************************************************************************/ /**************************************************************************** diff --git a/libs/libc/wchar/lib_wcsncat.c b/libs/libc/wchar/lib_wcsncat.c index c96a628991..5308959a29 100644 --- a/libs/libc/wchar/lib_wcsncat.c +++ b/libs/libc/wchar/lib_wcsncat.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsncat.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsncmp.c b/libs/libc/wchar/lib_wcsncmp.c index 1c2e19dd9b..19209c2cfd 100644 --- a/libs/libc/wchar/lib_wcsncmp.c +++ b/libs/libc/wchar/lib_wcsncmp.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsncmp.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsncpy.c b/libs/libc/wchar/lib_wcsncpy.c index c064a460da..d214eb9ab5 100644 --- a/libs/libc/wchar/lib_wcsncpy.c +++ b/libs/libc/wchar/lib_wcsncpy.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsncpy.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsnrtombs.c b/libs/libc/wchar/lib_wcsnrtombs.c index a0f8c4aafa..bc56cb00e0 100644 --- a/libs/libc/wchar/lib_wcsnrtombs.c +++ b/libs/libc/wchar/lib_wcsnrtombs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsnrtombs.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/libs/libc/wchar/lib_wcspbrk.c b/libs/libc/wchar/lib_wcspbrk.c index e82785221f..4934c8892f 100644 --- a/libs/libc/wchar/lib_wcspbrk.c +++ b/libs/libc/wchar/lib_wcspbrk.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcspbrk.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsrchr.c b/libs/libc/wchar/lib_wcsrchr.c index 6c4215a7b1..59968e675f 100644 --- a/libs/libc/wchar/lib_wcsrchr.c +++ b/libs/libc/wchar/lib_wcsrchr.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsrchr.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsrtombs.c b/libs/libc/wchar/lib_wcsrtombs.c index ad0625c89d..70e6768a09 100644 --- a/libs/libc/wchar/lib_wcsrtombs.c +++ b/libs/libc/wchar/lib_wcsrtombs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsrtombs.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/libs/libc/wchar/lib_wcsspn.c b/libs/libc/wchar/lib_wcsspn.c index 54f59de426..36a0d859c3 100644 --- a/libs/libc/wchar/lib_wcsspn.c +++ b/libs/libc/wchar/lib_wcsspn.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsspn.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsstr.c b/libs/libc/wchar/lib_wcsstr.c index 15496703ef..6b04680df7 100644 --- a/libs/libc/wchar/lib_wcsstr.c +++ b/libs/libc/wchar/lib_wcsstr.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsstr.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcstod.c b/libs/libc/wchar/lib_wcstod.c index 55ae599dfa..95443b70dd 100644 --- a/libs/libc/wchar/lib_wcstod.c +++ b/libs/libc/wchar/lib_wcstod.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstod.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstof.c b/libs/libc/wchar/lib_wcstof.c index 1109d8d866..7000176bf7 100644 --- a/libs/libc/wchar/lib_wcstof.c +++ b/libs/libc/wchar/lib_wcstof.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstof.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstok.c b/libs/libc/wchar/lib_wcstok.c index 12d3693ac0..56e04ef8e1 100644 --- a/libs/libc/wchar/lib_wcstok.c +++ b/libs/libc/wchar/lib_wcstok.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstok.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcstol.c b/libs/libc/wchar/lib_wcstol.c index d1649fb10f..650a64ae0e 100644 --- a/libs/libc/wchar/lib_wcstol.c +++ b/libs/libc/wchar/lib_wcstol.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstol.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstold.c b/libs/libc/wchar/lib_wcstold.c index 27ddc4df4c..033562c202 100644 --- a/libs/libc/wchar/lib_wcstold.c +++ b/libs/libc/wchar/lib_wcstold.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstold.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstoll.c b/libs/libc/wchar/lib_wcstoll.c index 8fb78494ce..66102b4813 100644 --- a/libs/libc/wchar/lib_wcstoll.c +++ b/libs/libc/wchar/lib_wcstoll.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstoll.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstoul.c b/libs/libc/wchar/lib_wcstoul.c index bb903e9684..3db98d9a6d 100644 --- a/libs/libc/wchar/lib_wcstoul.c +++ b/libs/libc/wchar/lib_wcstoul.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstoul.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcstoull.c b/libs/libc/wchar/lib_wcstoull.c index 6f4ac5a16c..4072fdbfd7 100644 --- a/libs/libc/wchar/lib_wcstoull.c +++ b/libs/libc/wchar/lib_wcstoull.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcstoull.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wcswcs.c b/libs/libc/wchar/lib_wcswcs.c index 7fca39f5ff..d4f1487cc8 100644 --- a/libs/libc/wchar/lib_wcswcs.c +++ b/libs/libc/wchar/lib_wcswcs.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcswcs.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcswidth.c b/libs/libc/wchar/lib_wcswidth.c index 5df340b4c1..cd0556e08c 100644 --- a/libs/libc/wchar/lib_wcswidth.c +++ b/libs/libc/wchar/lib_wcswidth.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcswidth.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wcsxfrm.c b/libs/libc/wchar/lib_wcsxfrm.c index 9d89be974c..076d9cd06a 100644 --- a/libs/libc/wchar/lib_wcsxfrm.c +++ b/libs/libc/wchar/lib_wcsxfrm.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcsxfrm.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wctob.c b/libs/libc/wchar/lib_wctob.c index 3ceae8f149..75950d1eeb 100644 --- a/libs/libc/wchar/lib_wctob.c +++ b/libs/libc/wchar/lib_wctob.c @@ -1,32 +1,22 @@ /**************************************************************************** * libs/libc/wchar/lib_wctob.c * - * This code is derived from software contributed to Berkeley by - * Chris Torek. + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. + * Licensed to the Apache Software 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 * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * 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/libs/libc/wchar/lib_wcwidth.c b/libs/libc/wchar/lib_wcwidth.c index 4ce10a2f68..2c2ca57dad 100644 --- a/libs/libc/wchar/lib_wcwidth.c +++ b/libs/libc/wchar/lib_wcwidth.c @@ -1,7 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wcwidth.c * - * Copyright © 2005-2014 Rich Felker, et al. + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/libs/libc/wchar/lib_wmemchr.c b/libs/libc/wchar/lib_wmemchr.c index e2d061413a..5b334fe645 100644 --- a/libs/libc/wchar/lib_wmemchr.c +++ b/libs/libc/wchar/lib_wmemchr.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wmemchr.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wmemcmp.c b/libs/libc/wchar/lib_wmemcmp.c index d4e52d453c..002c526419 100644 --- a/libs/libc/wchar/lib_wmemcmp.c +++ b/libs/libc/wchar/lib_wmemcmp.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wmemcmp.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wmemcpy.c b/libs/libc/wchar/lib_wmemcpy.c index 3e7839d814..acbcc5889e 100644 --- a/libs/libc/wchar/lib_wmemcpy.c +++ b/libs/libc/wchar/lib_wmemcpy.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wmemcpy.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wmemmove.c b/libs/libc/wchar/lib_wmemmove.c index a853125b7d..5382c4dbe9 100644 --- a/libs/libc/wchar/lib_wmemmove.c +++ b/libs/libc/wchar/lib_wmemmove.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wmemmove.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wchar/lib_wmemset.c b/libs/libc/wchar/lib_wmemset.c index 8871ac9bd8..881d93799b 100644 --- a/libs/libc/wchar/lib_wmemset.c +++ b/libs/libc/wchar/lib_wmemset.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wchar/lib_wmemset.c * - * Copyright (c)1999 Citrus Project, - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 1999 Citrus Project, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/libs/libc/wctype/CMakeLists.txt b/libs/libc/wctype/CMakeLists.txt index d02a0b4b17..216ac09680 100644 --- a/libs/libc/wctype/CMakeLists.txt +++ b/libs/libc/wctype/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/wctype/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/libs/libc/wctype/Make.defs b/libs/libc/wctype/Make.defs index 9b00d7dd2f..3902938d9a 100644 --- a/libs/libc/wctype/Make.defs +++ b/libs/libc/wctype/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/wctype/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/libs/libc/wctype/lib_iswctype.c b/libs/libc/wctype/lib_iswctype.c index 034ea9b799..ec4932677c 100644 --- a/libs/libc/wctype/lib_iswctype.c +++ b/libs/libc/wctype/lib_iswctype.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wctype/lib_iswctype.c * - * Copyright (c) 2002 Red Hat Incorporated. - * All rights reserved. + * SPDX-License-Identifier: TwistedSNMP + * SPDX-FileCopyrightText: 2002 Red Hat Incorporated. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/wctype/lib_towlower.c b/libs/libc/wctype/lib_towlower.c index a73aba896b..a176ed989f 100644 --- a/libs/libc/wctype/lib_towlower.c +++ b/libs/libc/wctype/lib_towlower.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wctype/lib_towlower.c * - * Copyright (c) 2002 Red Hat Incorporated. - * All rights reserved. + * SPDX-License-Identifier: TwistedSNMP + * SPDX-FileCopyrightText: 2002 Red Hat Incorporated. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/wctype/lib_towupper.c b/libs/libc/wctype/lib_towupper.c index 230cbc79bc..6dc4a928b2 100644 --- a/libs/libc/wctype/lib_towupper.c +++ b/libs/libc/wctype/lib_towupper.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wctype/lib_towupper.c * - * Copyright (c) 2002 Red Hat Incorporated. - * All rights reserved. + * SPDX-License-Identifier: TwistedSNMP + * SPDX-FileCopyrightText: 2002 Red Hat Incorporated. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/wctype/lib_wctype.c b/libs/libc/wctype/lib_wctype.c index 08338380b2..607de8c53f 100644 --- a/libs/libc/wctype/lib_wctype.c +++ b/libs/libc/wctype/lib_wctype.c @@ -1,8 +1,8 @@ /**************************************************************************** * libs/libc/wctype/lib_wctype.c * - * Copyright (c) 2002 Red Hat Incorporated. - * All rights reserved. + * SPDX-License-Identifier: TwistedSNMP + * SPDX-FileCopyrightText: 2002 Red Hat Incorporated. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are diff --git a/libs/libc/wqueue/CMakeLists.txt b/libs/libc/wqueue/CMakeLists.txt index de316df159..d7bb84c380 100644 --- a/libs/libc/wqueue/CMakeLists.txt +++ b/libs/libc/wqueue/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/wqueue/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/libs/libc/wqueue/Make.defs b/libs/libc/wqueue/Make.defs index a743ae2e3a..d20b68a38c 100644 --- a/libs/libc/wqueue/Make.defs +++ b/libs/libc/wqueue/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/wqueue/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/libs/libc/wqueue/work_cancel.c b/libs/libc/wqueue/work_cancel.c index 839e204af1..4a86335c2e 100644 --- a/libs/libc/wqueue/work_cancel.c +++ b/libs/libc/wqueue/work_cancel.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wqueue/work_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/libs/libc/wqueue/work_queue.c b/libs/libc/wqueue/work_queue.c index 5972fd78c2..0a00bf6f2e 100644 --- a/libs/libc/wqueue/work_queue.c +++ b/libs/libc/wqueue/work_queue.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wqueue/work_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/libs/libc/wqueue/work_usrthread.c b/libs/libc/wqueue/work_usrthread.c index ccf942e389..8e4c679217 100644 --- a/libs/libc/wqueue/work_usrthread.c +++ b/libs/libc/wqueue/work_usrthread.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wqueue/work_usrthread.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/libs/libc/wqueue/wqueue.h b/libs/libc/wqueue/wqueue.h index 6a58b5052d..c262693b1f 100644 --- a/libs/libc/wqueue/wqueue.h +++ b/libs/libc/wqueue/wqueue.h @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/wqueue/wqueue.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/libs/libc/zoneinfo/CMakeLists.txt b/libs/libc/zoneinfo/CMakeLists.txt index 736c09fe1e..f71a341b60 100644 --- a/libs/libc/zoneinfo/CMakeLists.txt +++ b/libs/libc/zoneinfo/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # libs/libc/zoneinfo/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/libs/libc/zoneinfo/Makefile b/libs/libc/zoneinfo/Makefile index 0fd1c68eef..746afcc9dc 100644 --- a/libs/libc/zoneinfo/Makefile +++ b/libs/libc/zoneinfo/Makefile @@ -1,6 +1,8 @@ ############################################################################ # libs/libc/zoneinfo/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/libs/libc/zoneinfo/tzromfs.c b/libs/libc/zoneinfo/tzromfs.c index 0cccc2b1e4..74ac44c3aa 100644 --- a/libs/libc/zoneinfo/tzromfs.c +++ b/libs/libc/zoneinfo/tzromfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * libs/libc/zoneinfo/tzromfs.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