NetBSD
共 26 篇文章。
看到了一群神仙
今天看到了 Murray 和 Nik 两位老大。Paul Saab有一些私人的事情没来,所以没有看到。在 Sunnyvale 举办了这次 GSoC mentor 的 party(游泳池不错!),来了很多以前听说过的神仙(有个老印还给大家吹一种类似萨克斯的乐器,据说他去年就这么做过一次,不知道是哪个项目的神仙),比如 moinmoin 和 pidgin 的作者等等,与此相比,FreeBSD的人反而显得单薄了一些(算上我3个),看来明年我们还是有很多需要改进的地方的。
GPL gzip(1)将于今天被执行死刑
今天我将把FreeBSD中的又一个 「自由」 (GPL授权)软件——gzip——替换为一个 可以自由再发布 的(BSD授权)版本。这一版本已经经过长期测试,特别是FreeBSD port联编集群的考验。
替换gzip的主要导火索是去年由Google公司安全团队发现的CVE-2006-4334、CVE-2006-4335、CVE-2006-4336、CVE-2006-4337、CVE-2006-4338等一系列问题,以及由于修正这些问题所引入的f2c压缩文件无法解压的回归问题。新版本的FreeBSD gzip来自于NetBSD的Matthew R. Green所撰写的、基于可自由再发布的zlib压缩库的用户界面接口。
Patch to replace GNU gzip with NetBSD gzip
The patch is available at: http://people.freebsd.org/~delphij/for_review/bsd_gzip/. Please note that this is considered experimental and it is preliminary for FreeBSD for now, while I think it is very mature code and has been available on NetBSD for years. Positive and negative feedbacks are all welcome.
我准备杀掉GNU gzip
最近一周FreeBSD发布了多个安全公告,其中有一个gzip的安全问题是Google的人发现的,由于gzip目前已经长期处于无人维护的状态,我认为是时候把这个程序杀掉了。(这次安全更新导致了某些文件无法解压缩)
NetBSD人事变动
不知道为什么突然吵起来了……以前的NetBSD不是这样的。从邮件列表里面也看不出什么实际的线索,希望这次变动不会给NetBSD带来太不好的影响吧。
OpenBSD的timeout功能
OpenBSD实现了与FreeBSD不同的timeout功能。今天hack CARP的时候用到了,留个记号。
FreeBSD src Makefile大手术
Ruslan Ermilov大长辈commit了一组Makefile变动。这包含了许多来自NetBSD和FreeBSD ports的特性。
- 新增了MK_*选项。这些选项是开发人员设置的,如果用户配置的话将发生错误。
- 使用WITH_*和WITHOUT_*来控制是否build选项。
- 某些选项提供了MK_*_SUPPORT子选项。
- 系统选项可以在 /etc/src.conf 来配置。
感觉比之前要清晰许多。
Wow NetBSD办事效率真高
提了个patch不到10分钟就上去了,赞一个……
AMD64 string function optimizations
So time comes that we should consider whether some of our string operations is not optimial and needs some operation. NetBSD seems to have done a lot of good work to make their MD layer better, and we should take these improvements if they are proven.
David O’Brien has pointed out that we should be careful on this, however, since some micro optimizations may hinder performance in a large scenario. With this concern in mind, I will redo some more benchmarks and request for -arch@’s idea before considering commiting the patchset. Currently, the NetBSD implementation of swab(2) is proven to be slower than the GCC generated code by about 25%. I will look into the assembly code generated to see whether I can help to solve this.
