1. 15 9月, 2007 1 次提交
  2. 07 8月, 2007 1 次提交
  3. 30 7月, 2007 1 次提交
  4. 17 7月, 2007 1 次提交
  5. 26 5月, 2007 1 次提交
    • H
      fix compat console unimap regression · f4d43bd5
      Hugh Dickins 提交于
      Why is it that since the 2f1a2ccb console
      UTF-8 fixes went into 2.6.22-rc1, the PowerMac G5 shows only inverse video
      question marks for the text on tty2-6? whereas tty1 is fine, and so is x86.
      
      No fault of that patch: by removing the old fallback behaviour, it reveals
      that 32-bit setfont running on 64-bit kernels has only really worked on
      the current console, the rest getting faked by that inadequate fallback.
      
      Bring the compat do_unimap_ioctl into line with the main one: PIO_UNIMAP
      and GIO_UNIMAP apply to the specified tty, not redirected to fg_console.
      Use the same checks, and most particularly, remember to check access_ok:
      con_set_unimap and con_get_unimap are using __get_user and __put_user.
      
      And the compat vt_check should ask for the same capability as the main
      one, CAP_SYS_TTY_CONFIG rather than CAP_SYS_ADMIN.  Added in vt_ioctl's
      vc_cons_allocated check for safety, though failure may well be impossible.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f4d43bd5
  6. 11 5月, 2007 1 次提交
  7. 09 5月, 2007 4 次提交
  8. 03 5月, 2007 3 次提交
  9. 26 4月, 2007 1 次提交
  10. 28 3月, 2007 1 次提交
  11. 09 12月, 2006 1 次提交
  12. 08 12月, 2006 1 次提交
  13. 07 12月, 2006 1 次提交
  14. 12 10月, 2006 1 次提交
  15. 01 10月, 2006 9 次提交
  16. 01 7月, 2006 1 次提交
  17. 27 6月, 2006 2 次提交
  18. 25 6月, 2006 1 次提交
  19. 24 3月, 2006 2 次提交
  20. 09 3月, 2006 1 次提交
    • R
      [NET] compat ifconf: fix limits · 1efa3c05
      Randy Dunlap 提交于
      A recent change to compat. dev_ifconf() in fs/compat_ioctl.c
      causes ifconf data to be truncated 1 entry too early when copying it
      to userspace.  The correct amount of data (length) is returned,
      but the final entry is empty (zero, not filled in).
      The for-loop 'i' check should use <= to allow the final struct
      ifreq32 to be copied.  I also used the ifconf-corruption program
      in kernel bugzilla #4746 to make sure that this change does not
      re-introduce the corruption.
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1efa3c05
  21. 27 2月, 2006 1 次提交
  22. 08 2月, 2006 1 次提交
  23. 13 1月, 2006 1 次提交
  24. 12 1月, 2006 2 次提交