Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Download/kernel/rhel5/028stab039.1/changes

668 bytes removed, 00:58, 21 March 2008
formatting fixes
==== diff-arch-4gb-xen-b-20070613 ====
<div class="change">
Patch from Sergey Ya Korshunoff (seyko2@)<br/>
Fix TSS handling in vm86.c in Xen kernel.
<pre class="simple">
Fix TSS handling in vm86.c in Xen kernel.
There was a stupid misprint due to which load_esp0()
was not called in Xen kernels at all.
</pre>
</div>
==== diff-cpt-deleted-ref-b-20070613 ====
 
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;<br/>
[PATCH] CPT: remove redundant kfree()
<pre class="simple">
Remove redundant kfree() call from open_deleted() function.
Now ii is static structure and kfree on it leads to oops :/
</pre>
 
Bug #84173
Bug #84173.
</div>
==== diff-ms-bridge-nf-ebt-among-20070607 ====
 
<div class="change">
Patch from Evgeny Kravtsunov &lt;emkravts@openvz.org&gt;<br/>
[PATCH] ebtables: ebtables_among fails on check() on x86-64
<pre class="simple">
ebtables module calls the checker ebt_among_check()
that compares the correct size of user supplied data.
On x86_64 EBT_ALIGN does alignment on 8 bytes, so the problem arises.
</pre>
 
{{bug|576}}
{{bug|576}}.
</div>
==== diff-ms-net-bridge-via-eth-c-20070613 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;<br/>
[PATCH] Fix bridge removal with active master device
<pre class="simple">
Fix bridge removal with active master device:
simple misprint</pre>.
</div>
==== diff-rh-mmap-return-addr-b-20070608 ====
 
<div class="change">
Patch from Vitaliy Gusev &lt;vgusev@openvz.org&gt;<br/>
[PATCH] IA64: mmap returns EINVAL if len==0
<pre class="simple">
mmap on IA64 architecture returns EINVAL when len==0,
while old kernel behaviour is to return addr in this case.
have to keep compatibility for some time with old stupid
apps like rpm which did exactly this and expected success :/
</pre>
 
Bug #83938
Bug #83938.
</div>
==== diff-arch-4gb-suspend-fix-20070629 ====
 
<div class="change">
Patch from Dmitry Monakhov &lt;dmonakhov@openvz.org&gt;<br/>
[PATCH] 4gb split: fix broken suspend
<pre class="simple">
Following code was removed by 4gb split patch set,
after this suspend was broken. Fix it.
</pre>
 
Bug #84909
Bug #84909.
</div>
==== diff-cpt-dump-eintr-20070622 ====
 
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;<br/>
[PATCH] CPT: check ctx-&gt;file for NULL
<pre class="simple">
We need to be sure that dumpfile pointer (ctx-&gt;file) is not NULL, because we
can't start dump without it.
can't simply restart dump ioctl. The reason is that dumpfile is already
closed and we need to reopen it before calling dump ioctl second time.
</pre>
 
Bug #84412
Bug #84412.
</div>
[PATCH] CPT: ignore user signals in kernel threads
<pre class="simple">
Under ptrace signals are not handled immediately and we have non-zero
shared_pending mask on current task, so fork() returns -ERESTARTNOINTR and
We need to block signals SIGCHLD, SIGWINCH, SIGCONT and SIGURG to be sure that
this signals will be ignored while kernel thread creation.
</pre>
 
Bug #84412
Bug #84412.
</div>
==== diff-cpt-rm-kill-external-process-20070702 ====
<div class="change">
Patch from Kirill Korotaev &lt;dev@openvz.org&gt;<br/>
[PATCH] CPT: remove killing of external processes
<pre class="simple">
External processes can't be easily detected.
Even if process has a virtual pid, it doesn't
Revert of the patches:
* diff-cpt-kill-external-process-20070125 * diff-cpt-kill-external-processes-b-20070515</pre>
</div>
==== diff-ms-ia32-compat-autofs4-20070618 ====
<div class="change">
 Patch from Roman Chechnev &lt;rchechnev@openvz.org&gt;<br/>
