pentoo-sources: did someone say version bump?

This commit is contained in:
Zero_Chaos 2015-07-23 22:29:43 +00:00
parent 0b0cbcd6fa
commit 20a51cc782
8 changed files with 22 additions and 33400 deletions

View file

@ -1,14 +1,8 @@
AUX 4310_aufs3.patch 873213 SHA256 27a9e73ee3f290e6897e0ae797db4af380c03ffdbae5a0187c7a3716e6500c58 SHA512 e60c6af436af0b1447bff5fd78d984d48d9f942bd85039334206a95b3826fc49dd18c46d90e6a650bb984a7a27b2c7940626343306a155f4fdd09a05e6641bca WHIRLPOOL 11f80a555c7fabe62d6736d435d91dc595be2bf466f9bec7a8c944e71251856a01a97020e7177b86957090654c6a5b15a723859785f1b7a77d25418608461a32
AUX 9997-desktop-responsiveness_2.6.35_fix.patch 2342 SHA256 ce80fcca23d3869c10a0be3d85510c75805786bdda27d51578a2298b99ba64eb SHA512 d94f743cfece38d32401ef5a2c0ef54f3479723b60f9c0b5a2083dd8e4bd629a81d805a9eeac6e538e3ea7a35f4bee1b4fed445d77334b5fff77f7bf440dec90 WHIRLPOOL 6f722b5bb2580b5a7390dcf730cdc39990f44a5df8811dc53cc54968d831aac2dc1b9bdc1d3462714a47bba87007af8689b6284bf8a4ce5b82c950d1810d3c08
AUX 9998-vmalloc-256M.patch 368 SHA256 b529f69b4e7afc00934c33a4f42bc1c9aabcca744da01584cde38d4ee5872b94 SHA512 e3a364744b38af2ecd6e86b46ca9d99283e0aa746011b792a4f819a14d4f1ff4cd744b300aadfdd90d901d87ef730ba7a3c4be111d4937b5dd8355b7fd063b99 WHIRLPOOL a5bb1af7307c213a3f0f3d881acd14ac8fb08847afe2b67e3a8a37c7eae353cd5fde5b7490b50fece2ff26bcb63bff5fca806f0ef4b61df29c398eedeeeba56c
AUX 9999_pax-3.15ish.patch 1960 SHA256 9b6d085b3d392dedf30d7933e50c80c4048c871c4a3eaf191235675797133ceb SHA512 3d1c75059b27a1e49165c1f018bf532e478b030fc7bf037b1b4ba0120757a6228e54d78d0245cc84af1af75c5760d9d136e25d1c549f58fee537d321d8cbd849 WHIRLPOOL 0a4629d5968733af8bb889181629cac9ee8da710e1db6eea464b526a8f06bd9e10d6e13fcc2cf791f24540edb756cf4141a0c4dcd350d90ee7b5f2c0dd7a8ee5
AUX openfile_log-36.patch 752 SHA256 6cd0b28da9ab6703a72e9eab7f76caee5b7b4548281906ad9d303f2871f50398 SHA512 25943a758750154fb41b2f541cf1f410df540427067ccd360c8d3f2ebe423eea42bfea1e7078bed9de405dbf412b7c5e2f592f43ef4f63f9ab217c547e1bcd9b WHIRLPOOL b8e6d660957a4774415a5737ecb955d594917e1e50618172d15800f15d729be5bc177d6786020d2111ac7221852bb14c1a68e3b7d3f647c0d679c2c3e6fa3bb4
AUX openfile_log.patch 732 SHA256 a4539dcdc9fb70d7f2c87f1e41b72c10930c49d025bd82563d0c9ee9982345af SHA512 90197142a30abe8949a7e60ddad4bc272a91e14d63e0feb41554eb925e7396cc2c20af7697e0d97aa4bb97ceb929a755f9c591d5b505d2262b779e148da68ff0 WHIRLPOOL d2840784c90d4dcb14981135b63b543f9829343ce6ddd56b7e3dba5c5a21e92d0672bef16d3001334c1b87444506c3a9bc563f664d660eacd4856e666ee5abc5
AUX pentoo-sources-3.7.0-fhash.patch 872 SHA256 0f46c17696072da9ff8bbb157539f344486994c851518d609a3cfa1b59d36592 SHA512 b657f5305f3355c6906785d482c827a1ed8cc16d26d30a31df4cdaa7dfeda08fe4f96a2f8e47c6eafb8fca609c9fb197594c612f08bca8af6709b7cdb7dec94f WHIRLPOOL 79579384a11fbc8f3a34efd51f5d7535c601974cbb8cd6af01a34834297a10348310998f6f0e2545b8ed85d5bcb2c1b16725e8dc1a34d8b98b2c8632dd18d9a5
DIST deblob-3.15 120796 SHA256 d24f4b0548f42e7e83695919008cb75c70f5a7cb9c8a10824ca3c5c51fa62eaf SHA512 7815575001e48569268e60248da2768c6ee81982761420068ce16e6282a9552783595712ae4d937bb62d7e5f33e62b5daab0da35c8bb49c5d94ebde42f030495 WHIRLPOOL 403de2590101bc30408750a7a4eb1bdd6effbc5e2cc5c0615feff34abea649d015e02c4e54ddbb3dc33864c160f516a5e1e526162bdd0176944b382e9a52f425
DIST deblob-check-3.15 614485 SHA256 a594a31b5c0a7bc544d2c5158a16d4565de4e45b14f3fc309cfcf91bf46491e2 SHA512 f85e0d9ebf25b37fd9ae765cb2d5767ac475abc72d8b6bb5ed775f03efb216d53cfe1d86bd2945642274cd2c3ddd6ee0ded05019bde7bac71733c96b366cabb7 WHIRLPOOL 8e8e6cdd41313f61a7f9aa4630185f06e785ad951582165d0890596a3e59f8c703a658bf75a36359750eddb9a8b3edb86656860a88dc47b722329aff4cdbb7ef
DIST genpatches-3.15-7.base.tar.xz 129444 SHA256 ac36954acce2fe6065ede5f82bf9d554469b26eff80a03ef7261cc3f2c30fa59 SHA512 eb1b8bf726ae7c019968d42e411aba203c6d17c04866a0ae4744b5df648de69b35f1d462606c6a474ad2153da9e8c6616da59e696a10c1c9b2aa5a418bc86dd0 WHIRLPOOL 83121ddfa40fc1aa59090f7b4d00b55cea06dd003e5839b821bcf9257569f6daa765e4e9b088448b5406dcc4c87e28b788bce3f23864eaef6b7620d8c222512d
DIST hardened-patches-3.15.5-3.extras.tar.bz2 818477 SHA256 560167f6edd63ac7af76973aaafa29d0ef8c2122c487a5f26aa9dd43d8ab7b8e SHA512 228df8ece81750c2d7c68e02cd2f8003f7d2270d0029099b89779a546b0435cdf309906c29b772a7c4f1d70d3a5b461df0513ffbda538ecc898994e0f32b2c50 WHIRLPOOL c8dfce8337a6005b47123ed9f0537284a10d8f5c5ec1700ff75bdbb7cbbc5ea28239b979bbc5d614e5d3fc3c7e632e62daf493f5909c679d2bf13018f1531307
DIST linux-3.15.tar.xz 79676484 SHA256 c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794 SHA512 d5dc477cad4584e56e2e2ef9e0950c2b22e76e5cf5090a896ba099cb7c5e5db1853a4aeb96b199189653dc66d461557e95198e37516a619f7ddc01ba6b308e02 WHIRLPOOL 7f3dfde1a23aab75b7f40770ae2ca77c1b28f845e4abe6296b2aec9b56fe94f7afa76b00eb6cc7475305c31b726ebeb4643107dd48c12ac04c933cf1856b8e77
DIST penpatches-3.15.5-2.tar.xz 167452 SHA256 677713da8447ba0a19217d7d683599759fbb6d30418b66307f982208a1eff730 SHA512 ca98c7619ed61458cd9d95f0503fa23ea02937828fba98849091f6f4e3fb34e614529e858c6d2d4ac3d62470047fd0bc18ec6e4860e9215395120cafe4465da6 WHIRLPOOL 17d0bb9fcdd4acb720ebc13e8c6f3bb4d4811856f7d0fb50ae745b979b2a55770595cad514e314e27898f054db48b0bedd000d736d4002b6f3b82c7281a4bb87
EBUILD pentoo-sources-3.15.5.ebuild 3136 SHA256 898a47d43e7546dc4b3acfe02f0390980e81d7e01d04aadcd9b96d8348c15c17 SHA512 073bbfceddbf0ad15b444b074dde6b58b2ba0213047b1ef3bdfbbf47348d5f50b2df02aa9c07da17724382f7fe3cbf5907d765eb8c0791df926d451795377888 WHIRLPOOL a68667348c305b950b70052dacbd266e448f84a92e2d4b71b7b054a8f5d12f1f4ae2ac25e7b47b140e01e1dca1732f7a591e9843eb8cd3e9a98d69fa6b3b7282
DIST deblob-4.0 129952 SHA256 c3d8e9a9728d5c1fc11b1112f5343b14e46a8cf2880e10399a840bc94b6e2ad3 SHA512 055205394487dbc0022f9531fb76d0be51ca3ec4e119232cc0972790d1532c680e1367eb36a9f40529f0ab1d76f64240b1e8a07cb02d3605d594c06e3547f1bb WHIRLPOOL db32b66231e552ac6e3651152eb2b3212ef0863842cd352bd2f1b1080b9ea5543f1f7ed0e7958a9f4b115559233dc1817560e896c789378ea7b68b527b721ca8
DIST deblob-check-4.0 670921 SHA256 042b511913187672d9a0512765e662ba5d4283812ebebf424f778eb08fa359bc SHA512 a27e3530cd3028041445cf8c5f49ad7827a7cf2b511de28851d2b09c28347cf2be667a7494bd698939c007fb77595699c1f61fb76249ae87658e1d12e855d2a1 WHIRLPOOL 953d8e6eed10971ed67a4573449b9a536ad693a2130153a6fc7cc9ea3e2daea21ca002c8df80126f7e318f75bec82c3f6e99fe43155817e2e2a52b5949dc5d2d
DIST genpatches-4.0-9.base.tar.xz 193344 SHA256 9d7c65367c1d2f24c6e4c8f8b4b9170a7ddeaa24d6563c5ba5dc41201a7b6e17 SHA512 646814e63b3b1d78adc172c6f8c0c2605cc9f368bb368be72e169049938617c5c6e738ddcfcbe1e10b58ccd3f9fa09984b03f70076ce0b15137f376594b9066a WHIRLPOOL 0eecbfe1b2b02f00edcab0c975b06bd69a5ff1032fe0c4249d79de555f92f2375d337b2417bddb566e9a1fc66859918b6cbfff6c2c73aea02818434213b0cda1
DIST hardened-patches-4.0.8-1.extras.tar.bz2 1366743 SHA256 765a06197afb4b7f268778b5ba2a6ca438b20bf900ca97cbc17b47570cf1dd0e SHA512 782a7883e055173a1cf6be76e8d99a56757f5576c09fb80c295e6bc926d7dd8e6fbfc4fd09c38e0e95d4f0317808b68a9fbb0e9b59a9a3f27b89f906f375e619 WHIRLPOOL ea95c5d29801759d2ed247885095c914ee07c4b800cb9a2f5f1c4b7b79347d2853ae56f64ad732c6aa8972a43e8993fdcfabf5e244d5994fa7998a382faebfe7
DIST linux-4.0.tar.xz 82313052 SHA256 0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991 SHA512 ce13d2c1c17908fd9a4aa42bb6348a0cb13dd22e560bd54c61b8bfdf62726d6095f130c59177a2fe4793b7dc399481bf10d3556d1d571616000f180304e5a995 WHIRLPOOL c481256e23dc82209942d4f2fc9a94aa7fc4c3c69b05eaa041a58ca4bdc5781274ec4c49d597ccf94b634d61418ec578d20a6569c6c7052b4d3cf33611c99001
DIST penpatches-4.0.8-1.tar.xz 229820 SHA256 f04eade339e847c1b586938f7746e215f3ee2c703d1a754276bb80f5ee5f708c SHA512 fdf32089428998fe3e97dddf3c2d9b6f9456f287f3f1a4153fcb9061b0cbeeb0dac96f055e02877831db57bbb6e8c0b09062b3403f04f5f396ce5cc53c407cd8 WHIRLPOOL 7df95c9e02a382b94d3bc18dcd17501a70d06dc99f6d60a537f7ed1988d02d097e9fbb383427807ac6a89824d05490f9c00ae7501f508e37c1db583a6e8592e0
EBUILD pentoo-sources-4.0.8.ebuild 3148 SHA256 e2b435234757590308186d666563e40dd5f74c78a38d1ec582fdc5a78305259c SHA512 33cc563c616a3a4de3a8ec6952add1d176eec87811fe70d85b61c8209e401f7f7919d6346cf5bb6a9898ad57ef6c2f519860db3cef5f3c9b7423d210affac33a WHIRLPOOL 3188bae2385f5a862644d7d7bf1a5f199547906ce65c0ff8c05e9a2e1202bee4c289bc7221218506406086bdf521ab9c51913be4ab508159f1781f4c96a2bb5e

