[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121030020500.GA2616@ZenIV.linux.org.uk>
Date: Tue, 30 Oct 2012 02:05:00 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Kees Cook <keescook@...omium.org>
Cc: linux-kernel@...r.kernel.org,
Russell King <linux@....linux.org.uk>,
Will Deacon <will.deacon@....com>,
Will Drewry <wad@...omium.org>,
Geremy Condra <gcondra@...gle.com>
Subject: Re: [PATCH 2/4] arch/arm: move secure_computing into trace
On Mon, Oct 29, 2012 at 05:41:20PM -0700, Kees Cook wrote:
> From: Will Drewry <wad@...omium.org>
>
> There is very little difference in the TIF_SECCOMP and TIF_SYSCALL_TRACE
> path in entry-common.S. In order to add support for
> CONFIG_HAVE_ARCH_SECCOMP_FILTER without mangling the assembly too badly,
> seccomp was moved into the syscall_trace_enter() handler.
>
> Additionally, the return value for secure_computing() is now checked
> and a -1 value will result in the system call being skipped.
This is too ugly. Just expand the calls of ptrace_syscall_trace() into
both callers and do secure_computing() hookup in there. And for pity
sake, would somebody rename the damn thing? It's *dripping* with
marketdroidese...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists