RFC: path display and path filtering features.
Dmitry V. Levin
ldv at altlinux.org
Fri Feb 18 23:03:04 UTC 2011
On Fri, Feb 18, 2011 at 02:49:54PM -0800, Roland McGrath wrote:
> > We could canonicalize absolute pathname arguments.
> > We even could canonicalize relative pathname arguments using
> > /proc/$pid/cwd.
> > But I'm not sure now whether we really need this or not.
>
> Given per-process mount namespace, this could be error prone.
> At least, it takes extra care to consider /proc/$pid/root too.
> So I'd avoid that complexity to start with.
Is /proc/$pid/cwd less reliable than /proc/$pid/fd/$fd?
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110219/6804c82e/attachment.bin>
More information about the Strace-devel
mailing list