Message ID | 20190228221933.2551-25-casey@schaufler-ca.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-security-module-owner@kernel.org> 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 4115E4B7E for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 22:20:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25C412F2A4 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 22:20:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 239C92F5D9; Thu, 28 Feb 2019 22:20:17 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A8CE2F2A4 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 22:20:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729750AbfB1WUE (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Thu, 28 Feb 2019 17:20:04 -0500 Received: from sonic315-15.consmr.mail.gq1.yahoo.com ([98.137.65.39]:35373 "EHLO sonic315-15.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729678AbfB1WUC (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Thu, 28 Feb 2019 17:20:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com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BiNAAqE9NsJZWahhdkMbaRvfqyhUYcI7nhxLdH5030LWdJDvpkdacQ6Up8TO0fW fMcGAFvzdh1W78rQ6QtQfWG82prFQGXGLRIQPK0Hq3HZbzcWverC7aKtmNQaJYzDyTuqVGEGYT_f spdUZ3yN1Y6z0RheN8MK887RkDfb_efTcozoYsLmvbvxH2UhSezcuJsQHZQnH5zXXHVItvykubyE bHJyqdKyfK43FfBHiwB5Z19NBaZoC5qThWurma1LT2kZJuNCOVN09_Woc77fZ6vuVtHywIJu3wlL hbRoZx1edGYhbVrKF7tSIO1JPuRX1XAh7.Ivru0eeL.Mt7HWtysCL6fsElQaMeRX45RkVL8GhEQ0 .pk7wGdiXIZ7IPsI0AkX7wWTsnSynx.nKLa.rfDda9MIuuAXxixs.0nWzguXBXTfKYimKeEFDR7F fmxZ7uKRQQvwaPOpNACAnc4kni.KYQEBTpPJttPQyKcJDVyNlUJAnHtxMC.aQg1w0DwzwXEfeZ5k vOazRISVw0It0cEhg4IzTUo0SfFwB._Awf.R0Vp8.bIAFEOU- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Feb 2019 22:20:01 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO localhost.localdomain) ([67.169.65.224]) by smtp406.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5c7d685bea94a92cc9d12c4cc22f1f0e; Thu, 28 Feb 2019 22:19:58 +0000 (UTC) From: Casey Schaufler <casey@schaufler-ca.com> To: jmorris@namei.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Cc: keescook@chromium.org, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, paul@paul-moore.com Subject: [PATCH 24/97] LSM: FIXUP - security_secctx_to_secid Date: Thu, 28 Feb 2019 14:18:20 -0800 Message-Id: <20190228221933.2551-25-casey@schaufler-ca.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190228221933.2551-1-casey@schaufler-ca.com> References: <20190228221933.2551-1-casey@schaufler-ca.com> Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: <linux-security-module.vger.kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
LSM: Complete module stacking
|
expand
|
diff --git a/security/security.c b/security/security.c index a0767f8d7822..66f8ee392af5 100644 --- a/security/security.c +++ b/security/security.c @@ -1948,6 +1948,7 @@ EXPORT_SYMBOL(security_secid_to_secctx); int security_secctx_to_secid(const char *secdata, u32 seclen, struct lsm_export *l) { + lsm_export_init(l); return call_int_hook(secctx_to_secid, 0, secdata, seclen, l); } EXPORT_SYMBOL(security_secctx_to_secid);
Initialize l in security_secctx_to_secid Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> --- security/security.c | 1 + 1 file changed, 1 insertion(+)