| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
tty: Support Chinese character output in tty Chinese character output support should be supported in tty. So we add it from cjktty-patches. cjktty-patches: https://github.com/zhmars/cjktty-patches Signed-off-by: WangYuli <wangyuli@uniontech.com> | 2 年前 | |
tty: Support Chinese character output in tty Chinese character output support should be supported in tty. So we add it from cjktty-patches. cjktty-patches: https://github.com/zhmars/cjktty-patches Signed-off-by: WangYuli <wangyuli@uniontech.com> | 2 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
tty: Support Chinese character output in tty Chinese character output support should be supported in tty. So we add it from cjktty-patches. cjktty-patches: https://github.com/zhmars/cjktty-patches Signed-off-by: WangYuli <wangyuli@uniontech.com> | 2 年前 | |
lib/fonts: cjktty: Remove Unicode bidirectional control characters from comments GCC's -Wbidi-chars option (enabled by default since GCC 12) detects potentially dangerous Unicode bidirectional text control characters that could be exploited in "Trojan Source" attacks (CVE-2021-42574). The font_cjk_16x16.h/font_cjk_32x32.h header files contained actual Unicode bidirectional control characters embedded within comments as glyph representations: - U+200E (LEFT-TO-RIGHT MARK) - U+200F (RIGHT-TO-LEFT MARK) - U+202C (POP DIRECTIONAL FORMATTING) - U+2069 (POP DIRECTIONAL ISOLATE) Replace these invisible control characters with their standard Unicode abbreviations (LRM, RLM, PDF, PDI) enclosed in parentheses. This preserves the documentary intent of the comments while eliminating the build failure caused by -Werror=bidi-chars. This change is necessary and appropriate because GCC 12 and later versions introduced the -Wbidi-chars warning (enabled by default) specifically to mitigate "Trojan Source" attacks as described in CVE-2021-42574. These attacks exploit Unicode bidirectional override characters to make source code appear different from how it actually executes, potentially hiding malicious logic within seemingly benign code. While the characters in this font header file are legitimately used as glyph data representations in comments rather than for malicious purposes, the compiler cannot distinguish intent and correctly flags them as a potential security risk. The kernel build system treats all warnings as errors (-Werror), causing the build to fail. By replacing the actual invisible control characters with their human-readable abbreviations (LRM for Left-to-Right Mark, RLM for Right-to-Left Mark, PDF for Pop Directional Formatting, and PDI for Pop Directional Isolate), we maintain the original documentation purpose of identifying which Unicode codepoint each glyph represents while ensuring the code compiles cleanly and passes security-focused static analysis. Link: https://www.cve.org/CVERecord?id=CVE-2021-42574 Link: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbidi-chars Link: https://unicode.org/reports/tr9/ Signed-off-by: WangYuli <wangyl5933@chinaunicom.cn> | 6 个月前 | |
tty: Support Chinese character output in tty Chinese character output support should be supported in tty. So we add it from cjktty-patches. cjktty-patches: https://github.com/zhmars/cjktty-patches Signed-off-by: WangYuli <wangyuli@uniontech.com> | 2 年前 | |
lib/fonts: cjktty: Remove Unicode bidirectional control characters from comments GCC's -Wbidi-chars option (enabled by default since GCC 12) detects potentially dangerous Unicode bidirectional text control characters that could be exploited in "Trojan Source" attacks (CVE-2021-42574). The font_cjk_16x16.h/font_cjk_32x32.h header files contained actual Unicode bidirectional control characters embedded within comments as glyph representations: - U+200E (LEFT-TO-RIGHT MARK) - U+200F (RIGHT-TO-LEFT MARK) - U+202C (POP DIRECTIONAL FORMATTING) - U+2069 (POP DIRECTIONAL ISOLATE) Replace these invisible control characters with their standard Unicode abbreviations (LRM, RLM, PDF, PDI) enclosed in parentheses. This preserves the documentary intent of the comments while eliminating the build failure caused by -Werror=bidi-chars. This change is necessary and appropriate because GCC 12 and later versions introduced the -Wbidi-chars warning (enabled by default) specifically to mitigate "Trojan Source" attacks as described in CVE-2021-42574. These attacks exploit Unicode bidirectional override characters to make source code appear different from how it actually executes, potentially hiding malicious logic within seemingly benign code. While the characters in this font header file are legitimately used as glyph data representations in comments rather than for malicious purposes, the compiler cannot distinguish intent and correctly flags them as a potential security risk. The kernel build system treats all warnings as errors (-Werror), causing the build to fail. By replacing the actual invisible control characters with their human-readable abbreviations (LRM for Left-to-Right Mark, RLM for Right-to-Left Mark, PDF for Pop Directional Formatting, and PDI for Pop Directional Isolate), we maintain the original documentation purpose of identifying which Unicode codepoint each glyph represents while ensuring the code compiles cleanly and passes security-focused static analysis. Link: https://www.cve.org/CVERecord?id=CVE-2021-42574 Link: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbidi-chars Link: https://unicode.org/reports/tr9/ Signed-off-by: WangYuli <wangyl5933@chinaunicom.cn> | 6 个月前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
lib: fix spelling mistakes Fix some spelling mistakes in comments: permanentely ==> permanently wont ==> won't remaning ==> remaining succed ==> succeed shouldnt ==> shouldn't alpha-numeric ==> alphanumeric storeing ==> storing funtion ==> function documenation ==> documentation Determin ==> Determine intepreted ==> interpreted ammount ==> amount obious ==> obvious interupts ==> interrupts occured ==> occurred asssociated ==> associated taking into acount ==> taking into account squence ==> sequence stil ==> still contiguos ==> contiguous matchs ==> matches Link: https://lkml.kernel.org/r/20210607072555.12416-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 4 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: Add charcount field to font_desc Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, struct font_desc. Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/65952296d1d9486093bd955d1536f7dcd11112c6.1605169912.git.yepeilin.cs@gmail.com | 5 年前 | |
Fonts: font_ter16x32: Update font with new upstream Terminus release This is just a maintenance patch to update font_ter16x32.c with changes and minor fixes added in new upstream Terminus v4.49. >From release notes of new version 4.49, this brings: - Altered ascii grave in some sizes to be more useful as a back quote. - Fixed 21B5, added 21B2 and 21B3. Just as my initial submission of the font, above changes were obtained from new ter-i32b.psf font source. Terminus font sources are available for download at SourceForge: https://sourceforge.net/projects/terminus-font/files/terminus-font-4.49/ Simply running make in source directory will build the .psf font files. Signed-off-by: Amanoel Dawod <kernel@amanoeldawod.com> Link: https://lore.kernel.org/r/20201226235840.26290-1-kernel@amanoeldawod.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 5 年前 | |
tty: Support Chinese character output in tty Chinese character output support should be supported in tty. So we add it from cjktty-patches. cjktty-patches: https://github.com/zhmars/cjktty-patches Signed-off-by: WangYuli <wangyuli@uniontech.com> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 6 个月前 | ||
| 2 年前 | ||
| 6 个月前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 2 年前 |