diff options
author | 2011-03-06 18:02:21 +0100 | |
---|---|---|
committer | 2011-04-09 15:53:45 +0200 | |
commit | 1d1dbf8135ab2f3603cc72e39e0f68784f453c39 (patch) | |
tree | e30b04b64f92a55200aab62d414fb1378f7bfaab /tools/perf/scripts/python | |
parent | Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 (diff) | |
download | wireguard-linux-1d1dbf8135ab2f3603cc72e39e0f68784f453c39.tar.xz wireguard-linux-1d1dbf8135ab2f3603cc72e39e0f68784f453c39.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions