I want to use bprm_check_security lsm hook to check whether a process with specific arguments is allowed to run. In the documentation I saw that the argv should be available in @bprm (of type struct linux_binprm), but I didn't find any ways to extract the argv from the struct.
Any ideas?