From patchwork Tue Jul 23 00:38:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 11053695 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FEC713A4 for ; Tue, 23 Jul 2019 00:38:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53C1F28382 for ; Tue, 23 Jul 2019 00:38:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 435F82847E; Tue, 23 Jul 2019 00:38:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id B096C28382 for ; Tue, 23 Jul 2019 00:38:34 +0000 (UTC) Received: (qmail 22229 invoked by uid 550); 23 Jul 2019 00:38:33 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 22197 invoked from network); 23 Jul 2019 00:38:32 -0000 X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: wax36_2b6c9e6a2e81f X-Filterd-Recvd-Size: 1295 From: Joe Perches To: Linus Torvalds , linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Stephen Kitt , Kees Cook , Nitin Gote , jannh@google.com, kernel-hardening@lists.openwall.com, Rasmus Villemoes , Andrew Morton , linux-doc@vger.kernel.org Subject: [PATCH 0/2] string: Add stracpy and stracpy_pad Date: Mon, 22 Jul 2019 17:38:14 -0700 Message-Id: X-Mailer: git-send-email 2.15.0 X-Virus-Scanned: ClamAV using ClamSMTP Add more string copy mechanisms to help avoid defects Joe Perches (2): string: Add stracpy and stracpy_pad mechanisms kernel-doc: core-api: Include string.h into core-api Documentation/core-api/kernel-api.rst | 3 +++ include/linux/string.h | 46 +++++++++++++++++++++++++++++++++-- lib/string.c | 10 +++++--- 3 files changed, 53 insertions(+), 6 deletions(-)