FreeBSD

共 688 篇文章。

严重安全问题公告 FreeBSD SA-06:09.sshd

• Security

我们今天发布了 FreeBSD SA-06:09.sshd,这是一个针对 sshd 的 DoS 攻击。如果您使用的是 FreeBSD 5.3、5.4或5.5-PRERELEASE(到昨天之前的版本),请立即升级到最新的安全分支。

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

给csh增加了简体中文(GBK)支持

• Development

对GBK的locale做了一些改动,使得其能够提供正确的字符宽度信息了。这样一来,csh就能够正确处理GBK的中文了。昨天还增加了正体(我们叫做繁体)中文对应的locale变化。

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

bsd.port.mk: critical issue for RELENG_6

• Development

Today I have submitted a PR which I have marked “critical”. bsd.port.mk does not do the right thing on RELENG_6 after the rcorder change, which will cause all ports installed rc.d scripts stop to function at system startup.

The PR can be accessed here: https://www.freebsd.org/cgi/query-pr.cgi?pr=93536

UPDATE(20060219): It seems that the problem is not related to this. I am still investigating what was happening.

UPDATE(20060220): Doug Barton has kindly provided information about the issue. It was because some nojail and mountcritlocal conflict. The issue can only appear when you are using jail(8).

参与评论

FreeBSD的uuid处理小问题

• Development

似乎在处理>和<时,和 DCE 不太一样,改天写个test case看看。


Archived: trackbacks

生成UUID from 2006 Penguin, smashing time! on February 4, 2006 11:36 PM

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <stdio.h>
#include <uuid.h>
main() {
  uuid_t *uuid;
  char *s;
  uuid = (uuid_t*)malloc(sizeof(uuid_t));
  uuidgen(uuid,1);
  uuid_to_string(uuid,&s,NULL);
  printf("%s\\n",s);
}

一个很简单的生成UUID的例子。… Read More

参与评论

10项新年愿望

• Life
  1. 按照教学计划把大学的基础课程重新复习一遍,弥补之前留下的遗漏。
  2. 做一个更好的 CMS 来把网站做起来。
  3. 做完中文版 FreeBSD 网站、手册,寻找能把这件事坚持推下去的人。
  4. 努力做一个更好的 kernel hacker。
阅读全文… ( 本文约 237 字,阅读大致需要 1 分钟 )