OpenVZ-legacy
  1. OpenVZ-legacy

linux-2.6.16-openvz

Public
AuthorCommitMessageCommit dateIssues
OpenVZ teamOpenVZ team
cb8603399b0linux-2.6.16-026test018 released
Pavel EmelianovPavel Emelianov
e48d3cf077f[VZDQ] Compilation fix for CONFIG_VZ_QUOTA_UGID=n case - ifdefs in a couple of places; - moved some code out of compiled-out file; - 'ifdef' instead of 'if defined'. http://bugzilla.openvz.org/show_bug.cgi?id=222
OpenVZ teamOpenVZ team
d77f5c3e94bMMerged 2.6.16.29 from /linux/kernel/git/stable/linux-2.6.16.y
Pavel EmelianovPavel Emelianov
835087c2eaavoid argument in declarations of fib_rules_create()/destroy()
Pavel EmelianovPavel Emelianov
990946d5372[UBC] Cleanups in networking accounting - remove unused gfp var from sock_alloc_send_skb2 - gfp_t type in ub_skb_alloc_bc()
Pavel EmelianovPavel Emelianov
f87eb11430cSmall venet cleanups - C99 syntax in structires declarations - __user attribute Found by sparse.
Pavel EmelianovPavel Emelianov
6483ce772c1[VETH] Add __user attribute to the 2nd copy_from_user()'s argumentFound by sparse.
Pavel EmelianovPavel Emelianov
433104098a6vfs_read() wants the 2nd argument to have __user attributeFound by sparse.
Pavel EmelianovPavel Emelianov
996d7a334ff[CPT] Don't leave function argument list empty - use 'void'
Pavel EmelianovPavel Emelianov
ee91a5920f8[VZDQ] Cleanups in vzquota code - C99 syntax in structures initialization - __user attribute where appropriate Found by sparse.
Pavel EmelianovPavel Emelianov
c29807070c6[UBC] Fix UB_NUMFILE accounting optimisation leakIn 2.6.16 files are put via RCU, so ub_file_uncharge() is called in IRQ context. Thus non-atomic decrement of file_precharged must be done with IRQs disabled.
Pavel EmelianovPavel Emelianov
ad1d432ead5Use gfp_t type in __alloc_collect_stats()Found by sparse.
Pavel EmelianovPavel Emelianov
dd123979868Cleanups in vecalls.c and vzcalluser.h - C99 syntax in structures init; - __user attribute where appropriate; - pass NULL as pointer arg, not 0. Also define an empty __user macro for userspace in vzcalluser.h Found by sparse.
Pavel EmelianovPavel Emelianov
9b59f95cb47Cleanups in veowner.c - use C99 syntax in struct fields initialization; - use NULL instead of 0 for pointer arg. Found by sparse.
Pavel EmelianovPavel Emelianov
4edbe5d7388[UBC] Added lost __user attribute in kernel/ub/ub_proc.c file
Pavel EmelianovPavel Emelianov
04eecbb2255[UBC] Use gfp_t type where appropriate in ub_mem.cFound by sparse.
Pavel EmelianovPavel Emelianov
8f88c014505[UBC] Added __user attribute to UBC syscalls argumentsFound by sparse.
Pavel EmelianovPavel Emelianov
a09ea380828Added __user attribute to sysctl handler's args in softirqd disabling codeFound by sparse.
Pavel EmelianovPavel Emelianov
900a7780d84Cleanups in fairsched code found by sparse - rq->push_vcpu = NULL; - __user attribute in sysctl handler argument.
Adrian BunkAdrian Bunk
1eea281be89Linux 2.6.16.29
Pavel EmelianovPavel Emelianov
058d94248ecMemset file to 0 before charging it to prevent f_ub erasing.
Pavel EmelianovPavel Emelianov
5568d44186fFix of nrfiles accounting.Since file_cachep is not SLAB_UBC after Andrey's optimisations slab_ub(file) will BUG_ON inside slab_ub_ref. Use file->f_ub instead.
Adrian BunkAdrian Bunk
bfc94b3cb3eLinux 2.6.16.29-rc2
Neil BrownNeil Brown
226e6ea4df3Have ext2 reject file handles with bad inode numbers early.This prevents bad inode numbers from triggering errors in ext2_get_inode. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Andrey MirkinAndrey Mirkin
20d8a8a9a83In tests we can see message: "mm_struct is referenced outside" After that message checkpoint fails.It seems that this situation is legal, so checkpoint could be restarted. So we return -EAGAIN to be able to restart checkpoint.
Pavel EmelianovPavel Emelianov
7284ebc794dRoll back hiding net/sockstat in VE. proc_net vriable is virtualized in 2.6.16 so this is not needed.Tanks to dim@ for noticing.
Pavel EmelianovPavel Emelianov
bec444cee42Show top slabs functionality comp fixes: - lock w/o irqsave and flags; - correct loop counter; - names: objsize -> buffer_size.
Pavel EmelianovPavel Emelianov
879196ba6e7Typo in mm/slab.c after kmem optimisation patch port.
Pavel EmelianovPavel Emelianov
98beb4174c8Take kmem memory usage for file_cachep directly fro cachep.
Pavel EmelianovPavel Emelianov
4809302274eAdd prototypes for init/fini_ve_tty_class() calls.
Pavel EmelianovPavel Emelianov
bee809d9598Fix ub_timewait_check() to get kmem_cache objuse directlyand from correct slab.
Pavel EmelianovPavel Emelianov
8088ab43831[CPT] capabilities check fixes - namespace->sem is replaced with namespace_sem; - task->used_math is replaced with tsk_used_math().
Pavel EmelianovPavel Emelianov
b2295f50637Export and unstatic __d_path() call for CPT capability checks.
Andrey MirkinAndrey Mirkin
15f702e221e[CPT] This patch adds veth support in CPT
Pavel EmelianovPavel Emelianov
da18e48729bCompilation fix for nr_iowait_ve() modifications.
Pavel EmelianovPavel Emelianov
5b9b72ba3b8Add prototype for ve_scale_khz() in vsched.h (comp)
Kir KolyshkinKir Kolyshkin
e70ce77c912[PPC] adds needed TIF_FREEZE define to powerpc
Patrick McHardyPatrick McHardy
462fa41889a[NETFILTER] x_tables: fix compat related crash on non-x86When iptables userspace adds an ipt_standard_target, it calculates the size of the entire entry as: sizeof(struct ipt_entry) + XT_ALIGN(sizeof(struct ipt_standard_target)) ipt_standard_target looks like this: struct xt_standard_target { struct xt_entry_target target; int verdict; }; xt_entry_target contains a pointer, so when compiled for 64 bit the structure gets an e...
Dmitry MishinDmitry Mishin
2be2ec835c5[PPC] enabled usage of ip_tables compat layer on ppc64
Kir KolyshkinKir Kolyshkin
ffb49757727[PPC] adds fairsched syscalls for powerpc
Kir KolyshkinKir Kolyshkin
e3b89b42ae7[PPC] fix ubc syscalls declaration for powerpc
Kir KolyshkinKir Kolyshkin
cc7adec05ffFixes vzwdog compilation in case CONFIG_FLAT_NODE_MEM_MAP is not set
Kir KolyshkinKir Kolyshkin
d617cc44e1e[PPC] adding MAP_EXECPRIO define for powerpc
Kir KolyshkinKir Kolyshkin
cf149ecb45e[PPC] asm-powerpc/unistd.h mistype fix
Kir KolyshkinKir Kolyshkin
067609a4df1[PPC] fixes the following compilation issue on ppc platformIn file included from include/asm/tlb.h:20, from arch/powerpc/platforms/pseries/lpar.c:37: include/asm/pgalloc.h:97: error: conflicting types for '__pte_alloc' include/linux/mm.h:819: error: previous declaration of '__pte_alloc' was here make[2]: *** [arch/powerpc/platforms/pseries/lpar.o] Error 1
Kir KolyshkinKir Kolyshkin
048c7450a40[PPC] fixes the mistype and the formatting in powerpc's show_regs().
Vasily TarasovVasily Tarasov
2f049f32f21Add /sys/class/tty/ptmx device It's necessary, 'cause otherwise udev doesn't create /dev/ptmxhttp://bugzilla.openvz.org/show_bug.cgi?id=243 Ported patch from Umka by Vasily.
Vasily AverinVasily Averin
92d1405f2bb/proc/interrupt file should be closed if kernel_thread() fails(#68096)
Andrey MirkinAndrey Mirkin
578919dff89This patch adds support of 3 mount flags to bind mountNow we can do bind mounts with noexec, nosuid and nodev options w/o need to do remount.
Alexey KuznetsovAlexey Kuznetsov
d8e8aa3f4f4[CPT] restoring threads with tsk->fs==NULLIf a nptl thread is ptraced, it does not die immediately and we can arrive to the state: parent | main_thread -----> thread1 [ptraced] in TASK_ZOMBIE in TASK_ZOMBIE To restore such configuration we do kernel_thread(CLONE_SIGNAL) in context of main_thread. But if it is exited, it has tsk->fs == NULL and kernel oopes. Suggested fix is very simple: we just attach temporary...