From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31245 invoked by alias); 5 Feb 2020 06:59:01 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 31236 invoked by uid 89); 5 Feb 2020 06:59:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=cdefs.h, UD:cdefs.h, cdefsh X-HELO: elaine.keithp.com Received: from home.keithp.com (HELO elaine.keithp.com) (63.227.221.253) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Feb 2020 06:58:59 +0000 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 8F75D3F2AC08 for ; Tue, 4 Feb 2020 22:48:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580885336; bh=MSR1tv7c5tm0l6GMsAc4k+WmwnppbUlmiPMuaAE8piA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hgJ+Xqq6QDfiyxbgoHBa7/3y616da9CgKqUtmtlRFEk8/76HV8pRlN9A55cHuPOqe p53yZQWmzSudLLb8VpU18p6dIC4z3jbp0lL6sxIBSt8ksehq7xXGJX9ULOU2q5DAn9 xBvgvh7qjqoOBtIE8BSBhXV6J2lp8vvHVs9JULKDY8vgKX3cSbrYD9jIznXe/YOCCV WISJU9qRz/tEQQkDm5gA2N1dEP11qX8Z6fnuGjWgKdrL0FxCxPNXbTrM/hmGWMa2F2 1zrZZ8Q/h/bDVsxUGnatzoEFCALmRZHGs/iKvlblpL/LdwUFnI0jXW/fMvo5/P3Zmn 58VKbDqgsTkaQ== Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 40fnGgkbyrG6; Tue, 4 Feb 2020 22:48:56 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id EAE083F2AC06; Tue, 4 Feb 2020 22:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580885327; bh=MSR1tv7c5tm0l6GMsAc4k+WmwnppbUlmiPMuaAE8piA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QQHxictjb6XTIztYldAfNObZ3HKVJpJMHZUKWnsfzfPnvrZZ0O/a7Qpcf3UrLGR/l oX0Hm+x6l27e6UJdgbn/1fBk3JNbaC5ZrhLuj5AbqG+3QimASfU4Px7I+ZOvRCAvup ANHZMGT8apnvFVPu6WLBLHeTerd7B21ZlbDrauiqSaaiBmUgi9OZgl/uzgvmmW1Ch0 zD0pbOScgIUFcG6F9/Xg4kf6Qpe9bL+fEd+UgsJr7qLgMR+aK0RvAwXI86fI6iQA/g cGc92VF3rFH63pnTdTrOaEyuo1cIvAmmUspFgnymBI+JccQ6/1XK9Eay6ouuNuXAjD vRKo9r0H4M7rg== Received: by keithp.com (Postfix, from userid 1000) id 98E6E15821C3; Tue, 4 Feb 2020 22:48:46 -0800 (PST) From: Keith Packard To: newlib@sourceware.org Cc: Keith Packard Subject: [PATCH 14/27] Add missing copyrights in newlib/libc/ssp Date: Wed, 05 Feb 2020 06:59:00 -0000 Message-Id: <20200205064844.929131-15-keithp@keithp.com> In-Reply-To: <20200205064844.929131-1-keithp@keithp.com> References: <20200205064844.929131-1-keithp@keithp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2020/txt/msg00065.txt Signed-off-by: Keith Packard --- newlib/libc/ssp/mempcpy_chk.c | 25 +++++++++++++++++++++++++ newlib/libc/ssp/stack_protector.c | 1 + 2 files changed, 26 insertions(+) diff --git a/newlib/libc/ssp/mempcpy_chk.c b/newlib/libc/ssp/mempcpy_chk.c index fc2ccf894..d141acf33 100644 --- a/newlib/libc/ssp/mempcpy_chk.c +++ b/newlib/libc/ssp/mempcpy_chk.c @@ -1,3 +1,28 @@ +/* +Copyright (c) 2006 The NetBSD Foundation, Inc. +All rights reserved. + +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. + +THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. + */ #define _GNU_SOURCE #include #include diff --git a/newlib/libc/ssp/stack_protector.c b/newlib/libc/ssp/stack_protector.c index cd51543f0..a350d12a4 100644 --- a/newlib/libc/ssp/stack_protector.c +++ b/newlib/libc/ssp/stack_protector.c @@ -1,3 +1,4 @@ +/* Copyright (c) 2017 Yaakov Selkowitz */ #include #include #include -- 2.25.0