lkml.org 
[lkml]   [2017]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] sched: debug: use task_pid_nr_ns in /proc/$pid/sched
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

\
 
 \ /
  Last update: 2017-08-08 17:26    [W:0.053 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site