Re: [RFC] [PATCH] make add_taint() inline

From: Andrew Morton
Date: Sun Sep 11 2005 - 14:45:50 EST


donate <donate@xxxxxxxxxxx> wrote:
>
> From: donate <donate@xxxxxxxxxxx>

Who is this?

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

> add_taint() is a trivial function.
> No need to call it out-of-line, just make it inline and
> remove its export.

Well, presumably add_taint() was exported to modules for a reason. If that
reason was valid then this patch requires that `tainted' be exported to
modules too. And that allows naughty modules to trivially zero it out.

-
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/