Searched refs:BINPRM_BUF_SIZE (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dbinfmts.h18 #define BINPRM_BUF_SIZE 128 macro
/linux-4.1.27/fs/
H A Dbinfmt_script.c22 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 Dbinfmt_misc.c69 * - 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 Dexec.c1330 * 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 Dbinfmt_elf_fdpic.c252 BINPRM_BUF_SIZE); load_elf_fdpic_binary()
253 if (unlikely(retval != BINPRM_BUF_SIZE)) { load_elf_fdpic_binary()
H A Dbinfmt_elf.c763 BINPRM_BUF_SIZE); load_elf_binary()
764 if (retval != BINPRM_BUF_SIZE) { load_elf_binary()
/linux-4.1.27/include/linux/
H A Dbinfmts.h15 char buf[BINPRM_BUF_SIZE];

Completed in 201 milliseconds