Lines Matching refs:user_auxv
1974 unsigned long user_auxv[AT_VECTOR_SIZE]; in prctl_set_mm_map() local
1978 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_mm_map()
2003 memset(user_auxv, 0, sizeof(user_auxv)); in prctl_set_mm_map()
2004 if (copy_from_user(user_auxv, in prctl_set_mm_map()
2010 user_auxv[AT_VECTOR_SIZE - 2] = AT_NULL; in prctl_set_mm_map()
2011 user_auxv[AT_VECTOR_SIZE - 1] = AT_NULL; in prctl_set_mm_map()
2072 memcpy(mm->saved_auxv, user_auxv, sizeof(user_auxv)); in prctl_set_mm_map()
2088 unsigned long user_auxv[AT_VECTOR_SIZE] = {}; in prctl_set_auxv() local
2090 if (len > sizeof(user_auxv)) in prctl_set_auxv()
2093 if (copy_from_user(user_auxv, (const void __user *)addr, len)) in prctl_set_auxv()
2097 user_auxv[AT_VECTOR_SIZE - 2] = 0; in prctl_set_auxv()
2098 user_auxv[AT_VECTOR_SIZE - 1] = 0; in prctl_set_auxv()
2100 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_auxv()
2103 memcpy(mm->saved_auxv, user_auxv, len); in prctl_set_auxv()