From patchwork Mon Aug 1 20:13:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Casey Schaufler X-Patchwork-Id: 12934024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7AA9C19F2C for ; Mon, 1 Aug 2022 20:14:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232126AbiHAUOw (ORCPT ); Mon, 1 Aug 2022 16:14:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234866AbiHAUOb (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 E16114505B 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_28NykfoJU7ODdJhBD47LEN5rqWAy0Cbz_. mKwcpGnKdIT8h48I2Paw2wjevpEU6WJuFA1Dsxg4JxfzJMBhk6YBM3fuBbCTuLg3eooqsPuGB1pi fE8EqL.F7R4dCQ6MDGAaAs3VczPZrK5wYtqy3BzI4Vrwsbumn.qDutdEnYW9LyS49BD22IMaqqwa FYc6rWUB2O7Wgesd8mkRVb.sOR0FBG25hs99Jy5FhXMEyoB3rkoYR65QHDpNdHfcf2e_9u2Ig1yL PtyOjZkSdxdjLPoAH3W16.T2TbmFTsuX3XrON5dfAGueQGS2qa6GIPGy9fXa6QlwXkFuUaGhyixt B.bf7so5zVwgl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5hzBLKNJ0bi6uHlzyY6XyEYe8qSTqV.DqmWJI8dR86xwCEtYlO1E i2Xaw9beVT2yDx.EP3FkrS.agz_qAlPswi6Kq6zAYp.MpeLfNqZos170eqReH5CMGVT6CPaSg5ho eve1.I7obnqOUmTLq1SQ7NcIvIG4EKaBUzKyfvSU35gy9HidikqD3APyGPbyUZKHstCdepkpzFd9 gNM4ntLKHOG.U_rK067v95fIxQGYo0YHbASqwQM3cPufNkWB8oLAEFbccntaJv_KX3r42Mo_ytMm NLgrTzorU56rMPvXnr16bveKtt2ZyUewiMmW13Ba0Y710o1xAqDckwz8w38Oa0H3pInKKzq0dnv_ FOlgTf308RImUfCFNfRAZZsiF_QoH0q63PLv_gy7H6Q1M9oRi7JIv1ZDl6KkHLxUP_77fnr.tyut W_qxCJxTa9C4HKwEvDq_LDNUeb0R9WeCWxErkq3BqxJkAocZrs4XPztx.v0KA5z7syvYqOzLi64Y rcTaT.dBYo0y55vwFca0y7xX1GaEYJTkVAK9PRkEl93RwubgG5F1Xkf_AZOIoFgMlmfMlCBiPq6N sRmksc_U.YLAaxzBz57Ryw_QdivpUOoIrrLAZzQhWe56dtJI4Fq2Sp7aWq_PoNDV1Sxf5GFNMfY2 twIrYfiC5tiAMT1Bwxv0xKc2xO_RQva8DfRW0UHmxjl3Q X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com 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 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 Precedence: bulk List-ID: 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(-)