Searched refs:BINPRM_BUF_SIZE (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/include/uapi/linux/ |
H A D | binfmts.h | 18 #define BINPRM_BUF_SIZE 128 macro
|
/linux-4.1.27/fs/ |
H A D | binfmt_script.c | 22 char interp[BINPRM_BUF_SIZE]; load_script() 46 bprm->buf[BINPRM_BUF_SIZE - 1] = '\0'; load_script() 48 cp = bprm->buf+BINPRM_BUF_SIZE-1; load_script()
|
H A D | binfmt_misc.c | 69 * - offset: 3 bytes (has to be smaller than BINPRM_BUF_SIZE) 130 char iname[BINPRM_BUF_SIZE]; load_misc_binary() 143 strlcpy(iname, fmt->interpreter, BINPRM_BUF_SIZE); load_misc_binary() 215 memset(bprm->buf, 0, BINPRM_BUF_SIZE); load_misc_binary() 216 retval = kernel_read(bprm->file, 0, bprm->buf, BINPRM_BUF_SIZE); load_misc_binary() 413 if (e->size + e->offset > BINPRM_BUF_SIZE) create_entry()
|
H A D | exec.c | 1330 * Check permissions, then read the first 128 (BINPRM_BUF_SIZE) bytes 1346 memset(bprm->buf, 0, BINPRM_BUF_SIZE); prepare_binprm() 1347 return kernel_read(bprm->file, 0, bprm->buf, BINPRM_BUF_SIZE); prepare_binprm()
|
H A D | binfmt_elf_fdpic.c | 252 BINPRM_BUF_SIZE); load_elf_fdpic_binary() 253 if (unlikely(retval != BINPRM_BUF_SIZE)) { load_elf_fdpic_binary()
|
H A D | binfmt_elf.c | 763 BINPRM_BUF_SIZE); load_elf_binary() 764 if (retval != BINPRM_BUF_SIZE) { load_elf_binary()
|
/linux-4.1.27/include/linux/ |
H A D | binfmts.h | 15 char buf[BINPRM_BUF_SIZE];
|
Completed in 201 milliseconds