LD_PRELOAD work in progress
Michael Terry
michael.terry at canonical.com
Mon Mar 2 15:47:19 UTC 2015
On Mon, Mar 2, 2015 at 10:35 AM, Jamie Strandboge <jamie at canonical.com>
wrote:
> > LD_PRELOAD:
> > - Is hairy to get right for all cases (many obscure low-level entry
> points that
> > take a filename, pitti warns there are gaps)
> > - App might make a direct ioctl calls that can't be intercepted
>
> I'm somewhat confused by this: doesn't the ioctl(2) call take an open fd
> and
> therefore we wouldn't need to do anything special for it?
Fair point! I copied that talking point from an email without thinking it
through. Though arguments to the ioctl can't be interpreted, if they are
filenames... (does that happen?)
Pitti, does it change your feeling of dread at all to consider that we only
want to intercept calls that use filenames?
-mt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150302/ce9eb519/attachment.html>
More information about the snappy-devel
mailing list