Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp712236ybt; Wed, 8 Jul 2020 09:49:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAegM1e58rMxmRzsP0ueIXfvgSAWE0E5VnFv3660n9jMN+FXeCq5q60U1j/be0bZ8aTeyj X-Received: by 2002:a17:907:94cf:: with SMTP id dn15mr56633165ejc.457.1594226964013; Wed, 08 Jul 2020 09:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594226964; cv=none; d=google.com; s=arc-20160816; b=KvwJ1/TY7/1q9YuflfR9vke2Y78kV3OlAgwbdztGks/xbOsWCX8HQqitXDpCoXREuQ gm4bSnAgdpATweYJDmY4dKZyv+TnWGVMDA2dLv4lHv6jvuKGkoHTX9cqBrqePYZm/UYd jFOXbKta/dTBDxrPYJVJo/mbLVURKW73863tbT2cJKUDFluCIP0ur/Vr78yjjCO4tDCq uPoRLvQOhEoLsfJcPTb3ooDDkcCFNNKq0al3SiczHhyH549T9wdVO64mkGbBu/lSlfHb 7gDzApwQpxez1YOZTcxt8XSoPbvyzHxuBigHIBaDc2L6XT/f03dvZQ5RGiGV7TO+yh7/ hmmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=7g8+gHJbbkcOrJo2I6BahIEMevTKWm0Ldm/yxGyi5Jo=; b=iPsdV9xyaE/kUswXtYFD+V4Szdhv4CW2G3tktnVch3Uf6rsJTWB15crYTGsQ911c9N cWD9f0Yq4vSRtKxGtZ2i96Ux6zjpTijRznyfYzspAEsAbTc8kHbK0E6UvBzdZWP95Vdx rwL+n2hAK05YEo43vw8ObPeR8p6BKQNfk89L8qSY6dSdgPe6ZVHwM41OpX9OL0fkLN6S 2bmxMEB+0jRdZ7C3fYhV9wWFwlUAiSBikCzCn+vYC0sZy6FmODzRuKc0RagE6JqLJfzS +j45SuZDuXuqr3N4RTmHJSMaamkHgGU7BcJT6gH9R7pEjmiWwmfg7d26e/NUou7ou4W9 jxhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc11si323515edb.259.2020.07.08.09.49.00; Wed, 08 Jul 2020 09:49:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730625AbgGHQsB (ORCPT + 99 others); Wed, 8 Jul 2020 12:48:01 -0400 Received: from mga03.intel.com ([134.134.136.65]:5694 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730349AbgGHQsA (ORCPT ); Wed, 8 Jul 2020 12:48:00 -0400 IronPort-SDR: grbue0tLZSA/hSNVDlc9X5v0WG8C/pblu/HZCRslU1ECRiIQQkFvdi330uQdURbA+g8GPinZsf p3xFJN4ctXJQ== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="147859201" X-IronPort-AV: E=Sophos;i="5.75,328,1589266800"; d="scan'208";a="147859201" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 09:47:59 -0700 IronPort-SDR: 6MMsL8LobZj0NHElNGCZR9i1cX0Q5HUgnhNzrWmrFw9BeX368h7tv6pHkD8THPX8VxVTuCLjrj HtBYQMlWkiJw== X-IronPort-AV: E=Sophos;i="5.75,328,1589266800"; d="scan'208";a="280009112" Received: from kcaccard-mobl.amr.corp.intel.com (HELO kcaccard-mobl1.jf.intel.com) ([10.209.55.243]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 09:47:57 -0700 Message-ID: <6cba1bdea35eb19492c5d2674f2a58aae8635155.camel@linux.intel.com> Subject: Re: [PATCH v3 09/10] kallsyms: Hide layout From: Kristen Carlson Accardi To: "Luck, Tony" , Kees Cook , Jann Horn Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Arjan van de Ven , the arch/x86 maintainers , kernel list , Kernel Hardening , "Edgecombe, Rick P" Date: Wed, 08 Jul 2020 09:47:55 -0700 In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F7F68AC3B@ORSMSX115.amr.corp.intel.com> References: <20200623172327.5701-1-kristen@linux.intel.com> <20200623172327.5701-10-kristen@linux.intel.com> <202006240815.45AAD55@keescook> <3908561D78D1C84285E8C5FCA982C28F7F68AC3B@ORSMSX115.amr.corp.intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-07-07 at 23:16 +0000, Luck, Tony wrote: > > Signed-off-by: Kristen Carlson Accardi > > Reviewed-by: Tony Luck > > Tested-by: Tony Luck > > I'll happily review and test again ... but since you've made > substantive > changes, you should drop these tags until I do. Will do - thanks! If nobody thinks this is a horrible direction, I'll clean up this patch and submit it with the rest as part of v4. > > FWIW I think random order is a good idea. Do you shuffle once? > Or every time somebody opens /proc/kallsyms? I am shuffling every single time that somebody opens /proc/kallsyms - this is because it's possible that somebody has loaded modules or bpf stuff and there may be new/different symbols to display.