commit | 1d1dbf8135ab2f3603cc72e39e0f68784f453c39 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sun Mar 06 18:02:21 2011 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Sat Apr 09 15:53:45 2011 +0200 |
tree | e30b04b64f92a55200aab62d414fb1378f7bfaab | |
parent | bb3c90f0de7b34995b5e35cf5dc97a3d428b3761 [diff] |
exec: introduce get_user_arg_ptr() helper Introduce get_user_arg_ptr() helper, convert count() and copy_strings() to use it. No functional changes, preparation. This helper is trivial, it just reads the pointer from argv/envp user-space array. 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>