OSDN Git Service

kprobes: Don't call BUG_ON() if there is a kprobe in use on free list
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / kernel / uid16.c
index d58cc4d..651aaa5 100644 (file)
@@ -190,6 +190,7 @@ SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist)
                return retval;
        }
 
+       groups_sort(group_info);
        retval = set_current_groups(group_info);
        put_group_info(group_info);