Re: [PATCH v2 7/11] Uprobes Implementation

From: Roland McGrath
Date: Thu May 13 2010 - 20:58:45 EST


> so arguably it would be good to just make the rule be that you cannot
> probe a shared mapping. Because whatever you do, it's always the wrong
> thing.

Agreed. Or, if you do, it's doing something entirely different and should
be in an interface where you're explicitly attaching it generically to the
file (what's being shared) without regard to any individual process. But,
as you mentioned, shared, executable mappings are well outside the normal
case and there is no reason to think that a first (or fourth) version of
anything needs to support them at all.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/