From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH net-next 1/3] bpf: introduce current->pid, tgid, uid, gid, comm accessors Date: Fri, 12 Jun 2015 17:26:17 -0700 Message-ID: <557B78A9.9060509@plumgrid.com> References: <1434145226-17892-1-git-send-email-ast@plumgrid.com> <1434145226-17892-2-git-send-email-ast@plumgrid.com> <557B60DB.5030200@plumgrid.com> <557B6A00.7000600@plumgrid.com> <557B6D74.2070305@plumgrid.com> <557B718B.80604@plumgrid.com> <557B763F.7000003@plumgrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski Cc: "David S. Miller" , Ingo Molnar , Steven Rostedt , Wang Nan , Li Zefan , Daniel Wagner , Daniel Borkmann , Linux API , Network Development , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-api@vger.kernel.org On 6/12/15 5:24 PM, Andy Lutomirski wrote: >> >so what specifically you proposing? >> >Use from_kuid(&init_user_ns,...) instead? > That seems reasonable to me. After all, you can't install one of > these probes from a non-init userns. ok. will respin with that change.