Searched refs:gidsetsize (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/kernel/ |
D | uid16.c | 109 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t *grouplist) in sys_getgroups16() argument 114 if (gidsetsize < 0) in sys_getgroups16() 117 if (gidsetsize) { in sys_getgroups16() 118 if (i > gidsetsize) in sys_getgroups16() 128 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t *grouplist) in sys_setgroups16() argument 135 if ((unsigned) gidsetsize > NGROUPS) in sys_setgroups16() 137 if (copy_from_user(groups, grouplist, gidsetsize * sizeof(old_gid_t))) in sys_setgroups16() 139 for (i = 0 ; i < gidsetsize ; i++) in sys_setgroups16() 141 current->ngroups = gidsetsize; in sys_setgroups16()
|
D | sys.c | 950 asmlinkage long sys_getgroups(int gidsetsize, gid_t *grouplist) in sys_getgroups() argument 959 if (gidsetsize < 0) in sys_getgroups() 962 if (gidsetsize) { in sys_getgroups() 963 if (i > gidsetsize) in sys_getgroups() 976 asmlinkage long sys_setgroups(int gidsetsize, gid_t *grouplist) in sys_setgroups() argument 980 if ((unsigned) gidsetsize > NGROUPS) in sys_setgroups() 982 if(copy_from_user(current->groups, grouplist, gidsetsize * sizeof(gid_t))) in sys_setgroups() 984 current->ngroups = gidsetsize; in sys_setgroups()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | sys_ia32.c | 3583 extern asmlinkage long sys_getgroups (int gidsetsize, gid_t *grouplist); 3586 sys32_getgroups16 (int gidsetsize, short *grouplist) in sys32_getgroups16() argument 3593 ret = sys_getgroups(gidsetsize, gl); in sys32_getgroups16() 3596 if (gidsetsize && ret > 0 && ret <= NGROUPS) in sys32_getgroups16() 3603 extern asmlinkage long sys_setgroups (int gidsetsize, gid_t *grouplist); 3606 sys32_setgroups16 (int gidsetsize, short *grouplist) in sys32_setgroups16() argument 3612 if ((unsigned) gidsetsize > NGROUPS) in sys32_setgroups16() 3614 for (i = 0; i < gidsetsize; i++, grouplist++) in sys32_setgroups16() 3618 ret = sys_setgroups(gidsetsize, gl); in sys32_setgroups16()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc32.c | 208 asmlinkage long sys32_getgroups16(int gidsetsize, u16 *grouplist) in sys32_getgroups16() argument 213 if (gidsetsize < 0) in sys32_getgroups16() 216 if (gidsetsize) { in sys32_getgroups16() 217 if (i > gidsetsize) in sys32_getgroups16() 227 asmlinkage long sys32_setgroups16(int gidsetsize, u16 *grouplist) in sys32_setgroups16() argument 234 if ((unsigned) gidsetsize > NGROUPS) in sys32_setgroups16() 236 if (copy_from_user(groups, grouplist, gidsetsize * sizeof(u16))) in sys32_setgroups16() 238 for (i = 0 ; i < gidsetsize ; i++) in sys32_setgroups16() 240 current->ngroups = gidsetsize; in sys32_setgroups16()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | linux32.c | 190 asmlinkage long sys32_getgroups16(int gidsetsize, u16 *grouplist) in sys32_getgroups16() argument 195 if (gidsetsize < 0) in sys32_getgroups16() 198 if (gidsetsize) { in sys32_getgroups16() 199 if (i > gidsetsize) in sys32_getgroups16() 209 asmlinkage long sys32_setgroups16(int gidsetsize, u16 *grouplist) in sys32_setgroups16() argument 216 if ((unsigned) gidsetsize > NGROUPS) in sys32_setgroups16() 218 if (copy_from_user(groups, grouplist, gidsetsize * sizeof(u16))) in sys32_setgroups16() 220 for (i = 0 ; i < gidsetsize ; i++) in sys32_setgroups16() 222 current->ngroups = gidsetsize; in sys32_setgroups16()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | sys_ppc32.c | 4258 extern asmlinkage long sys_getgroups(int gidsetsize, gid_t *grouplist); 4265 asmlinkage long sys32_getgroups(u32 gidsetsize, gid_t *grouplist) in sys32_getgroups() argument 4267 return sys_getgroups((int)gidsetsize, grouplist); in sys32_getgroups() 4522 extern asmlinkage long sys_setgroups(int gidsetsize, gid_t *grouplist); 4529 asmlinkage long sys32_setgroups(u32 gidsetsize, gid_t *grouplist) in sys32_setgroups() argument 4531 return sys_setgroups((int)gidsetsize, grouplist); in sys32_setgroups()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | sysirix.c | 236 extern asmlinkage int sys_getgroups(int gidsetsize, gid_t *grouplist); 237 extern asmlinkage int sys_setgroups(int gidsetsize, gid_t *grouplist);
|