summaryrefslogtreecommitdiff
path: root/fs/compat.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-03-06 18:02:37 +0100
committerOleg Nesterov <oleg@redhat.com>2011-04-09 15:53:53 +0200
commitba2d01629d0d167598cfea85adc7926822bbfc45 (patch)
tree703a3f297df7cb4c0317504a58121f9958c0d708 /fs/compat.c
parent1d1dbf8135ab2f3603cc72e39e0f68784f453c39 (diff)
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 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions