summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-06-05 18:18:06 +0000
committerThomas Bushnell <thomas@gnu.org>1997-06-05 18:18:06 +0000
commitc748bd1bc096e3bd898c6abf19c688a94eb889ea (patch)
treee3ba74819e6c2d2bd52dfb042b90874e23d415e3 /term
parent8cee1451070ea6aae1f63054211b1d5c8f376410 (diff)
Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
Diffstat (limited to 'term')
-rw-r--r--term/ChangeLog4
-rw-r--r--term/users.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/term/ChangeLog b/term/ChangeLog
index 150a682d..cd45f9de 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
+
Fri Feb 21 13:17:48 1997 Miles Bader <miles@gnu.ai.mit.edu>
* users.c (open_hook): Add OPEN_COUNT hack to try and detect lossage.
diff --git a/term/users.c b/term/users.c
index 42f6ae35..bb02eeeb 100644
--- a/term/users.c
+++ b/term/users.c
@@ -499,7 +499,7 @@ trivfs_S_file_chmod (struct trivfs_protid *cred,
mode &= ~S_ISUID;
}
- term_mode = ((mode & ~S_IFMT & ~S_ITRANS) | S_IFCHR | S_IROOT);
+ term_mode = ((mode & ~S_IFMT & ~S_ITRANS & ~S_IPARE) | S_IFCHR | S_IROOT);
err = 0;
out: