diff options
author | Jim Meyering <meyering@redhat.com> | 2009-05-27 23:06:15 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-06-02 16:34:53 +0200 |
commit | 2e62250e987dfb2e6253f512ef52707edc626719 (patch) | |
tree | b026ed22fd91612cbbcb0479782214035663f8b4 /src/df.c | |
parent | bb7ff3bccdf643bbe4ae01c09db996e79092da80 (diff) | |
download | coreutils-2e62250e987dfb2e6253f512ef52707edc626719.tar.xz |
chroot: don't set bogus user-ID or group-ID for --u=U: or --u=:G
* src/chroot.c (main): Initialize both "uid" and "gid". To -1.
This also allows one to set the user-ID or primary group-ID to 0,
in case it's not that already.
* tests/chroot/credentials: Test for the above.
Diffstat (limited to 'src/df.c')
0 files changed, 0 insertions, 0 deletions