Lines Matching refs:user_auxv
1992 unsigned long user_auxv[AT_VECTOR_SIZE]; in prctl_set_mm_map() local
1996 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_mm_map()
2021 memset(user_auxv, 0, sizeof(user_auxv)); in prctl_set_mm_map()
2022 if (copy_from_user(user_auxv, in prctl_set_mm_map()
2028 user_auxv[AT_VECTOR_SIZE - 2] = AT_NULL; in prctl_set_mm_map()
2029 user_auxv[AT_VECTOR_SIZE - 1] = AT_NULL; in prctl_set_mm_map()
2090 memcpy(mm->saved_auxv, user_auxv, sizeof(user_auxv)); in prctl_set_mm_map()
2106 unsigned long user_auxv[AT_VECTOR_SIZE] = {}; in prctl_set_auxv() local
2108 if (len > sizeof(user_auxv)) in prctl_set_auxv()
2111 if (copy_from_user(user_auxv, (const void __user *)addr, len)) in prctl_set_auxv()
2115 user_auxv[AT_VECTOR_SIZE - 2] = 0; in prctl_set_auxv()
2116 user_auxv[AT_VECTOR_SIZE - 1] = 0; in prctl_set_auxv()
2118 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_auxv()
2121 memcpy(mm->saved_auxv, user_auxv, len); in prctl_set_auxv()