Kernel

共 257 篇文章。

失之厘豪,谬以千里

• Development

Today, JINMEI Tatuya / 神明達哉 has submitted a patch against sys/kern/uipc_socket2.c, which is:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14

Index: src/sys/kern/uipc_socket2.c
diff -u src/sys/kern/uipc_socket2.c:1.138 src/sys/kern/uipc_socket2.c:1.139
--- src/sys/kern/uipc_socket2.c:1.138	Tue Oct 19 15:13:30 2004
+++ src/sys/kern/uipc_socket2.c	Wed Oct 27 05:37:58 2004
@@ -1253,7 +1253,7 @@
 
 	if (CMSG_SPACE((u_int)size) > MCLBYTES)
 		return ((struct mbuf *) NULL);
-	if (CMSG_SPACE((u_int)size > MLEN))
+	if (CMSG_SPACE((u_int)size) > MLEN)
 		m = m_getcl(M_DONTWAIT, MT_CONTROL, 0);
 	else
 		m = m_get(M_DONTWAIT, MT_CONTROL);
参与评论

ReiserFS3.6 has been ported to FreeBSD!

• Kernel

Jean-Sébastien Pédron [jspedron club-internet.fr] has announced that he has ported ReiserFS 3.6 (from kernel 2.6.7) to FreeBSD (with only Read-Only support this time).

Scott Long suggests to import these to base because 6-CURRENT will have a focus on the file system. I suggested that we have a directory under somewhere in the src/ tree to keep these Linux bits so we can backport their fixes more easily and it should be better for us to rip these things out when we have re-written something from scratch.

参与评论

Investigating 5.3-RC1 panic

• Kernel

Before reporting this to the list, I would first gather enough information.

Alu’s server boxes is suffering in continued reboot when server is loaded. Because he is supporting FreeBSD by utilizing 5.3-RC1 in his production environment (and it’s moderately loaded as it is connected to the ChinaNet Backbone), and donated many devices for dedicated services of the FreeBSD China Community, I think we must help him to solve these out.

I have plugged a new kernel configuration on his box in order to obtain a (potential) crashdump and figure out what is happening. Maybe we will get it tomorrow.

阅读全文… ( 本文约 1249 字,阅读大致需要 3 分钟 )

为什么我反对从头编写操作系统的个人努力(1)

• Development

此文章版权归 李鑫 所有。版权声明如下:

版权所有 © 2004 李鑫,保留所有权利。转载必须完整地复制这些文字,不允许修改,并附上其原始连接:


我在许多场合公开地发表过类似的意见,有时言辞比较激烈,有时只是委婉地反对。

这种意见,同意也好,不同意也好,我希望其他人能够把它当作一种意见,而不是某种强加于人的意志。我只是说出自己的看法,并不要求任何人接受——如果他们认为这是对的,愿意接受,我当然很高兴;但如果他们觉得我说的有道理而不愿意接受,那是他们的问题;如果他们觉得我说的没道理,我很希望看到反驳的意见。我始终相信,真理越辩越明。

其实,最关键的问题就在于,我们没有必要重新发明轮子。在阐述这个观点之前,我希望大家能够接受一个密码学界的常识,即安全不能建立在别人不知道的基础上。另一个常识是,安全总是从最薄弱的环节被突破的,不要去尝试解决最强点上的问题——因为那不解决问题。

阅读全文… ( 本文约 1674 字,阅读大致需要 4 分钟 )

学学人家Matthew Dillon

• Development

有人一天改了一万一千多行代码。

有人一天改了一万一千多行VFS代码。

有人一天改了一万一千多行FreeBSD VFS代码。

我靠……

Matthew Dillon总是给人惊奇,这是一个你没办法不佩服的人。也许他的一些话让有的人感觉不爽,也许他被一些人误解,但他是Matthew Dillon。

阅读全文… ( 本文约 205 字,阅读大致需要 1 分钟 )

5.3-RC1 today

• Development

Today FreeBSD will have its 5.3-RC1 if there is no other problem occours. I have sent a private mail to Doug Barton about a strange issue I have in BIND9, however, it does seem to be serious enough nor it is clear to determine the impact. I may post it later on a public list.

5.3-RC1 is also the point that I can suggest you to install 5-STABLE instead of 4-STABLE because most of the show-stopping issues are addressed and being corrected.

参与评论

delphijfork 20040927 released

• Kernel

As always, it’s available at ftp.freebsdchina.org/china_ports/delphijfork.

I have adopted all RELENG_5 features here, bind9, etc. Also the delphijfork features are retained.

参与评论