]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/proc/array.c
proc: pid/status: show all supplementary groups
[~shefty/rdma-dev.git] / fs / proc / array.c
index 077235ffb38b75834bbbf5617c6c7306f7101bbf..439544fec388083954d961082113bbc54bbac7f2 100644 (file)
@@ -212,7 +212,7 @@ static inline void task_state(struct seq_file *m, struct pid_namespace *ns,
        group_info = cred->group_info;
        task_unlock(p);
 
-       for (g = 0; g < min(group_info->ngroups, NGROUPS_SMALL); g++)
+       for (g = 0; g < group_info->ngroups; g++)
                seq_printf(m, "%d ",
                           from_kgid_munged(user_ns, GROUP_AT(group_info, g)));
        put_cred(cred);