telephony security group patch
authorsua <jiil.hyoun@samsung.com>
Mon, 31 Jan 2011 02:20:07 +0000 (11:20 +0900)
committersua <jiil.hyoun@samsung.com>
Mon, 31 Jan 2011 02:20:07 +0000 (11:20 +0900)
Change-Id: I4e875844071c58c4867683da043e3f8f07912c61

fs/proc/array.c

index 822c2d5065189906cd6a63bedd27875290964e04..df507005b53c1d37ec86311dd41e4c957c98e56e 100644 (file)
@@ -201,7 +201,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 ", GROUP_AT(group_info, g));
        put_cred(cred);