Re: seccomp and ptrace. what is the correct order?

From: richard -rw- weinberger
Date: Mon May 21 2012 - 14:47:16 EST


On Mon, May 21, 2012 at 8:21 PM, Eric Paris <netdev@xxxxxxxxxxxxxx> wrote:
> Is that what we want?  Do we want to do the permission check based on
> what a process ask at syscall enter or do we want to do the permission
> check based on what the kernel is actually going to do on behalf of
> the process?

I think we want the latter.
A system call emulator like UserModeLinux would benefit from that.

--
Thanks,
//richard
--
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/