search for: vga_init

Displaying 6 results from an estimated 6 matches for "vga_init".

Did you mean: ga_init
1997 Apr 23
0
Linux squake security hole (provides root if squake is installed mode 4755)
..., I just thought you might like to know of this hole. I''m not totally certain how to exploit this, and it may not be exploitable. But I''d bet money that it is exploitable and I figured you''d like to know before BUGTRAQ. Anyways, now for the explanation. Zoid moved my vga_init() call, which was in the .c file with the linux main(), into the svgalib .c file, apparently. While this is more "clean," (esp. considering my stupd inclusion of vga_init() { } into the X-specific .c files). The problem is that any program using svgalib requires to be setuid root. vga_...
2007 Jan 11
0
[PATCH] set VGA console to 50 lines by default
...6.000000000 +0100 @@ -557,7 +557,7 @@ static int vga_load_font(const struct fo static int vgacon_enabled = 0; static int vgacon_keep = 0; -static int vgacon_lines = 25; +static int vgacon_lines = 50; static const struct font_desc *font; static int xpos, ypos; @@ -585,6 +585,8 @@ void vga_init(void) vgacon_keep = 1; else if ( strncmp(p, "text-80x", 8) == 0 ) vgacon_lines = simple_strtoul(p + 8, NULL, 10); + else if ( strncmp(p, "text", 4) == 0 && p[4] != ''-'' ) + vgacon_lines = 0; }...
2017 Jun 09
0
[PATCH 3/3] drm/nouveau: Skip vga_fini on non-PCI device
As with vga_init, this function doesn't make sense on non-PCI devices, and the Thunderbolt check in it dereferences a NULL pointer in that case. Add some code to skip this function when the device is not a PCI device. Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com> --- drivers/gpu/drm/nouveau/...
2012 May 24
0
[PATCH RFC 2/9] console: prepare for non-COMn port support
...ontinue; --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -539,6 +539,7 @@ void printk(const char *fmt, ...) void __init console_init_preirq(void) { char *p; + int sh; serial_init_preirq(); @@ -551,8 +552,9 @@ void __init console_init_preirq(void) vga_init(); else if ( !strncmp(p, "none", 4) ) continue; - else if ( strncmp(p, "com", 3) || - (sercon_handle = serial_parse_handle(p)) == -1 ) + else if ( (sh = serial_parse_handle(p)) >= 0 ) + sercon_handle = sh; +...
2017 Jun 09
4
[PATCH 1/3] drm/nouveau/tegra: Skip manual unpowergating when not necessary
On Tegra186, powergating is handled by the BPMP power domain provider and the "legacy" powergating API is not available. Therefore skip these calls if we are attached to a power domain. Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com> --- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git
2007 Dec 10
10
[PATCH] ioemu/qemu vga: save and restore vram buffer
The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does not save the emulated VGA memory contents. The symptoms include video malfunction after restore, including black screen (which can often be fixed by asking the guest to redraw) but also missing font setup etc. The attached patch fixes this by saving the entire VGA memory buffer, just like the Xen ioemu Cirrus emulator does. I