summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/ChangeLog5
-rw-r--r--libdiskfs/ifsock.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 1ee8cf88..64116b74 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -4,6 +4,11 @@ Thu Oct 10 10:53:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
release any user lock it's holding.
<sys/file.h>: New include.
+Tue Oct 8 15:01:32 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * ifsock.c (diskfs_S_ifsock_getsockaddr): Write permission governs
+ access to sockets, not read permission.
+
Mon Oct 7 14:50:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
* dir-rmdir.c (diskfs_S_dir_rmdir): Return ENOTDIR if NP isn't a dir.
diff --git a/libdiskfs/ifsock.c b/libdiskfs/ifsock.c
index bee9cc19..cffda289 100644
--- a/libdiskfs/ifsock.c
+++ b/libdiskfs/ifsock.c
@@ -45,7 +45,7 @@ diskfs_S_ifsock_getsockaddr (struct protid *cred,
mutex_unlock (&np->lock);
return EOPNOTSUPP;
}
- err = diskfs_access (np, S_IREAD, cred);
+ err = diskfs_access (np, S_IWRITE, cred);
if (err)
{
mutex_unlock (&np->lock);