From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 217F3C04AAD for ; Wed, 8 May 2019 13:43:58 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E9E8214AF for ; Wed, 8 May 2019 13:43:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E9E8214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1hOMr9-0002bC-Ux; Wed, 08 May 2019 09:43:35 -0400 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hOMr7-0002b5-84 for kernelnewbies@kernelnewbies.org; Wed, 08 May 2019 09:43:33 -0400 Received: from mr2.cc.vt.edu (mail.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x48DhV85016528 for ; Wed, 8 May 2019 09:43:31 -0400 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr2.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x48DhQHk007950 for ; Wed, 8 May 2019 09:43:31 -0400 Received: by mail-qt1-f197.google.com with SMTP id s32so23090724qts.8 for ; Wed, 08 May 2019 06:43:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=hzQ4SnTHyfSPtHT0HHJ8vwaww0fJY/ombI15j9qCqyk=; b=ZPH9Vh5pkgeNu0R3m167Y8Bczf3OxrO6dSh0GXakYob5Mpy/8iIUY87E/EUaeBxGTb SNjM01RRrEpBeBv0oKtIBpZYuQRD2IWd+t/K1M5MjVhgrqfeR7F4gAvSXCQld4d0lbzU LABwsWVL4aMJntomH3uuXuk19vB4bQeWp5686Hx0GOY4l3qpZrASXqtAZRoxBU8nMdBw qv760ZoQsRylMOgk0m3E8OXqBnbuL04jj8VKBztj+dO0p32n1KmAvxf9naGZRNTVawUs h2dLjcmfyKCgzHzncSUvTqylAoeOZ/nY3LmUIBFI2WQTnCCg7XzEC7RHdZvXGcdGX3Qn HA5A== X-Gm-Message-State: APjAAAVGhT0cG/dnTY+81q2EfmLvq+pfP5/pJuJ3OUh73J01v6b6P55t z9o+je0VlT9V7xoXnH5CWUZGSK/UoPBB4+5PC1DW/Tbj2Su5DKbZ3OISWFn4LZFnzrN3m48DSHW 7GwQcpmP8AsfsaIzxWOmmZDHjQwI2pEhhxZZpjKI= X-Received: by 2002:aed:22ad:: with SMTP id p42mr5234503qtc.86.1557323005825; Wed, 08 May 2019 06:43:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwm24nXkSbcnX8bm3wy5M2umBPFmqtlYa8lSO9PAwJd9Pkj4y4yQgyD5v7WKbMkFxUroxnvqQ== X-Received: by 2002:aed:22ad:: with SMTP id p42mr5234475qtc.86.1557323005498; Wed, 08 May 2019 06:43:25 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341:5952:f06b:5958:9b7c]) by smtp.gmail.com with ESMTPSA id f21sm1495382qto.81.2019.05.08.06.43.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2019 06:43:24 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: wuzhouhui Subject: Re: how to determine whether the source code is same between two kernels In-Reply-To: <5de6f762.7230c.16a96a52517.Coremail.wuzhouhui14@mails.ucas.ac.cn> References: <5de6f762.7230c.16a96a52517.Coremail.wuzhouhui14@mails.ucas.ac.cn> Mime-Version: 1.0 Date: Wed, 08 May 2019 09:43:22 -0400 Message-ID: <28922.1557323002@turing-police> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4582217359519108716==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============4582217359519108716== Content-Type: multipart/signed; boundary="==_Exmh_1557323002_2361P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1557323002_2361P Content-Type: text/plain; charset=us-ascii On Wed, 08 May 2019 16:52:46 +0800, wuzhouhui said: > Suppose I have two kernels, one is A.B.C build by people Tom. And > the other is A.B.C build by Jerry. The source code have been deleted > after kernel is build and installed. Now I want to know whether the > source code of these two kernel is the same (even if they have the same > name). All I have is binaries (e.g. vmlinux, config, *.ko, System.map). > Is it possible? The problem is that I can build my kernel with gcc5 (or even a gcc4.mumble), and the binaries are going to be different than what the same exact source tree produces with gcc 9.1.1. Of course, the *correct* solution is to hold both Tom and Jerry to the requirements of the GPL, and force them to give you the kernel source trees that went into those kernels that they distributed, and then compare the trees. What? You say neither one can actually do so? Then why are you accepting and using kernels from them, rather than shunning them as the GPL violators they are? --==_Exmh_1557323002_2361P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXNLc+QdmEQWDXROgAQKcBhAApqkAoUI9mbrNHzgzoZXDv6maHeewnpa1 d8sjqEHHf+Cc3qYRULhi7t5O+B8Fsf0W/U+F6MVrp0nJj26mhDn4mkXJ+1o+PhOK qJA1UtoXFdCh5c0TkMloqKMsJIR2kNNEjjGxjpB3hHQKOrAuk5AK2wM0rDXx3tGW ld4iuxx2Mwyf/9d1K3gaUD7f4NwLREvgc3SuPGrVUQqwH3BFVoH5wtE8QuIlUxci mOL2fNy64ixcFOwoRSZHNuPUYoTOx68gG4m9CLaxAdJZEPkfE79hvm3WSiQ8gI6e bmM6roY8SOFpp8ERQm7AJZuQyrNhCowUrl9Zzyx4/H8ow3VcyE5lx7+m0A2HXkgT Dh2oEkpgDY+u/Ylbn5c/vkc6HqmF9BkGAHqF5U6w8n8qmuWvOBAiS197Txx6iNr8 WU3Szgy71OLfJcXpK10zATgKhllLJt9UNAMaUYZYpXG/YGE1EFOYG+CQRrD4WXU0 PS2HV9HRrXWjRReoYub3bgp6ltzmNX9CoALE4MfLz3p14H3sbpTQg/AAh7riW3HK IJcT4Y4lPv2PxD6UIcVUMBOOtQfJ+0UUTsJcV8DUpPN5Ws+2qPLcOzdtXKyXPIkJ gAvqWhGfRTZagCFWSQVY3xj19tq9qC54BykSndYa6k1Yupw2L9gLzNdoz98KrdCf SbP88r8lqbs= =OfUn -----END PGP SIGNATURE----- --==_Exmh_1557323002_2361P-- --===============4582217359519108716== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============4582217359519108716==--