Message ID | 1461941288-10356-1-git-send-email-tudor-dan.ambarus@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@kernel.org> X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 20676BF29F for <patchwork-linux-crypto@patchwork.kernel.org>; Fri, 29 Apr 2016 14:48:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1F7B220114 for <patchwork-linux-crypto@patchwork.kernel.org>; Fri, 29 Apr 2016 14:48:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CC38201C8 for <patchwork-linux-crypto@patchwork.kernel.org>; Fri, 29 Apr 2016 14:48:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753398AbcD2OsX (ORCPT <rfc822;patchwork-linux-crypto@patchwork.kernel.org>); Fri, 29 Apr 2016 10:48:23 -0400 Received: from mail-bn1bon0056.outbound.protection.outlook.com ([157.56.111.56]:59785 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753369AbcD2OsU (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Fri, 29 Apr 2016 10:48:20 -0400 Received: from BLUPR0301CA0026.namprd03.prod.outlook.com (10.162.113.164) by CY1PR0301MB0716.namprd03.prod.outlook.com (10.160.159.146) with Microsoft SMTP Server (TLS) id 15.1.477.8; Fri, 29 Apr 2016 14:48:17 +0000 Received: from BN1BFFO11FD028.protection.gbl (2a01:111:f400:7c10::1:104) by BLUPR0301CA0026.outlook.office365.com (2a01:111:e400:5259::36) with Microsoft SMTP Server (TLS) id 15.1.477.8 via Frontend Transport; Fri, 29 Apr 2016 14:48:16 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD028.mail.protection.outlook.com (10.58.144.91) with Microsoft SMTP Server (TLS) id 15.1.477.4 via Frontend Transport; Fri, 29 Apr 2016 14:48:16 +0000 Received: from enigma.ea.freescale.net (enigma.ea.freescale.net [10.171.77.120]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u3TEmDSs012495; Fri, 29 Apr 2016 07:48:14 -0700 From: Tudor Ambarus <tudor-dan.ambarus@nxp.com> To: <dhowells@redhat.com> CC: <linux-kernel@vger.kernel.org>, <linux-crypto@vger.kernel.org>, "Tudor Ambarus" <tudor-dan.ambarus@nxp.com> Subject: [PATCH] lib: asn1_decoder - add MODULE_LICENSE("GPL") Date: Fri, 29 Apr 2016 17:48:08 +0300 Message-ID: <1461941288-10356-1-git-send-email-tudor-dan.ambarus@nxp.com> X-Mailer: git-send-email 1.8.3.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131064148967272844; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(50986999)(47776003)(36756003)(87936001)(85426001)(92566002)(189998001)(5003940100001)(33646002)(11100500001)(106466001)(110136002)(5008740100001)(105606002)(104016004)(77096005)(6806005)(2351001)(229853001)(86362001)(1096002)(1220700001)(4326007)(48376002)(50466002)(19580405001)(19580395003)(50226002)(81166005)(586003)(2906002)(7059030)(4720700001)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0716; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD028; 1:SjnbQuzoIbkIL8GXNrZcWDLZwXkw6TkAXtUhgL5lNt6KxDvDk6167EWRTMWB16jXVof1FIGZVE8RBC6GNKEbLZysIWhDhwkl21tQeybFwA0zzFJZUMrTUWqDI4eMNkThArmOVeMVZsA8BNLLlTxx9Aq8l3xVP09N8ehayrVxiOzEUYnMyWxc62mliEC1wFd0WveRgM/mTi03a0NEMrWpqP/gNIjPYfsW7X+i7OqWO37Jf6cj+4DFTRBX3gmkJv15JcaKmHZnEkF9M5CS+Jn5B7BSqnoCLtsHV8iuE+wx0QFzjdfovRe8wz8PZhQ7kDI6pdc/uNfx8pyXWPziDOPtR1imgWE2nMZX01UUiXqi6wEQV3023cxZ42lZFqgMc14R5dZHpqNGjtJUKf36+lYhh0Fjqp0wYqWxe6BzNIHFs9kHRb2MBAblyXOmHBfbLih/fyJXX+FITiEe8zrei3HgMa5xuq4dEPNkn8rELMlAVC/36CMYOkUXUoQN+yAnIx9NmngICFy42fPkj9tYcH4+uag2tdT3gnmWfCU9/4JRLkqp38nNGw6sD3UgLmFidTnVhmBMOLHIqmJhIAdbkSzpXVSLARC/bOKnBj17EmHg5nfjTrB9XCZ5cKoYmGh/St5cNqk4D9NNdyFM0XSxsNyRE/ndmTfSlhRgHLreW3mehpUrtIldlz4BHvfnqB9yDYhUTupW4+Pwv6Fh5Lg/TgzrCw== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 5c75070c-e262-4e65-502d-08d3703d4c70 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0716; 2:jvPJXGRwkw7t9H9W0fjuw/zlrquY1iO9cmil/GOPwexO+F5hZaOTqkSpTt+qPpUlvqOZgqHceU6x6tEU2rVj5lCizAwaMVA8dYeOsBpkjfjTaRcFDJRb9R1DCCpbcWjZfeP/V/p33/yeIeD51KwmNLbMMP0XUtMhXBkNgjRseEyyVeahAnqO86MOPzb+aeVU; 3:QK504YJgEdQaTP5YmDTaZL1UduxYmUeCQAsa0kirJfESYhc+mku6joozuZwXYTi3IPJxr0B3fXxirbmqBNVgVee4H7oXbtoCtT0MAjHM9xCYTrRPVoKBiSgmXUPoD0aRYP8hSu3sVtMKZyXodPZBh67Smbej1j5EDNEGgNoWgBpC2EMRQiAQ+p1T0rKdMnjISiahrYSRXQoJAoVVmvY1SRxzwF/fEWR3K3fQfFg3b/E=; 25:ILQSqqchHxL88lZtWPqbr13OtHIwwka/00wDt+DHl+H+D/xPOlgBoFuffNSjLkwfsyYvTDQFTf0bw3ROXXogfvsas4JENH2MXe+h0CqKNbADqSho6GBx2zLm6LEJlfuqTW9Yr1xkIGNa2I/A5dyGJ9YLgE+YT7HTaHXTAAIxw84o2ImFBHhwbGDUCCCsSHffUA8DuWf0NEzqg+Kxwx4MG6t8f7eGwSkLI+cjXxXnCIIvUjoCh0WUFZvNvC2i+TrFXGLIlSwLWin8EhFVp/jgFl4+LvU9HJSciQvHJASUkbLGqiKIxw/wyDuPbL21hq7wVPh0uWwksOpXMexMcD533g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0716; X-Microsoft-Antispam-PRVS: <CY1PR0301MB071621AE9EA6ABE4E68A98C9B8660@CY1PR0301MB0716.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13018025)(13017025)(5005006)(8121501046)(13015025)(3002001)(10201501046)(6055026); SRVR:CY1PR0301MB0716; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0716; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0716; 4:ut3WrXTdYoze+0Da1HzwjPgy4xRVM5DHjsSOaB+atjdMbA1diiUGHTizCSx8lrliwIuY7XQiazbKT1K4E8KGgPFdT0afDFzfc42uY1rIzUbJXMktnl0whic69+CD2WkhdAIKp6p5BrLahSnzpd6+gzaY6i1CfQveBrbSPdXxi6bHBWlmNWr7rRDnMdCsVUIXS7EDvtf/S6xdNLxTlGyXfHQ3Ro67fZ154BAvGKMsfbY6ho5iDLt4TIcYb0K/60NYZMdQj5oVYX05kkpJ4jHRhkbyo+2CNPrJhDW8sG04lXoQ5mfII1Xk140aBK80h8b9L5iweUXm049SwschrjomJGLwlNRjaxOzf7wc2kDbjlTPMsjZM5XLGkhfPiHcUraF41zABSrkPhqVfmvw1KqKeJstdjq9KDnMf4VoVJKNyB4eWFhgzm2CkQcrxZrWwxSseQeTkasZeB/8fTLhKdad+1mlKNEACkKMV0u/hy1z0MA= X-Forefront-PRVS: 0927AA37C7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0716; 23:398HjWOgWd565zQOTfH5M4zTz4txlgS7PVA2dRJ?= =?us-ascii?Q?vP3rndhmoiKjT6/EDrIARAJLPriPqT/jMD9ioZi7g1z0NhVvlPEZMVWL2wWx?= =?us-ascii?Q?u3KO5XcFzRNUdWfxaNAjNal94X70P/a2uBqJCtaGZiJ2sLf7M9hK00kaR1dO?= =?us-ascii?Q?EicMDQ5WStCw+WgAOdSSUf0ysQ7dZlh522ie5lp91OZrjWilrrhOQjejOMrX?= =?us-ascii?Q?uYVTnb7uprjuZ0KCYulz1VI0qbuoaZwcDefpCHCtYe34nFwpXFu0Me5/VCaU?= =?us-ascii?Q?iUnAoALc5uVC0G6aVkYkXEER+Ubne8NYq5KpXEJv5MdgooFubAK09pUrhoEr?= =?us-ascii?Q?D+QMiOomCH9tJyL0q7CXLSbDZVpR+ey5Pd68d7g1qnUO9272EwIqZQIPhUw9?= =?us-ascii?Q?GJrnhC3EOLowYV3sC07Mxed5wFtz0J+Z4YM95rH7kYqHgJ0E/FJGp44RGy1e?= =?us-ascii?Q?6GKJNpUituu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8MHttWRd2YCfHak=; 7:PgiLJ2KNr7+2Ue9mqhkfS0YbNzhNRP0I1aLGanj6PueL+C277x72B0sfMUCy5wXLBMJ4jIoqhc3qBGz5XFAhUCy63HRPx2gVwf2vGMOhPXxZqCgj5NqIpiMFsxr8jeyWGnTERO/xaLGlCGmtZ9Dty2geG46OzbGgyfFXhmYdca2/nU+MeAVOsZkCh8MDL1j1 SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2016 14:48:16.4776 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0716 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Tudor Ambarus <tudor-dan.ambarus@nxp.com> wrote: > A kernel taint results when loading the rsa_generic module: > > root@(none):~# modprobe rsa_generic > asn1_decoder: module license 'unspecified' taints kernel. > Disabling lock debugging due to kernel taint > > "Tainting" of the kernel is (usually) a way of indicating that > a proprietary module has been inserted, which is not the case here. > > Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/lib/asn1_decoder.c b/lib/asn1_decoder.c index 2b3f46c..b1ffcab 100644 --- a/lib/asn1_decoder.c +++ b/lib/asn1_decoder.c @@ -12,6 +12,7 @@ #include <linux/export.h> #include <linux/kernel.h> #include <linux/errno.h> +#include <linux/module.h> #include <linux/asn1_decoder.h> #include <linux/asn1_ber_bytecode.h> @@ -504,3 +505,5 @@ error: return -EBADMSG; } EXPORT_SYMBOL_GPL(asn1_ber_decoder); + +MODULE_LICENSE("GPL");
A kernel taint results when loading the rsa_generic module: root@(none):~# modprobe rsa_generic asn1_decoder: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint "Tainting" of the kernel is (usually) a way of indicating that a proprietary module has been inserted, which is not the case here. Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com> --- lib/asn1_decoder.c | 3 +++ 1 file changed, 3 insertions(+)