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 a1e7de67cd9..55971ac8d53 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 747962c36ae..e07442cbb04 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 dca2b3ce5e3..dd1ce6fc06a 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 17e725fec76..de770cf04ab 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 e29d3c5c0d9..9d8250d475a 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 f0d3268399e..067bdb7bad3 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 ec1dd817cd3..f3a8f5192a0 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 295600d5a62..cc40c87145b 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 d54e5e25261..06cb72e1145 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 3c5978f7d3e..e633f74f83e 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 843b3793e5f..c55c2ea2ac0 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 557a933b6b3..4a71163d55a 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 0e2a15136fc..e9e5ebedcc9 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 8fad7032437..48a63a493dd 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 2c55d725d53..b2c1798e090 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 ef248df4ae1..b1b2cab22dc 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 a22ecc0e30f..3872a0a3344 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 aed6918d12a..ec0de2c9338 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 8b137891791..fea4d0ab13c 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 53b8d74ba7c..735ba9133f2 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 acb822b1313..1be9f03b462 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 b9c864e2900..afb284e18c7 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 eaa7bd28fd4..9fc1345edef 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 1c7dddbd57b..e845798f004 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 3ea5fe77e91..c3a7e132d58 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 612cc9e5e26..75693a9a29f 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 a88fd6d72be..a4fd549632e 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 113618b1c15..2b354d7c99a 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 5aa9af6c7cf..0fd352e9dad 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 c77b2b4d41b..ffa4a9dc7ca 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 86c42727530..c189c4fad81 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 b11e069906e..72638694ae4 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 64eaa83d54f..581ccab7135 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 d1065649d91..a1d1b1ac066 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 c1db283f71d..52f86e13f1d 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 b1e206ddd5d..59506f8fa7c 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 5800c517594..2194c11e227 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 69926f6fd69..6350b369757 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 b6825a8b0df..2f2764233cf 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 9fcec045551..ddbdffeb32e 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 0c7c2afaa50..a48f863ebfe 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 5139b087a11..a9df0005883 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 699c4939309..0a971f9106c 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 56796c322f1..f430f7b09a7 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 6187358ecc2..da999f6985e 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 d65ac4e3641..621c5a7bbb1 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 7cd5ba0e265..d220462a304 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 d50f7cc1427..f9834a5c872 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 2ef7192f4be..47257112331 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 5fe02ec499e..83a41876e1f 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 05c4435004a..c4c04cb1c65 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 f98d9ce0406..717cebec8e4 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 be0f213c6db..6176e13d5bb 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 1d5284f1003..420124df2a7 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 4f737429ecd..0a70f708d04 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 3212ff41dee..dad8372ac76 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 5438463ec91..80c587ea8d6 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 1df09269375..e7cbf472d32 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 b181c985468..fdea97bdc4d 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 380517ce247..c734ff1d243 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 28b7ac2d2c8..fd547498be8 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 e3739ee4c5e..5eb840b0761 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 bd80526c6de..b2e880df02d 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 76d4a50a5da..6d2efb2342d 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 731b1c2bedd..9e6b12859a6 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 d505ef25409..b0ba15da86f 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 aff1a7bf9a6..766ee73a3d4 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 342d18fe982..81d7a739c6b 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 b0fbc3db650..0a4ed4aaa48 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 5308e6c699c..ef9d4679a05 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 9b1a2df0642..3a2a7ba1153 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 3e108eb1edf..125d860e603 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 405fe2c1c7c..1ef7aa1d932 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 30144fc8450..299ef2909d2 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 99230fb234b..37dbf01e90f 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 d16c868b1ba..b6dcf9dc2c7 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 08ad68da109..30a86253e7b 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 a1167cc388e..1aeb614765f 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 d84801c6d56..6264c0a71c6 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 116b02573b1..edbf9a860f9 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 81e0e07dc3b..ecf173eca05 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 1e99195bfb5..8906cd05a7a 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 f25f9b2ee76..77bf730709a 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 9d9f03071e2..9b8cd828b84 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 7cc20ed082f..1f4061e4ca3 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 b99e8b33481..65916c40a0a 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 342da15283c..94e4d213802 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 00000000000..707acb79f8e --- /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 77c2180c805..922601726ae 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 1cdde7aa466..b97d6486b8e 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 ba07a779786..36fd985882d 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 608ac77d942..2b90285413b 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 13e1074003d..83312f9b56f 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 45b6027caa8..7680a6f2ba0 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 69a177b35d8..d0b90ca83a1 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 15e10a8ed78..6f999169521 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 b586d57b1b6..80bbd3b25de 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 403b6d20525..f6348dd779e 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 cd2327f6516..be36cedc23c 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 5ec225b5be4..976229757a3 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 fdb891a7f80..867cd3ff38e 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 d03fc5e6e3d..a7dbf0efb05 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 3f6829e2f73..124c0b36221 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 0ef1f0b57f3..5329ba96095 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 34ee54a6b60..28e1082a4ed 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 2303199f877..9d4d477e1b0 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 1a37a311b8f..085825cf7a5 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 f9bd6bd2a09..1494d18ba8b 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 365b9c289e5..7a4a53c7aa6 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 aaf5f6dbfba..1865e3a378b 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 48c7e7661ef..a8539966d31 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 b248bd7fe08..f6cb8a289ee 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 86055bd2164..77ae3ca2295 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 b3c58e1a9be..ea4d15c6da8 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 c81586eff77..d6e2240e479 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 8b137891791..50be8cb28f4 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 5933968a813..90cb1895b9d 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 b531fa87ff7..a6a6cca2606 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 738bb2aa6f6..575320b4b83 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 9984c238204..8300dbcf191 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 2ea74965dd2..a31d188e51f 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 71346f3999b..7b80bd635d0 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 4612ab584f5..ddd27c9427a 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 0dbb1a099e0..06944e940b1 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 038499c482e..fd10f249cf2 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 9c0bd39802a..ebc55faa57e 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 cbeeba0b651..5a86302510c 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 4239915f15c..9ba81c8e01f 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 ff98991a8ba..e385baeaba9 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 3561f49ec22..80612996d0c 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 1e007531dd5..e19d3159234 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 0407bfa7bd2..659104e4ffa 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 ee2b5c471ef..c1314822ca1 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 28c6a57742e..bd49a4254c6 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 b14dbacbcce..f34a3052392 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 8dcc4c6b122..fa911df6845 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 216dc68dc69..a6c91121509 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 97c985d1807..5bd34812cec 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 bb003e3112f..89abb89e3e5 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 8c82ae76c29..e2453d9b4e6 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 fef258e718a..5da80f452c4 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 03a5a9d0eef..8b16ef6bcf9 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 5b5a8fc14b0..f8268d09eb6 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 8f0dac51f5f..d79eb596faa 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 3152f6fb14a..a115694e878 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 15df78478c8..4082148e389 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 60cdd38cb91..9d102e736a0 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 853c53ffca1..cea39937390 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 4c4fefcfb7c..63b2ce84983 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 e35a78a17a6..38543b0ed4c 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 7744719bb99..6b7aa39f40e 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 b0ccaef7e85..fa7d0d010d9 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 35eac2aed2a..562a34371d0 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 04e43cf12a9..72f76e3af93 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 c98e483e220..eb3facd3556 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 2bd393448ee..21fe55e2703 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 7d9cf89bbac..877910ff015 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 d09d459af15..375e459369c 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 1d8839d2920..f0ab5b93e9a 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 022ce9e2e38..d62c444fa92 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 10f7b2b9af2..48fc8d8e1a6 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 e86b8964532..dd1301f641e 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 6c074eeaf97..70ce38bd7ed 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 b035c9c2a21..27c23d7e19b 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 c90bd0bf1de..ff3e65c3688 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 e949ec4bc40..45c799f95c2 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 46705f5a74a..8da4d54ad45 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 f3c25481b83..85b4c650884 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 40d54311627..6666e124892 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 30de5bdb232..d8646285b3b 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 5371db28a27..162f023cee7 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 dbbedfb4da9..0492afcb648 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 1814051cc79..2e5e509f37e 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 8ddfda18126..1937762bf18 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 f37c67f7034..b9464069a9b 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 5c6f334d005..51c5c593f32 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 f05e58dbfc6..07a58048051 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 b0a5da5378e..097766fe194 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 f37d922158a..47fe6263ecc 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 5a67b9e6eab..21e73a24515 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 75deb3a05c3..419e556a3db 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 809f82fe6e1..39626072aca 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 744df7e7e44..bb38110912c 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 772a454e8a0..1f10f8fe5f1 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 23338bbb04c..ca469f1ac39 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 3975ef21989..c6eba597972 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 58f460736e2..0fc4f9382be 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 e4b05354061..3b451566c44 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 61195fc07ec..59b31d292d5 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 6eab622d916..1ed1b48a005 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 59f2a767aa0..448236cc268 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 d197f8cb02d..7d2505ced3c 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 77a26adfdd8..63284d8784d 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 e36d5ab3e68..1a00ba590dc 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 4ab3b07cbc4..5ff5a520142 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 08cabb0ff20..aea54d1551b 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 c9c085d732f..785f58fa3f6 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 41d8032762c..b3211575b7e 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 2d556c22b25..706109b6b34 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 c764133ae2b..f323ba36bc0 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 e8413de279f..7c526e5c0c5 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 14da7530cdb..47855372e93 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 ce9dc50d35d..d58e401d485 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 b43e3534135..fc7d4e96d14 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 90ae531f8f3..c6a1c020b5a 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 697369126a1..eb842226277 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 41698d9a06b..9fb829971df 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 feceb217fc8..c20d265afaf 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 3bb27ffc71d..02febd19eaa 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 d52736008d5..bf1c817c377 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 bcf8a7dab18..e045cf7628b 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 f6013e648d5..cf057788704 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 473447c293d..c35dd56dc8c 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 00000000000..866fe62b9d9 --- /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 a99c83e7cc4..0f7f906e43e 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 00000000000..5f88d2dfe5e --- /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 4e8aa5a1bf7..7418badeeea 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 2a6aae972a2..f50719ccebe 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 e51d810eb12..f4d9d172c17 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 8e826bddc53..98d99a4f1cf 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 8cbcd06bfa2..f4e18e48679 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 66fc5ee991a..188ffac6b51 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 0a9a4fd8f84..af531aaf3b6 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 a52ebf5f5f3..5a104231fb9 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 b98a9d23422..b5c534fe9d4 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 afc140ae1bf..c4159a62538 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 2b4aabac142..673cb9c0b13 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 9b33b6c8155..9d0a85b3ea2 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 8b137891791..345f73fd8aa 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 22ccff0bdb1..f221e532146 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 867d95179f7..86a2ea4dacb 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 bba6f23a612..752b96b9c54 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 31e0e834727..6159be9fdb0 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 8279776be68..538a71b7d1c 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 fea6140dc46..15f0b55abe7 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 e9bdef6a05f..439e21331a0 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 b8758c653b9..70c2730833d 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 cc747f8f8a9..62c15ff3552 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 00000000000..9f837b61167 --- /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 183c2dce77d..8746571c0b3 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 49f6fff6308..3044a75191b 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 d863e3d92f2..dc98b2b2e42 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 1aa14b66294..130386ba95a 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 35e5857d925..7a397eb1485 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 947b9b131d8..8511218a994 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 3c9e94ca898..67807c391fc 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 e30495401a0..120b9ca0041 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 7da06ed0d1e..41eebe26b14 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 c2d4ed8331e..9c4ab0431b3 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 e4b8a724ca4..23027ce9034 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 16abf918188..93c368eb59b 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 3b39b0cbd4e..c293b15717b 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 1b6961c83e9..3341aed23e5 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 d9a2bd8eb66..2d3189800da 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 cff948d7919..f478623cf6d 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 f76031554fc..6ca704ba568 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 4b75831b78b..b112a643e7c 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 7164518fd91..380fb1b58da 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 b0128a7d018..157e97735ee 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 d13d9d3c723..b17877cf2a5 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 42ad3c09eb9..e87851a7daa 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 444e36f27cd..3ff2433b677 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 25fbb0291fe..0f46f6c712a 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 78fb412c7c3..3f38e09fe01 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 3e7558b2de6..c9911dc7f1b 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 a92e33d1847..a75898a6a5d 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 658635fd10a..f9e15d9cfb4 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 896766e3a04..7ef503f50de 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 b60add35dc5..8f085fc22dd 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 a3fabd8e077..7bc67827c95 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 24efd7bc1b9..a2e53b91eaf 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 27c9eb4687c..429ef7b4dd5 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 17625dcb92f..5073f2b8ee7 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 99137635c5f..9c7def8634f 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 00fb6810d2f..8dc028c0e6e 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 9089921011b..2369fec786c 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 c0f0d6a3f30..bb919a485c0 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 a35ff44eaa5..171b9a17cdb 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 9612823561f..e041d9ce4f7 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 e464157fd4d..e5e817d1484 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 6ad3989b136..8c4296d3046 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 c23e687306d..320eabc148f 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 8ad84a54c97..e5081483a04 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 b5d998aedbd..d71542a6e9a 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 ffdbb970713..0d7aaaaa080 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 0693e2871c1..75ae82fd0d2 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 6c383777962..00bb820cb8e 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 7d08687d3bd..286a7876049 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 73a4ed13aeb..70d551a3825 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 ff0c8351079..a8a27c5f88a 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 90fb3969d84..55c975594ea 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 c2a96817fb3..65186a39b04 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 504e98dfe6b..f14d3b751da 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 628aa652cb5..f85dd59b34f 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 7e2e8947fec..e736ee7dcf1 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 99003aa4bb8..f9660719d82 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 a5c704149f7..20022ea2a33 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 7e457c71a8e..b7f930301fd 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 80cc96af0b3..565c5419ae9 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 f6eebe5815f..eb799603fe1 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 9e2593874a9..e86811bd172 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 1c98bf1fecf..a7c95e23e8a 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 a6e12ce7f7e..dc340057391 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 e16af3b3b87..767acb09ff6 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 dac910a9884..b743a55f1aa 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 d64bc8bef08..d4e381772fe 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 31234e93767..6b5745503f7 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 d53ed4f52d4..58d1dac1d4e 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 b94a5f8af1a..4fe18b25237 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 db99dbdb661..df306096d35 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 bbe3551ef08..407f08ae641 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 c4a3bb859fa..afb70a6c779 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 bbf960d8899..6e0acc9245a 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 a1c5fc8a4be..683e3d331be 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 9ce18d73503..9c35df7fc50 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 3bc299b496c..834b48901f7 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 df3f5221123..9d29ee438ac 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 f47b03f518e..4cee9b5b185 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 57de1898706..4be2278cb0e 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 216418dc35f..9a306a0e28b 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 77446ba2196..5bb8a2618cd 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 70991bb729e..c59ed5aaf36 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 aa8cb03f845..d1e340b6510 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 693d9253136..ca8ab618f88 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 09f7b9f1386..ffc75244623 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 415afa24545..a1453f1929f 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 dac0d8b677d..5a6d8f715cd 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 df8e2267d6f..65503aeee86 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 989bd8ea944..4c16ace4565 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 2ae7064f327..77fc671e7fe 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 3bda6f70ca4..8d557bbc7fe 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 e1606b6772c..7372cad4fea 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 8b6f1d01009..c9f5c222cfc 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 9b436744ef9..74043cc5a42 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 89443250e49..51703c6c608 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 0f7eaf40e39..258597ae63c 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 4319ae01c27..a458fdabe51 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 6b269c98058..6f1c709cdb3 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 1c99e9c9ae6..f9b75f7f225 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 4aaae3a1b93..0d36f97ccf8 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 498b5054b06..5f8a65e5373 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 beef1eebab3..8f0fb09b895 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 1453ec98990..3e8dacd0aef 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 917f6b4958b..25f99736f25 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 247d5cf6143..7cf0b4fa696 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 03e27e032b4..e7b34c604ee 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 7cd9de6d482..e6c22edf761 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 981e2a8fd1e..9d36cc79d09 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 d1aea6b1fa3..4f59c438a8f 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 f14620cf089..0c4652056ef 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 3cee4348bfa..8b7e17fc489 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 fa7c8ee0672..c0b4eb81abe 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 c6f5832be72..8fb739265b7 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 7f6bac68f14..198f0613ae5 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 28a158d3f68..039ffbdad3d 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 f4c36817b03..27bc2e12148 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 aab68f471e9..b1dd24fc20f 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 48f4c96cfb7..6901b0a976f 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 2e68969e7f7..36d1693d5be 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 d88c1f3a463..27e3f864f20 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 49f6f2ec40d..7a722e9a0de 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 8f1a00bc0ae..92c6e16bb81 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 73661408d85..1c8c9714a32 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 ebef3c64727..f3bfda38591 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 acd547f1498..bc6adcd850f 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 13f8b786b92..3bbb288ab30 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 4778918c131..03dbe89265f 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 15afc6a1a03..5d5cba7eca4 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 dc672cab9b7..64343dacc19 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 0fb0acd8bfa..dbaf10e3b51 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 724759dcd96..e2ef39409a2 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 a85d08a6b83..344dcb63b31 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 42a91c25c73..fa22eba519c 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 8adc63817bb..c8962a06c28 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 c4b7d751b01..3bca87c6aa0 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 41f7b28461b..39f7beef4cd 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 5f1d0b53f70..6003c278816 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 40f40c844e6..8385ca563e3 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 50c71a79f59..b32d17ad4d4 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 23b3e911a4d..a61893e56ba 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 12601851039..6f6d989a79e 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 e29dccacafb..81074013a89 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 fb7e40b29b1..ec39eea2f4f 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 4ce1dc7c263..2c312dab2af 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 98a69483bc5..07daeff12c4 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 a01e79db790..0564278075a 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 cfb39aa5208..34c948ca2bc 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 93b982d334b..cb5ddbac034 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 56b147b955a..7bdea95e235 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 0e2e69f5505..380cf700694 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 8afa5a2bd10..8049bd5dd77 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 2abb3326018..ad46bfc78d0 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 5a65034c973..e2014614134 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 d1e486db130..1e82b4da1ee 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 36884da502c..4a879b1ace1 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 6a03821e588..4218e7c1b5b 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 191143ee7f7..45e8512e4f0 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 cac204bfb48..3c60c43e946 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 a727272ac42..327285ef303 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 a616d402de8..a1fe9fee71c 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 41184ed58bb..862202f7164 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 25e78d53129..59cd305cee3 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 a44dae6c7f7..544828cd43c 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 b4d4a0a60ec..03bb762888c 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 494df98b5cb..4881c2c6d19 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 43acdb00df5..3e71eb584bd 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 8692a271d33..21a64149fdb 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 e6aa9a79558..2d23d0d7dc9 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 00000000000..c8b3a04129f --- /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 c163af89897..da434ff5678 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 928526f74fa..02b4bcff2f8 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 407b3880af2..84e1dd5181e 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 18f72548991..0f3207bd93f 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 5cf1595b5a4..7480f486db7 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 6d5437de00a..751d471c75c 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 e0ac2cb55c5..3f40f8445ab 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 369fe476d4d..498983e0537 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 673fc22b3d3..c06d83110cd 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 8382ad5dc50..06bed9cd0e5 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 1906856fd7c..fa6665a94b8 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 c8bf13ad2fc..4bb23509c50 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 74cfcc804a3..8fde9481517 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 1afc3089643..c0c93e53926 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 2e35623b9ec..bedc3051d1b 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 167bc00d3d9..2f39a9b3fe2 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 d0b5e7a8476..fa69fd39ba7 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 5a1ab52f2ab..9cc1082cb89 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 8dae7f02630..1b2183550cd 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 dc4e327057f..e26291d607c 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 d27d55db2ed..6e9b146cdc9 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 40a5cf3019b..74ce4a0efef 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 382c333b4ca..22997a819a5 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 dfb0c496359..6d73578dc72 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 a54a214f182..7628b2b1215 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 4a35a9f4220..38d50599cb2 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 0b0ba13d79f..edcb4525327 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 56b3dc2dc2b..97dcf3d9fd9 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 7831d5f7adb..283453ce3af 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 a35021a1cfa..cdc7cdf050a 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 1669fccfb12..605da54f713 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 02ef7642cb4..ef7c84112d8 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 c4a338a8e2f..1655dace713 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 3e164d41ed2..0af7dc2ee87 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 225a891f980..614a54b7ceb 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 9c68a36d794..dff7269c80a 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 d2cfd5dc75f..0b902933757 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 f3de28de17a..689ee7a4023 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 ccfaaf8fa91..35e82eebadd 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 22c7bea7204..8fef4fb28c1 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 e632babff90..e5fa1a6d669 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 9b8d3cbab2c..73ef4704942 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 11625f5c4cd..b390ff089b4 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 86253444b5f..5ff90ed72ec 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 2687c75d533..835d7d7e689 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 827996b5aac..86d7ad16983 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 e8d37edd80a..a73a17e4aaf 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 4f85ff0d74d..3e5b50f64ee 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 d420374f557..5249034e404 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 0697d2d0869..1380bd60189 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 2e589a7d4f5..321fef98aee 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 806a8bc4614..c27c63be01b 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 9a218d17774..d4f133b948d 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 1f7437cbb15..42522477bfe 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 b9e8d692c4a..6c87140361c 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 25b430650f8..412ddf8200b 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 a8a570b46ac..5e5d083fa30 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 248f337274c..734985100e1 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 a3fa78acffe..029739426ed 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 ab29c6d2acd..68676925696 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 b1a2e620473..20cc56b93d6 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 7199f5112b3..81e16ec48dc 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 f82aec64bba..f819dd98e0a 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 6cf16bcdbfa..594f5e7301a 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 67683c679ea..bcd509a8185 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 e621227c903..27f3d52bf28 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 88afc3473c9..fb2484fa9a5 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 04751883d62..f98af46605b 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 01cefa6b9ab..824995d03db 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 7c518a59448..a413a7876b6 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 c883d6bb371..65e00096353 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 2d42135e662..cccb7bd181e 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 89efc64736d..22be04959f8 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 5fd58e9b824..469eb961185 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 66c9a9f722e..b03172bcf8f 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 dd011ebd0a3..96c9ee3dfa1 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 9233891ab8c..a0578948c25 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 ab8019718fe..e9f58cd6665 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 86dd7228cbf..7a774994959 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 189748be554..14cef9f263c 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 8d3a38f1780..0f7292e365c 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 73c3f9e2856..9f173fe4844 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 46e7b85c0fc..ca000268789 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 6260a5fcae5..057d180e0f6 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 ecf4e368009..cb9d3d056bb 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 3bec7cad096..5f0162ca6c3 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 2005d2317e1..b83b3177864 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 634c5c20c3e..e87310ce407 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 3b7c102e09e..4c5866847be 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 adea78cbaec..fbc9328ad58 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 68dcd9bf10f..3d4066d17f2 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 7e24ab812ae..0728f77d4a1 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 226610b3e16..3b4939e1228 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 9b0f422cead..4bd9847f315 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 6af9074b572..a2a72341ec7 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 8eb480b236f..65b18e337d2 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 e1639684b12..cae7ddc91b9 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 6d6333ebb93..f763baa1fdc 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 5cfa14da9d7..8368eed1d2a 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 7d85f91dd07..91e259718f5 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 26486b0bed4..1139210bfbb 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 d1bf0d67374..b91e2a34cc5 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 8cda336a6a2..d5c21aabc33 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 eba4798e56a..bb32683aac2 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 582672990a8..049666c0f79 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 7b477cdee2a..ce349549e79 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 08dde30f8fd..f9f80d88eaa 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 f6488d60e79..38ef84adc59 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 0f55f6548fd..4b2c3b5fd65 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 a3a6ade67d3..cb050c5e4c6 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 e08bd764800..0b70b7c1aca 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 e023c9012fa..a15566e1c6c 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 4f329cb4135..15fc2a44005 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 600b3c3ed78..ef96542c4e6 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 721cb2be9c7..9a30e1f2ed8 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 0a9dfb8427a..060f82cbc13 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 88908c13735..78f663f7c98 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 9ac9b62626c..afa160122f1 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 a32a3249459..6f1fa76bace 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 83816fd2915..da8588d1fa9 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 fe73f29e745..d40caf0f477 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 3da1f344133..6d373175c64 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 ab0fb86a1b2..ad7f6cb97fa 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 d832d703dad..35f02c53ff0 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 fec6a729d3c..3045e412fc5 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 e5fd5d13fd1..c8db4327ce1 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 8f2d362f0ec..e1c3fb58cb0 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 b15cd807f29..e29f95e4c43 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 e329dc69206..ad5cc23870f 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 dcad4e4e87d..f151d204aeb 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 a723be05f9a..f35d2d33fa0 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 6173cbcd5c3..0514428abbd 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 3c32686e944..a1a309073f5 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 a22ea40bb3a..38f703120a8 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 c237121085b..ed4df891a4b 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 f3ea5c3dd6b..c746c3a84a6 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 13f835f1ec4..f64a06ea2a5 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 687c924fb15..970eac72a3a 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 afb7492b679..b967da80ae3 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 4658dcc1b50..7d6eb730bcd 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 ecd28888140..9ea59c93998 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 2e4331779d1..a55c1c6889b 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 64800616158..9fac69aec77 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 38dbd172e75..6c466c3f0ae 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 b5b75884ad8..194f5fa1ef5 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 e74c92b8420..37facb0b1f8 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 a0daa11b5ca..3c51a38d0c5 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 093360e1415..31a896d61c4 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 ed3ebdcde54..bbbdaea2478 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 1b48d69623b..775bf28dd71 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 55e5df3b990..7eba496abee 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 1e3c1dceea1..98603e290c9 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 77f2f856e28..f78c14d1739 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 21d2a5a95e5..0e137411b0c 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 8edadd42e54..70a21aa0fe9 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 3b3b2290620..7d42a239add 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 b2bcc2c3422..57d00c70fb5 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 e9c8e5f038c..4f4c18fe641 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 57474dff46b..018592b4cc9 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 aa0d5415547..29d6a960667 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 dd5ddec5b0f..98be75e5084 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 9f88bee9ec8..8f08ddfda7a 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 ed990b740cc..2d4c5b775b9 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 ad97ac9c1e3..23b8563c44f 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 cc3e0d43067..676b95ce228 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 874a160242d..b98ff271eb0 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 d605a920277..0b760c728c3 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 e1869f64fd7..f0c2d5008e0 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 b5b8d9a242b..78ae7180879 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 d253cb4d79f..ffef2bb6fc0 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 edb8b14b215..63b0cab3715 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 6bada1a38f5..4402f80c269 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 17bbbcc02b9..f5a847a9d02 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 cf283d78490..42502aa491d 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 3b78f6bc1f0..ae2f23c7469 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 d16191042b3..8ed40cf2ef2 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 ede4744b448..b4df7f54af7 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 cec9d219d42..55ad9bf9053 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 b91fc3815aa..10579ef0ce8 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 783c3714e49..4d72a305a72 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 d6bb22e7ccb..c56375d9d32 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 d45efe86b3e..5823a565497 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 e7c87339fb5..779705a24bc 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 00d62ad53ad..ea7b66fd9c8 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 a31dea99613..81fbb6ba05e 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 70e558cd01d..d993e2cc10e 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 36798c85402..20b29092987 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 fbbb98d686d..6118c379355 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 cb1261e06ae..306e68d1a98 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 c417dab7d94..9997f750e6e 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 a02aebf837d..a347a992bec 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 c0f5c395259..7278fc08630 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 e176f598654..be085ce1fa6 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 058c8b8228b..537f8f5902e 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 0aa2dc84eec..042b53a524c 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 deeb7f0bcbd..15cb2d727e1 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 9a864362021..b940ba07b7a 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 58697a61209..bf88260aae1 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 6a3aeecb213..66bbd8bfc27 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 b3aea25785b..ea98f9847e7 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 97010510113..8d0b5989d1e 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 247d27bdffb..dc7d9811d44 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 8f89bae2098..a62fd9d2ebe 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 c38594746f3..5f61a8f2434 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 ce062d6fdc6..72b6563e4f4 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 faee4a973e7..43f2adb5537 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 9d617d40ec8..ba46015fdc1 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 47bd57874f8..4ae66ff6c14 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 76ccb7dbf87..63ec9b14ca1 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 d09e1dff1e7..ab6e2ce890d 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 98b28ed417b..cee301e1f28 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 b87015fb03e..dcbde85dcba 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 32ecf8c16d3..93522581ebe 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 5c461f4e3d3..2a7358c6d20 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 2a4f19cfe3a..88ad21b069c 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 6a77e77d8e4..f2eecfd1d1c 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 e39ca9560d1..2f81d781581 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 463669fde00..5215abf3088 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 c90d6bdc986..a32e57fe6fe 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 95248999284..846c50f4bbf 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 1576ee41f75..08812223845 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 ce96e4659f4..7efdad0d192 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 8d7585830e0..b243e94cc4d 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 ac7c06f8ee2..4a971bb2fef 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 4ae8b50538c..4bb300b08c5 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 c3e3fa56f40..c114c19d2e8 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 71d4f3f6de7..304426c3e87 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 9b94a64f01e..51ed2d63c5b 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 b9b52dbd3e6..cefb5660e20 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 3e511eabd7c..bae36feea83 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 9dd5dcfe4b1..8f48b59dab6 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 cf8062840f8..72002ffc41e 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 6e6a063e5f5..a0ac40ffc09 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 dc40fb578a8..668ad12b6b8 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 735302105e5..0d4c9341f99 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 0856ccfa341..7f09d0a8d0e 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 693f43ef77b..b322412b6dd 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 5904c85e333..4034661d8a6 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 46c3acd2c82..3eaed14caa3 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 c39d4471a40..c35c86b4a47 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 fb9a26584ff..bcb9c02fd6c 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 df8870f706b..8b91d9fa632 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 714d561d4d9..a6dda523b37 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 22815168a55..0f1f8da350a 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 2e268a0200a..a0fcb347668 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 cb07f262cec..c50191ff569 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 f13c5b8dce2..a0e355b6933 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 f8b60b27c75..be82451d8d7 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 9b56854e3d0..1ce4f93195e 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 6e00bb53625..37a6535de05 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 df412adc3f8..7775cc6c123 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 5b16b48c09b..fdfca626a0b 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 da73e1eed1e..f232ab042de 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 34911c09117..e0402aceeee 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 777973e17cc..eef98b5e063 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 60e74e1eb15..da93099b56e 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 2d93482598d..7c787fb735e 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 00162b72754..8dbe32f9474 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 97a9ea95530..e993667e2c0 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 f6d45fc458e..b51a5a83942 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 f55221954b1..9fc4d162217 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 43911641c0d..c4761fc6c0d 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 5b5f275cf84..59f2cbc33d7 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 c455b1dbc43..5242c1ee800 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 99abe268a6c..f1e3319cf30 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 e488eaf5c8c..fadc4d71c06 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 349a1de7faa..4444310d9f0 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 5df2292ee87..16e44833df2 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 0d880f64b2b..27a3a113124 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 0277cfdd210..3231dbf176d 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 6884f36f73b..68a625b6bf2 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 1536828e5d0..6d2951aaf2f 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 3349713496a..87226472cca 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 7151905eb44..def08537a54 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 1965c09c555..779db9c61c7 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 e4804466b69..b40c431e7bd 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 ae35b966dc3..8c4aeabaf98 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 b297a2f9506..52a3792945a 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 1b9827c0b14..76b3c68c211 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 d3ea7bc53b1..fcd8b9185ed 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 257640a788c..5f00137a3ac 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 aef59231569..d7c7349eb43 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 511acccc6e9..a9963d2acb9 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 9106b41b7a3..8ecd148225f 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 eeb0e1652e8..fd980a99ee1 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 bd491059d4a..e87590c557b 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 292056ce76e..8b81e07813c 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 b474a63ac9f..aae5df4a98b 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 6be4a0c2fad..8a35242fc4a 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 0280ac7959c..32603882b63 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 f2a21cd7da3..a0cde9ee289 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 4f719d4a045..3294bfdc36e 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 e15508493e9..4f41a2ec8ac 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 7926406bcdf..eed90564b58 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 53bcebc99a0..f04e43744b9 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 b2cfceaed2f..5a3322c412c 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 3c75173b8f2..9e04a3dd384 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 4181464e50f..5c48e6dd8f3 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 d1d6ba84ed6..31bc867ea05 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 e42a0654cb6..300970cd914 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 ad8f112680e..3c322b67ca4 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 818056a8317..af02d989ed4 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 e45438b301c..3d371f2e7d9 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 eb244e2a242..33ead76aff6 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 a1eb52dbbc6..9f19614a3c6 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 0f8f9ff01e3..3cb7338fbe7 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 9b095e7c076..62784603cb8 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 5eb29cdf435..a2efd8d6d95 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 34ba598d221..b81944756d4 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 64fe2c1a33b..3ead67b0c86 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 41a6c4f670a..37c9b6dc975 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 3ea8de49c9b..4a951961299 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 59e7a146fca..19c84a12ca9 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 1c64f2ef74c..6f65bfed25d 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 aca6861129e..e742daa105e 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 6e8056108d6..24f74dc5740 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 f4f8e5ef9d4..82ccf554582 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 170db5d7e6a..ddf92bcbe19 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 cf8343f7979..8a342d37238 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 23611da9f69..b05878acc22 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 5d083d06aa3..a5a3f6e961d 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 1931a9891db..7810883a560 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 596f244cb61..3973e1ac73d 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 ac20b9583ab..3b5cc7a3273 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 a517ad856e6..9e78ae814c1 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 d994ddfc45f..56a20992bdf 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 d495b4a70f0..05dc917d1a8 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 cc7025afd6d..0dadec7c3c9 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 b3b68045163..e3ac64f920f 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 aab8eb8b657..c792344a0e1 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 1c72cf7e921..1114663eea8 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 3b19a9daf9e..e0520df72b8 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 855ed1c9041..dcf0aca52aa 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 fc6b53ad7b1..8c6fb41b268 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 e9ae093d3e5..729411f2ad3 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 666f3f57567..14be9be081c 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 305a0fc4e26..ae9c9f5443e 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 02e07960739..d3ffe6a300b 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 2854980c9b0..7bdcc891773 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 61dc0bc0b64..063381231e8 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 cd69b31eef9..c93e0bf197b 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 5bc248e0142..ffefea7cace 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 a43d9af8502..a26bfa1b278 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 473a2e312eb..c4b05767ed0 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 9186938df50..17b3bf2945d 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 d6146c3138a..08e62352caa 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 ecfd6940f84..2187c5e42cc 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 abdc58d5c7b..229a78d8dc1 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 def2fad8e37..effdd1e6bb7 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 de18b073b91..c3f57399eec 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 0f39fe41284..02d4e0181d9 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 c90598985e5..5eb798caf7d 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 e29b75949df..72d77550c4b 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 319486da5d2..a81efa2a379 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 40f4ac12725..ae7094ec2bf 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 8e168ffa55d..672346180d3 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 0af0488c741..a86dab9e430 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 02886d68614..c3a23314702 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 de99b9b9a38..23354004cdf 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 e8af6d39d7d..495a7ba99cf 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 55f4202a14d..051e15c2229 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 c893384de29..289316b29cd 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 54989a901cd..0f8ac1d451f 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 a0dfeace4ea..e73ad424650 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 ca8f7ce433e..05f2cd8c824 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 3ee8feff64e..19cb9832d7c 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 b7a8a884ccb..35b591ef059 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 11e07b1a59d..ad7c4ba5c76 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 e5ff8188a71..feb170a46f4 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 6c0f8b5c9c0..8c754fa285c 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 c81e3e68967..155cd65757c 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 e62745ccf91..14320935497 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 c9d5b772ae4..4780b463fd8 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 e9f1773ebbf..283e5650cf2 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 7eb42429b4f..2c24e3256f9 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 7f3efadac1f..251cbf7bbad 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 2d6748f83e1..c1ff6ae1e85 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 73d8afdba44..f698731ca5a 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 aec9e60af6b..fd6d43383a6 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 1869800ff36..57c128034f5 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 6e32e48e00b..9a8f4a69d68 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 bca6ced43e1..1a00a41ee42 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 6988a452562..87fb1cd0c58 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 027f4af88bb..3874e7b0901 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 0854df4b763..04688520125 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 f4e99c9fbbd..47a57e62625 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 2375ee0177c..29e23eb73fb 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 0f025b95f61..7a00211c541 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 38095366c06..ae1a9cbfb91 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 1095c34e652..acbc1f3a459 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 2e2c88525fc..1bfcfd052a6 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 9ccddaff167..9962ca29ab4 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 6795c7e5ef0..7dcc5e4ee8c 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 a0a5d4ac75f..98538abbb50 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 b70be79f5d3..d8433b695c7 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 e4e09f7b9ae..f445d5f99a2 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 c5bed809305..31d49db4733 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 bf11193d13d..38c73c3a481 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 7a8211ef0a4..1b68641aa44 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 c22e5be6df9..e92b4ad5890 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 70454d2ba36..5fab598ac62 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 625d8532fd8..1aa2dbd619f 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 6be5edd3294..d96aabb331a 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 81f471f2971..21eb8abb49a 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 da0fca9ea2d..594f01a4812 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 efd18df965e..d3efd339975 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 98ff2652945..4abe2d18bd1 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 3028e1d459a..e46c7abbcea 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 6bfd2a599d7..3e36df4ff53 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 130d0ced093..1db4ee9ab1a 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 44cf5cc648b..bf162a75016 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 b52aa92d8a1..84944431726 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 526f802494e..d19afc743bc 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 f40fa5dfb19..0ec9d1cd75f 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 3f216851733..048dc5b6c24 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 65443e04859..f9cd903e660 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 d61d14afc4d..5451e85ee90 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 9f3efe79c41..d3dc9fe9fea 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 55487f15882..2602902144f 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 6ab59e2d27b..91076c58cea 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 20dd8d481e0..07e9e11a820 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 c150ffde3dd..a92fd2cd9e7 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 8356358fd0b..8e7dd19ec58 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 d567382c41a..733021f75a6 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 021d49d80b4..5d720bb8025 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 436d0c5dbb0..b2dd9ae5458 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 7efa80c5ead..ecc503dd185 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 eaed5a0bb74..037aa46d3bd 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 7a0b7d0bfda..a988e0110c1 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 8db92ad415d..e583e84d692 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 c58fb45512e..242cd1dd5af 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 5bc70e7c8df..d6398c6c69c 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 4ff67c7c198..5cdb73c145e 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 f05efe8facd..c13c87b6eed 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 eefb89fa0bf..71b73819174 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 fcb1dc7f33a..3cf99568ac8 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 ea84d4632d8..858ace7820c 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 79f5025ddd7..99b5c98dbce 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 b88e75b1871..7f1b8b792c1 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 c0e242ab687..852a9af924d 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 0b5456f6ce8..e6429a4d331 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 88b35a2bc27..f6b088c0b3c 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 a1bbcdc3bdd..669aa70112e 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 088d1773535..b8f89715a89 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 8142087f585..f30c963c322 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 f94a7ca3447..cbcfd4a85a6 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 6eb70310122..8a30257a3ae 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 5d99f5c0e54..f01d6d86fd7 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 65553c6c1cd..78d23a911fb 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 5504b037e17..9eb32e83c33 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 1d8b58e95d8..36ee2d204b3 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 a476bc7d970..c602ade6a36 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 7f0c335829c..3564d16cd13 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 55b4eac1b03..2bb7145f947 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 f2219ef7624..ca9ff68e815 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 ec77378c3d5..65334c5686c 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 88efd4d86e3..f158b5501ed 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 278aed154e3..930a8ebcafb 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 fa815fde237..85358311e85 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 e98b1600ce9..1d2102d931e 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 d78d8e2ce63..dfc742bb5bb 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 eedec59aa56..f18e46352fe 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 ffefbfd2a94..64e79f2b06d 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 1d74f9036b2..4d8d0308e48 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 5e2e7ea396f..dc0a5ab7e43 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 107c12ca9e5..ddb64663a36 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 999dbc31b4f..67a3701c692 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 cdaf97fb6f0..96f23ed5cfc 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 5add5e5354d..3bc0d3aaa1d 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 c882c4cb05f..70dfba3d7b2 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 788518b709c..fd109f59fd8 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 4bfad05c6ef..4a9a7f63e6b 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 5330e5201e6..9a07b59e7ae 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 7e068afafe2..4bbbba5aecb 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 5ee7bbaa8ab..0465dc7318f 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 bf72040bd71..d968d707cba 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 8f65df48d91..50e4379fcd2 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 645c7d378e4..1074488fec1 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 eca08968bcd..04620764ddf 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 427d5124fb3..709f89648f1 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 1203e20f0ca..2cd195eff94 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 95e7d57b031..c16d0a673bd 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 b8df8ff414d..79623e64b64 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 e2b3d28a74c..4771e780bd3 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 f15c29b2977..bd8aa9f28e0 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 d35abcdcacc..9ad7e421d09 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 d6c5dfb337a..9df4c0ed5be 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 82438aa8121..51b4315a3f2 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 28f9a3fcce1..b9e11d24ca9 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 6caf029c9d3..4ba1d2dba93 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 a4860c29195..537d1e2d28f 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 59f0bc34916..8448b5c6b22 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 b59cc66963c..19e0794f1f5 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 a140c669deb..8992f65e200 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 8e2b33ef66f..9b16956cffb 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 dbd3c1470d9..5c947e334c5 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 18710066cc7..5276b034544 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 30616492f2a..f56bfbc538c 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 6a6bd472a8a..94a998900c8 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 89b6bef988b..48cf8fb1c13 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 9c4ec1cf969..078b2e3bbed 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 4b17ae96170..d17049f4205 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 ee6e7623a9c..da97bd2fde5 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 57dcf734e5d..9e0cf5b9e09 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 bdd34564c21..0f25c95eb56 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 cede600c677..014f2970716 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 b3a8fa4b8cd..735cf6af2a7 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 cfe49ee80ab..e136bfd1c31 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 37034a14dd9..000bff36c07 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 fb02ef16663..6feab79175d 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 440284b9c9b..2a59ac37d44 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 c1615e498a2..9a112ee1b40 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 49f3b6a559c..172f396fc03 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 d09bceb9b28..ddca4d001f8 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 fbc7ecc4594..4dcb1208e2c 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 9f3f4a15e5e..8f2f7461ea3 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 c523852ff7d..1e4850aafc5 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 57d44851ba3..d718ed205ba 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 85ad77ecf2f..616e06b68d7 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 f0b252095f6..cb0729a2c79 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 4ceade3cc73..419571748b1 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 bc6f5ed4e13..bc7df73c69a 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 d3861e4ccae..4e02715c640 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 e572cbf68af..69d750a62f5 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 e3bf307bf42..6f50ef37b50 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 85e863b9aa1..8d3043b9a72 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 2a7a49372dd..cb6009d91f6 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 91be25d3502..fc72ca1aa93 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 d77579ed791..6d137ea7cda 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 d148e444307..57b70179af0 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 45736222435..e80a2417df4 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 96213a82a28..ff711abda11 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 f71fe5770fe..0f331e97940 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 f4d6b37ee84..f2163a846fe 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 8c00c3fff79..6f21c9110da 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 b6c5efda731..fdd4f53bbe3 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 82bec85bedc..98a789406fa 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 449fe56bced..7f7756888b4 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 2f183ff978f..ea72f58a772 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 6a6d6ee9c10..14ebe44a858 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 a35120e5d1a..8683350a9a1 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 7d40a608f65..f6f51f8cefe 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 09b664adb89..b328e1246a6 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 cde938743bd..a63acb54e67 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 06a45c4291f..5e011d6f900 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 26491bd9583..71e6ff48c86 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 16e29451178..4ed8da56a48 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 b7e97be38ee..c5d9655a76c 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 86c5c90ab2e..ca2a23eb852 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 96b737d4658..0d01a984349 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 9d68d946a0a..198c0c210cb 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 6ff6d6c83cf..886f1fbfb03 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 13f02a6070c..e200814a15b 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 f5ef98740dc..ec27c66ee42 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 56a70a56b8c..016b942f2d3 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 41b61828b59..41262bd5aa1 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 3c0a5f36b6f..a7d0e9695af 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 59977f742d8..d23326ab6b7 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 d1b10c6246c..ca4104a04d1 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 27915fae317..8140c8d0948 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 f907e1c11c7..79eb60ac96f 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 1f03f361833..0d4949ea5e2 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 614d01fb77e..fead51a318c 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 8f53373b606..1bdd3cbb76d 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 1ff33ba725b..c43484f4c84 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 48ddff6cd6f..4c46590cfcb 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 60b327a33fd..fd9441f90ba 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 2f2f79ade87..3efe93290b9 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 39288edb9c9..a4eead868bd 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 c81356f2611..907fb1c0172 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 947477b79a3..178999abfea 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 fd0b41fd5ef..0261f360e68 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 e2a0a575e6c..17e8a7e3022 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 b94cb3c2c7a..aef83ad757d 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 5bc3dc03a19..0e9904cc13c 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 a41a051c542..9cc5060b506 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 153f3dabedd..3aba7b8fac4 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 694140c31bb..649233d4891 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 087345803ce..8997bc7e406 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 e156172ddf4..e399bd8e6cc 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 867b0371b6f..aead124d2af 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 ece59aea213..3dd658d19f3 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 c510e48f7f0..966b2146e60 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 c96a6289913..5308959a292 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 1c2e19dd9b7..19209c2cfd7 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 c064a460dab..d214eb9ab5e 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 a0f8c4aafa2..bc56cb00e03 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 e82785221f6..4934c8892f1 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 6c4215a7b17..59968e675f9 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 ad0625c89d1..70e6768a099 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 54f59de426d..36a0d859c33 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 15496703efc..6b04680df7f 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 55ae599dfa2..95443b70dd2 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 1109d8d866c..7000176bf72 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 12d3693ac0b..56e04ef8e19 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 d1649fb10fb..650a64ae0ea 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 27ddc4df4c7..033562c2025 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 8fb78494ce0..66102b48136 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 bb903e9684c..3db98d9a6d0 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 6f4ac5a16cc..4072fdbfd7f 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 7fca39f5ff1..d4f1487cc85 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 5df340b4c17..cd0556e08c9 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 9d89be974c9..076d9cd06a5 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 3ceae8f149f..75950d1eeba 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 4ce10a2f689..2c2ca57dada 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 e2d061413a3..5b334fe6459 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 d4e52d453c1..002c526419e 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 3e7839d8146..acbcc5889ee 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 a853125b7d8..5382c4dbe98 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 8871ac9bd82..881d93799b1 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 d02a0b4b179..216ac09680e 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 9b00d7dd2f0..3902938d9a3 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 034ea9b7991..ec4932677cf 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 a73aba896b5..a176ed989f4 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 230cbc79bc3..6dc4a928b25 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 08338380b2c..607de8c53f2 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 de316df1599..d7bb84c380d 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 a743ae2e3a1..d20b68a38cc 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 839e204af1b..4a86335c2e8 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 5972fd78c2d..0a00bf6f2e0 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 ccf942e3896..8e4c679217d 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 6a58b5052df..c262693b1f0 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 736c09fe1e1..f71a341b605 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 0fd1c68eef2..746afcc9dc1 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 0cccc2b1e4d..74ac44c3aa5 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