Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17470 Details for
Bug 27216
consolefont script sets only tty1 in kernel 2.6.0-test4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for kernel 2.6 to solve incorrect PIO_UNIMAP ioctl handling
patch-2.6.0-test3-unimap (text/plain), 1.25 KB, created by
Yuri Enshin
on 2003-09-10 16:32:26 UTC
(
hide
)
Description:
patch for kernel 2.6 to solve incorrect PIO_UNIMAP ioctl handling
Filename:
MIME Type:
Creator:
Yuri Enshin
Created:
2003-09-10 16:32:26 UTC
Size:
1.25 KB
patch
obsolete
>--- linux-2.6.0-test2-bk7/drivers/char/vt_ioctl.c 2003-08-08 01:46:34.330795472 +0400 >+++ linux-2.6.0-test2/drivers/char/vt_ioctl.c 2003-08-08 01:00:40.000000000 +0400 >@@ -338,7 +338,7 @@ > } > > static inline int >-do_unimap_ioctl(int cmd, struct unimapdesc *user_ud,int perm) >+do_unimap_ioctl(int cmd, struct unimapdesc *user_ud,int perm, unsigned int console) > { > struct unimapdesc tmp; > int i = 0; >@@ -354,9 +354,9 @@ > case PIO_UNIMAP: > if (!perm) > return -EPERM; >- return con_set_unimap(fg_console, tmp.entry_ct, tmp.entries); >+ return con_set_unimap(console, tmp.entry_ct, tmp.entries); > case GIO_UNIMAP: >- return con_get_unimap(fg_console, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries); >+ return con_get_unimap(console, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries); > } > return 0; > } >@@ -972,13 +972,13 @@ > return -EPERM; > i = copy_from_user(&ui, (void *)arg, sizeof(struct unimapinit)); > if (i) return -EFAULT; >- con_clear_unimap(fg_console, &ui); >+ con_clear_unimap(console, &ui); > return 0; > } > > case PIO_UNIMAP: > case GIO_UNIMAP: >- return do_unimap_ioctl(cmd, (struct unimapdesc *)arg, perm); >+ return do_unimap_ioctl(cmd, (struct unimapdesc *)arg, perm, console); > > case VT_LOCKSWITCH: > if (!capable(CAP_SYS_TTY_CONFIG))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 27216
: 17470 |
17471
|
17476
|
20074
|
20084