Lines Matching refs:user_auxv
2014 unsigned long user_auxv[AT_VECTOR_SIZE]; in prctl_set_mm_map() local
2018 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_mm_map()
2043 memset(user_auxv, 0, sizeof(user_auxv)); in prctl_set_mm_map()
2044 if (copy_from_user(user_auxv, in prctl_set_mm_map()
2050 user_auxv[AT_VECTOR_SIZE - 2] = AT_NULL; in prctl_set_mm_map()
2051 user_auxv[AT_VECTOR_SIZE - 1] = AT_NULL; in prctl_set_mm_map()
2112 memcpy(mm->saved_auxv, user_auxv, sizeof(user_auxv)); in prctl_set_mm_map()
2128 unsigned long user_auxv[AT_VECTOR_SIZE] = {}; in prctl_set_auxv() local
2130 if (len > sizeof(user_auxv)) in prctl_set_auxv()
2133 if (copy_from_user(user_auxv, (const void __user *)addr, len)) in prctl_set_auxv()
2137 user_auxv[AT_VECTOR_SIZE - 2] = 0; in prctl_set_auxv()
2138 user_auxv[AT_VECTOR_SIZE - 1] = 0; in prctl_set_auxv()
2140 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_auxv()
2143 memcpy(mm->saved_auxv, user_auxv, len); in prctl_set_auxv()