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; }
asmlinkage long sys_setgid16(old_gid_t gid) { return sys_setgid((gid_t)gid); }
asmlinkage long sys32_setgid16(u16 gid) { return sys_setgid((gid_t)gid); }