Date: Wed, 12 Feb 2014 21:17:19 -0800 From: Jordan Hubbard <jordan.hubbard@gmail.com> To: Jason Hellenthal <jhellenthal@dataix.net> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Thoughts on Multi-Symlink Concept Message-ID: <EEC374CA-8B26-4AAA-ADCF-186EE69AB228@gmail.com> In-Reply-To: <A31B3F88-861F-459B-AD67-F146D5514594@mail.turbofuzz.com> References: <CAO2cuEMC==HstC4VkkiFpHyo6LA_xyCjYKvCEECXneVLNnZpZg@mail.gmail.com> <A31B3F88-861F-459B-AD67-F146D5514594@mail.turbofuzz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 12, 2014, at 9:08 PM, Jordan Hubbard <jordan.hubbard@gmail.com> = wrote: > Globbing is done in user land (by the shell) - you wouldn=92t want to = push that down into the kernel, which is either what you=92d have to do = or you=92d need a user land daemon which did round-trips with the kernel = to do the translation, which would also need to make sure to get all of = the process permission stuff right since the user id / gid / $CWD would = all potentially affect the expansion of the =93symlink=94. Actually, just to correct myself, there is a third way, which is that = you could make the shell also do the expansion of the symlink (or = interpose it into libc), but now you=92d just be stacking one weird hack = on top of another weird hack. It=92s still not a good idea for all the = reasons I mentioned, at least not as a =93symlink=94. Maybe some new = type of shell builtin, though I=92m not sure how/where you=92d use it. - Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EEC374CA-8B26-4AAA-ADCF-186EE69AB228>