patch-1.3.19 linux/net/unix/af_unix.c
Next file: linux/scripts/Configure
Previous file: linux/net/unix/Makefile
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Aug 15 14:45:20 1995
- Orig file:
v1.3.18/linux/net/unix/af_unix.c
- Orig date:
Sun Aug 13 14:45:37 1995
diff -u --recursive --new-file v1.3.18/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -1016,8 +1016,12 @@
{
printk("NET3: Unix domain sockets 0.07 BETA for Linux NET3.030.\n");
sock_register(unix_proto_ops.family, &unix_proto_ops);
- proc_net_register(&(struct proc_dir_entry)
- { PROC_NET_UNIX, 4, "unix", unix_get_info });
+ proc_net_register(&(struct proc_dir_entry) {
+ PROC_NET_UNIX, 4, "unix",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_net_inode_operations,
+ unix_get_info
+ });
}
/*
* Local variables:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this