[PATCH] autofs4: compat layer for x8664
<pre class="simple">
autofs4 uses platform dependant protocol
which has 'long' data types inside data structures
Thanks to this 32bit autofs tools do not work with 64 bit kernel.
</pre>
 
Bug #82040
Bug #82040.
</div>
==== diff-ms-jbd-cpt-list-20070702 ====
 
<div class="change">
Patch from Jan Kara &lt;jack@suse.cz&gt;<br/>
[PATCH] jbd: remove_transaction fix
<pre class="simple">
We have to check that also the second checkpoint list is non-empty before
dropping the transaction.
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;<br/>Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;<br/>
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
X-Git-Tag: v2.6.16-rc2~350<br/>X-Git-Url: [http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=43c3e6f5abdf6acac9b90c86bf03f995bf7d3d92</pre>43c3e6f5abdf6acac9b90c86bf03f995bf7d3d92]
</div>
==== diff-ms-net-bridge-carrier-check-20070627 ====
<div class="change">
Patch from Konstantin Khorenko &lt;khorenko@openvz.org&gt;<br/>
[PATCH] bridge: race between br_del_if() and port_carrier_check()
<pre class="simple">
This patch eliminates a race between br_del_if() and port_carrier_check()
which leads to the oops in the latter function.
This patch is a port of 2 mainstream patches:
<pre>
[BRIDGE] br_if: Fix oops in port_carrier_check
Signed-off-by: Jarek Poplawski &lt;jarkao2@o2.pl&gt;
 
Acked-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
commit a10d567c89dfba90dde2e0515e25760fd74cde06
</pre>
and
<pre>
[BRIDGE]: eliminate workqueue for carrier check
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
commit 269def7c505b4d229f9ad49bf88543d1e605533e
</pre>
http://bugzilla.kernel.org/show_bug.cgi?id=7962
</pre>
 
Bug #84789
Bug #84789.
</div>
[BRIDGE]: adding new device to bridge should enable if up
<pre class="simple">Port of mainsteram mainstream patch:
<pre>
[BRIDGE]: adding new device to bridge should enable if up
Aji Srinivas [Thu, 8 Mar 2007 00:10:53 +0000 (16:10 -0800)]
</pre>
Bug #84789.
</div>
==== diff-ms-net-bridge-via-eth-d-20070622 ====
<div class="change">
Patch from Kirill Korotaev &lt;dev@openvz.org&gt;<br/>
[PATCH] bridge: fix unaligned access to br-&gt;bridge_id
<pre class="simple">
bridge_id is an unaligned structure of chars, which
MUST be aligned on 2 bytes boundary for compare_ether_addr().
So move our field to a bit another place,
returning back alignment of bridge_id.
</pre>
 
Bug #84852
Bug #84852.
</div>
==== diff-ms-net-sched-cbq-dbg-20070626 ====
<div class="change">
Patch from Vitaliy Gusev &lt;vgusev@openvz.org&gt;<br/> 
Debug and workaround patch for "division by zero" in sch_cbq module
<pre class="simple">
Debug and workaround patch for "division by zero" in sch_cbq module
(in cbq_normalize_quanta() function).
For some unknown reason "division by zero" occurs and this patch
should help to understand the broken math.
</pre>
 
Bug #83243
Bug #83243.
</div>
<div class="change">
Patch from Kirill Korotaev &lt;dev@openvz.org&gt;<br/>
 
