summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
commit86464aed71025541805e7b1515541aee89879e33 (patch)
treee01a457a4912a8553bc65524aa3125d51f29f810 /net/socket.c
parent88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff)
Merge with Linux 2.2.1.
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c
index e53d74252..a6d741e82 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -276,7 +276,7 @@ struct socket *sock_alloc(void)
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;
@@ -1466,7 +1466,8 @@ void __init sock_init(void)
{
int i;
- printk(KERN_INFO "Swansea University Computer Society NET3.039 for Linux 2.1\n");
+ printk(KERN_INFO "Linux NET4.0 for Linux 2.2\n");
+ printk(KERN_INFO "Based upon Swansea University Computer Society NET3.039\n");
/*
* Initialize all address (protocol) families.