lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 24 Mar 2010 19:12:24 +0100 From: Oleg Nesterov <oleg@...hat.com> To: Andrew Morton <akpm@...ux-foundation.org> Cc: Alexey Dobriyan <adobriyan@...il.com>, "Eric W. Biederman" <ebiederm@...ssion.com>, Roland McGrath <roland@...hat.com>, linux-kernel@...r.kernel.org Subject: Re: [PATCH -mm 1/1] proc: turn signal_struct->count into "int nr_threads" On 03/24, Oleg Nesterov wrote: > > No functional changes, just s/atomic_t count/int nr_threads/. Argh, I forgot to send "[PATCH 0/1]", please see below... [PATCH -mm 0/1] proc: turn signal_struct->count into "int nr_threads" Depends on [PATCH -mm 1/2] proc_sched_show_task: use get_nr_threads() [PATCH -mm 2/2] keyctl_session_to_parent: use thread_group_empty() to check singlethreadness and on top of the trivial [PATCH -mm] signals-clear-signal-tty-when-the-last-thread-exits.fix I did "make allyesconfig" to test this change, but the compilation failed because of unrelated bugs, and of course "count" is not really grepable :/ However, $ grep -nr --include=*.[ch] -E 'sig\w*->count' */ | grep -Ev 'sigh(and)?->count' kernel/fork.c:827: atomic_set(&sig->count, 1); and this "sig" above is in fact sighand. Fortunately, if I missed some user of signal->count the necessary fix will be really trivial. And I bet in this case that user should be wrong anyway. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists