seteuid0's blog
Themed by Diary.
[zz]Linus大神又怒了 我为什么要说“又”?

Linus大神实乃性情中人,口无遮拦。继称OpenBSD开发者是一帮自慰的猴子、  调侃digg用户是“手淫的海象”、以及 对 Nvidia 比中指爆粗 后,又有不懂事的人惹大神发怒了。这回是由在于Linus认为Mauro违反了内核维护的基本原则。他的原话很好理解:Linus大神实乃性情中人,口无遮拦。继称OpenBSD开发者是一帮自慰的猴子、  调侃digg用户是“手淫的海象”、以及 对 Nvidia 比中指爆粗 后,又有不懂事的人惹大神发怒了。闭上你的臭嘴,Mauro!这明显是一个bug,Kernel中的bug!你做了多长时间的维护人员了,为什么还不明白Kernel维护的第一原则?如果修改会导致用户程序的破坏,那问题一定是在Kernel上!永远不可以归咎用户程序的责任,学会这点真的很难吗?更糟糕的是,commit f0ed2ce840b3虽然并没有破坏程序,但它完全是废话。……永远不可以破坏USERSPACE!或许有人觉得Linus的批评太过严厉,但这也正反映出他对Kernel设计、维护原则的坚持,如果没有这种信念,相信Linux很难有今天的地位。希望各位程序员引以为戒!http://thread.gmane.org/gmane.linux.kernel/1413835/focus=1414106From: Linus Torvalds <torvalds  linux-foundation.org> Subject: Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1) Newsgroups: gmane.linux.kernel Date: 2012-12-23 17:36:15 GMT (1 day, 17 hours and 45 minutes ago) On Sun, Dec 23, 2012 at 6:08 AM, Mauro Carvalho Chehab <mchehab  redhat.com> wrote: > > Are you saying that pulseaudio is entering on some weird loop if the > returned value is not -EINVAL? That seems a bug at pulseaudio. Mauro, SHUT THE FUCK UP! It’s a bug alright - in the kernel. How long have you been a maintainer? And you *still* haven’t learnt the first rule of kernel maintenance? If a change results in user programs breaking, it’s a bug in the kernel. We never EVER blame the user programs. How hard can this be to understand? To make matters worse, commit f0ed2ce840b3 is clearly total and utter CRAP even if it didn’t break applications. ENOENT is not a valid error return from an ioctl. Never has been, never will be. ENOENT means “No such file and directory”, and is for path operations. ioctl’s are done on files that have already been opened, there’s no way in hell that ENOENT would ever be valid. > So, on a first glance, this doesn’t sound like a regression, > but, instead, it looks tha pulseaudio/tumbleweed has some serious > bugs and/or regressions. Shut up, Mauro. And I don’t _ever_ want to hear that kind of obvious garbage and idiocy from a kernel maintainer again. Seriously. I’d wait for Rafael’s patch to go through you, but I have another error report in my mailbox of all KDE media applications being broken by v3.8-rc1, and I bet it’s the same kernel bug. And you’ve shown yourself to not be competent in this issue, so I’ll apply it directly and immediately myself. WE DO NOT BREAK USERSPACE! Seriously. How hard is this rule to understand? We particularly don’t break user space with TOTAL CRAP. I’m angry, because your whole email was so _horribly_ wrong, and the patch that broke things was so obviously crap. The whole patch is incredibly broken shit. It adds an insane error code (ENOENT), and then because it’s so insane, it adds a few places to fix it up (“ret == -ENOENT ? -EINVAL : ret”). The fact that you then try to make *excuses* for breaking user space, and blaming some external program that *used* to work, is just shameful. It’s not how we work. Fix your f*cking “compliance tool”, because it is obviously broken.And fix your approach to kernel programming. Linus在Linux 2.6.25.10稳定版发布的邮件列表上,一位开发者提到了关于修正bug安全影响的披露政策,并再三的强调安全。Linus Torvalds回贴中表示,安全漏洞臭虫只是众多臭虫的一种,过于拔高或赞美安全臭虫的修正者是走在错误的方向上。Linus大神称那帮整天炫耀OpenBSD安全性的家伙其实是一群自慰的猴子,好像除了安全性,没有其它东西能让他们兴奋起来。安全是重要的,但不等于一切。所谓的“Merge window”是指一种大的软件项目使用的项目生命周期。Merge window发生在软件的一个新版本发布之后的一段时间,在这段时间内,有大量的补丁被合并,因此在下一个版本发布前需要用较长的时间去详细检查和测试。Linux kernel是在2005年7月2.6.14版发布起开始使用Merge window,每一次2.6.x发布都伴随着两周的Merge window。所以在Linux 2.6.26发布后,作为Linux kernel最主要的维护人员, Linus Torvalds开始了繁重的补丁合并,他在邮件列表写下了他的思考。在附言中,他写下了下面一句话:“去广泛发布这条消息:digg用户是一群‘手淫的海象’,你可以引用我这句话”。Linus大神也许是以此回应——“自慰的猴子”被广泛传播这件事情。(责任编辑:A6)2012年6月14日,由阿尔托大学奥塔涅米创业中心主办 Aalto Talk 节目邀请到 Linus 与观众进行互动,期间,Linus 对 Nvidia 爆粗,观众很开心。Linus: “So, Nvidia: FUCK YOU!”