Author: hawk                         Date: Tue Aug 18 12:09:07 2009 GMT
Module: packages                      Tag: Titanium
---- Log message:
- updated for 2.6.30.5

---- Files affected:
packages/kernel-bare-grsecurity:
   linux-2.6-grsecurity.patch (1.1.2.38 -> 1.1.2.39) 

---- Diffs:

================================================================
Index: packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch
diff -u packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.38 
packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.39
--- packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch:1.1.2.38 Mon Aug 
17 00:38:12 2009
+++ packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch  Tue Aug 18 
14:08:59 2009
@@ -11153,7 +11153,7 @@
        vmi_ops.set_pte(pte, (pte_t *)pmd, VMI_PAGE_PD);
  }
  #endif
-@@ -438,10 +463,10 @@ vmi_startup_ipi_hook(int phys_apicid, un
+@@ -438,8 +463,8 @@ vmi_startup_ipi_hook(int phys_apicid, un
        ap.ss = __KERNEL_DS;
        ap.esp = (unsigned long) start_esp;
  
@@ -11162,10 +11162,7 @@
 +      ap.ds = __KERNEL_DS;
 +      ap.es = __KERNEL_DS;
        ap.fs = __KERNEL_PERCPU;
--      ap.gs = 0;
-+      ap.gs = __KERNEL_STACK_CANARY;
- 
-       ap.eflags = 0;
+       ap.gs = __KERNEL_STACK_CANARY;
  
 @@ -634,12 +659,20 @@ static inline int __init activate_vmi(vo
        u64 reloc;
@@ -38267,24 +38264,6 @@
  #endif
  #endif
  
-@@ -571,7 +599,7 @@ void mm_release(struct task_struct *tsk,
-       if (tsk->clear_child_tid
-           && !(tsk->flags & PF_SIGNALED)
-           && atomic_read(&mm->mm_users) > 1) {
--              u32 __user * tidptr = tsk->clear_child_tid;
-+              pid_t __user * tidptr = tsk->clear_child_tid;
-               tsk->clear_child_tid = NULL;
- 
-               /*
-@@ -579,7 +607,7 @@ void mm_release(struct task_struct *tsk,
-                * not set up a proper pointer then tough luck.
-                */
-               put_user(0, tidptr);
--              sys_futex(tidptr, FUTEX_WAKE, 1, NULL, NULL, 0);
-+              sys_futex((u32 __user *)tidptr, FUTEX_WAKE, 1, NULL, NULL, 0);
-       }
- }
- 
 @@ -695,7 +723,7 @@ static int copy_fs(unsigned long clone_f
                        write_unlock(&fs->lock);
                        return -EAGAIN;
@@ -43697,15 +43676,6 @@
  
  static struct file_system_type sock_fs_type = {
        .name =         "sockfs",
-@@ -736,7 +752,7 @@ static ssize_t sock_sendpage(struct file
-       if (more)
-               flags |= MSG_MORE;
- 
--      return sock->ops->sendpage(sock, page, offset, size, flags);
-+      return kernel_sendpage(sock, page, offset, size, flags);
- }
- 
- static ssize_t sock_splice_read(struct file *file, loff_t *ppos,
 @@ -1283,6 +1299,16 @@ SYSCALL_DEFINE3(socket, int, family, int
        if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK))
                flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-bare-grsecurity/linux-2.6-grsecurity.patch?r1=1.1.2.38&r2=1.1.2.39&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to