patch-2.2.0-pre8 linux/net/socket.c

Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre7/linux/net/socket.c linux/net/socket.c
@@ -276,7 +276,7 @@
 
 	sock = socki_lookup(inode);
 
-	inode->i_mode = S_IFSOCK;
+	inode->i_mode = S_IFSOCK|S_IRWXUGO;
 	inode->i_sock = 1;
 	inode->i_uid = current->uid;
 	inode->i_gid = current->gid;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov