diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-03-06 20:02:37 +0300 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2011-04-09 17:53:53 +0400 |
commit | ba2d01629d0d167598cfea85adc7926822bbfc45 (patch) | |
tree | 703a3f297df7cb4c0317504a58121f9958c0d708 /include/linux/binfmts.h | |
parent | 1d1dbf8135ab2f3603cc72e39e0f68784f453c39 (diff) | |
download | linux-ba2d01629d0d167598cfea85adc7926822bbfc45.tar.xz |
exec: introduce struct user_arg_ptr
No functional changes, preparation.
Introduce struct user_arg_ptr, change do_execve() paths to use it
instead of "char __user * const __user *argv".
This makes the argv/envp arguments opaque, we are ready to handle the
compat case which needs argv pointing to compat_uptr_t.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Tested-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Diffstat (limited to 'include/linux/binfmts.h')
0 files changed, 0 insertions, 0 deletions