Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33633
b: refs/heads/master
c: 533475d
h: refs/heads/master
i:
  33631: d309816
v: v3
  • Loading branch information
Samuel Thibault authored and Linus Torvalds committed Aug 27, 2006
1 parent fa3c7e9 commit c790628
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8cf368944807e29b16b24588a2a35c829bc9d9a
refs/heads/master: 533475d3d48eb839be2b57f6b020150abae91063
2 changes: 2 additions & 0 deletions trunk/drivers/char/vt_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,8 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
return -EPERM;
vt_dont_switch = 0;
return 0;
case VT_GETHIFONTMASK:
return put_user(vc->vc_hi_font_mask, (unsigned short __user *)arg);
default:
return -ENOIOCTLCMD;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/compat_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ COMPATIBLE_IOCTL(VT_RESIZE)
COMPATIBLE_IOCTL(VT_RESIZEX)
COMPATIBLE_IOCTL(VT_LOCKSWITCH)
COMPATIBLE_IOCTL(VT_UNLOCKSWITCH)
COMPATIBLE_IOCTL(VT_GETHIFONTMASK)
/* Little p (/dev/rtc, /dev/envctrl, etc.) */
COMPATIBLE_IOCTL(RTC_AIE_ON)
COMPATIBLE_IOCTL(RTC_AIE_OFF)
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/vt.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ struct vt_consize {
#define VT_RESIZEX 0x560A /* set kernel's idea of screensize + more */
#define VT_LOCKSWITCH 0x560B /* disallow vt switching */
#define VT_UNLOCKSWITCH 0x560C /* allow vt switching */
#define VT_GETHIFONTMASK 0x560D /* return hi font mask */

#endif /* _LINUX_VT_H */

0 comments on commit c790628

Please sign in to comment.