On Mon, Mar 2, 2015 at 10:35 AM, Jamie Strandboge <[email protected]>
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
-- 
snappy-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

Reply via email to