Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/openvz-sources/files: openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch openvz-sources-028.047-grsec-2.1.10-comp-off.patch openvz-sources-028.047-build-with-recent-binutils.patch openvz-sources-028.047-cpt-vsyscall-comp.patch digest-openvz-sources-028.047 openvz-sources-028.047-compilation-vpid.patch
Date: Wed, 07 Nov 2007 20:09:40
Message-Id: E1IprDR-0003gC-UY@stork.gentoo.org
1 pva 07/11/07 20:09:33
2
3 Added: openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch
4 openvz-sources-028.047-grsec-2.1.10-comp-off.patch
5 openvz-sources-028.047-build-with-recent-binutils.patch
6 openvz-sources-028.047-cpt-vsyscall-comp.patch
7 digest-openvz-sources-028.047
8 openvz-sources-028.047-compilation-vpid.patch
9 Log:
10 Version bump. Added myself into metadata.
11 (Portage version: 2.1.3.18)
12
13 Revision Changes Path
14 1.1 sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch?rev=1.1&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch?rev=1.1&content-type=text/plain
18
19 Index: openvz-sources-028.047-grsec-2.1.10-tpe-comp.patch
20 ===================================================================
21 http://bugzilla.openvz.org/show_bug.cgi?id=721
22
23
24 --- ./grsecurity/grsec_tpe.c.ve7655 2007-10-23 15:16:05.000000000 +0400
25 +++ ./grsecurity/grsec_tpe.c 2007-11-06 14:24:31.000000000 +0300
26 @@ -9,7 +9,7 @@ extern int gr_acl_tpe_check(void);
27 int
28 gr_tpe_allow(const struct file *file)
29 {
30 -#ifdef CONFIG_GRKERNSEC
31 +#ifdef CONFIG_GRKERNSEC_TPE
32 struct inode *inode = file->f_dentry->d_parent->d_inode;
33
34 if (current->uid && ((grsec_enable_tpe &&
35
36
37
38 1.1 sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-comp-off.patch
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-comp-off.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-grsec-2.1.10-comp-off.patch?rev=1.1&content-type=text/plain
42
43 Index: openvz-sources-028.047-grsec-2.1.10-comp-off.patch
44 ===================================================================
45 http://bugzilla.openvz.org/show_bug.cgi?id=716
46
47 --- grsecurity/grsec_disabled.c.orig 2007-11-10 22:49:58.000000000 +0300
48 +++ grsecurity/grsec_disabled.c 2007-11-10 22:50:14.000000000 +0300
49 @@ -1,5 +1,6 @@
50 #include <linux/kernel.h>
51 #include <linux/sched.h>
52 +#include <linux/module.h>
53
54 void
55 gr_copy_label(struct task_struct *tsk)
56
57
58
59 1.1 sys-kernel/openvz-sources/files/openvz-sources-028.047-build-with-recent-binutils.patch
60
61 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-build-with-recent-binutils.patch?rev=1.1&view=markup
62 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-build-with-recent-binutils.patch?rev=1.1&content-type=text/plain
63
64 Index: openvz-sources-028.047-build-with-recent-binutils.patch
65 ===================================================================
66 From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@×××××.it>
67 Date: Tue, 26 Sep 2006 08:52:37 +0000 (+0200)
68 Subject: [PATCH] Fix boot code head.S warning
69 X-Git-Tag: v2.6.19-rc1~1077^2~64
70 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fstable%2Flinux-2.6.23.y.git;a=commitdiff_plain;h=b3698c03eb6d4581e879d6bb0f183ed8dda96d37
71
72 [PATCH] Fix boot code head.S warning
73
74 When compiling a 64-bit kernel on an Ubuntu 6.06 32bit system (whose GCC is also
75 a cross-compiler for x86_64) I've seen that head.o is compiled as a 64-bit file
76 (while it should not) and ld complaining about this during linking:
77 [AK: it happens on all systems with new binutils]
78
79 ld: warning: i386:x86-64 architecture of input file
80 `arch/x86_64/boot/compressed/head.o' is incompatible with i386 output
81
82 I've verified that removing -m64 from compilation flags to turn
83 "-m64 -traditional -m32" into "-traditional -m32" fixes the issue.
84
85 Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@×××××.it>
86 Signed-off-by: Andi Kleen <ak@××××.de>
87 ---
88
89 diff --git a/arch/x86_64/boot/compressed/Makefile b/arch/x86_64/boot/compressed/Makefile
90 index f89d96f..e70fa6e 100644
91 --- a/arch/x86_64/boot/compressed/Makefile
92 +++ b/arch/x86_64/boot/compressed/Makefile
93 @@ -7,7 +7,8 @@
94 #
95
96 targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o
97 -EXTRA_AFLAGS := -traditional -m32
98 +EXTRA_AFLAGS := -traditional
99 +AFLAGS := $(subst -m64,-m32,$(AFLAGS))
100
101 # cannot use EXTRA_CFLAGS because base CFLAGS contains -mkernel which conflicts with
102 # -m32
103
104
105
106 1.1 sys-kernel/openvz-sources/files/openvz-sources-028.047-cpt-vsyscall-comp.patch
107
108 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-cpt-vsyscall-comp.patch?rev=1.1&view=markup
109 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-cpt-vsyscall-comp.patch?rev=1.1&content-type=text/plain
110
111 Index: openvz-sources-028.047-cpt-vsyscall-comp.patch
112 ===================================================================
113 --- arch/i386/kernel/sysenter.c.orig 2007-11-07 08:13:49.000000000 +0300
114 +++ arch/i386/kernel/sysenter.c 2007-11-07 08:13:53.000000000 +0300
115 @@ -109,7 +109,7 @@
116 {
117 }
118
119 -static struct vm_operations_struct syscall_vm_ops = {
120 +struct vm_operations_struct syscall_vm_ops = {
121 .close = syscall_vma_close,
122 .nopage = syscall_nopage,
123 };
124
125
126
127 1.1 sys-kernel/openvz-sources/files/digest-openvz-sources-028.047
128
129 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/digest-openvz-sources-028.047?rev=1.1&view=markup
130 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/digest-openvz-sources-028.047?rev=1.1&content-type=text/plain
131
132 Index: digest-openvz-sources-028.047
133 ===================================================================
134 MD5 296a6d150d260144639c3664d127d174 linux-2.6.18.tar.bz2 41863580
135 RMD160 f92283f956880676bfb1f1d5288325461e4e02e7 linux-2.6.18.tar.bz2 41863580
136 SHA256 c95280ff6c5d2a17788f7cc582d23ae8a9a7ba3f202ec6e4238eaadfce7c163d linux-2.6.18.tar.bz2 41863580
137 MD5 5925cd08d459882de22cf4185a57a770 patch-ovz028stab047.1-combined.gz 1126505
138 RMD160 138ae40cd8710f620c6d75f9b35d9c46c049cccc patch-ovz028stab047.1-combined.gz 1126505
139 SHA256 f17d0302953625a04215372f2d6570365e09b2947536c572e1b8833f8d591c09 patch-ovz028stab047.1-combined.gz 1126505
140
141
142
143 1.1 sys-kernel/openvz-sources/files/openvz-sources-028.047-compilation-vpid.patch
144
145 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-compilation-vpid.patch?rev=1.1&view=markup
146 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/openvz-sources/files/openvz-sources-028.047-compilation-vpid.patch?rev=1.1&content-type=text/plain
147
148 Index: openvz-sources-028.047-compilation-vpid.patch
149 ===================================================================
150 From: Alexander Y. Fomichev <git.user@×××××.com>
151 Date: Fri, 26 Oct 2007 10:05:57 +0000 (+0400)
152 Subject: [PATCH] Fix compilation issues in vpid code
153 X-Git-Tag: 028stab048~2
154 X-Git-Url: http://git.openvz.org/?p=linux-2.6.18-openvz;a=commitdiff_plain;h=0a17273c35f9fd043979da9ef216305f07ef369e
155
156 [PATCH] Fix compilation issues in vpid code
157 Patch fixes compilation issue in kernel/pid.c:
158 ...
159 kernel/pid.c: In function 'free_pid':
160 kernel/pid.c:197: error: dereferencing pointer to incomplete type
161 kernel/pid.c: In function 'alloc_pid':
162 kernel/pid.c:233: error: dereferencing pointer to incomplete type
163 make[2]: *** [kernel/pid.o] Error 1
164 make[1]: *** [kernel] Error 2
165
166 If linux/kmem_cache is not included kmem_cache type is undefined.
167
168 http://bugzilla.openvz.org/show_bug.cgi?id=689
169 ---
170
171 diff --git a/kernel/pid.c b/kernel/pid.c
172 index c6678a6..9d5208d 100644
173 --- a/kernel/pid.c
174 +++ b/kernel/pid.c
175 @@ -22,6 +22,7 @@
176
177 #include <linux/mm.h>
178 #include <linux/module.h>
179 +#include <linux/kmem_cache.h>
180 #include <linux/slab.h>
181 #include <linux/init.h>
182 #include <linux/bootmem.h>
183
184
185
186 --
187 gentoo-commits@g.o mailing list