Home
last modified time | relevance | path

Searched refs:linux_binprm (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/linux/include/linux/
H A Dbinfmts.h18 struct linux_binprm { struct
85 int (*load_binary)(struct linux_binprm *); argument
108 extern int __must_check remove_arg_zero(struct linux_binprm *);
109 extern int begin_new_exec(struct linux_binprm * bprm);
110 extern void setup_new_exec(struct linux_binprm * bprm);
111 extern void finalize_exec(struct linux_binprm *bprm);
112 extern void would_dump(struct linux_binprm *, struct file *);
121 extern int setup_arg_pages(struct linux_binprm * bprm,
124 extern int transfer_args_to_stack(struct linux_binprm *bprm,
126 extern int bprm_change_interp(const char *interp, struct linux_binprm *bprm);
[all …]
H A Dima.h15 struct linux_binprm;
19 extern int ima_bprm_check(struct linux_binprm *bprm);
60 static inline int ima_bprm_check(struct linux_binprm *bprm) in ima_bprm_check()
H A Daudit.h33 struct linux_binprm;
405 extern void __audit_bprm(struct linux_binprm *bprm);
413 extern int __audit_log_bprm_fcaps(struct linux_binprm *bprm,
441 static inline void audit_bprm(struct linux_binprm *bprm) in audit_bprm()
493 static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, in audit_log_bprm_fcaps()
635 static inline void audit_bprm(struct linux_binprm *bprm) in audit_bprm()
664 static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, in audit_log_bprm_fcaps()
H A Dsecurity.h36 struct linux_binprm;
292 int security_bprm_creds_for_exec(struct linux_binprm *bprm);
293 int security_bprm_creds_from_file(struct linux_binprm *bprm, struct file *file);
294 int security_bprm_check(struct linux_binprm *bprm);
295 void security_bprm_committing_creds(struct linux_binprm *bprm);
296 void security_bprm_committed_creds(struct linux_binprm *bprm);
612 static inline int security_bprm_creds_for_exec(struct linux_binprm *bprm) in security_bprm_creds_for_exec()
617 static inline int security_bprm_creds_from_file(struct linux_binprm *bprm, in security_bprm_creds_from_file()
623 static inline int security_bprm_check(struct linux_binprm *bprm) in security_bprm_check()
628 static inline void security_bprm_committing_creds(struct linux_binprm *bprm) in security_bprm_committing_creds()
[all …]
/openbmc/linux/fs/
H A Dexec.c366 static int bprm_mm_init(struct linux_binprm *bprm) in bprm_mm_init()
522 struct linux_binprm *bprm) in copy_strings()
654 struct linux_binprm *bprm) in copy_strings_kernel()
747 int setup_arg_pages(struct linux_binprm *bprm, in setup_arg_pages()
1245 int begin_new_exec(struct linux_binprm * bprm) in begin_new_exec()
1442 void setup_new_exec(struct linux_binprm * bprm) in setup_new_exec()
1462 void finalize_exec(struct linux_binprm *bprm) in finalize_exec()
1490 static void free_bprm(struct linux_binprm *bprm) in free_bprm()
1685 int remove_arg_zero(struct linux_binprm *bprm) in remove_arg_zero()
1901 struct linux_binprm *bprm; in do_execveat_common()
[all …]
/openbmc/qemu/linux-user/
H A Dloader.h73 struct linux_binprm { struct
90 struct linux_binprm *); argument
93 int load_elf_binary(struct linux_binprm *bprm, struct image_info *info);
94 int load_flt_binary(struct linux_binprm *bprm, struct image_info *info);
/openbmc/linux/arch/riscv/include/asm/
H A Delf.h128 struct linux_binprm;
129 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
157 extern int compat_arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/x86/include/asm/
H A Dia32.h63 struct linux_binprm;
64 extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
H A Delf.h368 struct linux_binprm;
371 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
373 extern int compat_arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/arm64/include/asm/
H A Delf.h185 struct linux_binprm;
186 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
243 extern int aarch32_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/csky/include/asm/
H A Delf.h87 struct linux_binprm;
88 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dima.c67 void BPF_PROG(bprm_committed_creds, struct linux_binprm *bprm) in BPF_PROG()
73 int BPF_PROG(bprm_creds_for_exec, struct linux_binprm *bprm) in BPF_PROG()
H A Dbprm_opts.c22 int BPF_PROG(secure_exec, struct linux_binprm *bprm) in BPF_PROG()
/openbmc/linux/arch/nios2/include/asm/
H A Delf.h32 struct linux_binprm;
33 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/arm/include/asm/
H A Delf.h152 struct linux_binprm;
153 int arch_setup_additional_pages(struct linux_binprm *, int);
/openbmc/linux/arch/x86/entry/vdso/
H A Dvma.c60 struct linux_binprm;
367 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages()
376 int compat_arch_setup_additional_pages(struct linux_binprm *bprm, in compat_arch_setup_additional_pages()
394 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages()
/openbmc/linux/arch/riscv/kernel/
H A Dvdso.c216 struct linux_binprm *bprm, in __setup_additional_pages()
259 int compat_arch_setup_additional_pages(struct linux_binprm *bprm, in compat_arch_setup_additional_pages()
276 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages()
/openbmc/linux/arch/sparc/include/asm/
H A Delf_64.h227 struct linux_binprm;
230 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/powerpc/include/asm/
H A Delf.h116 struct linux_binprm;
117 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/sh/include/asm/
H A Delf.h169 struct linux_binprm;
170 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/security/apparmor/include/
H A Ddomain.h28 int apparmor_bprm_creds_for_exec(struct linux_binprm *bprm);
/openbmc/linux/arch/hexagon/include/asm/
H A Delf.h211 struct linux_binprm;
212 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/x86/um/asm/
H A Delf.h185 struct linux_binprm;
186 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/openbmc/linux/arch/arm64/kernel/
H A Dvdso.c190 struct linux_binprm *bprm, in __setup_additional_pages()
388 int aarch32_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in aarch32_setup_additional_pages()
439 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages()
/openbmc/linux/arch/s390/include/asm/
H A Delf.h297 struct linux_binprm;
300 int arch_setup_additional_pages(struct linux_binprm *, int);

123