[PATCH] reiserfs: fix key decrementing
<pre class="simple">
This patch fixes a bug in function decrementing a key of stat data item.
filesystem tree rebuilding.
Signed-off-by: Vladimir Saveliev &lt;vs@namesys.com&gt;<br/>Cc: &lt;reiserfs-dev@namesys.com&gt;<br/>Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;<br/>
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
X-Git-Tag: v2.6.21-rc7~16<br/>X-Git-Url: [http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=6d205f120547043de663315698dcf5f0eaa31b5c </pre>6d205f120547043de663315698dcf5f0eaa31b5c]
</div>
[PATCH] proc: remove pathetic -&gt;deleted WARN_ON
<pre class="simple">
WARN_ON(de &amp;&amp; de-&gt;deleted); is sooo unreliable. Why?
<pre>
proc_lookup remove_proc_entry
=========== =================
else
de-&gt;deleted = 1;
</pre>
So, if you have some strange oops [1], and doesn't see this WARN_ON it means
nothing.
[1] try_module_get() of module which doesn't exist, two lines below
should suffice, or not?
Signed-off-by: Alexey Dobriyan &lt;adobriyan@sw.ru&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;<br/>
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
X-Git-Tag: v2.6.22-rc1~756<br/>X-Git-Url: [http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=578c8183c116e623d53b05d4c79762d053c7090f</pre>578c8183c116e623d53b05d4c79762d053c7090f]
</div>
==== diff-rh-utrace-late-ptrace-may-attach-20070626 ====
<div class="change">
Patch from Alexey Dobriyan &lt;adobriyan@openvz.org&gt; <br/>
Code implementing ptrace_attach() does ~1/3 of job of attaching _before_
<pre class="simple">
Code implementing ptrace_attach() does ~1/3 of job of attaching _before_
checking if attaching process have permissions to mess with target task
NOTE: Right now
<source lang="c">
while (1)
ptrace(PTRACE_ATTACH, pid, NULL, NULL);
</source>
reliably (and _quickly_) crashes kernel if pid is pid of process
like syslogd normal user can't attach to:
<pre>
Unable to handle kernel NULL pointer dereference at 0000000000000000
RIP: [&lt;0000000000000000&gt;]
sysret_signal+0x21/0x31
ptregscall_common+0x67/0xac
</pre>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245735
</pre>
</div>
[PATCH] netfilter: wrong debug assertion in nat code
<pre class="simple">
Simple compilation fix if NETFILTER_DEBUG is on
</pre>
</div>
[PATCH] netfilter: skb struct doesn't have nf_debug anymore
<pre class="simple">
nf_debug field is missing in modern kernels,
but in some places we still refer to it.
</pre>
 
{{bug|627}}
{{bug|627}}.
</div>
Patch from Vasily Tarasov &lt;vtaras@openvz.org&gt;<br/>
[PATCH] venet: lots of spaces in /proc/vz/veinfo output
 
<pre class="simple">
After introducing IPv6 support for venet device, field width for IP
This patch corrects it and fixes the bug:
</pre>
 
{{bug|625}}
{{bug|625}}.
</div>
==== diff-xen-x8664-subarch-changes-20070702 ====
<div class="change">
Patch from Evgeny Kravtsunov &lt;emkravts@openvz.org&gt;<br/> 
[PATCH] Xen: x8664 OVZ changes
<pre class="simple">
x8664 Xen OVZ changes according to x8664 arch changes.
</pre>
</div>
==== diff-arch-4gb-copy-mnt-options-20070703 ====
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;<br/>
[PATCH] 4GB split: add KERNEL_DS handling to copy_mount_options()
 
<pre class="simple">
On i386 arch with 4gb split kernel addresses can be more than
when called with kernel supplied buffers, i.e.
when get_fs() == KERNEL_DS.
</pre>
 
Bug #85041
Bug #85041.
</div>
Patch from Alexandr Andreev &lt;aandreev@openvz.org&gt;<br/>
[PATCH]: small fix to compile kernel without VCPU support
 
