Files
linux/include/linux
Christian Brauner fefad9ef58 seccomp: simplify secure_computing()
Afaict, the struct seccomp_data argument to secure_computing() is unused
by all current callers. So let's remove it.
The argument was added in [1]. It was added because having the arch
supply the syscall arguments used to be faster than having it done by
secure_computing() (cf. Andy's comment in [2]). This is not true anymore
though.

/* References */
[1]: 2f275de5d1 ("seccomp: Add a seccomp_data parameter secure_computing()")
[2]: https://lore.kernel.org/r/CALCETrU_fs_At-hTpr231kpaAd0z7xJN4ku-DvzhRU6cvcJA_w@mail.gmail.com

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Drewry <wad@chromium.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-um@lists.infradead.org
Cc: x86@kernel.org
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20190924064420.6353-1-christian.brauner@ubuntu.com
Signed-off-by: Kees Cook <keescook@chromium.org>
2019-10-10 14:55:24 -07:00
..
2019-08-09 09:15:05 +02:00
…
2019-09-17 10:27:46 -07:00
…
2019-09-16 09:56:27 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-20 22:09:52 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-07-01 08:18:54 -06:00
2019-07-25 15:47:37 +02:00
…
2019-08-28 21:17:12 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-06-12 20:27:13 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 19:52:33 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 21:52:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 11:40:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-24 15:54:08 -07:00
…
…
…
…
…
…
…
…
2019-07-05 21:34:50 +02:00
…
…
…
…
…
…
…
…
…
…
2019-06-26 13:19:46 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-07 04:28:05 -03:00
…
2019-09-02 11:43:54 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 12:32:05 +02:00
…
…
…
…
…
…
…
…
2019-08-14 15:30:35 +02:00
…
…
…
…
…
…
2019-08-08 09:09:25 +02:00
…
…
…
…
2019-07-08 19:25:19 -07:00
…
…
…
…
…
…
…
…
…
2019-06-13 09:02:33 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-07-26 17:01:29 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-07-16 19:23:25 -07:00
…
…
2019-10-04 18:11:08 -07:00
2019-08-01 21:49:46 +02:00
…
…
…
…
2019-08-21 00:38:54 +02:00
…
…
…
…
…
2019-06-12 11:42:13 +02:00
…
2019-06-15 12:25:49 +02:00
…
…
…
…
…
…
…
…
2019-08-23 16:39:26 +01:00
…
…
2019-07-31 19:03:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-10-10 14:55:24 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-25 17:51:41 -07:00
…
2019-09-07 21:42:25 +02:00
2019-09-04 13:37:17 +02:00
…
…
…
…
…
…
…
…
…
…
2019-08-30 07:27:17 -07:00
…
2019-08-01 20:51:22 +02:00
…
…
2019-08-20 17:05:05 +02:00
2019-07-31 19:03:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…