diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-05-13 18:27:33 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-05-13 18:27:33 +0000 |
commit | 1cdc8c28d051eb4564c2ced70e17384444a8e1f4 (patch) | |
tree | 21226f2a1da2ac29b6794c00fc3ee3700d6fe5f8 /libdiskfs | |
parent | 6c9fdb369129b22b9212e4d82f3fadb15df45eca (diff) |
2001-05-13 Marcus Brinkmann <marcus@gnu.org>
* file-exec.c: Initialize GID with st_gid rather than st_uid.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/ChangeLog | 4 | ||||
-rw-r--r-- | libdiskfs/file-exec.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog index a332ea73..eb0ee24d 100644 --- a/libdiskfs/ChangeLog +++ b/libdiskfs/ChangeLog @@ -1,3 +1,7 @@ +2001-05-13 Marcus Brinkmann <marcus@gnu.org> + + * file-exec.c: Initialize GID with st_gid rather than st_uid. + 2001-04-22 Neal H Walfield <neal@cs.uml.edu> * Makefile (OTHERSRCS): Add extern-inline.c. diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 45800506..9a4ca35f 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -87,7 +87,7 @@ diskfs_S_file_exec (struct protid *cred, mutex_lock (&np->lock); mode = np->dn_stat.st_mode; uid = np->dn_stat.st_uid; - gid = np->dn_stat.st_uid; + gid = np->dn_stat.st_gid; mutex_unlock (&np->lock); if (_diskfs_noexec) |