Searched refs:MAX_ARG_STRLEN (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dbinfmts.h10 * execve() system call. MAX_ARG_STRLEN is essentially random but serves to
14 #define MAX_ARG_STRLEN (PAGE_SIZE * 32) macro
/linux-4.1.27/fs/
H A Dbinfmt_elf_fdpic.c662 len = strnlen_user(p, MAX_ARG_STRLEN); create_elf_fdpic_tables()
663 if (!len || len > MAX_ARG_STRLEN) create_elf_fdpic_tables()
674 len = strnlen_user(p, MAX_ARG_STRLEN); create_elf_fdpic_tables()
675 if (!len || len > MAX_ARG_STRLEN) create_elf_fdpic_tables()
H A Dbinfmt_elf.c306 len = strnlen_user((void __user *)p, MAX_ARG_STRLEN); create_elf_tables()
307 if (!len || len > MAX_ARG_STRLEN) create_elf_tables()
318 len = strnlen_user((void __user *)p, MAX_ARG_STRLEN); create_elf_tables()
319 if (!len || len > MAX_ARG_STRLEN) create_elf_tables()
H A Dexec.c293 return len <= MAX_ARG_STRLEN; valid_arg_len()
472 len = strnlen_user(str, MAX_ARG_STRLEN); copy_strings()
/linux-4.1.27/kernel/
H A Dauditsc.c1018 len_left = len = strnlen_user(p, MAX_ARG_STRLEN) - 1; audit_log_single_execve_arg()
1026 if (unlikely((len == -1) || len > MAX_ARG_STRLEN - 1)) { audit_log_single_execve_arg()

Completed in 386 milliseconds