> -----Original Message-----
> From: Petr Machata [mailto:pe...@mellanox.com]
> Sent: Monday, September 16, 2019 2:56 AM
> To: Keller, Jacob E <jacob.e.kel...@intel.com>
> Cc: Jiri Benc <jb...@redhat.com>; linuxptp-devel@lists.sourceforge.net
> Subject: Re: [Linuxptp-devel] [PATCH 2/2] pmc: Support querying
> TLV_PORT_PROPERTIES_NP
> 
> 
> Keller, Jacob E <jacob.e.kel...@intel.com> writes:
> > Right, but part of namespacing is that processes inside the namespace
> > should generally not know they are, and not be aware of anything
> > outside the namespace...
> 
> I'm not sure I agree the process inside the namespace should be
> disallowed from knowing it is. I'm not really well versed in network
> namespaces, but looking at what "ip netns id" is doing under the hood it
> looks like the kernel has interfaces to just tell you (RTM_GETNSID).
> 
> Thanks,
> Petr

Fair enough, I wasn't sure exactly what was hidden or not.

Thanks,
Jake


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to