Difference between revisions of "Download/kernel/2.6.8/022stab034.1/changes"
(created) |
m (Protected "Download/kernel/2.6.8/022stab034.1/changes": Robot: Protecting a list of files. [edit=autoconfirmed:move=autoconfirmed]) |
(No difference)
|
Latest revision as of 18:23, 22 October 2009
Contents
- 1 Changes
- 1.1 Compatibility
- 1.2 Patches
- 1.2.1 diff-ve-procperms-20050826
- 1.2.2 diff-fairsched-initlate-20050824
- 1.2.3 diff-ve-proc-lookup-20050824
- 1.2.4 diff-vzdq-filefini-20050824
- 1.2.5 diff-fs-dcookie-20050823
- 1.2.6 diff-ve-opsemcomment-20050824
- 1.2.7 diff-ve-listadd-20050815
- 1.2.8 diff-ve-fairsched-err-20050824
- 1.2.9 diff-ve-freeveproc-20050817
- 1.2.10 diff-ve-cleanup-cleanup-20050812
- 1.2.11 diff-fairsched-setvsched-20050812
- 1.2.12 diff-ve-procstat{iow|idl}-20050819
- 1.2.13 diff-ve-fairsched-statiow-20050823
- 1.2.14 diff-ve-fairsched-statidl-20050823
- 1.2.15 diff-ve-procstat-20050819
- 1.2.16 diff-ve-loadavg-20050823
- 1.2.17 diff-ve-vzstat-nrs-20050823
- 1.2.18 diff-dbg-nmi-printk-20050803
- 1.2.19 diff-dbg-nmi-printk-20050808
- 1.2.20 diff-dbg-fairsched-20050824
- 1.2.21 diff-dbg-fairsched-20050901
- 1.2.22 diff-dbg-fairsched-loopcleanup-20050901
- 1.2.23 diff-fairsched-cleanup-20050908
- 1.2.24 diff-mainstream-elfzerobss-20050908
- 1.2.25 diff-ubc-vma-rss-20050822
- 1.2.26 diff-ubc-doswappage-err-20050824
- 1.2.27 diff-fairsched-vcpuadderr-20050810
- 1.2.28 diff-ve-emt64-envcreate-20050907
- 1.2.29 diff-emt64-headers-20050907
- 1.2.30 diff-ve-emt64-showregs-20050907
- 1.2.31 diff-ve-nfsxprt-20050811
- 1.2.32 diff-vzdq-headers-20050905
- 1.2.33 diff-mainstream-initrd-20050902
- 1.2.34 diff-mainstream-icmpleak-20050818
- 1.2.35 diff-security-sockopt-20050806
- 1.2.36 diff-security-zisofs-20050806
- 1.2.37 diff-security-zlib-20050815
- 1.2.38 diff-mainstream-autofs4-20050727
Changes
- Mainstream kernel security fixes
- Fairscheduler debug code and fixes
- Statistics fixes
Compatibility
- Kernel headers resides under /lib/modules/`$kernel_ver`/build/include directory now. Package vzkernel-headers is removed.
Patches
diff-ve-procperms-20050826
This patch removes permission granting for unnamed devices, registered during VPS creation.
diff-fairsched-initlate-20050824
Relocates fairsched_init_late into proper place.
Bug 50457.
diff-ve-proc-lookup-20050824
- fixup of nlink counter and mode for proc inodes;
- small code cleanup.
diff-vzdq-filefini-20050824
Fixes oops in VPS fini hook in vzdq_file if the VPS doesn't have disk
quota.
Bug 50161.
diff-fs-dcookie-20050823
- dgets dentry instead of incrementing its d_count
- mntgets vfsmount instead of incrementing its mnt_count (at Andrey's request)
diff-ve-opsemcomment-20050824
Comment about barrier properties of op_sem.
diff-ve-listadd-20050815
This patch fixes race between do_env_cleanup (removes VPS from list, vzctl finishes, VPS start allowed) and subsequent do_env_create->fairsched_mknod, where the fairsched node still exist.
diff-ve-fairsched-err-20050824
Adds error checks in fairsched node creation/switch/removal at VPS start/stop. Eliminates one of the reasons of vcpu_attach oops.
diff-ve-freeveproc-20050817
This patch fixes oops in free_ve_proc called on cleanup path in
do_env_create.
Bug 50322.
diff-ve-cleanup-cleanup-20050812
- no need to set exec environment in vzlmond before calling env_cleanup, since env_cleanup sets it itself;
- make code look nicer with list_first_entry.
diff-fairsched-setvsched-20050812
misprint in migrate task. Wrong macro was used, but it happened to be harmless since both macros expand into the same expression.
diff-ve-procstat{iow|idl}-20050819
read ve idle time in proc and vecalls.
(Andrey's comments, renamed get_ve_idle_cpu into ve_sched_get_idle_time)
diff-ve-fairsched-statiow-20050823
Calculates ve's per-vcpu iowait time
diff-ve-fairsched-statidl-20050823
- account ve idle time per-vcpu;
- removed fairsched idle time accounting.
Makes comparison between cycles like in time_after.
diff-ve-procstat-20050819
- fixup of wall_to_monotonic access in show_stat();
- optimisation and code cleanup in show_stat().
diff-ve-loadavg-20050823
Introduces nr_running_ve, nr_iowait_ve and ve_uninterruptible_ve that are used in /proc to show statistics in VPS. Fixups these functions to check returned result for "< 0".
diff-ve-vzstat-nrs-20050823
- global accounting for running/sleeping/etc tasks;
- removes cycles from ve_nr_sunning_inc/_dec;
- ve's nr_running etc accounting is per Vcpu;
- fixed type of sym in nr_sleeping and nr_stopped;
- removed inc/dec of ve_nr_running from pull_task.
diff-dbg-nmi-printk-20050803
This patch fixes/improves printk() locking thus making it possible to call it from NMI/scheduler code using special printk_no_wake variable.
diff-dbg-nmi-printk-20050808
Improvements of printk from schedule/NMI:
- per-cpu variables can't be used (they are initialized too late),
- operations in nmi_watchdog_tick() reordered a bit,
- check for printk_no_wake added to bust_spinlocks,
- a timer to wake up processes after missing wakeup from printk implemented.
diff-dbg-fairsched-20050824
Debug print in case of loop in schedule_vcpu. no new issues
diff-dbg-fairsched-20050901
Additional fairscheduler lookup debug.
diff-dbg-fairsched-loopcleanup-20050901
This patch does the following:
- incorrect VCPU id in deactivate_task (in __migrate_task)
- too small counter in schedule_vcpu deadlock detection
- FSN->pcpu decreased if schedule_vcpu deadlock detection fired
- incorrect spin_lock_irq in __show_vsched cleared
- rq_vcpu macro introduced
Bug 50622.
Bug 50635.
diff-fairsched-cleanup-20050908
This patches cleanups fairsched code:
- set_task_cpu replaced by set_task_vcpu in many places
- additional BUG_ON added to __migrate_task
- fixed BUG in migration_thread: vcpu_offline should be checked
- reorganized vsched_del_vcpu to make it more obvious
- irqsave replaced by irq where save not needed
diff-mainstream-elfzerobss-20050908
[PATCH] binfmt_elf: clearing bss may fail
So we discover that Borland's Kylix application builder emits weird elf files which describe a non-writeable bss segment. So remove the clear_user() check at the place where we zero out the bss. I don't _think_ there are any security implications here (plus we've never checked that clear_user() return value, so whoops if it is a problem).
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-ubc-vma-rss-20050822
This patch fixes vm_rss accounting in vma_merge.
Bug 50328.
diff-ubc-doswappage-err-20050824
Corrected error path on pbc allocation failure in do_swap_page.
Bug 50329.
diff-fairsched-vcpuadderr-20050810
Fix of memory leak in __add_vcpu on error path: not installed vcpu must be kfree-ed
diff-ve-emt64-envcreate-20050907
Fixup of compilation of alloc_ve_tty_drivers in x86_64. When size was int gcc thought it was __builtin_constant and compiled symbol __you_cannot_kmalloc_that_much into module.
diff-emt64-headers-20050907
Fix include/linux/vsyscall.h to be includable from user space (for vzctl)
diff-ve-emt64-showregs-20050907
Added VPS info in show_registers on x86_64 arch.
diff-ve-nfsxprt-20050811
fixed missed context restoring in xprt_create_socket()
diff-vzdq-headers-20050905
This patch fixes quota.h to make it includable from user space.
diff-mainstream-initrd-20050902
Virtuozzo kernel does not compile without initrd. Reason: previous patch for GRUB + initrd.
diff-mainstream-icmpleak-20050818
[PATCH] Fix DST leak in icmp_push_reply()
Based upon a bug report and initial patch by Ollie Wild:
>>> If the ip_append_data() call in icmp_push_reply() fails,
>>> ip_flush_pending_frames() needs to be called. Otherwise, ip_rt_put()
>>> is never called on inet_sk(icmp_socket->sk)->cork.rt, which prevents
>>> the route (and net_device) from ever being freed.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
X-Git-Tag: v2.6.12.6
http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.12.y.git;a=commitdiff;h=3ad543d4783e47b413300715d790b5ad652567ff
diff-security-sockopt-20050806
[PATCH] Restrict socket policy loading to CAP_NET_ADMIN - CAN-2005-2555
The interface needs much redesigning if we wish to allow normal users to do this in some way.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
X-Git-Tag: v2.6.12.6
http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.12.y.git;a=commitdiff;h=332b8bee402fe1076e50d08dfa535a9f0a349cba/
diff-security-zisofs-20050806
[PATCH] Check input buffer size in zisofs
Add fakey 'deflateBound()' function to the in-kernel zlib routines It's not the real deflateBound() in newer zlib libraries, partly because the upcoming usage of it won't have the "stream" available, so we can't have the same interfaces anyway.
This uses the new deflateBound() thing to sanity-check the input to the zlib decompressor before we even bother to start reading in the blocks.
Problem noted by Tim Yamin <plasmaroo@gentoo.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
X-Git-Tag: v2.6.12.5
http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.12.y.git;a=commitdiff;h=49f8907fb9de31d3a0a099fef0f42ccdcdc9c7e7
diff-security-zlib-20050815
[PATCH] Update in-kernel zlib routines (CAN-2005-2458, CAN-2005-2459)
Fix outstanding security bugs in the Linux zlib implementations. See:
Signed-off-by: Tim Yamin <plasmaroo@gentoo.org>
Signed-off-by: Tavis Ormandy <taviso@gentoo.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
X-Git-Tag: v2.6.12.5
http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.12.y.git;a=commitdiff;h=885605316d76c3fdce23dffe9c59e20539287c6b
diff-mainstream-autofs4-20050727
[PATCH] autofs4: fix infamous "Busy inodes after umount ..." message
If the automount daemon receives a signal which causes it to sumarily terminate the autofs4 module leaks dentries. The same problem exists with detached mount requests without the warning.
This patch cleans these dentries at umount.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Bug 50326.