オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/patches/ccs-patch-2.6.21.diff

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3875 by kumaneko, Sun Aug 1 11:39:42 2010 UTC revision 3914 by kumaneko, Mon Aug 23 02:10:05 2010 UTC
# Line 41  Source code for this patch is http://www Line 41  Source code for this patch is http://www
41   net/ipv6/raw.c                  |   12 +++++++++---   net/ipv6/raw.c                  |   12 +++++++++---
42   net/ipv6/udp.c                  |   10 +++++++++-   net/ipv6/udp.c                  |   10 +++++++++-
43   net/socket.c                    |   22 ++++++++++++++++++++++   net/socket.c                    |   22 ++++++++++++++++++++++
44   net/unix/af_unix.c              |    4 ++++   net/unix/af_unix.c              |    7 +++++++
45   security/Kconfig                |    2 ++   security/Kconfig                |    2 ++
46   security/Makefile               |    3 +++   security/Makefile               |    3 +++
47   42 files changed, 274 insertions(+), 11 deletions(-)   42 files changed, 277 insertions(+), 11 deletions(-)
48    
49  --- linux-2.6.21.7.orig/arch/alpha/kernel/ptrace.c  --- linux-2.6.21.7.orig/arch/alpha/kernel/ptrace.c
50  +++ linux-2.6.21.7/arch/alpha/kernel/ptrace.c  +++ linux-2.6.21.7/arch/alpha/kernel/ptrace.c
# Line 626  Source code for this patch is http://www Line 626  Source code for this patch is http://www
626                          entry->proc_fops = &proc_sysrq_trigger_operations;                          entry->proc_fops = &proc_sysrq_trigger_operations;
627          }          }
628   #endif   #endif
629  +       printk(KERN_INFO "Hook version: 2.6.21.7 2010/07/26\n");  +       printk(KERN_INFO "Hook version: 2.6.21.7 2010/08/23\n");
630   }   }
631  --- linux-2.6.21.7.orig/include/linux/init_task.h  --- linux-2.6.21.7.orig/include/linux/init_task.h
632  +++ linux-2.6.21.7/include/linux/init_task.h  +++ linux-2.6.21.7/include/linux/init_task.h
# Line 1273  Source code for this patch is http://www Line 1273  Source code for this patch is http://www
1273                  err = vfs_mknod(nd.dentry->d_inode, dentry, mode, 0);                  err = vfs_mknod(nd.dentry->d_inode, dentry, mode, 0);
1274                  if (err)                  if (err)
1275                          goto out_mknod_dput;                          goto out_mknod_dput;
1276    @@ -1614,6 +1618,9 @@ static int unix_dgram_recvmsg(struct kio
1277    
1278            wake_up_interruptible(&u->peer_wait);
1279    
1280    +       err = ccs_socket_post_recvmsg_permission(sk, skb);
1281    +       if (err)
1282    +               goto out_free;
1283            if (msg->msg_name)
1284                    unix_copy_addr(msg, skb->sk);
1285    
1286  --- linux-2.6.21.7.orig/security/Kconfig  --- linux-2.6.21.7.orig/security/Kconfig
1287  +++ linux-2.6.21.7/security/Kconfig  +++ linux-2.6.21.7/security/Kconfig
1288  @@ -95,5 +95,7 @@ config SECURITY_ROOTPLUG  @@ -95,5 +95,7 @@ config SECURITY_ROOTPLUG

Legend:
Removed from v.3875  
changed lines
  Added in v.3914

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26