CHROMIUM: Don't allow building LSM as a module

This doesn't actually work anyway, so change it from a tristate to a bool
to avoid breaking allmodconfig:

    make[1]: *** No rule to make target `security/chromiumos/built-in.c', needed by `security/chromiumos/built-in.o'.  Stop.
    make[1]: *** Waiting for unfinished jobs....
    make: *** [security] Error 2
    make: *** Waiting for unfinished jobs....

Even if our code compiled with CONFIG_SECURITY_CHROMIUMOS=m,
register_security() is marked __init so it is unsafe to call it from a
module.

TEST=compile tested
BUG=chromium:474744

Change-Id: I7d78b69bbcb0179a26e66f4066aa04e969865264
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/264884
Reviewed-by: Lee Campbell <leecam@chromium.org>
1 file changed