Received: by 10.223.164.202 with SMTP id h10csp2536850wrb; Mon, 27 Nov 2017 19:30:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMZsQlT4HVfzsa5PafQ77a4QEMj6eQ5M+UMi0oBDECihhIarqwRaao9vp5A0GmDkzk/eyqPX X-Received: by 10.99.149.65 with SMTP id t1mr25025132pgn.101.1511839800489; Mon, 27 Nov 2017 19:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511839800; cv=none; d=google.com; s=arc-20160816; b=QQyJosWomzvTQrh1eow4qo76Rnt+RScGTEpav3bPvwmW8YgXrQ1ly15xbQZlui6To3 yCM6bDZ1ov1n94QmKzAp8t1Fx+duWdz/bDfqLDJgeAj0BbB/26C/fQWg2mhKHYpTRt/4 n1fJQs+Aaw0v7/JwjS0wapDnh1t39Y50MVAwbgVLr7FshEQOAs99uZdzkRPQBOwZ0i6R iO1XWqr6AfKA19ySLB2DaV5zYvZBP3J4fg3zbXa/k8+p4TJaTsruXqlH+VoRmacXR2rW 81OZf6R+s9a520KQr0J9bOMRLR/Vqv4IfIJQ1pzQXZSDKcG+Mw6Lm1o6RQ6ZC7syvQY3 AXDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=0GZtiaXlSLufMjBxL8TO1M0+6qMoyCYWAawupODo9xo=; b=f+TfmK3XHhguFS7gPfisl78xcDETIJidkwviP5embxFnUVZav61/yruWs6EfvbBQzM nZ1Y6RbdR0gBWjwMkpN9cuvXhCgK8Edef7PYu+86snA0s/T0zEkiOCbh9LpWxdUFZHim 5OLjQFKVBDEq1/4LhnvuhqhxBLQJmgLxwKBXuxUG+O77PkYNHJ7/QUzy0YcjKQNyjjpl fQD1Be0LgptQLydUn1vuR17mkv/K+q8sYAcWVBl9TnFxJ8XxRL+K59REK4Uwld0pX0Er BsCinrDD1Q+xXCA6zoBpVzdXdxEc0L7lN+CauF5ZVd3aotNsL07ubMGv9Eyvux6SDeLi dHVQ== 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 bd7si23805166plb.577.2017.11.27.19.29.48; Mon, 27 Nov 2017 19:30:00 -0800 (PST) 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 S1753044AbdK1D3J (ORCPT + 77 others); Mon, 27 Nov 2017 22:29:09 -0500 Received: from sg2plsmtpa01-01.prod.sin2.secureserver.net ([182.50.145.6]:45905 "EHLO sg2plsmtpa01-01.prod.sin2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389AbdK1D3I (ORCPT ); Mon, 27 Nov 2017 22:29:08 -0500 Received: from mail-ot0-f177.google.com ([74.125.82.177]) by :SMTPAUTH: with SMTP id JWa0eVRW0LxQ3JWa1eSNFC; Mon, 27 Nov 2017 20:29:06 -0700 Received: by mail-ot0-f177.google.com with SMTP id b54so26239323otd.8; Mon, 27 Nov 2017 19:29:05 -0800 (PST) X-Gm-Message-State: AJaThX4AbFDjxmpxprOWcPuwBaIV51+qF1HrcbWZYR0ddgeNuq+sjoxg J0XrNOolqzYAZBrZZ/bBmlxQYFw682IyqBUGW4M= X-Received: by 10.157.37.112 with SMTP id j45mr29112807otd.120.1511839744531; Mon, 27 Nov 2017 19:29:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.127.6 with HTTP; Mon, 27 Nov 2017 19:28:44 -0800 (PST) In-Reply-To: <20171128015041.GT17858@eros> References: <1511821819-5496-1-git-send-email-me@tobin.cc> <20171128015041.GT17858@eros> From: Kaiwan N Billimoria Date: Tue, 28 Nov 2017 08:58:44 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [kernel-hardening] Re: [RFC 0/3] kallsyms: don't leak address when printing symbol To: "Tobin C. Harding" Cc: Kees Cook , kernel-hardening@lists.openwall.com, LKML , Network Development , Steven Rostedt , Tycho Andersen Content-Type: text/plain; charset="UTF-8" X-CMAE-Envelope: MS4wfAsKsd/atmjSST/yBe5kz6ORWxHRvIg5Y3hraFmNs0wnRUErrxhpNfgiwwUBOvQewvCtyXbP1xtM/v9Rqt13iFRdaCt7oSZcjiWcoJn5OpGwCMYnr91c mt+IJBQMYi7K0WFEJvZY6fEdL+FQGVWsZCtfPEf9y0OYriPa3gS8FaAV45IXp70KL7L9irp8iAsGkOaMgshzj8t7eTXVqSjRSrDnRZik4nUHZIR1aJi9FaRV Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 28, 2017 at 7:20 AM, Tobin C. Harding wrote: > > Noob question: how do we _know_ this. In other words how do we know no > userland tools rely on the current behaviour? No stress to answer Kees, > this is a pretty general kernel dev question. Perhaps I'm reading this wrong, but anyway: besides ftrace, kprobes will require a symbol-to-address lookup. Specifically, in the function kprobe_lookup_name() which in turn invokes kallsyms_lookup_name(). AFAIK, SystemTap (userland) is built on top of the kprobes infrastructure.. thanks, Kaiwan. From 1585272741169767427@xxx Tue Nov 28 01:51:37 +0000 2017 X-GM-THRID: 1585260215399685138 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread