Linus Torvalds
15a2bc4dbb
Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
...
Pull execve updates from Eric Biederman:
"Last cycle for the Nth time I ran into bugs and quality of
implementation issues related to exec that could not be easily be
fixed because of the way exec is implemented. So I have been digging
into exec and cleanup up what I can.
I don't think I have exec sorted out enough to fix the issues I
started with but I have made some headway this cycle with 4 sets of
changes.
- promised cleanups after introducing exec_update_mutex
- trivial cleanups for exec
- control flow simplifications
- remove the recomputation of bprm->cred
The net result is code that is a bit easier to understand and work
with and a decrease in the number of lines of code (if you don't count
the added tests)"
* 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (24 commits)
exec: Compute file based creds only once
exec: Add a per bprm->file version of per_clear
binfmt_elf_fdpic: fix execfd build regression
selftests/exec: Add binfmt_script regression test
exec: Remove recursion from search_binary_handler
exec: Generic execfd support
exec/binfmt_script: Don't modify bprm->buf and then return -ENOEXEC
exec: Move the call of prepare_binprm into search_binary_handler
exec: Allow load_misc_binary to call prepare_binprm unconditionally
exec: Convert security_bprm_set_creds into security_bprm_repopulate_creds
exec: Factor security_bprm_creds_for_exec out of security_bprm_set_creds
exec: Teach prepare_exec_creds how exec treats uids & gids
exec: Set the point of no return sooner
exec: Move handling of the point of no return to the top level
exec: Run sync_mm_rss before taking exec_update_mutex
exec: Fix spelling of search_binary_handler in a comment
exec: Move the comment from above de_thread to above unshare_sighand
exec: Rename flush_old_exec begin_new_exec
exec: Move most of setup_new_exec into flush_old_exec
exec: In setup_new_exec cache current in the local variable me
...
2020-06-04 14:07:08 -07:00
..
2020-04-28 17:44:34 +02:00
2020-05-22 20:47:21 -07:00
2020-04-18 15:44:54 -05:00
2020-03-30 12:42:42 +02:00
2020-05-12 13:08:08 -07:00
2020-04-03 15:05:35 -07:00
2020-04-30 20:25:37 -07:00
2020-03-31 21:29:04 +02:00
2020-04-20 14:07:00 +02:00
2020-05-05 17:12:06 -07:00
2020-04-16 10:28:12 +01:00
2020-06-04 10:38:42 -07:00
2020-05-09 20:49:13 -07:00
2020-05-29 21:20:22 -07:00
2020-05-29 12:37:59 +02:00
2020-03-30 10:14:19 +02:00
2020-05-27 13:39:08 +02:00
2020-03-31 22:08:54 +02:00
2020-06-02 12:56:58 -07:00
2020-04-10 15:36:22 -07:00
2020-05-26 15:15:40 -07:00
2020-03-24 07:57:08 -06:00
2020-05-29 14:36:03 +01:00
2020-06-04 13:54:34 -07:00
2020-04-03 15:05:35 -07:00
2020-06-04 10:43:07 -07:00
2020-05-11 12:04:52 -07:00
2020-04-02 15:50:04 -07:00
2020-04-08 21:03:40 -07:00
2020-03-28 13:19:05 -05:00
2020-03-31 10:05:01 -07:00
2020-05-21 14:07:37 +01:00
2020-05-07 22:49:28 -04:00
2020-05-09 16:15:13 -06:00
2020-05-09 16:15:13 -06:00
2020-05-11 07:39:16 +01:00
2020-05-29 22:00:54 -05:00
2020-06-02 19:59:25 -07:00
2020-04-07 10:43:42 -07:00
2020-04-07 10:43:43 -07:00
2020-05-16 14:23:54 -06:00
2020-04-30 15:54:45 -06:00
2020-05-14 09:48:03 -06:00
2020-05-29 10:23:25 -06:00
2020-05-28 08:47:13 -06:00
2020-03-30 01:34:00 +02:00
2020-06-01 15:21:03 -07:00
2020-06-01 14:38:22 -07:00
2020-05-19 11:32:04 -07:00
2020-06-01 15:21:03 -07:00
2020-06-01 15:08:04 -07:00
2020-05-15 10:56:31 -07:00
2020-06-02 10:59:08 -07:00
2020-05-19 09:40:29 -06:00
2020-05-15 17:29:41 +02:00
2020-05-04 10:13:42 -06:00
2020-04-03 11:30:20 -07:00
2020-03-25 17:38:23 -07:00
2020-04-10 15:36:21 -07:00
2020-06-03 20:24:15 -07:00
2020-05-05 16:46:09 -04:00
2020-06-01 15:18:27 -07:00
2020-05-15 16:35:45 +01:00
2020-06-01 12:45:04 -07:00
2020-05-05 09:23:25 -06:00
2020-06-01 10:15:16 +02:00
2020-05-19 15:47:21 +02:00
2020-04-27 02:06:53 -04:00
2020-05-14 11:11:20 +02:00
2020-04-18 15:44:55 -05:00
2020-05-07 15:18:41 +02:00
2020-05-14 13:23:09 +02:00
2020-05-29 10:23:25 -06:00
2020-04-03 11:32:13 -04:00
2020-04-15 11:21:54 +02:00
2020-05-21 08:22:20 -06:00
2020-04-02 19:15:03 -07:00
2020-05-13 08:44:35 -07:00
2020-04-17 17:08:50 +02:00
2020-05-06 17:03:34 -07:00
2020-04-07 10:45:15 +02:00
2020-03-25 08:35:03 +09:00
2020-06-01 16:44:06 -07:00
2020-04-02 19:15:03 -07:00
2020-05-09 16:15:13 -06:00
2020-04-18 15:44:54 -05:00
2020-04-18 15:44:54 -05:00
2020-06-02 15:04:15 -07:00
2020-04-27 21:26:23 +05:30
2020-05-25 15:11:14 +02:00
2020-05-29 10:23:24 -06:00
2020-04-18 15:44:54 -05:00
2020-04-18 15:44:54 -05:00
2020-05-04 11:19:58 -07:00
2020-05-26 23:22:20 -07:00
2020-04-18 15:44:54 -05:00
2020-03-25 08:16:13 +09:00
2020-05-27 18:55:54 +02:00
2020-04-27 02:06:53 -04:00
2020-06-03 16:27:18 -07:00
2020-04-30 20:14:33 +02:00
2020-05-05 09:22:23 -06:00
2020-06-03 16:27:18 -07:00
2020-05-05 09:22:21 -06:00
2020-05-05 09:22:20 -06:00
2020-05-18 20:21:48 -07:00
2020-03-25 10:27:16 +01:00
2020-03-25 10:27:16 +01:00
2020-05-12 16:44:00 -07:00
2020-05-19 15:51:18 +02:00
2020-05-15 13:48:59 -07:00
2020-04-18 15:44:54 -05:00
2020-06-02 15:37:03 -07:00
2020-06-03 20:09:45 -07:00
2020-05-26 19:04:18 +02:00
2020-05-14 13:50:43 +03:00
2020-05-11 10:47:29 -03:00
2020-04-28 11:44:07 +02:00
2020-04-07 10:43:39 -07:00
2020-04-02 09:35:32 -07:00
2020-06-03 20:24:15 -07:00
2020-05-28 07:59:45 -07:00
2020-05-23 09:07:00 +00:00
2020-05-15 11:23:49 +02:00
2020-05-05 16:29:09 +02:00
2020-05-28 10:31:09 +02:00
2020-05-31 17:48:46 -07:00
2020-04-27 11:40:25 -07:00
2020-05-11 13:19:00 -07:00
2020-05-20 20:31:27 -04:00
2020-04-18 15:44:55 -05:00
2020-04-30 12:54:01 -07:00
2020-06-02 19:59:25 -07:00
2020-03-27 11:14:52 +01:00
2020-05-06 11:29:25 +03:00
2020-03-29 22:30:57 -07:00
2020-05-18 10:30:21 +01:00
2020-06-02 12:34:45 +02:00
2020-04-19 11:23:33 -07:00
2020-05-18 10:29:26 +01:00
2020-05-19 15:47:21 +02:00
2020-04-02 09:35:30 -07:00
2020-06-02 15:15:46 +01:00
2020-03-29 12:40:41 +01:00
2020-05-14 09:46:54 -06:00
2020-05-18 17:49:27 +01:00
2020-05-30 10:34:03 -07:00
2020-04-20 15:45:22 -06:00
2020-04-20 15:45:22 -06:00
2020-04-27 02:07:40 -04:00
2020-04-02 09:35:25 -07:00
2020-03-30 18:51:47 -07:00
2020-06-01 04:26:07 -04:00
2020-04-27 02:07:40 -04:00
2020-04-06 22:55:27 +02:00
2020-04-22 10:47:35 -06:00
2020-03-31 17:29:33 -07:00
2020-05-08 18:18:11 +01:00
2020-04-18 17:43:09 +02:00
2020-04-18 15:44:55 -05:00
2020-05-08 00:12:42 +02:00
2020-05-28 10:31:09 +02:00
2020-05-28 10:31:09 +02:00
2020-05-19 15:51:18 +02:00
2020-06-04 14:07:08 -07:00
2020-06-04 14:07:08 -07:00
2020-05-26 15:31:45 -07:00
2020-06-03 20:09:49 -07:00
2020-06-03 20:09:49 -07:00
2020-04-10 15:36:21 -07:00
2020-04-07 10:43:40 -07:00
2020-04-02 09:35:31 -07:00
2020-04-08 21:03:40 -07:00
2020-05-28 11:22:13 +02:00
2020-05-05 16:58:36 +02:00
2020-03-26 14:33:38 -03:00
2020-04-07 10:43:38 -07:00
2020-06-02 10:59:08 -07:00
2020-06-03 20:24:15 -07:00
2020-06-03 20:24:15 -07:00
2020-05-13 11:41:22 +02:00
2020-06-03 15:00:05 -07:00
2020-06-04 11:13:03 -07:00
2020-05-19 11:42:16 +01:00
2020-05-14 16:44:24 +02:00
2020-06-02 10:59:07 -07:00
2020-03-24 07:57:08 -06:00
2020-05-29 13:10:39 -07:00
2020-04-30 12:56:36 -07:00
2020-05-23 16:56:17 -07:00
2020-03-25 18:58:11 -07:00
2020-05-07 18:11:07 -07:00
2020-04-06 13:56:33 -04:00
2020-04-01 13:37:57 -04:00
2020-04-28 15:58:38 -04:00
2020-04-27 02:07:40 -04:00
2020-05-09 13:57:12 +02:00
2020-05-09 16:18:33 -06:00
2020-05-09 16:18:33 -06:00
2020-05-27 07:12:40 +02:00
2020-04-22 19:41:26 -07:00
2020-06-03 20:09:45 -07:00
2020-06-02 10:59:09 -07:00
2020-04-02 09:35:27 -07:00
2020-04-07 10:43:39 -07:00
2020-04-07 10:43:38 -07:00
2020-06-02 10:59:07 -07:00
2020-05-15 13:51:28 -07:00
2020-05-27 05:21:23 -06:00
2020-04-03 14:25:02 -07:00
2020-03-28 13:19:04 -05:00
2020-04-02 17:57:10 +01:00
2020-04-02 17:57:10 +01:00
2020-04-03 14:25:02 -07:00
2020-04-07 10:43:43 -07:00
2020-06-03 16:27:18 -07:00
2020-05-26 23:22:21 -07:00
2020-04-24 16:45:37 -07:00
2020-04-22 10:51:21 -05:00
2020-06-04 13:54:34 -07:00
2020-05-20 12:14:10 -04:00
2020-04-28 17:44:33 +02:00
2020-05-29 18:03:12 +02:00
2020-04-24 21:35:11 +02:00
2020-04-22 11:36:11 +02:00
2020-04-18 15:44:55 -05:00
2020-05-19 15:51:17 +02:00
2020-06-03 16:27:18 -07:00
2020-06-04 13:54:34 -07:00
2020-05-09 13:57:12 +02:00
2020-04-20 14:41:56 +03:00
2020-05-20 19:10:37 +01:00
2020-04-30 15:19:33 +10:00
2020-05-31 19:49:00 -07:00
2020-05-30 10:34:03 -07:00
2020-05-31 19:49:00 -07:00
2020-05-30 10:34:03 -07:00
2020-06-02 10:59:10 -07:00
2020-05-15 13:48:59 -07:00
2020-03-30 16:55:26 +02:00
2020-05-28 10:31:09 +02:00
2020-04-21 10:29:19 -06:00
2020-04-21 10:29:19 -06:00
2020-06-04 13:54:34 -07:00
2020-04-27 11:03:52 -07:00
2020-04-27 11:03:51 -07:00
2020-04-27 11:03:52 -07:00
2020-05-26 19:05:11 +02:00
2020-05-26 19:05:11 +02:00
2020-05-20 03:39:40 -04:00
2020-04-08 12:05:07 +02:00
2020-06-01 11:35:18 -07:00
2020-04-20 15:45:22 -06:00
2020-03-25 22:29:45 -07:00
2020-03-27 16:39:01 -04:00
2020-04-18 15:44:56 -05:00
2020-04-18 15:44:56 -05:00
2020-04-02 18:47:30 +02:00
2020-06-03 15:13:47 -07:00
2020-05-18 17:47:48 +01:00
2020-06-04 14:07:08 -07:00
2020-04-07 10:43:42 -07:00
2020-04-07 10:43:38 -07:00
2020-05-05 16:46:10 -04:00
2020-06-02 11:50:23 -07:00
2020-06-01 14:48:32 -07:00
2020-04-10 15:36:20 -07:00
2020-06-03 13:06:42 -07:00
2020-05-11 16:59:16 -07:00
2020-05-17 14:10:07 -06:00
2020-04-07 10:43:43 -07:00
2020-05-14 16:44:24 +02:00
2020-04-21 15:54:45 -07:00
2020-06-03 20:09:42 -07:00
2020-05-27 17:55:59 +02:00
2020-04-30 20:14:41 +02:00
2020-06-03 20:09:49 -07:00
2020-04-07 10:43:41 -07:00
2020-05-14 16:44:25 +02:00
2020-04-27 02:07:40 -04:00
2020-04-20 15:45:22 -06:00
2020-04-28 11:05:44 +02:00
2020-05-28 11:11:45 -07:00
2020-04-18 15:44:56 -05:00
2020-03-30 18:51:47 -07:00
2020-04-27 02:07:40 -04:00
2020-03-30 14:59:53 -07:00
2020-04-02 09:35:26 -07:00
2020-04-27 11:05:13 -07:00
2020-05-22 18:50:12 +03:00
2020-04-22 22:06:35 -04:00
2020-05-04 09:16:37 -07:00
2020-05-01 12:35:21 +10:00
2020-04-07 10:43:39 -07:00
2020-04-17 06:05:30 -04:00
2020-04-25 20:18:53 -07:00
2020-03-24 09:32:41 -06:00
2020-04-01 12:06:26 -04:00
2020-05-28 16:31:30 -07:00
2020-04-27 10:18:01 -07:00
2020-04-17 06:05:30 -04:00
2020-06-03 20:09:48 -07:00
2020-06-02 10:59:12 -07:00
2020-06-03 20:24:15 -07:00
2020-04-16 18:31:08 -04:00
2020-04-27 11:03:50 -07:00
2020-04-20 17:11:36 -06:00
2020-04-03 12:27:36 -07:00
2020-04-27 02:07:40 -04:00
2020-04-18 15:44:56 -05:00
2020-06-02 10:59:10 -07:00