From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out03.mta.xmission.com ([166.70.13.233]:50516 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752289AbdHHP0F (ORCPT ); Tue, 8 Aug 2017 11:26:05 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Jessie Frazelle Cc: Peter Zijlstra , Aleksa Sarai , Ingo Molnar , cyphar@cyphar.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20170806044141.5093-1-asarai@suse.com> <20170807084451.rdtsjws6hwtdy6ki@hirez.programming.kicks-ass.net> Date: Tue, 08 Aug 2017 10:17:35 -0500 In-Reply-To: (Jessie Frazelle's message of "Mon, 7 Aug 2017 11:18:18 -0400") Message-ID: <871somhywg.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched Sender: stable-owner@vger.kernel.org List-ID: Jessie Frazelle writes: > Thanks for patching this :) Guess I will find a different rabbit in a > hat to detect if running in a pid namespace ;) I want to say that stating the /proc/pid/ns/pid files ought to be an easy way. But thinking about it they permissions on those might be a bit tricky. Eric