From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754921AbdBGPew (ORCPT ); Tue, 7 Feb 2017 10:34:52 -0500 Received: from mail.kernel.org ([198.145.29.136]:58420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754868AbdBGPeu (ORCPT ); Tue, 7 Feb 2017 10:34:50 -0500 Date: Tue, 7 Feb 2017 12:34:38 -0300 From: Arnaldo Carvalho de Melo To: Borislav Petkov Cc: Ingo Molnar , Peter Zijlstra , Robert Richter , Vince Weaver , lkml Subject: Re: [PATCH 1/2] tools/lib/api/fs: Add procfs int read/write helpers Message-ID: <20170207153438.GJ24988@kernel.org> References: <20170206122231.GA9404@gmail.com> <20170206124116.7jmrmufthqtnd3dc@pd.tnic> <20170206124447.GA12772@gmail.com> <20170206124937.zlowglr5gpq35piy@pd.tnic> <20170207010813.buovxbku5rqhnhzg@pd.tnic> <20170207010917.36ysrh6p7yktxwhc@pd.tnic> <20170207014356.GE24988@kernel.org> <20170207103001.kmnnpywb4fdcinrq@pd.tnic> <20170207150045.GH24988@kernel.org> <20170207150802.sh6jzo45rgxnjbox@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170207150802.sh6jzo45rgxnjbox@pd.tnic> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Feb 07, 2017 at 04:08:02PM +0100, Borislav Petkov escreveu: > On Tue, Feb 07, 2017 at 12:00:45PM -0300, Arnaldo Carvalho de Melo wrote: > > And forget that under the hood this is in something called "procfs". > ... unless one day you want to set a file in /proc which is not under > the sysctl hierarchy :-) In that case you use procfs__read_int(), no problem. > I mean, I don't care what I do - you're the maintainer - I'm just giving > you 2 cents :-) :-) - Arnaldo