Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2165264imn; Mon, 1 Aug 2022 13:41:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR68mrdfmKelsK3vb4jWOxJ1ZwiSb/fJktni72WvUVukhNrA/uV7zkhxyZYTMtHjfc8xLtEV X-Received: by 2002:a17:902:ea06:b0:16d:5c8c:4167 with SMTP id s6-20020a170902ea0600b0016d5c8c4167mr18455315plg.57.1659386490192; Mon, 01 Aug 2022 13:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659386490; cv=none; d=google.com; s=arc-20160816; b=vQ6B3WG/kgQEiS8ixEHux4INxvGIo5NErA+EWMmcBktVDiM7jJihA4dFk9YAeZBomP GnvEKwv70KkQPitu9XyW9e3czm54XtlGyS/TvTvcj1AWZVoH2Chrqs/YOn0TEvkCkgXf r32HRg/cZ4L0rW/WO4/WXtmC6hYCvdYvNJWPbGdB18qEZXw2KjIFZ9KwfEq7uwbRjVwW z4MQ6Q1DzPYaQDbGh7DmUES5y8SiYvwNdFU7pAaXskBk3jyPn0UxIA+Nv94dTrGq0kAp 1RvCXIsuqHt0NEcAV5Wey6zNJz1xgewX3BWc2Z8/LfI378pLOWAlzxcRPpLnVoSe011U hNJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:subject :from:cc:to:content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=E43cQkvn/4/VHiP7B0OPm/B+8rXIwu0R/6PBB0SR798=; b=cBTfoeEPSI9+3SckPT6SU+JgEZvL/v7dwmCfHSeumbgaUnb4GLF3S+ZeFeddxPS+OX b2k4tGVCmwSdCgxqSu/w+GaMWtux9PbLJrn6wRJ4qavzXutugHsA9wlKvG8mrB7yiNVN aNXkF3vkduOIFK9yZmL5lBROKRm/U3SHKxWZwE7Eg6SE4amQZOR3psBaYBa4Aw2PTdv6 0EX8AbzVO4wT3DoK3U5oMabSE0IKvl0FCxdJPcjEPFyNcXzPNUy6fx57/iXtX2eo3oKv Kqd3DGWYZBIDVTSuLC+JRgWNq77RMu6ttHdYTm7f96txg2vi07uySjACF7+S9C9Ya5Mz QbbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b="myJ8/rNW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx18-20020a17090b4b1200b001eee43e7f18si19474869pjb.28.2022.08.01.13.41.13; Mon, 01 Aug 2022 13:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b="myJ8/rNW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234593AbiHAUO4 (ORCPT + 99 others); Mon, 1 Aug 2022 16:14:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234736AbiHAUOb (ORCPT ); Mon, 1 Aug 2022 16:14:31 -0400 Received: from sonic308-15.consmr.mail.ne1.yahoo.com (sonic308-15.consmr.mail.ne1.yahoo.com [66.163.187.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12774505A for ; Mon, 1 Aug 2022 13:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659384807; bh=E43cQkvn/4/VHiP7B0OPm/B+8rXIwu0R/6PBB0SR798=; h=Date:To:Cc:From:Subject:References:From:Subject:Reply-To; b=myJ8/rNW54VSib9BxXvanrJTHBimTcsjMoZPawp2E1VFf8ZFB+/pWSk/ABcLvF8444ILaeiJIvyewaTiu48joXXbsgR2vDJgAT8OqFAeF6uEoCjFzvYMHanuF6X76Nzx1tPQJzkIRmmOuvXbB09cVh4PtRfij0H+cvc9UPpoOgoQmMq0cyuSSOyELx7bvm9NlzvjZz/P8genITYsrGyG3MqKDIzEiSKGbG1rLpsQyadi3N7NGHmlMS/ymOjaDAOwPw22xmNf5fi7R2/Vd8UFJMUtSXuBGRXeW4wa21jakxw+v1sEiNL+on8IwPBZJGPcX0Wn0JnDMsyzg9vobliLdg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659384807; bh=qr2qLQWxP80b35yhKXdOd+b5Jw+iwWVz4oScqlLgtj8=; h=X-Sonic-MF:Date:To:From:Subject:From:Subject; b=j5hEGl+CUf3gtGGrj/erI2erszo2145C0k0B9k5yxoq3vXypteJSBshrfArM8tC+pMd8UrlmLZNnpQfI4z/YNTdR+Vnr7Y2v6EdwxMwQg325Sg47yT9rJc5UQY2HFrIlMbHhEgRa/uCOgEIajQHmw+TET02mtsdQTErg471Q4guJhFUzRvCQICbTbenfNpS0FZSjf9twBBGwDI2+bnLtpfSIKxmgOf2q9A1wSut3/3OJuD6IFPXomJPujptqmx1tNuiq8nBGXRFPw3ug8kc4hyW4TiI67ppT/NE7e9dikxp4b7RukJAZzt0aSRqBjbFFXgayOyIc2YhYGDX8H4bCag== X-YMail-OSG: glwSvgwVM1nDgNhBS8JECVcpJrYn_sSCP7Q8tSCB6TySPVHOUF7kkZwJfv81e.v 9IGIq.W8K7xVBiv2eVdhm7uAcP_Z8MDoEKaouQnrejbuxsGbknMD47UI9iBJyN6Mw5B0C1RDvmgI RjqwswHkkcvC_eVdosZimt4DUzY5YJqBAFtWl5uK3_28NykfoJU7ODdJhBD47LEN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by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Mon, 1 Aug 2022 20:13:27 +0000 Received: by hermes--production-bf1-99ddd9c9c-mpxmp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c13a2b16efdf9bc73ba23e617461e1ba; Mon, 01 Aug 2022 20:13:23 +0000 (UTC) Message-ID: <827a0fe0-03a3-b5ca-db34-daff17095b8f@schaufler-ca.com> Date: Mon, 1 Aug 2022 13:13:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: torvalds@linux-foundation.org Cc: LSM List , Linux kernel mailing list , casey@schaufler-ca.com From: Casey Schaufler Subject: [GIT PULL] Smack patches for v6.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <827a0fe0-03a3-b5ca-db34-daff17095b8f.ref@schaufler-ca.com> X-Mailer: WebService/1.1.20447 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, Here is the Smack pull request for v6.0. There are two minor code clean-ups. One removes a touch of dead code and the other replaces an instance of kzalloc + strncpy with kstrndup. The changes have been in next and pass all tests. Thank you. The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56: Linux 5.19-rc1 (2022-06-05 17:18:54 -0700) are available in the Git repository at: https://github.com/cschaufler/smack-next tags/Smack-for-6.0 for you to fetch changes up to aa16fb4b9e7e1057008d999138e7ae68a40bf167: smack: Remove the redundant lsm_inode_alloc (2022-08-01 11:26:09 -0700) ---------------------------------------------------------------- Two minor code clean-ups for Smack. ---------------------------------------------------------------- GONG, Ruiqi (1): smack: Replace kzalloc + strncpy with kstrndup Xiu Jianfeng (1): smack: Remove the redundant lsm_inode_alloc security/smack/smack_access.c | 7 ++----- security/smack/smack_lsm.c | 7 ------- 2 files changed, 2 insertions(+), 12 deletions(-)