Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1706649

Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched

From ebiederm@xmission.com (Eric W. Biederman)
Newsgroups linux.kernel
Subject Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched
Date 2017-08-08 17:30 +0200
Message-ID <uceCd-1Tv-7@gated-at.bofh.it> (permalink)
References <ublFL-64V-5@gated-at.bofh.it> <ubLTB-5V4-41@gated-at.bofh.it> <ubRZ0-1OG-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Jessie Frazelle <jessfraz@google.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched Aleksa Sarai <asarai@suse.com> - 2017-08-06 06:50 +0200
  Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched ebiederm@xmission.com (Eric W. Biederman) - 2017-08-06 17:10 +0200
  Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched Peter Zijlstra <peterz@infradead.org> - 2017-08-07 10:50 +0200
    Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched Jessie Frazelle <jessfraz@google.com> - 2017-08-07 17:20 +0200
      Re: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched ebiederm@xmission.com (Eric W. Biederman) - 2017-08-08 17:30 +0200
  [tip:sched/core] sched/debug: Use task_pid_nr_ns in  /proc/$pid/sched tip-bot for Aleksa Sarai <tipbot@zytor.com> - 2017-08-10 14:20 +0200

csiph-web