Exemple #1
0
asmlinkage long sys_setgid16(old_gid_t gid)
{
    long ret = sys_setgid(low2highgid(gid));
    /* avoid REGPARM breakage on x86: */
    asmlinkage_protect(1, ret, gid);
    return ret;
}
SYSCALL_DEFINE1(setgid16, old_gid_t, gid)
{
	long ret = sys_setgid(low2highgid(gid));
	/* avoid REGPARM breakage on x86: */
	asmlinkage_protect(1, ret, gid);
	return ret;
}
Exemple #3
0
asmlinkage long sys_setgid16(old_gid_t gid)
{
	return sys_setgid((gid_t)gid);
}
Exemple #4
0
asmlinkage long sys32_setgid16(u16 gid)
{
	return sys_setgid((gid_t)gid);
}