File diff suppressed because it is too large Load diff

View file

@ -1,69 +0,0 @@
diff -Naur linux-2.6.35-pentoo-r7/mm/vmscan.c linux-2.6.35-pentoo-r7-fixed/mm/vmscan.c
--- linux-2.6.35-pentoo-r7/mm/vmscan.c 2010-10-11 09:55:13.000000000 -0400
+++ linux-2.6.35-pentoo-r7-fixed/mm/vmscan.c 2010-10-11 14:50:35.000000000 -0400
@@ -1112,6 +1112,47 @@
}
/*
+ * Returns true if the caller should wait to clean dirty/writeback pages.
+ *
+ * If we are direct reclaiming for contiguous pages and we do not reclaim
+ * everything in the list, try again and wait for writeback IO to complete.
+ * This will stall high-order allocations noticeably. Only do that when really
+ * need to free the pages under high memory pressure.
+ */
+static inline bool should_reclaim_stall(unsigned long nr_taken,
+ unsigned long nr_freed,
+ int priority,
+ struct scan_control *sc)
+{
+ int lumpy_stall_priority;
+
+ /* kswapd should not stall on sync IO */
+ if (current_is_kswapd())
+ return false;
+
+ /* Only stall on lumpy reclaim */
+ if (!sc->lumpy_reclaim_mode)
+ return false;
+
+ /* If we have relaimed everything on the isolated list, no stall */
+ if (nr_freed == nr_taken)
+ return false;
+
+ /*
+ * For high-order allocations, there are two stall thresholds.
+ * High-cost allocations stall immediately where as lower
+ * order allocations such as stacks require the scanning
+ * priority to be much higher before stalling.
+ */
+ if (sc->order > PAGE_ALLOC_COSTLY_ORDER)
+ lumpy_stall_priority = DEF_PRIORITY;
+ else
+ lumpy_stall_priority = DEF_PRIORITY / 3;
+
+ return priority <= lumpy_stall_priority;
+}
+
+/*
* shrink_inactive_list() is a helper for shrink_zone(). It returns the number
* of reclaimed pages
*/
@@ -1201,15 +1242,8 @@
nr_scanned += nr_scan;
nr_freed = shrink_page_list(&page_list, sc, PAGEOUT_IO_ASYNC);
- /*
- * If we are direct reclaiming for contiguous pages and we do
- * not reclaim everything in the list, try again and wait
- * for IO to complete. This will stall high-order allocations
- * but that should be acceptable to the caller
- */
- if (nr_freed < nr_taken && !current_is_kswapd() &&
- sc->lumpy_reclaim_mode) {
- congestion_wait(BLK_RW_ASYNC, HZ/10);
+ /* Check if we should syncronously wait for writeback */
+ if (should_reclaim_stall(nr_taken, nr_freed, priority, sc)) {
/*
* The attempt at page out may have made some

View file

@ -1,11 +0,0 @@
--- arch/x86/mm/pgtable_32.c.orig 2010-12-29 11:29:03.000000000 +0000
+++ arch/x86/mm/pgtable_32.c 2010-12-29 11:29:16.000000000 +0000
@@ -19,7 +19,7 @@
#include <asm/tlbflush.h>
#include <asm/io.h>
-unsigned int __VMALLOC_RESERVE = 128 << 20;
+unsigned int __VMALLOC_RESERVE = 256 << 20;
/*
* Associate a virtual page frame with a given physical page frame

View file

@ -1,66 +0,0 @@
--- a/fs/aufs/dynop.c 2012-10-09 15:41:32.652989534 -0400
+++ b/fs/aufs/dynop.c 2012-10-09 15:41:58.562989820 -0400
@@ -149,9 +149,11 @@
#define DySet(func, dst, src, h_op, h_sb) do { \
DyDbgInc(cnt); \
if (h_op->func) { \
- if (src.func) \
- dst.func = src.func; \
- else \
+ if (src.func) { \
+ pax_open_kernel(); \
+ *(void **)&dst.func = src.func; \
+ pax_close_kernel(); \
+ } else \
AuDbg("%s %s\n", au_sbtype(h_sb), #func); \
} \
} while (0)
@@ -159,7 +161,9 @@
#define DySetForce(func, dst, src) do { \
AuDebugOn(!src.func); \
DyDbgInc(cnt); \
- dst.func = src.func; \
+ pax_open_kernel(); \
+ *(void **)&dst.func = src.func; \
+ pax_close_kernel(); \
} while (0)
#define DySetAop(func) \
@@ -266,15 +270,17 @@
*/
static void dy_adx(struct au_dyaop *dyaop, int do_dx)
{
+ pax_open_kernel();
if (!do_dx) {
- dyaop->da_op.direct_IO = NULL;
- dyaop->da_op.get_xip_mem = NULL;
+ *(void **)&dyaop->da_op.direct_IO = NULL;
+ *(void **)&dyaop->da_op.get_xip_mem = NULL;
} else {
- dyaop->da_op.direct_IO = aufs_aop.direct_IO;
- dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem;
+ *(void **)&dyaop->da_op.direct_IO = aufs_aop.direct_IO;
+ *(void **)&dyaop->da_op.get_xip_mem = aufs_aop.get_xip_mem;
if (!dyaop->da_get_xip_mem)
- dyaop->da_op.get_xip_mem = NULL;
+ *(void **)&dyaop->da_op.get_xip_mem = NULL;
}
+ pax_close_kernel();
}
static struct au_dyaop *dy_aget(struct au_branch *br,
--- a/fs/aufs/sysfs.c 2013-10-20 17:08:37.000000000 -0400
+++ b/fs/aufs/sysfs.c 2013-10-19 17:08:29.000000000 -0400
@@ -233,8 +233,10 @@
for (i = 0; i < ARRAY_SIZE(br->br_sysfs); i++) {
attr = &br_sysfs->attr;
sysfs_attr_init(attr);
- attr->name = br_sysfs->name;
- attr->mode = S_IRUGO;
+ pax_open_kernel();
+ *(void **)&attr->name = br_sysfs->name;
+ *(void **)&attr->mode = S_IRUGO;
+ pax_close_kernel();
br_sysfs++;
}
}

View file

@ -1,29 +0,0 @@
diff -Naur linux-2.6.31.orig/fs/open.c linux-2.6.31/fs/open.c
--- linux-2.6.31.orig/fs/open.c 2009-09-10 00:13:59.000000000 +0200
+++ linux-2.6.31/fs/open.c 2009-10-28 14:22:13.987297948 +0100
@@ -1024,6 +1024,16 @@
}
EXPORT_SYMBOL(fd_install);
+static unsigned int open_logfiles;
+
+static int __init setup_logfiles(char *str)
+{
+ get_option(&str, &open_logfiles);
+ return 1;
+}
+
+__setup("logfiles=", setup_logfiles);
+
long do_sys_open(int dfd, const char __user *filename, int flags, int mode)
{
@@ -1038,6 +1048,8 @@
put_unused_fd(fd);
fd = PTR_ERR(f);
} else {
+ if (open_logfiles)
+ printk(KERN_DEBUG "FILE %s\n", filename);
fsnotify_open(f->f_path.dentry);
fd_install(fd, f);
}

View file

@ -1,38 +0,0 @@
--- drivers/block/aoe/aoecmd.c.orig 2013-01-02 03:07:24.943072737 +0100
+++ drivers/block/aoe/aoecmd.c 2013-01-02 03:08:23.010068818 +0100
@@ -268,7 +268,7 @@
}
static void
-fhash(struct frame *f)
+fhash_custom(struct frame *f)
{
struct aoedev *d = f->t->d;
u32 n;
@@ -332,7 +332,7 @@
skb_put(skb, sizeof *h + sizeof *ah);
memset(h, 0, skb->len);
f->tag = aoehdr_atainit(d, t, h);
- fhash(f);
+ fhash_custom(f);
t->nout++;
f->waited = 0;
f->buf = buf;
@@ -449,7 +449,7 @@
aoechr_error(buf);
f->tag = n;
- fhash(f);
+ fhash_custom(f);
h->tag = cpu_to_be32(n);
memcpy(h->dst, t->addr, sizeof h->dst);
memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src);
@@ -1224,7 +1224,7 @@
skb_put(skb, sizeof *h + sizeof *ah);
memset(h, 0, skb->len);
f->tag = aoehdr_atainit(d, t, h);
- fhash(f);
+ fhash_custom(f);
t->nout++;
f->waited = 0;

