exec: binfmt_misc: kill the onstack iname[BINPRM_BUF_SIZE] array
authorOleg Nesterov <[email protected]>
Tue, 3 Oct 2017 23:15:58 +0000 (16:15 -0700)
committerLinus Torvalds <[email protected]>
Wed, 4 Oct 2017 00:54:25 +0000 (17:54 -0700)
commit50097f74934e3ec8fb1e6f3087568b958972817d
tree686cdcc7ec9506b3a9175903a12e9354f376bd5e
parent43a4f2619038002f48c78698c42c05692d4b4eb2
exec: binfmt_misc: kill the onstack iname[BINPRM_BUF_SIZE] array

After the previous change "fmt" can't go away, we can kill
iname/iname_addr and use fmt->interpreter.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Ben Woodard <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jim Foraker <[email protected]>
Cc: <[email protected]>
Cc: Travis Gummels <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/binfmt_misc.c