Home
last modified time | relevance | path

Searched refs:bprm (Results 1 – 54 of 54) sorted by relevance

/linux-4.1.27/fs/
Dexec.c170 static void acct_arg_size(struct linux_binprm *bprm, unsigned long pages) in acct_arg_size() argument
173 long diff = (long)(pages - bprm->vma_pages); in acct_arg_size()
178 bprm->vma_pages = pages; in acct_arg_size()
182 static struct page *get_arg_page(struct linux_binprm *bprm, unsigned long pos, in get_arg_page() argument
190 ret = expand_downwards(bprm->vma, pos); in get_arg_page()
195 ret = get_user_pages(current, bprm->mm, pos, in get_arg_page()
201 unsigned long size = bprm->vma->vm_end - bprm->vma->vm_start; in get_arg_page()
204 acct_arg_size(bprm, size / PAGE_SIZE); in get_arg_page()
235 static void free_arg_page(struct linux_binprm *bprm, int i) in free_arg_page() argument
239 static void free_arg_pages(struct linux_binprm *bprm) in free_arg_pages() argument
[all …]
Dbinfmt_script.c17 static int load_script(struct linux_binprm *bprm) in load_script() argument
25 if ((bprm->buf[0] != '#') || (bprm->buf[1] != '!')) in load_script()
34 if (bprm->interp_flags & BINPRM_FLAGS_PATH_INACCESSIBLE) in load_script()
42 allow_write_access(bprm->file); in load_script()
43 fput(bprm->file); in load_script()
44 bprm->file = NULL; in load_script()
46 bprm->buf[BINPRM_BUF_SIZE - 1] = '\0'; in load_script()
47 if ((cp = strchr(bprm->buf, '\n')) == NULL) in load_script()
48 cp = bprm->buf+BINPRM_BUF_SIZE-1; in load_script()
50 while (cp > bprm->buf) { in load_script()
[all …]
Dbinfmt_em86.c25 static int load_em86(struct linux_binprm *bprm) in load_em86() argument
33 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
41 !bprm->file->f_op->mmap) { in load_em86()
46 if (bprm->interp_flags & BINPRM_FLAGS_PATH_INACCESSIBLE) in load_em86()
49 allow_write_access(bprm->file); in load_em86()
50 fput(bprm->file); in load_em86()
51 bprm->file = NULL; in load_em86()
68 remove_arg_zero(bprm); in load_em86()
69 retval = copy_strings_kernel(1, &bprm->filename, bprm); in load_em86()
71 bprm->argc++; in load_em86()
[all …]
Dbinfmt_flat.c123 struct linux_binprm * bprm) in create_flat_tables() argument
128 int argc = bprm->argc; in create_flat_tables()
129 int envc = bprm->envc; in create_flat_tables()
182 struct linux_binprm *bprm, in decompress_exec() argument
210 ret = kernel_read(bprm->file, offset, buf, LBUFSIZE); in decompress_exec()
281 ret = kernel_read(bprm->file, fpos, buf, LBUFSIZE); in decompress_exec()
426 static int load_flat_file(struct linux_binprm * bprm, in load_flat_file() argument
443 hdr = ((struct flat_hdr *) bprm->buf); /* exec-header */ in load_flat_file()
444 inode = file_inode(bprm->file); in load_flat_file()
472 printk("BINFMT_FLAT: Loading file: %s\n", bprm->filename); in load_flat_file()
[all …]
Dbinfmt_aout.c144 static unsigned long __user *create_aout_tables(char __user *p, struct linux_binprm * bprm) in create_aout_tables() argument
149 int argc = bprm->argc; in create_aout_tables()
150 int envc = bprm->envc; in create_aout_tables()
157 if (bprm->loader) { in create_aout_tables()
160 put_user(bprm->loader, --sp); in create_aout_tables()
163 put_user(bprm->exec, --sp); in create_aout_tables()
202 static int load_aout_binary(struct linux_binprm * bprm) in load_aout_binary() argument
211 ex = *((struct exec *) bprm->buf); /* exec-header */ in load_aout_binary()
215 i_size_read(file_inode(bprm->file)) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) { in load_aout_binary()
223 if (!bprm->file->f_op->mmap) in load_aout_binary()
[all …]
Dbinfmt_misc.c84 static Node *check_file(struct linux_binprm *bprm) in check_file() argument
86 char *p = strrchr(bprm->interp, '.'); in check_file()
107 s = bprm->buf + e->offset; in check_file()
126 static int load_misc_binary(struct linux_binprm *bprm) in load_misc_binary() argument
141 fmt = check_file(bprm); in load_misc_binary()
149 if (bprm->interp_flags & BINPRM_FLAGS_PATH_INACCESSIBLE) in load_misc_binary()
153 retval = remove_arg_zero(bprm); in load_misc_binary()
169 fd_install(fd_binary, bprm->file); in load_misc_binary()
173 would_dump(bprm, bprm->file); in load_misc_binary()
175 allow_write_access(bprm->file); in load_misc_binary()
[all …]
Dbinfmt_elf_fdpic.c167 static int load_elf_fdpic_binary(struct linux_binprm *bprm) in load_elf_fdpic_binary() argument
189 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
194 if (!is_elf_fdpic(&exec_params.hdr, bprm->file)) in load_elf_fdpic_binary()
198 retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file); in load_elf_fdpic_binary()
220 retval = kernel_read(bprm->file, in load_elf_fdpic_binary()
249 would_dump(bprm, interpreter); in load_elf_fdpic_binary()
251 retval = kernel_read(interpreter, 0, bprm->buf, in load_elf_fdpic_binary()
259 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary()
315 retval = flush_old_exec(bprm); in load_elf_fdpic_binary()
326 setup_new_exec(bprm); in load_elf_fdpic_binary()
[all …]
Dbinfmt_elf.c49 static int load_elf_binary(struct linux_binprm *bprm);
150 create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec, in create_elf_tables() argument
153 unsigned long p = bprm->p; in create_elf_tables()
154 int argc = bprm->argc; in create_elf_tables()
155 int envc = bprm->envc; in create_elf_tables()
247 NEW_AUX_ENT(AT_SECURE, security_bprm_secureexec(bprm)); in create_elf_tables()
252 NEW_AUX_ENT(AT_EXECFN, bprm->exec); in create_elf_tables()
261 if (bprm->interp_flags & BINPRM_FLAGS_EXECFD) { in create_elf_tables()
262 NEW_AUX_ENT(AT_EXECFD, bprm->interp_data); in create_elf_tables()
275 bprm->p = STACK_ROUND(sp, items); in create_elf_tables()
[all …]
/linux-4.1.27/arch/alpha/kernel/
Dbinfmt_loader.c8 static int load_binary(struct linux_binprm *bprm) in load_binary() argument
10 struct exec *eh = (struct exec *)bprm->buf; in load_binary()
18 if (bprm->loader) in load_binary()
21 allow_write_access(bprm->file); in load_binary()
22 fput(bprm->file); in load_binary()
23 bprm->file = NULL; in load_binary()
25 loader = bprm->vma->vm_end - sizeof(void *); in load_binary()
33 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
35 bprm->file = file; in load_binary()
36 bprm->loader = loader; in load_binary()
[all …]
/linux-4.1.27/include/linux/
Dbinfmts.h101 extern int flush_old_exec(struct linux_binprm * bprm);
102 extern void setup_new_exec(struct linux_binprm * bprm);
112 extern int setup_arg_pages(struct linux_binprm * bprm,
115 extern int bprm_change_interp(char *interp, struct linux_binprm *bprm);
117 struct linux_binprm *bprm);
118 extern int prepare_bprm_creds(struct linux_binprm *bprm);
119 extern void install_exec_creds(struct linux_binprm *bprm);
Daudit.h240 extern void __audit_bprm(struct linux_binprm *bprm);
248 extern int __audit_log_bprm_fcaps(struct linux_binprm *bprm,
269 static inline void audit_bprm(struct linux_binprm *bprm) in audit_bprm() argument
272 __audit_bprm(bprm); in audit_bprm()
307 static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, in audit_log_bprm_fcaps() argument
312 return __audit_log_bprm_fcaps(bprm, new, old); in audit_log_bprm_fcaps()
400 static inline void audit_bprm(struct linux_binprm *bprm) in audit_bprm() argument
423 static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, in audit_log_bprm_fcaps() argument
Dima.h17 extern int ima_bprm_check(struct linux_binprm *bprm);
25 static inline int ima_bprm_check(struct linux_binprm *bprm) in ima_bprm_check() argument
Dsecurity.h86 extern int cap_bprm_set_creds(struct linux_binprm *bprm);
87 extern int cap_bprm_secureexec(struct linux_binprm *bprm);
1489 int (*bprm_set_creds) (struct linux_binprm *bprm);
1490 int (*bprm_check_security) (struct linux_binprm *bprm);
1491 int (*bprm_secureexec) (struct linux_binprm *bprm);
1492 void (*bprm_committing_creds) (struct linux_binprm *bprm);
1493 void (*bprm_committed_creds) (struct linux_binprm *bprm);
1794 int security_bprm_set_creds(struct linux_binprm *bprm);
1795 int security_bprm_check(struct linux_binprm *bprm);
1796 void security_bprm_committing_creds(struct linux_binprm *bprm);
[all …]
/linux-4.1.27/security/
Dcommoncap.c286 static inline void bprm_clear_caps(struct linux_binprm *bprm) in bprm_clear_caps() argument
288 cap_clear(bprm->cred->cap_permitted); in bprm_clear_caps()
289 bprm->cap_effective = false; in bprm_clear_caps()
340 struct linux_binprm *bprm, in bprm_caps_from_vfs_caps() argument
344 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps()
440 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_cap) in get_file_caps() argument
445 bprm_clear_caps(bprm); in get_file_caps()
450 if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID) in get_file_caps()
453 rc = get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps); in get_file_caps()
457 __func__, rc, bprm->filename); in get_file_caps()
[all …]
Dsecurity.c237 int security_bprm_set_creds(struct linux_binprm *bprm) in security_bprm_set_creds() argument
239 return security_ops->bprm_set_creds(bprm); in security_bprm_set_creds()
242 int security_bprm_check(struct linux_binprm *bprm) in security_bprm_check() argument
246 ret = security_ops->bprm_check_security(bprm); in security_bprm_check()
249 return ima_bprm_check(bprm); in security_bprm_check()
252 void security_bprm_committing_creds(struct linux_binprm *bprm) in security_bprm_committing_creds() argument
254 security_ops->bprm_committing_creds(bprm); in security_bprm_committing_creds()
257 void security_bprm_committed_creds(struct linux_binprm *bprm) in security_bprm_committed_creds() argument
259 security_ops->bprm_committed_creds(bprm); in security_bprm_committed_creds()
262 int security_bprm_secureexec(struct linux_binprm *bprm) in security_bprm_secureexec() argument
[all …]
Dcapability.c53 static int cap_bprm_check_security(struct linux_binprm *bprm) in cap_bprm_check_security() argument
58 static void cap_bprm_committing_creds(struct linux_binprm *bprm) in cap_bprm_committing_creds() argument
62 static void cap_bprm_committed_creds(struct linux_binprm *bprm) in cap_bprm_committed_creds() argument
/linux-4.1.27/security/apparmor/include/
Ddomain.h26 int apparmor_bprm_set_creds(struct linux_binprm *bprm);
27 int apparmor_bprm_secureexec(struct linux_binprm *bprm);
28 void apparmor_bprm_committing_creds(struct linux_binprm *bprm);
29 void apparmor_bprm_committed_creds(struct linux_binprm *bprm);
/linux-4.1.27/arch/x86/ia32/
Dia32_aout.c219 static u32 __user *create_aout_tables(char __user *p, struct linux_binprm *bprm) in create_aout_tables() argument
222 int argc = bprm->argc, envc = bprm->envc; in create_aout_tables()
260 static int load_aout_binary(struct linux_binprm *bprm) in load_aout_binary() argument
267 ex = *((struct exec *) bprm->buf); /* exec-header */ in load_aout_binary()
271 i_size_read(file_inode(bprm->file)) < in load_aout_binary()
289 retval = flush_old_exec(bprm); in load_aout_binary()
297 setup_new_exec(bprm); in load_aout_binary()
310 retval = setup_arg_pages(bprm, IA32_STACK_TOP, EXSTACK_DEFAULT); in load_aout_binary()
314 install_exec_creds(bprm); in load_aout_binary()
327 error = read_code(bprm->file, text_addr, 32, in load_aout_binary()
[all …]
/linux-4.1.27/security/apparmor/
Ddomain.c337 int apparmor_bprm_set_creds(struct linux_binprm *bprm) in apparmor_bprm_set_creds() argument
346 file_inode(bprm->file)->i_uid, in apparmor_bprm_set_creds()
347 file_inode(bprm->file)->i_mode in apparmor_bprm_set_creds()
350 int error = cap_bprm_set_creds(bprm); in apparmor_bprm_set_creds()
354 if (bprm->cred_prepared) in apparmor_bprm_set_creds()
357 cxt = cred_cxt(bprm->cred); in apparmor_bprm_set_creds()
369 error = aa_path_name(&bprm->file->f_path, profile->path_flags, &buffer, in apparmor_bprm_set_creds()
375 name = bprm->filename; in apparmor_bprm_set_creds()
463 if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) { in apparmor_bprm_set_creds()
472 if (bprm->unsafe & LSM_UNSAFE_SHARE) { in apparmor_bprm_set_creds()
[all …]
/linux-4.1.27/security/tomoyo/
Dtomoyo.c73 static int tomoyo_bprm_set_creds(struct linux_binprm *bprm) in tomoyo_bprm_set_creds() argument
77 rc = cap_bprm_set_creds(bprm); in tomoyo_bprm_set_creds()
85 if (bprm->cred_prepared) in tomoyo_bprm_set_creds()
93 tomoyo_load_policy(bprm->filename); in tomoyo_bprm_set_creds()
102 bprm->cred->security)->users); in tomoyo_bprm_set_creds()
107 bprm->cred->security = NULL; in tomoyo_bprm_set_creds()
118 static int tomoyo_bprm_check_security(struct linux_binprm *bprm) in tomoyo_bprm_check_security() argument
120 struct tomoyo_domain_info *domain = bprm->cred->security; in tomoyo_bprm_check_security()
128 const int err = tomoyo_find_next_domain(bprm); in tomoyo_bprm_check_security()
135 return tomoyo_check_open_permission(domain, &bprm->file->f_path, in tomoyo_bprm_check_security()
Daudit.c21 static char *tomoyo_print_bprm(struct linux_binprm *bprm, in tomoyo_print_bprm() argument
29 unsigned long pos = bprm->p; in tomoyo_print_bprm()
31 int argv_count = bprm->argc; in tomoyo_print_bprm()
32 int envp_count = bprm->envc; in tomoyo_print_bprm()
44 if (!tomoyo_dump_page(bprm, pos, dump)) in tomoyo_print_bprm()
257 struct file *file = r->ee->bprm->file; in tomoyo_init_log()
259 bprm_info = tomoyo_print_bprm(r->ee->bprm, &r->ee->dump); in tomoyo_init_log()
276 struct linux_binprm *bprm = r->ee->bprm; in tomoyo_init_log() local
279 realpath, bprm->argc, bprm->envc, bprm_info); in tomoyo_init_log()
Ddomain.c591 struct linux_binprm *bprm = ee->bprm; in tomoyo_environ() local
596 unsigned long pos = bprm->p; in tomoyo_environ()
598 int argv_count = bprm->argc; in tomoyo_environ()
599 int envp_count = bprm->envc; in tomoyo_environ()
612 if (!tomoyo_dump_page(bprm, pos, &env_page)) in tomoyo_environ()
676 int tomoyo_find_next_domain(struct linux_binprm *bprm) in tomoyo_find_next_domain() argument
680 const char *original_name = bprm->filename; in tomoyo_find_next_domain()
697 ee->bprm = bprm; in tomoyo_find_next_domain()
699 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
843 bprm->cred->security = domain; in tomoyo_find_next_domain()
[all …]
Dcondition.c104 struct linux_binprm *bprm = ee->bprm; in tomoyo_scan_bprm() local
108 unsigned long pos = bprm->p; in tomoyo_scan_bprm()
110 int argv_count = bprm->argc; in tomoyo_scan_bprm()
111 int envp_count = bprm->envc; in tomoyo_scan_bprm()
124 if (!tomoyo_dump_page(bprm, pos, dump)) { in tomoyo_scan_bprm()
153 if (!tomoyo_argv(bprm->argc - argv_count, in tomoyo_scan_bprm()
759 struct linux_binprm *bprm = NULL; in tomoyo_condition() local
767 bprm = r->ee->bprm; in tomoyo_condition()
768 if (!bprm && (argc || envc)) in tomoyo_condition()
802 file = ee ? ee->bprm->file : NULL; in tomoyo_condition()
[all …]
Dcommon.h620 struct linux_binprm *bprm; member
927 bool tomoyo_dump_page(struct linux_binprm *bprm, unsigned long pos,
965 int tomoyo_find_next_domain(struct linux_binprm *bprm);
/linux-4.1.27/kernel/trace/
Dtrace_probe.c179 struct bitfield_fetch_param *bprm = data; \
181 call_fetch(&bprm->orig, regs, &buf); \
183 buf <<= bprm->hi_shift; \
184 buf >>= bprm->low_shift; \
472 struct bitfield_fetch_param *bprm; in __parse_bitfield_probe_arg() local
479 bprm = kzalloc(sizeof(*bprm), GFP_KERNEL); in __parse_bitfield_probe_arg()
480 if (!bprm) in __parse_bitfield_probe_arg()
483 bprm->orig = *f; in __parse_bitfield_probe_arg()
485 f->data = (void *)bprm; in __parse_bitfield_probe_arg()
497 bprm->hi_shift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
[all …]
/linux-4.1.27/arch/arm64/include/asm/
Delf.h147 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
182 extern int aarch32_setup_vectors_page(struct linux_binprm *bprm,
/linux-4.1.27/arch/tile/mm/
Delf.c117 int arch_setup_additional_pages(struct linux_binprm *bprm, in arch_setup_additional_pages() argument
129 sim_notify_exec(bprm->filename); in arch_setup_additional_pages()
/linux-4.1.27/arch/x86/vdso/
Dvma.c202 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
211 int compat_arch_setup_additional_pages(struct linux_binprm *bprm, in compat_arch_setup_additional_pages() argument
227 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/arch/arm64/kernel/
Dvdso.c87 int aarch32_setup_vectors_page(struct linux_binprm *bprm, int uses_interp) in aarch32_setup_vectors_page() argument
155 int arch_setup_additional_pages(struct linux_binprm *bprm, in arch_setup_additional_pages() argument
/linux-4.1.27/arch/x86/include/asm/
Dia32.h72 extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
Delf.h336 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
338 extern int compat_arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/unicore32/include/asm/
Delf.h91 #define arch_setup_additional_pages(bprm, uses_interp) vectors_user_mapping() argument
/linux-4.1.27/arch/x86/um/vdso/
Dvma.c55 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/include/trace/events/
Dsched.h288 struct linux_binprm *bprm),
290 TP_ARGS(p, old_pid, bprm),
293 __string( filename, bprm->filename )
299 __assign_str(filename, bprm->filename);
/linux-4.1.27/arch/hexagon/kernel/
Dvdso.c62 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/arch/sh/kernel/vsyscall/
Dvsyscall.c61 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/security/integrity/ima/
Dima_main.c289 int ima_bprm_check(struct linux_binprm *bprm) in ima_bprm_check() argument
291 return process_measurement(bprm->file, MAY_EXEC, BPRM_CHECK, 0); in ima_bprm_check()
/linux-4.1.27/arch/nios2/mm/
Dinit.c122 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/arch/powerpc/include/asm/
Delf.h122 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/nios2/include/asm/
Delf.h46 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/mips/kernel/
Dvdso.c86 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/arch/tile/include/asm/
Delf.h132 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/metag/include/asm/
Dprocessor.h113 unsigned int *argc = (unsigned int *) bprm->exec; \
/linux-4.1.27/security/selinux/
Dhooks.c2153 static int check_nnp_nosuid(const struct linux_binprm *bprm, in check_nnp_nosuid() argument
2157 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid()
2158 int nosuid = (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID); in check_nnp_nosuid()
2188 static int selinux_bprm_set_creds(struct linux_binprm *bprm) in selinux_bprm_set_creds() argument
2194 struct inode *inode = file_inode(bprm->file); in selinux_bprm_set_creds()
2197 rc = cap_bprm_set_creds(bprm); in selinux_bprm_set_creds()
2203 if (bprm->cred_prepared) in selinux_bprm_set_creds()
2207 new_tsec = bprm->cred->security; in selinux_bprm_set_creds()
2225 rc = check_nnp_nosuid(bprm, old_tsec, new_tsec); in selinux_bprm_set_creds()
2240 rc = check_nnp_nosuid(bprm, old_tsec, new_tsec); in selinux_bprm_set_creds()
[all …]
/linux-4.1.27/security/smack/
Dsmack_lsm.c715 static int smack_bprm_set_creds(struct linux_binprm *bprm) in smack_bprm_set_creds() argument
717 struct inode *inode = file_inode(bprm->file); in smack_bprm_set_creds()
718 struct task_smack *bsp = bprm->cred->security; in smack_bprm_set_creds()
722 rc = cap_bprm_set_creds(bprm); in smack_bprm_set_creds()
726 if (bprm->cred_prepared) in smack_bprm_set_creds()
733 if (bprm->unsafe & (LSM_UNSAFE_PTRACE | LSM_UNSAFE_PTRACE_CAP)) { in smack_bprm_set_creds()
748 } else if (bprm->unsafe) in smack_bprm_set_creds()
752 bprm->per_clear |= PER_CLEAR_ON_SETID; in smack_bprm_set_creds()
763 static void smack_bprm_committing_creds(struct linux_binprm *bprm) in smack_bprm_committing_creds() argument
765 struct task_smack *bsp = bprm->cred->security; in smack_bprm_committing_creds()
[all …]
/linux-4.1.27/arch/hexagon/include/asm/
Delf.h230 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/x86/um/asm/
Delf.h187 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/parisc/include/asm/
Dprocessor.h302 elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \
/linux-4.1.27/arch/s390/kernel/
Dvdso.c174 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/arch/sh/include/asm/
Delf.h193 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/mips/include/asm/
Delf.h422 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/linux-4.1.27/arch/arm/kernel/
Dprocess.c377 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/linux-4.1.27/kernel/
Dauditsc.c2152 void __audit_bprm(struct linux_binprm *bprm) in __audit_bprm() argument
2157 context->execve.argc = bprm->argc; in __audit_bprm()
2301 int __audit_log_bprm_fcaps(struct linux_binprm *bprm, in __audit_log_bprm_fcaps() argument
2316 get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps); in __audit_log_bprm_fcaps()
/linux-4.1.27/arch/powerpc/kernel/
Dvdso.c191 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument