summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-10 18:43:30 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-10 18:43:30 +0000
commit954b619d29ec3b8a44ef9eb4b623d19a1112549d (patch)
treec29b0735aef4baeddeadced0a5abf477bc52d4f3 /libdiskfs
parente10013758b917f2336964e1f4b6ee1ff2ef6578b (diff)
*** empty log message ***
Diffstat (limited to 'libdiskfs')
-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);