login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
20
Re: [PATCH 1/3] signals: fix sigqueue_free() vs __exit_signal() race
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Oleg Nesterov
Subject:
Re: [PATCH 1/3] signals: fix sigqueue_free() vs __exit_signal() race
Date: Tuesday, May 20, 2008 - 2:17 am
On 05/19, Andrew Morton wrote:
quoted text
> > On Sat, 17 May 2008 19:14:18 +0400 Oleg Nesterov <oleg@tv-sign.ru> wrote: > > > __exit_signal() does flush_sigqueue(tsk->pending) outside of ->siglock. > > This can race with another thread doing sigqueue_free(), we can free > > the same SIGQUEUE_PREALLOC sigqueue twice or corrupt the pending->list. > > > > Note that even sys_exit_group() can trigger this race, not only > > sys_timer_delete(). > > > > Move the callsite of flush_sigqueue(tsk->pending) under ->siglock. > > > > This patch doesn't touch flush_sigqueue(->shared_pending) below, it is > > called when there are no other threads which can play with signals, > > and sigqueue_free() can't be used outside of our thread group. > > afacit this is the only needed-in-2.6.26 patch from these two > three-patch series, yes?
Yes, other patches are not bugfixes. Probably this fix is not "urgent" too, the race is very old and nobody complained. Oleg. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/3] signals: fix sigqueue_free() vs __exit_signal( ...
, Oleg Nesterov
, (Sat May 17, 8:14 am)
Re: [PATCH 1/3] signals: fix sigqueue_free() vs __exit_sig ...
, Andrew Morton
, (Mon May 19, 11:33 pm)
Re: [PATCH 1/3] signals: fix sigqueue_free() vs __exit_sig ...
, Oleg Nesterov
, (Tue May 20, 2:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stephen Smalley
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Borislav Petkov
drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2...
git
:
Mike Miller
git message
Wincent Colaiuta
Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Kevin Ballard
Re: git check-attr -z and quoting
Marcel Holtmann
Re: Remove unneeded packs
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Sebastian Andrzej Siewior
[PATCH v2] net/core: use ntohs for skb->protocol
Badalian Vyacheslav
Re: tc filter flow hash question
Parav Pandit
ip6 route output() and ip_route_output_key() by drivers
Jarek Poplawski
Re: tc filter flow hash question
git-commits-head
:
Linux Kernel Mailing List
mm: fix build on non-mmu machines
Linux Kernel Mailing List
ALSA: hda: Use olpc-xo-1_5 quirk for Toshiba Satellite P500-PSPGSC-01800T
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
Staging: rt2870: Removal of kernel_thread() API
openbsd-misc
:
Tony Abernethy
Re: The Atheros story in much fewer words
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
ropers
Re: Real men don't attack straw men
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate