diff options
| author | Oleg Nesterov <oleg@redhat.com> | 2011-03-06 18:02:21 +0100 |
|---|---|---|
| committer | Oleg Nesterov <oleg@redhat.com> | 2011-04-09 15:53:45 +0200 |
| commit | 1d1dbf8135ab2f3603cc72e39e0f68784f453c39 (patch) | |
| tree | e30b04b64f92a55200aab62d414fb1378f7bfaab /scripts/mod/empty.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 'scripts/mod/empty.c')
0 files changed, 0 insertions, 0 deletions
