Home
last modified time | relevance | path

Searched refs:mysids2 (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/security/selinux/ss/
Dservices.c2557 u32 *mysids = NULL, *mysids2, sid; in security_get_user_sids() local
2612 mysids2 = kcalloc(maxnel, sizeof(*mysids2), GFP_ATOMIC); in security_get_user_sids()
2613 if (!mysids2) in security_get_user_sids()
2615 memcpy(mysids2, mysids, mynel * sizeof(*mysids2)); in security_get_user_sids()
2617 mysids = mysids2; in security_get_user_sids()
2631 mysids2 = kcalloc(mynel, sizeof(*mysids2), GFP_KERNEL); in security_get_user_sids()
2632 if (!mysids2) { in security_get_user_sids()
2644 mysids2[j++] = mysids[i]; in security_get_user_sids()
2649 *sids = mysids2; in security_get_user_sids()