Lines Matching defs:bprm

186 static void acct_arg_size(struct linux_binprm *bprm, unsigned long pages)  in acct_arg_size()
198 static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, in get_arg_page()
238 static void free_arg_pages(struct linux_binprm *bprm) in free_arg_pages()
242 static void flush_arg_page(struct linux_binprm *bprm, unsigned long pos, in flush_arg_page()
248 static int __bprm_mm_init(struct linux_binprm *bprm) in __bprm_mm_init()
292 static bool valid_arg_len(struct linux_binprm *bprm, long len) in valid_arg_len()
299 static inline void acct_arg_size(struct linux_binprm *bprm, unsigned long pages) in acct_arg_size()
303 static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, in get_arg_page()
323 static void free_arg_page(struct linux_binprm *bprm, int i) in free_arg_page()
331 static void free_arg_pages(struct linux_binprm *bprm) in free_arg_pages()
339 static void flush_arg_page(struct linux_binprm *bprm, unsigned long pos, in flush_arg_page()
344 static int __bprm_mm_init(struct linux_binprm *bprm) in __bprm_mm_init()
350 static bool valid_arg_len(struct linux_binprm *bprm, long len) in valid_arg_len()
363 static int bprm_mm_init(struct linux_binprm *bprm) in bprm_mm_init()
472 static int bprm_stack_limits(struct linux_binprm *bprm) in bprm_stack_limits()
513 struct linux_binprm *bprm) in copy_strings()
607 int copy_string_kernel(const char *arg, struct linux_binprm *bprm) in copy_string_kernel()
649 struct linux_binprm *bprm) in copy_strings_kernel()
741 int setup_arg_pages(struct linux_binprm *bprm, in setup_arg_pages()
865 int transfer_args_to_stack(struct linux_binprm *bprm, in transfer_args_to_stack()
1236 int begin_new_exec(struct linux_binprm * bprm) in begin_new_exec()
1407 void would_dump(struct linux_binprm *bprm, struct file *file) in would_dump()
1429 void setup_new_exec(struct linux_binprm * bprm) in setup_new_exec()
1449 void finalize_exec(struct linux_binprm *bprm) in finalize_exec()
1464 static int prepare_bprm_creds(struct linux_binprm *bprm) in prepare_bprm_creds()
1477 static void free_bprm(struct linux_binprm *bprm) in free_bprm()
1503 struct linux_binprm *bprm = kzalloc(sizeof(*bprm), GFP_KERNEL); in alloc_bprm() local
1534 int bprm_change_interp(const char *interp, struct linux_binprm *bprm) in bprm_change_interp()
1551 static void check_unsafe_exec(struct linux_binprm *bprm) in check_unsafe_exec()
1583 static void bprm_fill_uid(struct linux_binprm *bprm, struct file *file) in bprm_fill_uid()
1633 static int bprm_creds_from_file(struct linux_binprm *bprm) in bprm_creds_from_file()
1648 static int prepare_binprm(struct linux_binprm *bprm) in prepare_binprm()
1661 int remove_arg_zero(struct linux_binprm *bprm) in remove_arg_zero()
1701 static int search_binary_handler(struct linux_binprm *bprm) in search_binary_handler()
1747 static int exec_binprm(struct linux_binprm *bprm) in exec_binprm()
1795 static int bprm_execve(struct linux_binprm *bprm, in bprm_execve()
1867 struct linux_binprm *bprm; in do_execveat_common() local
1935 struct linux_binprm *bprm; in kernel_execve() local