diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-06-05 18:16:41 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-06-05 18:16:41 +0000 |
commit | 68df1ae9313ff5f059a2d795e7ae913f87497ff4 (patch) | |
tree | 1491b7b27c2e046882e2c2a78ed21f2a0db34f6b | |
parent | dcd487f257e43103d7df5e89786001d5b1ebf218 (diff) |
Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
-rw-r--r-- | libdiskfs/ChangeLog | 4 | ||||
-rw-r--r-- | libdiskfs/file-chmod.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog index 1eebec53..bfb2e141 100644 --- a/libdiskfs/ChangeLog +++ b/libdiskfs/ChangeLog @@ -1,3 +1,7 @@ +Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too. + Mon Feb 24 17:22:05 1997 Miles Bader <miles@gnu.ai.mit.edu> * io-identity.c (diskfs_S_io_identity): Pass CRED's shadow root diff --git a/libdiskfs/file-chmod.c b/libdiskfs/file-chmod.c index c27b5854..66c51a32 100644 --- a/libdiskfs/file-chmod.c +++ b/libdiskfs/file-chmod.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: file_chmod - Copyright (C) 1992, 1993, 1994, 1996 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 1996, 1997 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -22,7 +22,7 @@ error_t diskfs_S_file_chmod (struct protid *cred, mode_t mode) { - mode &= ~(S_IFMT | S_ISPARE); + mode &= ~(S_IFMT | S_ISPARE | S_ITRANS); CHANGE_NODE_FIELD (cred, ({ |