diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /Documentation/zh_CN | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'Documentation/zh_CN')
-rw-r--r-- | Documentation/zh_CN/HOWTO | 4 | ||||
-rw-r--r-- | Documentation/zh_CN/SecurityBugs | 50 | ||||
-rw-r--r-- | Documentation/zh_CN/SubmitChecklist | 109 | ||||
-rw-r--r-- | Documentation/zh_CN/SubmittingDrivers | 2 | ||||
-rw-r--r-- | Documentation/zh_CN/SubmittingPatches | 4 | ||||
-rw-r--r-- | Documentation/zh_CN/email-clients.txt | 210 | ||||
-rw-r--r-- | Documentation/zh_CN/magic-number.txt | 167 |
7 files changed, 541 insertions, 5 deletions
diff --git a/Documentation/zh_CN/HOWTO b/Documentation/zh_CN/HOWTO index 69160779e432..faf976c0c731 100644 --- a/Documentation/zh_CN/HOWTO +++ b/Documentation/zh_CN/HOWTO | |||
@@ -347,8 +347,8 @@ bugzilla.kernel.org是Linux内核开发者们用来跟踪内核Bug的网站。 | |||
347 | 最新bug的通知,可以订阅bugme-new邮件列表(只有新的bug报告会被寄到这里) | 347 | 最新bug的通知,可以订阅bugme-new邮件列表(只有新的bug报告会被寄到这里) |
348 | 或者订阅bugme-janitor邮件列表(所有bugzilla的变动都会被寄到这里)。 | 348 | 或者订阅bugme-janitor邮件列表(所有bugzilla的变动都会被寄到这里)。 |
349 | 349 | ||
350 | http://lists.osdl.org/mailman/listinfo/bugme-new | 350 | https://lists.linux-foundation.org/mailman/listinfo/bugme-new |
351 | http://lists.osdl.org/mailman/listinfo/bugme-janitors | 351 | https://lists.linux-foundation.org/mailman/listinfo/bugme-janitors |
352 | 352 | ||
353 | 353 | ||
354 | 邮件列表 | 354 | 邮件列表 |
diff --git a/Documentation/zh_CN/SecurityBugs b/Documentation/zh_CN/SecurityBugs new file mode 100644 index 000000000000..d21eb07fe943 --- /dev/null +++ b/Documentation/zh_CN/SecurityBugs | |||
@@ -0,0 +1,50 @@ | |||
1 | Chinese translated version of Documentation/SecurityBugs | ||
2 | |||
3 | If you have any comment or update to the content, please contact the | ||
4 | original document maintainer directly. However, if you have a problem | ||
5 | communicating in English you can also ask the Chinese maintainer for | ||
6 | help. Contact the Chinese maintainer if this translation is outdated | ||
7 | or if there is a problem with the translation. | ||
8 | |||
9 | Chinese maintainer: Harry Wei <harryxiyou@gmail.com> | ||
10 | --------------------------------------------------------------------- | ||
11 | Documentation/SecurityBugs 的中文翻译 | ||
12 | |||
13 | 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 | ||
14 | 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻 | ||
15 | 译存在问题,请联系中文版维护者。 | ||
16 | |||
17 | 中文版维护者: 贾威威 Harry Wei <harryxiyou@gmail.com> | ||
18 | 中文版翻译者: 贾威威 Harry Wei <harryxiyou@gmail.com> | ||
19 | 中文版校译者: 贾威威 Harry Wei <harryxiyou@gmail.com> | ||
20 | |||
21 | |||
22 | 以下为正文 | ||
23 | --------------------------------------------------------------------- | ||
24 | Linux内核开发者认为安全非常重要。因此,我们想要知道当一个有关于 | ||
25 | 安全的漏洞被发现的时候,并且它可能会被尽快的修复或者公开。请把这个安全 | ||
26 | 漏洞报告给Linux内核安全团队。 | ||
27 | |||
28 | 1) 联系 | ||
29 | |||
30 | linux内核安全团队可以通过email<security@kernel.org>来联系。这是 | ||
31 | 一组独立的安全工作人员,可以帮助改善漏洞报告并且公布和取消一个修复。安 | ||
32 | 全团队有可能会从部分的维护者那里引进额外的帮助来了解并且修复安全漏洞。 | ||
33 | 当遇到任何漏洞,所能提供的信息越多就越能诊断和修复。如果你不清楚什么 | ||
34 | 是有帮助的信息,那就请重温一下REPORTING-BUGS文件中的概述过程。任 | ||
35 | 何攻击性的代码都是非常有用的,未经报告者的同意不会被取消,除非它已经 | ||
36 | 被公布于众。 | ||
37 | |||
38 | 2) 公开 | ||
39 | |||
40 | Linux内核安全团队的宗旨就是和漏洞提交者一起处理漏洞的解决方案直 | ||
41 | 到公开。我们喜欢尽快地完全公开漏洞。当一个漏洞或者修复还没有被完全地理 | ||
42 | 解,解决方案没有通过测试或者供应商协调,可以合理地延迟公开。然而,我们 | ||
43 | 期望这些延迟尽可能的短些,是可数的几天,而不是几个星期或者几个月。公开 | ||
44 | 日期是通过安全团队和漏洞提供者以及供应商洽谈后的结果。公开时间表是从很 | ||
45 | 短(特殊的,它已经被公众所知道)到几个星期。作为一个基本的默认政策,我 | ||
46 | 们所期望通知公众的日期是7天的安排。 | ||
47 | |||
48 | 3) 保密协议 | ||
49 | |||
50 | Linux内核安全团队不是一个正式的团体,因此不能加入任何的保密协议。 | ||
diff --git a/Documentation/zh_CN/SubmitChecklist b/Documentation/zh_CN/SubmitChecklist new file mode 100644 index 000000000000..951415bbab0c --- /dev/null +++ b/Documentation/zh_CN/SubmitChecklist | |||
@@ -0,0 +1,109 @@ | |||
1 | Chinese translated version of Documentation/SubmitChecklist | ||
2 | |||
3 | If you have any comment or update to the content, please contact the | ||
4 | original document maintainer directly. However, if you have a problem | ||
5 | communicating in English you can also ask the Chinese maintainer for | ||
6 | help. Contact the Chinese maintainer if this translation is outdated | ||
7 | or if there is a problem with the translation. | ||
8 | |||
9 | Chinese maintainer: Harry Wei <harryxiyou@gmail.com> | ||
10 | --------------------------------------------------------------------- | ||
11 | Documentation/SubmitChecklist ķ | ||
12 | |||
13 | ۻ±ĵݣֱϵԭĵάߡʹӢ | ||
14 | ѵĻҲİά²ʱ߷ | ||
15 | ⣬ϵİάߡ | ||
16 | |||
17 | İάߣ Harry Wei <harryxiyou@gmail.com> | ||
18 | İ淭ߣ Harry Wei <harryxiyou@gmail.com> | ||
19 | İУߣ Harry Wei <harryxiyou@gmail.com> | ||
20 | |||
21 | |||
22 | Ϊ | ||
23 | --------------------------------------------------------------------- | ||
24 | Linuxںύ嵥 | ||
25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
26 | |||
27 | һЩں˿ӦĻ飬뿴Լں˲ύ | ||
28 | ܵĸ졣 | ||
29 | |||
30 | ЩdzDocumentation/SubmittingPatchesĵṩԼ | ||
31 | ύLinuxں˲˵ | ||
32 | |||
33 | 1ʹһô#include/ǸܵǸļ | ||
34 | Ҫ붨/Ǹܵͷļ | ||
35 | |||
36 | 2û߸CONFIGѡ =y=m=n | ||
37 | Ҫб뾯/ ҪӾ/ | ||
38 | |||
39 | 2bͨ allnoconfig, allmodconfig | ||
40 | |||
41 | 2cʹ 0=builddir ɹع | ||
42 | |||
43 | 3ͨʹñؽ빤һЩڶCPUϹ | ||
44 | |||
45 | 4ppc64 һܺõļ齻ĿܣΪѡunsigned long | ||
46 | 64λֵʹá | ||
47 | |||
48 | 5Documentation/CodingStyleļϸ㲹 | ||
49 | ʹòΥ(scripts/checkpatch.pl)Աύ | ||
50 | Ӧõ㲹еΥ档 | ||
51 | |||
52 | 6κθ»߸ĶCONFIGѡܴò˵ | ||
53 | |||
54 | 7еKconfigѡ¶Ҫ˵֡ | ||
55 | |||
56 | 8ѾܽصKconfigϡǺͨõ--½ | ||
57 | |||
58 | 9мԡ | ||
59 | |||
60 | 10ʹ'make checkstack''make namespacecheck'飬Ȼҵ⡣ | ||
61 | ע⣺ջ鲻ȷس⣬κεһڶջʹö512ֽ | ||
62 | Ҫġ | ||
63 | |||
64 | 11kernel-docȫںAPIsļҪ̬ĺǰҲν | ||
65 | ʹ'make htmldocs''make mandocs'kernel-docȻκ | ||
66 | ֵ⡣ | ||
67 | |||
68 | 12ѾͨCONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT, | ||
69 | CONFIG_DEBUG_SLAB, CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES, | ||
70 | CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_SPINLOCK_SLEEPԣͬʱ | ||
71 | ʹܡ | ||
72 | |||
73 | 13Ѿʹû߲ʹ CONFIG_SMP CONFIG_PREEMPTִʱ䡣 | ||
74 | |||
75 | 14ӰIO/DiskȵȣѾͨʹû߲ʹ CONFIG_LBDAF ԡ | ||
76 | |||
77 | 15еcodepathsѾʹlockdepùܡ | ||
78 | |||
79 | 16е/proc¼¶ҪļDocumentation/Ŀ¼¡ | ||
80 | |||
81 | 17еں¶¼Documentation/kernel-parameters.txtļС | ||
82 | |||
83 | 18еģ¶MODULE_PARM_DESC()¼ | ||
84 | |||
85 | 19еûռӿڸ¶¼Documentation/ABI/鿴Documentation/ABI/README | ||
86 | ԻøϢıûռӿڵIJӦñʼlinux-api@vger.kernel.org | ||
87 | |||
88 | 20DzǶͨ`make headers_check' | ||
89 | |||
90 | 21Ѿͨslabpage-allocationʧܼ顣鿴Documentation/fault-injection/ | ||
91 | |||
92 | 22¼ԴѾͨ`gcc -W'ʹ"make EXTRA_CFLAGS=-W"롣ܶෳգ | ||
93 | ǶѰ©洦:"warning: comparison between signed and unsigned" | ||
94 | |||
95 | 23ϲ-mmٲԣȷǷͲеһԼVMVFS | ||
96 | ϵͳи仯 | ||
97 | |||
98 | 24еڴ{e.g., barrier(), rmb(), wmb()}ҪԴеһעǶǸʲô | ||
99 | Լԭ | ||
100 | |||
101 | 25κƵIJӣҲҪDocumentation/ioctl/ioctl-number.txt | ||
102 | |||
103 | 26ĸĴʹκεںAPIskconfigйϵĹܣҪ | ||
104 | ʹصkconfigŹرգ and/or =mѡṩ[ͬһʱ䲻õĶã | ||
105 | ] | ||
106 | |||
107 | CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, | ||
108 | CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, | ||
109 | CONFIG_NET, CONFIG_INET=n (һʹ CONFIG_NET=y) | ||
diff --git a/Documentation/zh_CN/SubmittingDrivers b/Documentation/zh_CN/SubmittingDrivers index c27b0f6cdd39..5889f8df6312 100644 --- a/Documentation/zh_CN/SubmittingDrivers +++ b/Documentation/zh_CN/SubmittingDrivers | |||
@@ -61,7 +61,7 @@ Linux 2.4: | |||
61 | Linux 2.6: | 61 | Linux 2.6: |
62 | 除了遵循和 2.4 版内核同样的规则外,你还需要在 linux-kernel 邮件 | 62 | 除了遵循和 2.4 版内核同样的规则外,你还需要在 linux-kernel 邮件 |
63 | 列表上跟踪最新的 API 变化。向 Linux 2.6 内核提交驱动的顶级联系人 | 63 | 列表上跟踪最新的 API 变化。向 Linux 2.6 内核提交驱动的顶级联系人 |
64 | 是 Andrew Morton <akpm@osdl.org>。 | 64 | 是 Andrew Morton <akpm@linux-foundation.org>。 |
65 | 65 | ||
66 | 决定设备驱动能否被接受的条件 | 66 | 决定设备驱动能否被接受的条件 |
67 | ---------------------------- | 67 | ---------------------------- |
diff --git a/Documentation/zh_CN/SubmittingPatches b/Documentation/zh_CN/SubmittingPatches index 9a1a6e1ed09e..0f4385a62a49 100644 --- a/Documentation/zh_CN/SubmittingPatches +++ b/Documentation/zh_CN/SubmittingPatches | |||
@@ -100,7 +100,7 @@ http://userweb.kernel.org/~akpm/stuff/patch-scripts.tar.gz | |||
100 | 100 | ||
101 | 将改动拆分,逻辑类似的放到同一个补丁文件里。 | 101 | 将改动拆分,逻辑类似的放到同一个补丁文件里。 |
102 | 102 | ||
103 | 例如,如果你的改动里同时有bug修正和性能优化,那么把这些改动分到两个或 | 103 | 例如,如果你的改动里同时有bug修正和性能优化,那么把这些改动分到两个或 |
104 | 者更多的补丁文件中。如果你的改动包含对API的修改,并且修改了驱动程序来适 | 104 | 者更多的补丁文件中。如果你的改动包含对API的修改,并且修改了驱动程序来适 |
105 | 应这些新的API,那么把这些修改分成两个补丁。 | 105 | 应这些新的API,那么把这些修改分成两个补丁。 |
106 | 106 | ||
@@ -230,7 +230,7 @@ pref("mailnews.display.disable_format_flowed_support", true); | |||
230 | 些原因,修正错误,重新提交更新后的改动,是你自己的工作。 | 230 | 些原因,修正错误,重新提交更新后的改动,是你自己的工作。 |
231 | 231 | ||
232 | Linus不给出任何评论就“丢弃”你的补丁是常见的事情。在系统中这样的事情很 | 232 | Linus不给出任何评论就“丢弃”你的补丁是常见的事情。在系统中这样的事情很 |
233 | 平常。如果他没有接受你的补丁,也许是由于以下原本: | 233 | 平常。如果他没有接受你的补丁,也许是由于以下原因: |
234 | * 你的补丁不能在最新版本的内核上干净的打上。 | 234 | * 你的补丁不能在最新版本的内核上干净的打上。 |
235 | * 你的补丁在 linux-kernel 邮件列表中没有得到充分的讨论。 | 235 | * 你的补丁在 linux-kernel 邮件列表中没有得到充分的讨论。 |
236 | * 风格问题(参照第2小节) | 236 | * 风格问题(参照第2小节) |
diff --git a/Documentation/zh_CN/email-clients.txt b/Documentation/zh_CN/email-clients.txt new file mode 100644 index 000000000000..5d65e323d060 --- /dev/null +++ b/Documentation/zh_CN/email-clients.txt | |||
@@ -0,0 +1,210 @@ | |||
1 | 锘?Chinese translated version of Documentation/email-clients.txt | ||
2 | |||
3 | If you have any comment or update to the content, please contact the | ||
4 | original document maintainer directly. However, if you have a problem | ||
5 | communicating in English you can also ask the Chinese maintainer for | ||
6 | help. Contact the Chinese maintainer if this translation is outdated | ||
7 | or if there is a problem with the translation. | ||
8 | |||
9 | Chinese maintainer: Harry Wei <harryxiyou@gmail.com> | ||
10 | --------------------------------------------------------------------- | ||
11 | Documentation/email-clients.txt ???涓????缈昏?? | ||
12 | |||
13 | 濡??????宠??璁烘????存?版???????????瀹癸??璇风?存?ヨ??绯诲?????妗g??缁存?よ?????濡????浣?浣跨?ㄨ?辨?? | ||
14 | 浜ゆ???????伴?剧??璇?锛?涔????浠ュ??涓???????缁存?よ??姹???┿??濡???????缈昏????存?颁???????舵?????缈? | ||
15 | 璇?瀛???ㄩ??棰?锛?璇疯??绯讳腑??????缁存?よ????? | ||
16 | |||
17 | 涓???????缁存?よ??锛? 璐惧??濞? Harry Wei <harryxiyou@gmail.com> | ||
18 | 涓???????缈昏?????锛? 璐惧??濞? Harry Wei <harryxiyou@gmail.com> | ||
19 | 涓?????????¤?????锛? Yinglin Luan <synmyth@gmail.com> | ||
20 | Xiaochen Wang <wangxiaochen0@gmail.com> | ||
21 | yaxinsn <yaxinsn@163.com> | ||
22 | |||
23 | 浠ヤ??涓烘?f?? | ||
24 | --------------------------------------------------------------------- | ||
25 | |||
26 | Linux???浠跺?㈡?风?????缃?淇℃?? | ||
27 | ====================================================================== | ||
28 | |||
29 | ?????????缃? | ||
30 | ---------------------------------------------------------------------- | ||
31 | Linux?????歌ˉ涓???????杩????浠惰?????浜ょ??锛????濂芥??琛ヤ??浣?涓洪??浠朵????????宓?????????????浜?缁存?よ?? | ||
32 | ??ユ?堕??浠讹??浣???????浠剁?????瀹规?煎??搴?璇ユ??"text/plain"?????惰??锛????浠朵????????涓?璧???????锛? | ||
33 | ???涓鸿??浼?浣胯ˉ涓????寮???ㄩ?ㄥ????ㄨ??璁鸿??绋?涓???????寰???伴?俱?? | ||
34 | |||
35 | ??ㄦ?ュ?????Linux?????歌ˉ涓???????浠跺?㈡?风????ㄥ?????琛ヤ????跺??璇ュ??浜?????????????濮???舵?????渚?濡?锛? | ||
36 | 浠?浠?涓???芥?瑰?????????????ゅ?惰〃绗???????绌烘?硷???????虫????ㄦ??涓?琛????寮?澶存?????缁?灏俱?? | ||
37 | |||
38 | 涓?瑕????杩?"format=flowed"妯″????????琛ヤ?????杩???蜂??寮?璧蜂?????棰????浠ュ?????瀹崇?????琛???? | ||
39 | |||
40 | 涓?瑕?璁╀????????浠跺?㈡?风??杩?琛??????ㄦ?㈣?????杩???蜂??浼???村??浣????琛ヤ????? | ||
41 | |||
42 | ???浠跺?㈡?风??涓???芥?瑰???????????瀛?绗????缂??????瑰?????瑕??????????琛ヤ???????芥??ASCII??????UTF-8缂??????瑰??锛? | ||
43 | 濡????浣?浣跨??UTF-8缂??????瑰???????????浠讹????d??浣?灏?浼???垮??涓?浜??????藉????????瀛?绗???????棰???? | ||
44 | |||
45 | ???浠跺?㈡?风??搴?璇ュ舰???骞朵??淇???? References: ?????? In-Reply-To: ???棰?锛???d?? | ||
46 | ???浠惰??棰?灏变??浼?涓??????? | ||
47 | |||
48 | 澶???剁??甯?(?????????璐寸??甯?)???甯镐????界?ㄤ??琛ヤ??锛????涓哄?惰〃绗?浼?杞????涓虹┖??笺??浣跨??xclipboard, xclip | ||
49 | ??????xcutsel涔?璁稿??浠ワ??浣???????濂芥??璇?涓?涓?????????垮??浣跨?ㄥ????剁??甯???? | ||
50 | |||
51 | 涓?瑕???ㄤ娇???PGP/GPG缃插????????浠朵腑??????琛ヤ?????杩???蜂??浣垮??寰?澶???????涓???借?诲??????????ㄤ??浣????琛ヤ????? | ||
52 | 锛?杩?涓????棰?搴?璇ユ?????浠ヤ慨澶????锛? | ||
53 | |||
54 | ??ㄧ???????搁??浠跺??琛ㄥ?????琛ヤ??涔????锛?缁????宸卞?????涓?涓?琛ヤ?????涓?涓???????涓绘??锛?淇?瀛???ユ?跺?扮?? | ||
55 | ???浠讹??灏?琛ヤ?????'patch'??戒护???涓?锛?濡??????????浜?锛????缁??????搁??浠跺??琛ㄥ???????? | ||
56 | |||
57 | |||
58 | 涓?浜????浠跺?㈡?风?????绀? | ||
59 | ---------------------------------------------------------------------- | ||
60 | 杩????缁???轰??浜?璇?缁????MUA???缃????绀猴?????浠ョ?ㄤ??缁?Linux?????稿?????琛ヤ?????杩?浜?骞朵???????虫?? | ||
61 | ?????????杞?浠跺?????缃???荤????? | ||
62 | |||
63 | 璇存??锛? | ||
64 | TUI = 浠ユ?????涓哄?虹???????ㄦ?锋?ュ?? | ||
65 | GUI = ??惧舰?????㈢?ㄦ?锋?ュ?? | ||
66 | |||
67 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
68 | Alpine (TUI) | ||
69 | |||
70 | ???缃????椤癸?? | ||
71 | ???"Sending Preferences"??ㄥ??锛? | ||
72 | |||
73 | - "Do Not Send Flowed Text"蹇?椤诲????? | ||
74 | - "Strip Whitespace Before Sending"蹇?椤诲?抽?? | ||
75 | |||
76 | 褰???????浠舵?讹????????搴?璇ユ?惧?ㄨˉ涓?浼???虹?扮????版?癸????跺?????涓?CTRL-R缁???????锛?浣挎??瀹???? | ||
77 | 琛ヤ?????浠跺????ュ?伴??浠朵腑??? | ||
78 | |||
79 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
80 | Evolution (GUI) | ||
81 | |||
82 | 涓?浜?寮????????????????浣跨?ㄥ????????琛ヤ?? | ||
83 | |||
84 | 褰??????╅??浠堕??椤癸??Preformat | ||
85 | 浠?Format->Heading->Preformatted (Ctrl-7)??????宸ュ?锋?? | ||
86 | |||
87 | ??跺??浣跨??锛? | ||
88 | Insert->Text File... (Alt-n x)?????ヨˉ涓????浠躲?? | ||
89 | |||
90 | 浣?杩????浠?"diff -Nru old.c new.c | xclip"锛???????Preformat锛???跺??浣跨?ㄤ腑??撮??杩?琛?绮?甯???? | ||
91 | |||
92 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
93 | Kmail (GUI) | ||
94 | |||
95 | 涓?浜?寮????????????????浣跨?ㄥ????????琛ヤ????? | ||
96 | |||
97 | 榛?璁よ?剧疆涓?涓?HTML??煎??????????????锛?涓?瑕??????ㄥ????? | ||
98 | |||
99 | 褰?涔????涓?灏????浠剁????跺??锛???ㄩ??椤逛?????涓?瑕??????╄????ㄦ?㈣????????涓????缂虹?瑰氨???浣???ㄩ??浠朵腑杈???ョ??浠讳???????? | ||
100 | ??戒??浼?琚??????ㄦ?㈣??锛????姝や??蹇?椤诲?ㄥ?????琛ヤ??涔?????????ㄦ?㈣????????绠?????????规??灏辨???????ㄨ????ㄦ?㈣????ヤ功??????浠讹?? | ||
101 | ??跺?????瀹?淇?瀛?涓鸿??绋裤??涓????浣???ㄨ??绋夸腑???娆℃??寮?瀹?锛?瀹?宸茬????ㄩ?ㄨ????ㄦ?㈣??浜?锛???d??浣???????浠惰?界?舵病??? | ||
102 | ?????╄????ㄦ?㈣??锛?浣????杩?涓?浼?澶卞?诲凡???????????ㄦ?㈣????? | ||
103 | |||
104 | ??ㄩ??浠剁??搴????锛??????ヨˉ涓?涔????锛???句??甯哥?ㄧ??琛ヤ??瀹????绗?锛?涓?涓?杩?瀛????(---)??? | ||
105 | |||
106 | ??跺?????"Message"????????$??锛??????╂????ユ??浠讹????ョ????????浣????琛ヤ?????浠躲??杩????涓?涓?棰?澶???????椤癸??浣????浠? | ||
107 | ???杩?瀹????缃?浣???????浠跺缓绔?宸ュ?锋????????锛?杩????浠ュ甫涓?"insert file"??炬????? | ||
108 | |||
109 | 浣????浠ュ????ㄥ?伴??杩?GPG???璁伴??浠讹??浣???????宓?琛ヤ?????濂戒??瑕?浣跨??GPG???璁板??浠????浣?涓哄??宓??????????绛惧??琛ヤ??锛? | ||
110 | 褰?浠?GPG涓???????7浣?缂??????朵??浣夸??浠?????????村??澶??????? | ||
111 | |||
112 | 濡????浣????瑕?浠ラ??浠剁??褰㈠????????琛ヤ??锛???d??灏卞?抽????瑰?婚??浠讹????跺?????涓?灞???э??绐????"Suggest automatic | ||
113 | display"锛?杩???峰??宓????浠舵?村?规??璁╄?昏???????般?? | ||
114 | |||
115 | 褰?浣?瑕?淇?瀛?灏?瑕?????????????宓???????琛ヤ??锛?浣????浠ヤ??娑???????琛ㄧ????奸????╁?????琛ヤ????????浠讹????跺????冲?婚????? | ||
116 | "save as"???浣????浠ヤ娇??ㄤ??涓?娌℃????存?圭????????琛ヤ????????浠讹??濡????瀹????浠ユ?g‘???褰㈠??缁???????褰?浣?姝g????ㄥ?? | ||
117 | ???宸辩??绐???d??涓?瀵????锛???f?舵病??????椤瑰??浠ヤ??瀛????浠?--宸茬?????涓?涓?杩???风??bug琚?姹???ュ?颁??kmail???bugzilla | ||
118 | 骞朵??甯????杩?灏?浼?琚?澶??????????浠舵??浠ュ?????瀵规??涓???ㄦ?峰??璇诲???????????琚?淇?瀛????锛????浠ュ?????浣???虫?????浠跺????跺?板?朵????版?癸?? | ||
119 | 浣?涓?寰?涓????浠?浠????????????逛负缁?????????翠?????璇汇?? | ||
120 | |||
121 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
122 | Lotus Notes (GUI) | ||
123 | |||
124 | 涓?瑕?浣跨?ㄥ????? | ||
125 | |||
126 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
127 | Mutt (TUI) | ||
128 | |||
129 | 寰?澶?Linux寮????浜哄??浣跨??mutt瀹㈡?风??锛????浠ヨ?????瀹????瀹?宸ヤ????????甯告??浜???? | ||
130 | |||
131 | Mutt涓????甯?缂?杈????锛????浠ヤ??绠′??浣跨?ㄤ??涔?缂?杈???ㄩ?戒??搴?璇ュ甫????????ㄦ??琛????澶у????扮??杈???ㄩ?藉甫??? | ||
132 | 涓?涓?"insert file"???椤癸??瀹????浠ラ??杩?涓???瑰?????浠跺??瀹圭????瑰???????ユ??浠躲?? | ||
133 | |||
134 | 'vim'浣?涓?mutt???缂?杈????锛? | ||
135 | set editor="vi" | ||
136 | |||
137 | 濡????浣跨??xclip锛???插?ヤ互涓???戒护 | ||
138 | :set paste | ||
139 | ???涓????涔??????????shift-insert??????浣跨?? | ||
140 | :r filename | ||
141 | |||
142 | 濡??????宠?????琛ヤ??浣?涓哄??宓?????????? | ||
143 | (a)ttach宸ヤ?????寰?濂斤??涓?甯????"set paste"??? | ||
144 | |||
145 | ???缃????椤癸?? | ||
146 | 瀹?搴?璇ヤ互榛?璁よ?剧疆???褰㈠??宸ヤ????? | ||
147 | ??惰??锛????"send_charset"璁剧疆涓?"us-ascii::utf-8"涔????涓?涓?涓???????涓绘????? | ||
148 | |||
149 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
150 | Pine (TUI) | ||
151 | |||
152 | Pine杩???绘??涓?浜?绌烘?煎????????棰?锛?浣????杩?浜???板?ㄥ??璇ラ?借??淇?澶?浜???? | ||
153 | |||
154 | 濡???????浠ワ??璇蜂娇???alpine(pine???缁ф?胯??) | ||
155 | |||
156 | ???缃????椤癸?? | ||
157 | - ???杩?????????????瑕?娑???ゆ??绋??????? | ||
158 | - "no-strip-whitespace-before-send"???椤逛????????瑕??????? | ||
159 | |||
160 | |||
161 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
162 | Sylpheed (GUI) | ||
163 | |||
164 | - ???宓??????????浠ュ??濂界??宸ヤ??锛???????浣跨?ㄩ??浠讹????? | ||
165 | - ???璁镐娇??ㄥ????ㄧ??缂?杈???ㄣ?? | ||
166 | - 瀵逛?????褰?杈?澶???堕??甯告????? | ||
167 | - 濡???????杩?non-SSL杩???ワ?????娉?浣跨??TLS SMTP????????? | ||
168 | - ??ㄧ?????绐???d腑???涓?涓?寰??????ㄧ??ruler bar??? | ||
169 | - 缁???板?????涓?娣诲????板??灏变??浼?姝g‘???浜?瑙f?剧ず?????? | ||
170 | |||
171 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
172 | Thunderbird (GUI) | ||
173 | |||
174 | 榛?璁ゆ????典??锛?thunderbird寰?瀹规??????????????锛?浣????杩????涓?浜???规?????浠ュ己??跺?????寰???村ソ??? | ||
175 | |||
176 | - ??ㄧ?ㄦ?峰????疯?剧疆???锛?缁???????瀵诲??锛?涓?瑕???????"Compose messages in HTML format"??? | ||
177 | |||
178 | - 缂?杈?浣????Thunderbird???缃?璁剧疆??ヤ娇瀹?涓?瑕????琛?浣跨??锛?user_pref("mailnews.wraplength", 0); | ||
179 | |||
180 | - 缂?杈?浣????Thunderbird???缃?璁剧疆锛?浣垮??涓?瑕?浣跨??"format=flowed"??煎??锛?user_pref("mailnews. | ||
181 | send_plaintext_flowed", false); | ||
182 | |||
183 | - 浣????瑕?浣?Thunderbird???涓洪???????煎????瑰??锛? | ||
184 | 濡????榛?璁ゆ????典??浣?涔??????????HTML??煎??锛???d?????寰???俱??浠?浠?浠????棰???????涓????妗?涓???????"Preformat"??煎????? | ||
185 | 濡????榛?璁ゆ????典??浣?涔??????????????????煎??锛?浣?涓?寰????瀹???逛负HTML??煎??锛?浠?浠?浣?涓轰??娆℃?х??锛???ヤ功?????扮??娑????锛? | ||
186 | ??跺??寮哄?朵娇瀹??????版???????煎??锛???????瀹?灏变?????琛????瑕?瀹???板??锛???ㄥ??淇$????炬??涓?浣跨??shift?????ヤ娇瀹????涓?HTML | ||
187 | ??煎??锛???跺?????棰???????涓????妗?涓???????"Preformat"??煎????? | ||
188 | |||
189 | - ???璁镐娇??ㄥ????ㄧ??缂?杈????锛? | ||
190 | ???瀵?Thunderbird???琛ヤ?????绠?????????规??灏辨??浣跨?ㄤ??涓?"external editor"??╁??锛???跺??浣跨?ㄤ????????娆㈢?? | ||
191 | $EDITOR??ヨ?诲???????????骞惰ˉ涓???版?????涓????瑕?瀹???板??锛????浠ヤ??杞藉苟涓?瀹?瑁?杩?涓???╁??锛???跺??娣诲??涓?涓?浣跨?ㄥ????? | ||
192 | ??????View->Toolbars->Customize...??????褰?浣?涔????淇℃???????跺??浠?浠???瑰?诲??灏卞??浠ヤ????? | ||
193 | |||
194 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
195 | TkRat (GUI) | ||
196 | |||
197 | ???浠ヤ娇??ㄥ?????浣跨??"Insert file..."??????澶???ㄧ??缂?杈???ㄣ?? | ||
198 | |||
199 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
200 | Gmail (Web GUI) | ||
201 | |||
202 | 涓?瑕?浣跨?ㄥ????????琛ヤ????? | ||
203 | |||
204 | Gmail缃?椤靛?㈡?风???????ㄥ?版????惰〃绗?杞????涓虹┖??笺?? | ||
205 | |||
206 | ??界?跺?惰〃绗?杞????涓虹┖??奸??棰????浠ヨ??澶???ㄧ??杈???ㄨВ??筹???????跺??杩?浼?浣跨?ㄥ??杞???㈣?????姣?琛???????涓?78涓?瀛?绗???? | ||
207 | |||
208 | ???涓?涓????棰????Gmail杩?浼????浠讳??涓????ASCII???瀛?绗????淇℃????逛负base64缂???????瀹????涓?瑗垮????????娆ф床浜虹?????瀛???? | ||
209 | |||
210 | ### | ||
diff --git a/Documentation/zh_CN/magic-number.txt b/Documentation/zh_CN/magic-number.txt new file mode 100644 index 000000000000..4c4ce853577b --- /dev/null +++ b/Documentation/zh_CN/magic-number.txt | |||
@@ -0,0 +1,167 @@ | |||
1 | Chinese translated version of Documentation/magic-number.txt | ||
2 | |||
3 | If you have any comment or update to the content, please post to LKML directly. | ||
4 | However, if you have problem communicating in English you can also ask the | ||
5 | Chinese maintainer for help. Contact the Chinese maintainer, if this | ||
6 | translation is outdated or there is problem with translation. | ||
7 | |||
8 | Chinese maintainer: Jia Wei Wei <harryxiyou@gmail.com> | ||
9 | --------------------------------------------------------------------- | ||
10 | Documentation/magic-number.txt的中文翻译 | ||
11 | |||
12 | 如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 | ||
13 | 以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 | ||
14 | |||
15 | 中文版维护者: 贾威威 Jia Wei Wei <harryxiyou@gmail.com> | ||
16 | 中文版翻译者: 贾威威 Jia Wei Wei <harryxiyou@gmail.com> | ||
17 | 中文版校译者: 贾威威 Jia Wei Wei <harryxiyou@gmail.com> | ||
18 | |||
19 | 以下为正文 | ||
20 | --------------------------------------------------------------------- | ||
21 | 这个文件是有关当前使用的魔术值注册表。当你给一个结构添加了一个魔术值,你也应该把这个魔术值添加到这个文件,因为我们最好把用于各种结构的魔术值统一起来。 | ||
22 | |||
23 | 使用魔术值来保护内核数据结构是一个非常好的主意。这就允许你在运行期检查(a)一个结构是否已经被攻击,或者(b)你已经给一个例行程序通过了一个错误的结构。后一种情况特别地有用---特别是当你通过一个空指针指向结构体的时候。tty源码,例如,经常通过特定驱动使用这种方法并且反复地排列特定方面的结构。 | ||
24 | |||
25 | 使用魔术值的方法是在结构的开始处声明的,如下: | ||
26 | |||
27 | struct tty_ldisc { | ||
28 | int magic; | ||
29 | ... | ||
30 | }; | ||
31 | |||
32 | 当你以后给内核添加增强功能的时候,请遵守这条规则!这样就会节省数不清的调试时间,特别是一些古怪的情况,例如,数组超出范围并且重新写了超出部分。遵守这个规则,这些情况可以被快速地,安全地避免。 | ||
33 | |||
34 | Theodore Ts'o | ||
35 | 31 Mar 94 | ||
36 | |||
37 | 给当前的Linux 2.1.55添加魔术表。 | ||
38 | |||
39 | Michael Chastain | ||
40 | <mailto:mec@shout.net> | ||
41 | 22 Sep 1997 | ||
42 | |||
43 | 现在应该最新的Linux 2.1.112.因为在特性冻结期间,不能在2.2.x前改变任何东西。这些条目被数域所排序。 | ||
44 | |||
45 | Krzysztof G.Baranowski | ||
46 | <mailto: kgb@knm.org.pl> | ||
47 | 29 Jul 1998 | ||
48 | |||
49 | 更新魔术表到Linux 2.5.45。刚好越过特性冻结,但是有可能还会有一些新的魔术值在2.6.x之前融入到内核中。 | ||
50 | |||
51 | Petr Baudis | ||
52 | <pasky@ucw.cz> | ||
53 | 03 Nov 2002 | ||
54 | |||
55 | 更新魔术表到Linux 2.5.74。 | ||
56 | |||
57 | Fabian Frederick | ||
58 | <ffrederick@users.sourceforge.net> | ||
59 | 09 Jul 2003 | ||
60 | |||
61 | 魔术名 地址 结构 所在文件 | ||
62 | =========================================================================== | ||
63 | PG_MAGIC 'P' pg_{read,write}_hdr include/linux/pg.h | ||
64 | CMAGIC 0x0111 user include/linux/a.out.h | ||
65 | MKISS_DRIVER_MAGIC 0x04bf mkiss_channel drivers/net/mkiss.h | ||
66 | RISCOM8_MAGIC 0x0907 riscom_port drivers/char/riscom8.h | ||
67 | SPECIALIX_MAGIC 0x0907 specialix_port drivers/char/specialix_io8.h | ||
68 | HDLC_MAGIC 0x239e n_hdlc drivers/char/n_hdlc.c | ||
69 | APM_BIOS_MAGIC 0x4101 apm_user arch/i386/kernel/apm.c | ||
70 | CYCLADES_MAGIC 0x4359 cyclades_port include/linux/cyclades.h | ||
71 | DB_MAGIC 0x4442 fc_info drivers/net/iph5526_novram.c | ||
72 | DL_MAGIC 0x444d fc_info drivers/net/iph5526_novram.c | ||
73 | FASYNC_MAGIC 0x4601 fasync_struct include/linux/fs.h | ||
74 | FF_MAGIC 0x4646 fc_info drivers/net/iph5526_novram.c | ||
75 | ISICOM_MAGIC 0x4d54 isi_port include/linux/isicom.h | ||
76 | PTY_MAGIC 0x5001 drivers/char/pty.c | ||
77 | PPP_MAGIC 0x5002 ppp include/linux/if_pppvar.h | ||
78 | SERIAL_MAGIC 0x5301 async_struct include/linux/serial.h | ||
79 | SSTATE_MAGIC 0x5302 serial_state include/linux/serial.h | ||
80 | SLIP_MAGIC 0x5302 slip drivers/net/slip.h | ||
81 | STRIP_MAGIC 0x5303 strip drivers/net/strip.c | ||
82 | X25_ASY_MAGIC 0x5303 x25_asy drivers/net/x25_asy.h | ||
83 | SIXPACK_MAGIC 0x5304 sixpack drivers/net/hamradio/6pack.h | ||
84 | AX25_MAGIC 0x5316 ax_disp drivers/net/mkiss.h | ||
85 | ESP_MAGIC 0x53ee esp_struct drivers/char/esp.h | ||
86 | TTY_MAGIC 0x5401 tty_struct include/linux/tty.h | ||
87 | MGSL_MAGIC 0x5401 mgsl_info drivers/char/synclink.c | ||
88 | TTY_DRIVER_MAGIC 0x5402 tty_driver include/linux/tty_driver.h | ||
89 | MGSLPC_MAGIC 0x5402 mgslpc_info drivers/char/pcmcia/synclink_cs.c | ||
90 | TTY_LDISC_MAGIC 0x5403 tty_ldisc include/linux/tty_ldisc.h | ||
91 | USB_SERIAL_MAGIC 0x6702 usb_serial drivers/usb/serial/usb-serial.h | ||
92 | FULL_DUPLEX_MAGIC 0x6969 drivers/net/tulip/de2104x.c | ||
93 | USB_BLUETOOTH_MAGIC 0x6d02 usb_bluetooth drivers/usb/class/bluetty.c | ||
94 | RFCOMM_TTY_MAGIC 0x6d02 net/bluetooth/rfcomm/tty.c | ||
95 | USB_SERIAL_PORT_MAGIC 0x7301 usb_serial_port drivers/usb/serial/usb-serial.h | ||
96 | CG_MAGIC 0x00090255 ufs_cylinder_group include/linux/ufs_fs.h | ||
97 | A2232_MAGIC 0x000a2232 gs_port drivers/char/ser_a2232.h | ||
98 | RPORT_MAGIC 0x00525001 r_port drivers/char/rocket_int.h | ||
99 | LSEMAGIC 0x05091998 lse drivers/fc4/fc.c | ||
100 | GDTIOCTL_MAGIC 0x06030f07 gdth_iowr_str drivers/scsi/gdth_ioctl.h | ||
101 | RIEBL_MAGIC 0x09051990 drivers/net/atarilance.c | ||
102 | RIO_MAGIC 0x12345678 gs_port drivers/char/rio/rio_linux.c | ||
103 | SX_MAGIC 0x12345678 gs_port drivers/char/sx.h | ||
104 | NBD_REQUEST_MAGIC 0x12560953 nbd_request include/linux/nbd.h | ||
105 | RED_MAGIC2 0x170fc2a5 (any) mm/slab.c | ||
106 | BAYCOM_MAGIC 0x19730510 baycom_state drivers/net/baycom_epp.c | ||
107 | ISDN_X25IFACE_MAGIC 0x1e75a2b9 isdn_x25iface_proto_data | ||
108 | drivers/isdn/isdn_x25iface.h | ||
109 | ECP_MAGIC 0x21504345 cdkecpsig include/linux/cdk.h | ||
110 | LSOMAGIC 0x27091997 lso drivers/fc4/fc.c | ||
111 | LSMAGIC 0x2a3b4d2a ls drivers/fc4/fc.c | ||
112 | WANPIPE_MAGIC 0x414C4453 sdla_{dump,exec} include/linux/wanpipe.h | ||
113 | CS_CARD_MAGIC 0x43525553 cs_card sound/oss/cs46xx.c | ||
114 | LABELCL_MAGIC 0x4857434c labelcl_info_s include/asm/ia64/sn/labelcl.h | ||
115 | ISDN_ASYNC_MAGIC 0x49344C01 modem_info include/linux/isdn.h | ||
116 | CTC_ASYNC_MAGIC 0x49344C01 ctc_tty_info drivers/s390/net/ctctty.c | ||
117 | ISDN_NET_MAGIC 0x49344C02 isdn_net_local_s drivers/isdn/i4l/isdn_net_lib.h | ||
118 | SAVEKMSG_MAGIC2 0x4B4D5347 savekmsg arch/*/amiga/config.c | ||
119 | STLI_BOARDMAGIC 0x4bc6c825 stlibrd include/linux/istallion.h | ||
120 | CS_STATE_MAGIC 0x4c4f4749 cs_state sound/oss/cs46xx.c | ||
121 | SLAB_C_MAGIC 0x4f17a36d kmem_cache mm/slab.c | ||
122 | COW_MAGIC 0x4f4f4f4d cow_header_v1 arch/um/drivers/ubd_user.c | ||
123 | I810_CARD_MAGIC 0x5072696E i810_card sound/oss/i810_audio.c | ||
124 | TRIDENT_CARD_MAGIC 0x5072696E trident_card sound/oss/trident.c | ||
125 | ROUTER_MAGIC 0x524d4157 wan_device include/linux/wanrouter.h | ||
126 | SCC_MAGIC 0x52696368 gs_port drivers/char/scc.h | ||
127 | SAVEKMSG_MAGIC1 0x53415645 savekmsg arch/*/amiga/config.c | ||
128 | GDA_MAGIC 0x58464552 gda arch/mips/include/asm/sn/gda.h | ||
129 | RED_MAGIC1 0x5a2cf071 (any) mm/slab.c | ||
130 | STL_PORTMAGIC 0x5a7182c9 stlport include/linux/stallion.h | ||
131 | EEPROM_MAGIC_VALUE 0x5ab478d2 lanai_dev drivers/atm/lanai.c | ||
132 | HDLCDRV_MAGIC 0x5ac6e778 hdlcdrv_state include/linux/hdlcdrv.h | ||
133 | EPCA_MAGIC 0x5c6df104 channel include/linux/epca.h | ||
134 | PCXX_MAGIC 0x5c6df104 channel drivers/char/pcxx.h | ||
135 | KV_MAGIC 0x5f4b565f kernel_vars_s arch/mips/include/asm/sn/klkernvars.h | ||
136 | I810_STATE_MAGIC 0x63657373 i810_state sound/oss/i810_audio.c | ||
137 | TRIDENT_STATE_MAGIC 0x63657373 trient_state sound/oss/trident.c | ||
138 | M3_CARD_MAGIC 0x646e6f50 m3_card sound/oss/maestro3.c | ||
139 | FW_HEADER_MAGIC 0x65726F66 fw_header drivers/atm/fore200e.h | ||
140 | SLOT_MAGIC 0x67267321 slot drivers/hotplug/cpqphp.h | ||
141 | SLOT_MAGIC 0x67267322 slot drivers/hotplug/acpiphp.h | ||
142 | LO_MAGIC 0x68797548 nbd_device include/linux/nbd.h | ||
143 | OPROFILE_MAGIC 0x6f70726f super_block drivers/oprofile/oprofilefs.h | ||
144 | M3_STATE_MAGIC 0x734d724d m3_state sound/oss/maestro3.c | ||
145 | STL_PANELMAGIC 0x7ef621a1 stlpanel include/linux/stallion.h | ||
146 | VMALLOC_MAGIC 0x87654320 snd_alloc_track sound/core/memory.c | ||
147 | KMALLOC_MAGIC 0x87654321 snd_alloc_track sound/core/memory.c | ||
148 | PWC_MAGIC 0x89DC10AB pwc_device drivers/usb/media/pwc.h | ||
149 | NBD_REPLY_MAGIC 0x96744668 nbd_reply include/linux/nbd.h | ||
150 | STL_BOARDMAGIC 0xa2267f52 stlbrd include/linux/stallion.h | ||
151 | ENI155_MAGIC 0xa54b872d midway_eprom drivers/atm/eni.h | ||
152 | SCI_MAGIC 0xbabeface gs_port drivers/char/sh-sci.h | ||
153 | CODA_MAGIC 0xC0DAC0DA coda_file_info include/linux/coda_fs_i.h | ||
154 | DPMEM_MAGIC 0xc0ffee11 gdt_pci_sram drivers/scsi/gdth.h | ||
155 | STLI_PORTMAGIC 0xe671c7a1 stliport include/linux/istallion.h | ||
156 | YAM_MAGIC 0xF10A7654 yam_port drivers/net/hamradio/yam.c | ||
157 | CCB_MAGIC 0xf2691ad2 ccb drivers/scsi/ncr53c8xx.c | ||
158 | QUEUE_MAGIC_FREE 0xf7e1c9a3 queue_entry drivers/scsi/arm/queue.c | ||
159 | QUEUE_MAGIC_USED 0xf7e1cc33 queue_entry drivers/scsi/arm/queue.c | ||
160 | HTB_CMAGIC 0xFEFAFEF1 htb_class net/sched/sch_htb.c | ||
161 | NMI_MAGIC 0x48414d4d455201 nmi_s arch/mips/include/asm/sn/nmi.h | ||
162 | |||
163 | 请注意,在声音记忆管理中仍然有每一些被定义的驱动魔术值。查看include/sound/sndmagic.h来获取他们完整的列表信息。很多OSS声音驱动拥有自己从声卡PCI ID构建的魔术值-他们也没有被列在这里。 | ||
164 | |||
165 | IrDA子系统也使用了大量的自己的魔术值,查看include/net/irda/irda.h来获取他们完整的信息。 | ||
166 | |||
167 | HFS是另外一个比较大的使用魔术值的文件系统-你可以在fs/hfs/hfs.h中找到他们。 | ||