diff options
author | Jim Meyering <meyering@redhat.com> | 2008-02-22 10:01:36 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-22 20:47:54 +0100 |
commit | a15329798c52c57cc16fc24265327d8b1c73ab41 (patch) | |
tree | 7ea3f66096ded4274a25d703f9cc29e8b5d9987d /tests/du | |
parent | 49f7ebaac45f4d20a70c83c8302444b64259c6d3 (diff) | |
download | coreutils-a15329798c52c57cc16fc24265327d8b1c73ab41.tar.xz |
id: avoid race when a group is added between getgrouplist calls
* gl/lib/mgetgroups.c (mgetgroups) [N_GROUPS_INIT]: Rename enum.
Use a larger value.
Update *groups only upon success.
Iterate upon failed getgrouplist.
Diffstat (limited to 'tests/du')
0 files changed, 0 insertions, 0 deletions