View file

@ -6,15 +6,15 @@ EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="7"
K_GENPATCHES_VER="9"
K_DEBLOB_AVAILABLE="1"
inherit kernel-2
detect_version
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-3"
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1"
HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2"
PENPATCHES_VER="2"
PENPATCHES_VER="1"
PENPATCHES="penpatches-${PV}-${PENPATCHES_VER}.tar.xz"
PENPATCHES_URI="http://dev.pentoo.ch/~zero/distfiles/${PENPATCHES}"
SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI} ${PENPATCHES_URI}"
@ -28,8 +28,8 @@ IUSE="aufs deblob injection pax_kernel"
KEYWORDS="amd64 x86"
PDEPEND=">=sys-devel/gcc-4.5
>=sys-apps/gradm-3.0"
DEPEND=">=sys-devel/gcc-4.5"
PDEPEND=">=sys-apps/gradm-3.1"
pkg_setup() {
# We are proud of it, let's show it
@ -45,24 +45,24 @@ pkg_setup() {
4420_grsecurity-* \
4465_selinux-avc_audit-log-curr_ip.patch \
4470_disable-compat_vdso.patch \
9998_aufs-mmap-pax.patch \
9999_pax-3.15ish.patch"
4508_aufs4-mmap-pax.patch \
4511_pax-4.0.8.patch"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
1500_XATTR_USER_PREFIX.patch \
2900_dev-root-proc-mount-fix.patch \
4308_aufs3-mmap.patch \
4508_aufs4-mmap.patch \
4400_logo_larry_the_cow.patch"
fi
if ! use aufs ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \
4306_aufs3-kbuild.patch \
4307_aufs3-base.patch \
4308_aufs3-mmap.patch \
4309_aufs3-standalone.patch \
4310_aufs3.patch \
9998_aufs-mmap-pax.patch \
9999_pax-3.15ish.patch"
4506_aufs4-kbuild.patch \
4507_aufs4-base.patch \
4508_aufs4-mmap.patch \
4508_aufs4-mmap-pax.patch \
4509_aufs4-standalone.patch \
4510_aufs4-files.patch \
4511_pax-4.0.8.patch"
fi
if ! use injection ; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} \