Witam!
Ciekawe czy ktoś ostatnio budował kernel z -r LINUX_2_6_28?
Mnie się nie budował i padał przy nakładaniu patcha:
linux-2.6-grsec_full.patch, pomaga taki diff:
===========================
--- linux-2.6-grsec_full.patch.orig 2009-05-06 14:15:57.000000000 +0200
+++ linux-2.6-grsec_full.patch  2009-05-06 14:09:45.000000000 +0200
@@ -34708,15 +34708,6 @@
                if (locked > limit && !capable(CAP_IPC_LOCK))
                        return -ENOMEM;
        }
-@@ -1582,7 +1791,7 @@
-        * Overcommit..  This must be the final test, as it will
-        * update security statistics.
-        */
--      if (security_vm_enough_memory(grow))
-+      if (security_vm_enough_memory_mm(mm, grow))
-               return -ENOMEM;
-
-       /* Ok, everything looks good - let it rip */
 @@ -1603,35 +1812,40 @@
  #endif
  int expand_upwards(struct vm_area_struct *vma, unsigned long address)
============================
Przy czym patch się nie nakładał bo linia:

if (security_vm_enough_memory_mm(mm, grow))

już była wcześniej dodana.
--
pzdr
Stacho Pal
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym