How can I get argv from "struct linux_binprm"?

view full story

http://stackoverflow.com – I want to extract all argv from an existing struct linux_binprm. On kernel 3.4, I tried this piece of code: http://www.mail-archive.com/[email protected]/msg00278.html in do_excve_common, but it doesn't work. It returns (null). What is the problem and how can I get ALL the arguments in a char * string? (HowTos)