Lines Matching defs:bprm

185 static void acct_arg_size(struct linux_binprm *bprm, unsigned long pages)  in acct_arg_size()
197 static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, in get_arg_page()
243 static void free_arg_pages(struct linux_binprm *bprm) in free_arg_pages()
247 static void flush_arg_page(struct linux_binprm *bprm, unsigned long pos, in flush_arg_page()
253 static int __bprm_mm_init(struct linux_binprm *bprm) in __bprm_mm_init()
297 static bool valid_arg_len(struct linux_binprm *bprm, long len) in valid_arg_len()
304 static inline void acct_arg_size(struct linux_binprm *bprm, unsigned long pages) in acct_arg_size()
308 static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, in get_arg_page()
328 static void free_arg_page(struct linux_binprm *bprm, int i) in free_arg_page()
336 static void free_arg_pages(struct linux_binprm *bprm) in free_arg_pages()
344 static void flush_arg_page(struct linux_binprm *bprm, unsigned long pos, in flush_arg_page()
349 static int __bprm_mm_init(struct linux_binprm *bprm) in __bprm_mm_init()
355 static bool valid_arg_len(struct linux_binprm *bprm, long len) in valid_arg_len()
368 static int bprm_mm_init(struct linux_binprm *bprm) in bprm_mm_init()
477 static int bprm_stack_limits(struct linux_binprm *bprm) in bprm_stack_limits()
524 struct linux_binprm *bprm) in copy_strings()
618 int copy_string_kernel(const char *arg, struct linux_binprm *bprm) in copy_string_kernel()
656 struct linux_binprm *bprm) in copy_strings_kernel()
749 int setup_arg_pages(struct linux_binprm *bprm, in setup_arg_pages()
877 int transfer_args_to_stack(struct linux_binprm *bprm, in transfer_args_to_stack()
1246 int begin_new_exec(struct linux_binprm * bprm) in begin_new_exec()
1421 void would_dump(struct linux_binprm *bprm, struct file *file) in would_dump()
1443 void setup_new_exec(struct linux_binprm * bprm) in setup_new_exec()
1463 void finalize_exec(struct linux_binprm *bprm) in finalize_exec()
1478 static int prepare_bprm_creds(struct linux_binprm *bprm) in prepare_bprm_creds()
1491 static void free_bprm(struct linux_binprm *bprm) in free_bprm()
1517 struct linux_binprm *bprm = kzalloc(sizeof(*bprm), GFP_KERNEL); in alloc_bprm() local
1548 int bprm_change_interp(const char *interp, struct linux_binprm *bprm) in bprm_change_interp()
1565 static void check_unsafe_exec(struct linux_binprm *bprm) in check_unsafe_exec()
1603 static void bprm_fill_uid(struct linux_binprm *bprm, struct file *file) in bprm_fill_uid()
1652 static int bprm_creds_from_file(struct linux_binprm *bprm) in bprm_creds_from_file()
1667 static int prepare_binprm(struct linux_binprm *bprm) in prepare_binprm()
1680 int remove_arg_zero(struct linux_binprm *bprm) in remove_arg_zero()
1720 static int search_binary_handler(struct linux_binprm *bprm) in search_binary_handler()
1767 static int exec_binprm(struct linux_binprm *bprm) in exec_binprm()
1815 static int bprm_execve(struct linux_binprm *bprm, in bprm_execve()
1896 struct linux_binprm *bprm; in do_execveat_common() local
1980 struct linux_binprm *bprm; in kernel_execve() local