diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-03-06 12:02:21 -0500 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2011-04-09 09:53:45 -0400 |
commit | 1d1dbf8135ab2f3603cc72e39e0f68784f453c39 (patch) | |
tree | e30b04b64f92a55200aab62d414fb1378f7bfaab /fs/pipe.c | |
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>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions