tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New sysctl entry: proc.PID.realpath



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07.09.2015 10:47, Stephan wrote:
> Wasn´t this the same as with RPATH and the name cache?
> 
> 2015-09-07 9:23 GMT+02:00 Martin Husemann <martin%duskware.de@localhost>:
>> On Mon, Sep 07, 2015 at 03:50:21AM +0200, Kamil Rytarowski
>> wrote:
>>> +     error = vnode_to_path(path, MAXPATHLEN,vp, l, p);
>> 
>> Two nits:
>> 
>> 1) vnode_to_path(9) is undocumented 2) it only works if you are
>> lucky (IIUC) - which you mostly are
>> 
>> The former is easy to fix, the latter IMHO is a killer before we
>> expose this interface prominently and make debuggers depend on
>> it.

I'm here to get the support for it. At the moment it (cache nits)
exceeds my comprehension too.

Are the other bits ok? KAUTH usage, colonization kern_resource.c etc.

>> We then should also make $ORIGIN work in ld.elf_so ;-}
>> 

It's scheduled.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV7WX4AAoJEEuzCOmwLnZso8YQAJerKuqnQ0rSgVtytEdxwmTK
mgZAZVQk40BTvoCU5ytD1ze3tbtbgvX9E7IQXgTHGLEXQE58EbNNWXH9Ou63OgvF
8xdsGCZqM137XbNwbQfktSJHdRsug2Gx8ph+8eUKEbnvzd7doCpOKCjhWeVmRI1S
uUC7YVUCJ2BzvuQrOvmtujpCULBFGz+2QpXC3POtEMfNc76t6SJ+Hizb3hMxDk93
4B6ByCv0KgG6PIVU7WwXwNz768KofDvfbYf/vA0V1hqAoXnr+I2bSTO5z6ct53NY
UAO5YtQLTSx5jCSbeAcGUKzo0CIG+bI67yVwx7+EoEALwBu0azMLSzb4+le02ZPP
2VX6oZXqMJHXy1YHUdaMo6IPIuGaEOmsyTaNXnOX+yEZgMfLjqp1u82mWR5JXsgt
axZ+Ze10rasqK+Drv0bj317TX24OyA5vPORA3co6sKl5f8DpxE5uB9aQLULttfm9
S/B4JF4NAx4ttQYw+g0IFPR0yj0vLoxhCgY76NEj9J6rci4rfX0JudJVHjJmW4ZA
eDL8ZrW14trldeqYgKgdxsLmaa+ZnRSo4bFTqWi+wiCqMKbQNp+5xAgJRTRS12DN
kET0UfK2MnUGErMTzeQQHfZa22d+3WPZjW8U7KDnVc2v5sIhQT4hh+80CqZWZ1Ld
cSFuv9thoY1ACc5wtPKG
=mvY+
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index