tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fixing $ORGIN RPATHs - at least some of them
On Nov 7, 12:23am, n54%gmx.com@localhost (Kamil Rytarowski) wrote:
-- Subject: Re: Fixing $ORGIN RPATHs - at least some of them
| Can we kill vnode_to_path() from sys/uvm/uvm_map.c? This one is
| problematic in existing software. There is need to alter programs using
| sanitizer to not break (shorten filenames). This perhaps would mean to
| attach a path name to a vnode entry.
What do you mean? Which program requires the map object entry filenames
to be there?
| How to deal with resolution of the exec name under chroot (program
| called chroot(2) during execution)? I think that returning the original
| path might be wrong.
|
| 1. Return failure (ENOTSUP?).
| 2. Check if the exe path is under chroot and if so, normalize to chroot
| prefix.
This is already done correctly. The execed path is the chrooted path.
I.e. you can't exec something outside the chroot from inside the chroot...
christos
Home |
Main Index |
Thread Index |
Old Index