Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1139123ybi; Fri, 12 Jul 2019 10:22:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpcxz2Yvb+6lGEpFjO1XD2AwisNBhkEYsf2d+DrsAigUG6ue/NFpImp42naEBSAjwyqLyw X-Received: by 2002:a63:e5a:: with SMTP id 26mr11653632pgo.3.1562952146449; Fri, 12 Jul 2019 10:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562952146; cv=none; d=google.com; s=arc-20160816; b=dJRM4e4xZ14Og6Bs7gTW9rRSphElc7DwY6tLDA+sJVDGFdm0508SnksHK17uvyy+Zj k6DRKK5i4U4TP4HSiTkak6fRjBL+ybSHc5lCJSdVyFB3g5LmOrDj1DkF7EYUITeBfzQL RbcxggerXtXpHhE8ZoG0Inmt1k6XUN9LsbUVYfl/Dr+gGqo2dPJL8FhESvdECZ5Hwom8 0G/C5+pm2Esgt5tLQfcKw/WX2nAR8o727LDYovP2t9sVnCbM/i8MNBLq63wmweuxyWYj BPcfunTVRqcGTgcgLUJFRMxkWyBdYx41fMdmZc+5aYQAKqGpPZgpyT+eGdu/fsobP1K8 ocXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=G1j5u8ddltFbrJF6kFyH9zO0/fCm43QW3pK3WVwKYaQ=; b=WFAFzqu9EarRfSKRVmf8VQcrELNcb6l5rhyck5SF+TzOM3BFaIc4kzp4XeBCvRXE4j CTare1NjHc/NiV/K4/MWhw9UwTPGfIBZWfSMGVe3PNiI6gfAbvMxGSko8f3+C57xXU0u MAj0rayxcG44hxZEJrkGH2oMuC6rDfwtQE0vwI+0sb5Ppm8FCnKm7RYaaW34V55n41RY aYTC4G51JD0X3TtT1kuzLjRC7g04zUOhBvxm6tJInlpbZaFpYAKv+WVr7TemLL6FZZTe j26I1jYN0PNjvm5eg1Isg/pNo+XpVWIYUVS7kKaF/KVc/zN+7M0zWgpxzW+xNr+T2jvS PoNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o30si8836136pgl.575.2019.07.12.10.22.11; Fri, 12 Jul 2019 10:22:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727346AbfGLRVN (ORCPT + 99 others); Fri, 12 Jul 2019 13:21:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:57916 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726976AbfGLRVM (ORCPT ); Fri, 12 Jul 2019 13:21:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 519E2AF51; Fri, 12 Jul 2019 17:21:11 +0000 (UTC) From: Petr Tesarik To: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Martin Schwidefsky , Philipp Rudo , Masahiro Yamada , Greg Kroah-Hartman , Laura Abbott , Thomas Gleixner Cc: Petr Tesarik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Add uncompressed Linux banner to s390 bzImage Date: Fri, 12 Jul 2019 19:20:59 +0200 Message-Id: X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches make it easy to determine the kernel version from a compressed binary by scanning for the Linux banner string in the uncompressed portion of bzImage. Petr Tesarik (2): init: Separate banner from init_uts_ns s390: add Linux banner to the compressed image arch/s390/boot/compressed/Makefile | 1 + init/Makefile | 2 +- init/banner.c | 21 +++++++++++++++++++++ init/version.c | 10 ---------- 4 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 init/banner.c -- 2.16.4