aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'tty-next' of https://git.kernel.org/pub/scm/linux/kernel/git/gr...Mark Brown4-533/+660
10 daysvt: merge ucs_is_zero_width()/ucs_is_double_width() into ucs_get_width()Nicolas Pitre4-533/+660
11 daysconsole: mdacon: remove this obsolete driverEthan Nelson-Moore1-3/+0
2026-04-19Merge tag 'tty-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds2-9/+119
2026-04-15Merge tag 'fbdev-for-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+34
2026-04-07lib/fonts: Provide helpers for calculating glyph pitch and sizeThomas Zimmermann1-3/+2
2026-04-07vt: Implement helpers for struct vc_font in source fileThomas Zimmermann1-0/+35
2026-03-30vt: resize saved unicode buffer on alt screen exit after resizeNicolas Pitre1-9/+15
2026-03-30vt: discard stale unicode buffer on alt screen exit after resizeLiav Mordouch1-1/+13
2026-03-23Merge 7.0-rc5 into tty-nextGreg Kroah-Hartman1-0/+8
2026-03-13vt: save/restore unicode screen buffer for alternate screenNicolas Pitre1-0/+8
2026-03-12vt: support ITU-T T.416 color subparametersRonan Pigott1-3/+45
2026-03-12vt: add fallback to plain map for modifier-aware key typesNicolas Pitre1-0/+15
2026-03-12vt: add KT_CSI keysym type for modifier-aware CSI sequencesNicolas Pitre1-5/+33
2026-03-12vt: add modifier support to cursor keysNicolas Pitre1-1/+26
2026-02-21Convert more 'alloc_obj' cases to default GFP_KERNEL argumentsLinus Torvalds1-2/+1
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds3-3/+3
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook4-5/+7
2026-02-17Merge tag 'tty-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-106/+115
2026-02-14printk, vt, fbcon: Remove console_conditional_schedule()Sebastian Andrzej Siewior1-1/+0
2026-02-12Merge tag 'mm-nonmm-stable-2026-02-12-10-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+1
2026-01-20kernel.h: drop hex.h and update all hex.h usersRandy Dunlap1-0/+1
2025-12-21vt: Remove con_debug_enter/_leave from struct conswThomas Zimmermann1-29/+1
2025-12-21vt: Remove trailing whitespaceThomas Zimmermann1-1/+1
2025-12-17tty: vt/keyboard: Split apart vt_do_diacrit()Nathan Chancellor1-106/+115
2025-11-21tty: vt: do not open code DIV_ROUND_UP()Jiri Slaby (SUSE)1-2/+2
2025-11-21tty: vt/keyboard: use guard()sJiri Slaby (SUSE)1-136/+74
2025-11-21tty: vt/keyboard: simplify returns from vt_do_kbkeycode_ioctl()Jiri Slaby (SUSE)1-9/+9
2025-11-21tty: vt/keyboard: use __free()Jiri Slaby (SUSE)1-53/+37
2025-11-21drivers/tty/vt: use umin() instead of min_t(u16, ...) for row/col limitsDavid Laight1-4/+5
2025-09-12vt: move vc_saved_screen to within tty allocated judgmentEdward Adam Davis1-4/+4
2025-09-06tty/vt: Add missing return value for VT_RESIZE in vt_ioctl()Zizhi Wo1-1/+3
2025-09-06vt: remove redundant check on vc_mode in con_font_set()Wang Liang1-2/+0
2025-09-06vt: add support for smput/rmput escape codesCalixte Pernot1-0/+58
2025-08-17tty/vt: use guard()sJiri Slaby (SUSE)5-244/+170
2025-08-17tty/vt: use guard()s in con_font_set/get() and con_{set,get}_unimap()Jiri Slaby (SUSE)2-95/+78
2025-07-22vt: defkeymap: Map keycodes above 127 to K_HOLEMyrrh Periwinkle1-0/+112
2025-07-22vt: keyboard: Don't process Unicode characters in K_OFF modeMyrrh Periwinkle1-1/+1
2025-06-19vt: fix kernel-doc warnings in ucs_get_fallback()Randy Dunlap1-1/+1
2025-06-19vt: add missing notification when switching back to text modeNicolas Pitre1-0/+1
2025-05-21vt: add VT_GETCONSIZECSRPOS to retrieve console size and cursor positionNicolas Pitre1-0/+16
2025-05-21vt: bracketed paste supportNicolas Pitre2-4/+42
2025-05-21vt: remove VT_RESIZE and VT_RESIZEX from vt_compat_ioctl()Nicolas Pitre1-2/+0
2025-05-21vt: process the full-width ASCII fallback range programmaticallyNicolas Pitre3-95/+17
2025-05-21vt: make use of ucs_get_fallback() when glyph is unavailableNicolas Pitre1-0/+13
2025-05-21vt: add ucs_get_fallback()Nicolas Pitre2-1/+86
2025-05-21vt: create ucs_fallback_table.h_shipped with gen_ucs_fallback_table.pyNicolas Pitre3-1/+3445
2025-05-21vt: introduce gen_ucs_fallback_table.py to create ucs_fallback_table.hNicolas Pitre1-0/+352
2025-05-21vt: move glyph determination to a separate functionNicolas Pitre1-33/+38
2025-05-21vt: make sure displayed double-width characters are remembered as suchNicolas Pitre1-1/+8
2025-05-21vt: ucs.c: fix misappropriate in_range() usageNicolas Pitre1-4/+4
2025-05-01vt: add new dynamically generated files to .gitignoreBartosz Golaszewski1-0/+2
2025-04-28Merge 6.15-rc4 into tty-nextGreg Kroah-Hartman1-3/+2
2025-04-26vt: move UCS tables to the "shipped" formNicolas Pitre5-10/+45
2025-04-26vt: refresh ucs_width_table.h and adjust code in ucs.c accordinglyNicolas Pitre2-275/+319
2025-04-26vt: update gen_ucs_width_table.py to make tables more space efficientNicolas Pitre1-6/+49
2025-04-26vt: remove zero-width-space handling from conv_uni_to_pc()Nicolas Pitre2-3/+1
2025-04-26vt: pad double-width code points with a zero-width spaceNicolas Pitre1-3/+8
2025-04-26vt: support Unicode recompositionNicolas Pitre2-3/+73
2025-04-26vt: create ucs_recompose_table.h with gen_ucs_recompose_table.pyNicolas Pitre1-0/+102
2025-04-26vt: introduce gen_ucs_recompose_table.py to create ucs_recompose_table.hNicolas Pitre1-0/+255
2025-04-26vt: use new tables in ucs.cNicolas Pitre1-20/+24
2025-04-26vt: create ucs_width_table.h with gen_ucs_width_table.pyNicolas Pitre1-0/+445
2025-04-26vt: introduce gen_ucs_width_table.py to create ucs_width_table.hNicolas Pitre1-0/+256
2025-04-26vt: properly support zero-width Unicode code pointsNicolas Pitre1-2/+68
2025-04-26vt: move unicode processing to a separate fileNicolas Pitre3-40/+60
2025-04-26vt: minor cleanup to vc_translate_unicode()Nicolas Pitre1-5/+8
2025-04-26Revert "vt: minor cleanup to vc_translate_unicode()"Greg Kroah-Hartman1-8/+5
2025-04-26Revert "vt: move unicode processing to a separate file"Greg Kroah-Hartman3-48/+40
2025-04-26Revert "vt: properly support zero-width Unicode code points"Greg Kroah-Hartman1-44/+2
2025-04-26Revert "vt: introduce gen_ucs_width.py to create ucs_width.c"Greg Kroah-Hartman1-264/+0
2025-04-26Revert "vt: update ucs_width.c using gen_ucs_width.py"Greg Kroah-Hartman1-474/+21
2025-04-26Revert "vt: introduce gen_ucs_recompose.py to create ucs_recompose.c"Greg Kroah-Hartman1-321/+0
2025-04-26Revert "vt: create ucs_recompose.c using gen_ucs_recompose.py"Greg Kroah-Hartman2-171/+1
2025-04-26Revert "vt: support Unicode recomposition"Greg Kroah-Hartman1-9/+2
2025-04-26Revert "vt: update gen_ucs_width.py to produce more space efficient tables"Greg Kroah-Hartman1-113/+41
2025-04-26Revert "vt: update ucs_width.c following latest gen_ucs_width.py"Greg Kroah-Hartman1-470/+432
2025-04-26Revert "vt: pad double-width code points with a zero-white-space"Greg Kroah-Hartman1-8/+3
2025-04-26Revert "vt: remove zero-white-space handling from conv_uni_to_pc()"Greg Kroah-Hartman2-3/+3
2025-04-26Revert "vt: fix comment vs definition mismatch"Greg Kroah-Hartman4-8/+10
2025-04-25tty/vt: Gather the code that outputs char with utf8 in mindAlexey Gladkov1-21/+14
2025-04-25tty/vt: Use KVAL instead of use bit operationAlexey Gladkov1-1/+1
2025-04-15vt: fix comment vs definition mismatchNicolas Pitre4-10/+8
2025-04-11tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORTGünther Noack1-3/+2
2025-04-11vt: remove zero-white-space handling from conv_uni_to_pc()Nicolas Pitre2-3/+3
2025-04-11vt: pad double-width code points with a zero-white-spaceNicolas Pitre1-3/+8
2025-04-11vt: update ucs_width.c following latest gen_ucs_width.pyNicolas Pitre1-432/+470
2025-04-11vt: update gen_ucs_width.py to produce more space efficient tablesNicolas Pitre1-41/+113
2025-04-11vt: support Unicode recompositionNicolas Pitre1-2/+9
2025-04-11vt: create ucs_recompose.c using gen_ucs_recompose.pyNicolas Pitre2-1/+171
2025-04-11vt: introduce gen_ucs_recompose.py to create ucs_recompose.cNicolas Pitre1-0/+321
2025-04-11vt: update ucs_width.c using gen_ucs_width.pyNicolas Pitre1-21/+474
2025-04-11vt: introduce gen_ucs_width.py to create ucs_width.cNicolas Pitre1-0/+264
2025-04-11vt: properly support zero-width Unicode code pointsNicolas Pitre1-2/+44
2025-04-11vt: move unicode processing to a separate fileNicolas Pitre3-40/+48
2025-04-11vt: minor cleanup to vc_translate_unicode()Nicolas Pitre1-5/+8
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner2-3/+3
2025-01-13tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMINGünther Noack2-2/+14
2024-10-11vt: prevent kernel-infoleak in con_font_get()Jeongjun Park1-1/+1
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-08-13tty: vt: conmakehash: remove non-portable code printing comment headerMasahiro Yamada1-10/+2
2024-07-31tty: vt: conmakehash: cope with abs_srctree no longer in envMax Krummenacher1-13/+7
2024-06-04vt: keyboard: Use led_set_brightness() in LED trigger activate() callbackHans de Goede1-3/+1
2024-05-22Merge tag 'tty-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds2-2/+23
2024-05-15Merge tag 'printk-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-05-06printk: Change type of CONFIG_BASE_SMALL to boolYoann Congal1-1/+1
2024-05-04tty: add the option to have a tty reject a new ldiscLinus Torvalds1-0/+10
2024-04-09tty: vt: conmakehash: Don't mention the full path of the input in outputUwe Kleine-König1-2/+13
2024-03-21Merge tag 'tty-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds4-723/+861
2024-03-02vt: fix unicode buffer corruption when deleting charactersNicolas Pitre1-1/+1
2024-02-17tty/vt: Corrected doc of vc_sanitize_unicode(), vc_translate_unicode()Roman Žilka1-4/+12
2024-02-06tty: vt: decrypt magic constants in vc_is_control()Jiri Slaby (SUSE)1-3/+7
2024-02-06tty: vt: use ASCII enum constants in vt_console_print()Jiri Slaby (SUSE)1-4/+5
2024-02-06tty: vt: use switch+case in the ESgetpars caseJiri Slaby (SUSE)1-4/+8
2024-02-06tty: vt: use switch+case in the ESnonstd caseJiri Slaby (SUSE)1-6/+8
2024-02-06tty: vt: add new helper for reseting vc parametersJiri Slaby (SUSE)1-6/+9
2024-02-06tty: vt: handle CSI+[ inside preexisting switch-caseJiri Slaby (SUSE)1-4/+3
2024-02-06tty: vt: simplify ansi_control_string()Jiri Slaby (SUSE)1-5/+6
2024-02-06tty: vt: name, reflow and document enum vc_ctl_stateJiri Slaby (SUSE)1-17/+55
2024-02-06tty: vt: move CSI ECMA handling to a separate functionJiri Slaby (SUSE)1-130/+139
2024-02-06tty: vt: move CSI DEC handling to a separate functionJiri Slaby (SUSE)1-31/+44
2024-02-06tty: vt: separate ESesc state handling into handle_esc()Jiri Slaby (SUSE)1-62/+72
2024-02-06tty: vt: extract ascii handling to handle_ascii()Jiri Slaby (SUSE)1-21/+37
2024-02-06tty: vt: accept u8 in do_con_trol() and vc_setGx()Jiri Slaby (SUSE)1-3/+3
2024-02-06tty: vt: put cases on separate linesJiri Slaby (SUSE)1-4/+8
2024-02-06tty: vt: rename setterm_command() to csi_RSB()Jiri Slaby (SUSE)1-4/+10
2024-02-06tty: vt: define an enum for CSI+] codesJiri Slaby (SUSE)1-11/+25
2024-02-06tty: vt: move CSI+n handling along to other ECMA CSIsJiri Slaby (SUSE)1-8/+6
2024-02-06tty: vt: remove unneeded assignment of EPecma to vc_privJiri Slaby (SUSE)1-3/+2
2024-02-06tty: vt: split DEC CSI+h/l handling into csi_DEC_hl()Jiri Slaby (SUSE)1-67/+77
2024-02-06tty: vt: rename set_mode() to csi_hl()Jiri Slaby (SUSE)1-3/+3
2024-02-06tty: vt: define enums for CSI+h/l codesJiri Slaby (SUSE)1-12/+30
2024-02-06tty: vt: make rgb_from_256() slighly more comprehensibleJiri Slaby (SUSE)1-4/+7
2024-01-27vt: remove superfluous CONFIG_HW_CONSOLELukas Bulwahn1-2/+2
2024-01-27tty/vt: UTF-8 parsing update according to RFC 3629, modern UnicodeRoman Žilka1-12/+2
2024-01-27tty: vt: fix up kernel-docJiri Slaby (SUSE)2-57/+59
2024-01-27tty: vt: remove unused consw::con_flush_scrollback()Jiri Slaby (SUSE)1-15/+12
2024-01-27tty: vt: remove consw::con_getxy()Jiri Slaby (SUSE)1-15/+5
2024-01-27tty: vt: make types of screenpos() more consistentJiri Slaby (SUSE)1-6/+5
2024-01-27tty: vt: remove consw::con_screen_pos()Jiri Slaby (SUSE)1-9/+3
2024-01-27tty: vt: make font of consw::con_font_set() constJiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: use enum constants for VESA blanking modesJiri Slaby (SUSE)1-2/+2
2024-01-27tty: vt: use VESA blanking constantsJiri Slaby (SUSE)1-4/+5
2024-01-27tty: vt: stop using -1 for blank mode in consw::con_blank()Jiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: make consw::con_switch() return a boolJiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: remove CM_* constantsJiri Slaby (SUSE)1-2/+2
2024-01-27tty: vt: add con_putc() helperJiri Slaby (SUSE)1-5/+13
2024-01-27tty: vt: sanitize arguments of consw::con_clear()Jiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: make init parameter of consw::con_init() a boolJiri Slaby (SUSE)1-4/+4
2024-01-27tty: vt: make consw::con_debug_*() return voidJiri Slaby (SUSE)1-17/+4
2024-01-27tty: vt: define an enum for ascii charactersJiri Slaby (SUSE)1-18/+44
2024-01-27tty: vt: reflow csi_K()Jiri Slaby (SUSE)1-14/+14
2024-01-27tty: vt: define an enum for CSI+K codesJiri Slaby (SUSE)1-3/+9
2024-01-27don't pass vc->vc_par[0] to csi_?() handlersJiri Slaby (SUSE)1-16/+19
2024-01-27use clamp() for counts in csi_?() handlersJiri Slaby (SUSE)1-22/+5
2024-01-27tty: vt: reflow csi_J()Jiri Slaby (SUSE)1-25/+25
2024-01-27tty: vt: define an enum for CSI+J codesJiri Slaby (SUSE)1-8/+15
2024-01-27tty: vt: use case ranges for CSI+m fg/bg colorsJiri Slaby (SUSE)1-19/+16
2024-01-27tty: vt: define an enum for CSI+m codesJiri Slaby (SUSE)1-29/+69
2024-01-27tty: vt: make vc_is_sel()'s vc constJiri Slaby (SUSE)1-1/+1
2024-01-27tty: vt: pass vc_resize_user as a parameterJiri Slaby (SUSE)2-19/+15
2024-01-27tty: vt: push console lock from tioclinux() down to 2 functionsJiri Slaby (SUSE)2-10/+14
2024-01-27tty: vt: pass proper pointers from tioclinux()Jiri Slaby (SUSE)2-13/+14
2024-01-27tty: vt: expect valid vc when in tty opsJiri Slaby (SUSE)1-16/+3
2024-01-27tty: vt: fix 20 vs 0x20 typo in EScsiignoreJiri Slaby (SUSE)1-1/+1
2024-01-27vgacon: inline vc_scrolldelta_helper() into vgacon_scrolldelta()Jiri Slaby (SUSE)1-40/+0
2023-11-25drivers/tty/vt: use standard array-copy-functionsPhilipp Stanner2-7/+5
2023-11-03Merge tag 'tty-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds4-31/+39
2023-10-07tty: vc_screen: make vc_class constantGreg Kroah-Hartman1-14/+14
2023-10-07tty: vt: make vtconsole_class constantGreg Kroah-Hartman1-10/+9
2023-10-05tty: Restrict access to TIOCLINUX' copy-and-paste subcommandsHanno Böck1-0/+6
2023-10-03vt: Replace strlcpy with strscpyAzeem Shaikh1-2/+5
2023-10-03tty: stop using ndash in kernel-docJiri Slaby (SUSE)3-5/+5
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel1-1/+1
2023-09-01Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds2-16/+8
2023-08-18mm: remove arguments of show_mem()Kefeng Wang1-1/+1
2023-08-11tty: make tty_operations::write()'s count size_tJiri Slaby (SUSE)1-1/+1
2023-08-11tty: propagate u8 data to tty_operations::put_char()Jiri Slaby (SUSE)1-1/+1
2023-08-11tty: propagate u8 data to tty_operations::write()Jiri Slaby (SUSE)1-2/+2
2023-08-11tty: switch count in tty_ldisc_receive_buf() to size_tJiri Slaby (SUSE)1-1/+1
2023-08-03tty: vt: Remove some repetitive initializationoushixiong1-12/+4
2023-05-13vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAFGeorge Kennedy1-2/+9
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-3/+3
2023-04-20tty: vt: drop checks for undefined VT_SINGLE_DRIVERJiri Slaby (SUSE)1-8/+2
2023-04-20tty: vt: distribute EXPORT_SYMBOL()Jiri Slaby (SUSE)1-20/+14
2023-04-20tty: vt: simplify some cases in tioclinux()Jiri Slaby (SUSE)1-36/+26
2023-04-20tty: vt: reformat tioclinux()Jiri Slaby (SUSE)1-83/+84
2023-04-03tty: make tty_class a static const structureGreg Kroah-Hartman1-1/+1
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+3
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman2-2/+2
2023-03-09tty: vt: protect KD_FONT_OP_GET_TALL from unbound accessSamuel Thibault1-0/+3
2023-02-27vc_screen: don't clobber return value in vcs_readThomas Weißschuh1-3/+4
2023-02-27vc_screen: modify vcs_size() handling in vcs_read()George Kennedy1-3/+1
2023-02-06Merge 6.2-rc7 into tty-nextGreg Kroah-Hartman1-4/+5
2023-01-31vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAFGeorge Kennedy1-4/+5
2023-01-19VT: Bump font size limitation to 64x128 pixelsSamuel Thibault1-12/+16
2023-01-19VT: Add KD_FONT_OP_SET/GET_TALL operationsSamuel Thibault1-4/+10
2023-01-19VT: Add height parameter to con_font_get/set consw operationsSamuel Thibault1-2/+2
2023-01-19tty: vt: cache row count in con_scroll()Jiri Slaby (SUSE)1-3/+4
2023-01-19tty: vt: saner names for more scroll variablesJiri Slaby (SUSE)1-18/+22