</div>
[NETFILTER]: nf_conntrack_h323: add checking of out-of-range on choices' index values
<pre class="simple">
Choices' index values may be out of range while still encoded in the fixed
length bit-field. This bug may cause access to undefined types (NULL
This patch also adds checking of decode flag when decoding SEQUENCEs.
Signed-off-by: Jing Min Zhao &lt;zhaojingmin@vivecode.com&gt;<br/>
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
 
</pre>
</div>
==== diff-ms-security-random-buf-20070711 ====
<div class="change">
Patch from Matt Mackall &lt;mpm@selenic.com&gt;<br/>
[PATCH] PaX: wakeup threshold limits
<pre class="simple">
If root raised the default wakeup threshold over the size of the
output pool, the pool transfer function could overflow the stack with
(Bug reported by the PaX Team &lt;pageexec@freemail.hu&gt;)
Cc: Theodore Tso &lt;tytso@mit.edu&gt;<br/>Cc: Willy Tarreau &lt;w@1wt.eu&gt;<br/>Signed-off-by: Matt Mackall &lt;mpm@selenic.com&gt;<br/>
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
drivers/char/random.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
</pre>
</div>
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;<br/>
[PATCH] IPC: fix potential user leak
<pre class="simple">
When user locks an ipc shmem segmant with SHM_LOCK ctl and the
segment is already locked the shmem_lock() function returns 0. After this the subsequent code leaks the existing user struct:
== ipc/shm.c: sys_shmctl() ==
<source lang="c">... err = shmem_lock(shp-&gt;shm_file, 1, user); if (!err) { shp-&gt;shm_perm.mode |= SHM_LOCKED; shp-&gt;mlock_user = user; } ...</source>
Other results of this are:
1. # the new shp-&gt;mlock_user is not get-ed and will point to freed memory when the task dies.2. # the RLIMIT_MEMLOCK is screwed on both user structs.
The exploit looks like this:
My solution is to return 0 to the userspace and do not change the
segment's user.
</pre>
 
Bug #78998
Bug #78998.
</div>
[PATCH] swiotlb: add missing phys_to_virt() call
<pre class="simple">
Adds missing call to phys_to_virt() in the
lib/swiotlb.c:swiotlb_sync_sg() function. Without this change, a kernel
machines with more than about 3 GB RAM.
Signed-off-by: David Moore &lt;dcm@acm.org&gt;<br/>Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;<br/>
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
[http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fstable%2Flinux-2.6.20.y.git;a=commitdiff_plain;h=e16b67f9a0ac6d9f89f680b7f3b439abfb1dac5e</pre> {{bug|645}}e16b67f9a0ac6d9f89f680b7f3b439abfb1dac5e]
{{bug|645}}.
</div>
<div class="change">
Patch from Dmitry Monakhov &lt;dmonakhov@openvz.org&gt;<br/>
[PATCH] BC: recharge vma if vm_flags changed after -&gt;mmap() call
<pre class="simple">
Several device drivers (sigh... ATI) can change vm_flags
in their f_op-&gt;mmap method. Because of this mm-&gt;locked_vm
changed after f_op-&gt;mmap was called.
If -&gt;vm_flags has been changed we have to recharge ub memory.
</pre>
</div>
<div class="change">
Patch from Dmitry Monakhov &lt;dmonakhov@openvz.org&gt;<br/>
[PATCH] BC: aidband - uncharge UB pages before charging to PB
<pre class="simple">
By design we assume that page may be accounted only in UB or only
in PB counter.
Changes from v1: Add WARN_ON_ONCE according to Pavel's cmomments.
</pre>
</div>
==== diff-ve-allow-kthreads-20070716 ====
<div class="change">
Patch from Denis Lunev &lt;den@openvz.org&gt; <br/>
[PATCH] allow kthreads by default in VE (for NFS)
<pre class="simple">
This patch allows kernel threads by default inside VE.
</pre>
</div>
<pre class="simple">
 
-----------------------------------------------------------------------------------
family | type | protocol
| | IPPROTO_IP
--------------------------------------------------------------------------------
</pre>* Here "any existing" means that only SOCK_RAW and SOCK_DGRAM will work:
other ones will be rejected by corresponding -&gt;create function (for.ex.
netlink_create). And this reject is ok, as it is not bug provoking.
Patch implements default deny security policy.
</pre>
 
{{bug|611}}
{{bug|611}}.
</div>
==== diff-ve-net-udp-regress-20070712 ====
<div class="change">
Patch from Vitaliy Gusev &lt;vgusev@openvz.org&gt; <br/>
[PATCH] net: excessive UDP lost on VE send path
<pre class="simple">
When tring to send big UDP packets from VE then other side
receive about 60% of all IP fragmentated packets and about 10% of all UDP packets
Thanks to Denis Lunev and Alexey Kuznetsov for ideas and help.
</pre>
</div>
==== diff-ve-nfs-stop-c-20070704 ====
<div class="change">
Patch from Denis Lunev &lt;den@openvz.org&gt;<br/>
This patch ensures that VE is up and running during RPC connect. This
<pre class="simple">
This patch ensures that VE is up and running during RPC connect. This
staff can be run as a schedule_work when all tasks has been dead.
</pre>
 
{{bug|513}}
{{bug|513}}.
</div>
==== diff-ve-vpid-tsk-pgid-20070706 ====
<div class="change">
Patch from Kirill Korotaev &lt;dev@openvz.org&gt; <br/>
[PATCH] VE: sys_getpgid/sid should depend on context
<pre class="simple">
sys_getpgid/sid() should return global pid of
VE task if info is requisted from VE0 task.
Actually, not critical, but still. let's fix it.
</pre>
 
Bug #85662
Bug #85662.
</div>
==== diff-xen-x8664-subarch-changes-b-20070709 ====
<div class="change">
Patch from Evgeny Kravtsunov &lt;emkravts@openvz.org&gt; <br/>
Patch fixes compilation error: XEN_CPUID is undefined in
<pre class="simple">
Patch fixes compilation error: XEN_CPUID is undefined in
include/asm-x86_64/mach-xen/asm/msr.h. To define XEN_CPUID on x84_64 patch
attached makes msr.h to include xen/interface/arch-x86_64.h.
<pre class="simple"
linux-2.6.18-drbd-8.0.3-8.0.4.patch:
Patch prepared by Evgeniy Kravtsunov:
DRBD driver update 8.0.3 -&gt; 8.0.4
</pre>
Patch attached updates drbd version from 8.0.3 to 8.0.4.
In 8.0.4 a set of oopses is fixed according to drbd changelog:
http://svn.drbd.org/drbd/trunk/ChangeLog.
</pre>
 
{{bug|615}}
{{bug|615}}.
</div>
<div class="change">
Patch from Vasily (vvs@):<br/>
RHEL5 forget to apply last of our megaraid_mbox fixes:
<pre class="simple">
RHEL5 forget to apply last of our megaraid_mbox fixes:
http://forum.openvz.org/index.php?t=msg&amp;goto=14975
<pre class="simple"
From: Andrey Mirkin &lt;amirkin@sw.ru&gt;
Date: Mon, 16 Oct 2006 08:08:43 +0000 (+0400)
X-Git-Url:
http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=8741ca71a3f626a56595b88200ebf952ce77ceef
</pre>
[PATCH] scsi: megaraid_{mm,mbox}: 64-bit DMA capability fix
wrong and driver sets 64-bit DMA mode for these devices.
Signed-off-by: Andrey Mirkin &lt;amirkin@sw.ru&gt;<br/>Acked-by: Vasily Averin &lt;vvs@sw.ru&gt;<br/>
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
 
</pre>
</div>
vzabackup, filesystem tests, etc.
Backport from 2.6.22</pre>.
</div>
Signed-off-by: Andi Kleen &lt;ak@suse.de&gt;
[http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1b29c1643c0d82512477ccd97dc290198fe23e221b29c1643c0d82512477ccd97dc290198fe23e22]
[SWSUSP]: correct virt_to_page() usage in swsusp
Bug #86406.
</div>
==== diff-ms-net-cbq-fairness2-20070720 ====
<div class="change">
Patch from Vitaliy Gusev &lt;vgusev@openvz.org&gt; <br/>
[PATCH] CBQ: fix unfairness when gettimeofday clock source is used
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;<br/>
 
[PATCH] BC: fix several issues in /proc/bc
<pre class="simple">
find /proc/bc doesn't work with several errors reported.
Reasons:
1. # getdents() sometimes returns EOVERFLOW due to sign expansion in generated entries' inode numbers;2. # bc and subbc have equal generated inode numbers;3. # /proc/bc has broken (from find's POV) nlink count.
Fix it all.
</pre>
</div>
[PATCH] venet: compilation warning fix
<pre class="simple">
label "out" is not used anymore. Fix the warning.
</pre>
</div>