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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 16 Mar 2012 23:07:20 +0000 From: Alan Cox <alan@...rguk.ukuu.org.uk> To: Jiri Slaby <jslaby@...e.cz> Cc: "Du, Alek" <alek.du@...el.com>, Jiri Slaby <jirislaby@...il.com>, "Tu, Xiaobing" <xiaobing.tu@...el.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>, "Zhang, Yanmin" <yanmin.zhang@...el.com>, "Zuo, Jiao" <jiao.zuo@...el.com> Subject: Re: [PATCH] tty: hold lock across tty buffer finding and buffer filling > Or maybe even removing that interface completely... We should be able to fix that interface fairly simply. If you have a completed call then you can mark the buffer not to be freed and only reap it post flush on the completed call. Once the BKL remnants are gone we can hold tty->ldisc_mutex over ldisc receive paths at which point this can be turned into a sane API. Alan -- 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