Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752291AbbKAJHZ (ORCPT ); Sun, 1 Nov 2015 04:07:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:53836 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbbKAJHQ (ORCPT ); Sun, 1 Nov 2015 04:07:16 -0500 Date: Sun, 1 Nov 2015 10:07:14 +0100 (CET) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Chris J Arges cc: Jessica Yu , live-patching@vger.kernel.org, Josh Poimboeuf , Seth Jennings , Vojtech Pavlik , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: livepatch: old_name@old_addr scheme in livepatch sysfs directory In-Reply-To: <56358EA4.10900@canonical.com> Message-ID: References: <1446263060-22175-1-git-send-email-chris.j.arges@canonical.com> <20151101015258.GA8199@packer-debian-8-amd64.digitalocean.com> <56358EA4.10900@canonical.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 20 On Sat, 31 Oct 2015, Chris J Arges wrote: > Makes sense to me. Is there a reason why the sysfs entries are visible > to non-root users? Well, kptr_restrict applies only to values printed using '%pK'. So if the sysfs handler is using other printk() format string to print the pointer, it'll be leaked out (and should eventually be fixed). Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/