Re: [patch] let CONFIG_SECCOMP default to n

From: Linus Torvalds
Date: Wed Jul 12 2006 - 17:57:26 EST




On Wed, 12 Jul 2006, Chuck Ebbert wrote:
>
> We can just fold the TSC disable stuff into the new thread_flags test
> at context-switch time:

I really think that this should be cleaned up to _not_ confuse the issue
of TSC with any "secure computing" issue.

The two have nothing to do with each other from a technical standpoint.

Just make the flag be called "TIF_NOTSC", and then any random usage
(whether it be seccomp or anything else) can just set that flag, the same
way ioperm() sets TIF_IO_BITMAP.

Much cleaner.

There's no point in mixing up an implementation detail like SECCOMP with a
feature like this.

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