1. 07 Feb, 2008 2 commits
  2. 28 Jan, 2008 1 commit
  3. 06 Jan, 2008 1 commit
  4. 29 Nov, 2007 1 commit
  5. 31 Oct, 2007 1 commit
  6. 18 Oct, 2007 1 commit
  7. 17 Oct, 2007 1 commit
  8. 10 Oct, 2007 8 commits
  9. 21 Sep, 2007 1 commit
  10. 14 Sep, 2007 1 commit
  11. 06 Aug, 2007 1 commit
  12. 30 Jul, 2007 1 commit
  13. 16 Jul, 2007 1 commit
  14. 25 May, 2007 1 commit
    • Hugh Dickins's avatar
      fix compat console unimap regression · f4d43bd5
      Hugh Dickins authored
      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: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f4d43bd5
  15. 10 May, 2007 1 commit
  16. 08 May, 2007 4 commits
  17. 02 May, 2007 3 commits
  18. 26 Apr, 2007 1 commit
  19. 27 Mar, 2007 1 commit
  20. 08 Dec, 2006 1 commit
  21. 07 Dec, 2006 1 commit
  22. 06 Dec, 2006 1 commit
  23. 11 Oct, 2006 1 commit
    • Maciej W. Rozycki's avatar
      [PATCH] 32-bit compatibility HDIO IOCTLs · 39484e53
      Maciej W. Rozycki authored
      
      A couple of HDIO IOCTLs are not yet handled and a few others are marked
      as using a pointer rather than an unsigned long.  The formers include:
      
      HDIO_GET_WCACHE, HDIO_GET_ACOUSTIC, HDIO_GET_ADDRESS and
      HDIO_GET_BUSSTATE.  The latters are: HDIO_SET_MULTCOUNT,
      HDIO_SET_UNMASKINTR, HDIO_SET_KEEPSETTINGS, HDIO_SET_32BIT,
      HDIO_SET_NOWERR, HDIO_SET_DMA, HDIO_SET_PIO_MODE and HDIO_SET_NICE.
      
      Additionally 0x330 used to be HDIO_GETGEO_BIG and may be issued by 32-bit
      `hdparm' run on a 64-bit kernel making Linux complain loudly.
      
      This is a fix for these issues.
      Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      39484e53
  24. 01 Oct, 2006 1 commit
  25. 30 Sep, 2006 3 commits
    • David Howells's avatar
      [PATCH] BLOCK: Make it possible to disable the block layer [try #6] · 9361401e
      David Howells authored
      
      Make it possible to disable the block layer.  Not all embedded devices require
      it, some can make do with just JFFS2, NFS, ramfs, etc - none of which require
      the block layer to be present.
      
      This patch does the following:
      
       (*) Introduces CONFIG_BLOCK to disable the block layer, buffering and blockdev
           support.
      
       (*) Adds dependencies on CONFIG_BLOCK to any configuration item that controls
           an item that uses the block layer.  This includes:
      
           (*) Block I/O tracing.
      
           (*) Disk partition code.
      
           (*) All filesystems that are block based, eg: Ext3, ReiserFS, ISOFS.
      
           (*) The SCSI layer.  As far as I can tell, even SCSI chardevs use the
           	 block layer to do scheduling.  Some drivers that use SCSI facilities -
           	 such as USB storage - end up disabled indirectly from this.
      
           (*) Various block-based device drivers, such as IDE and the old CDROM
           	 drivers.
      
           (*) MTD blockdev handling and FTL.
      
           (*) JFFS - which uses set_bdev_super(), something it could avoid doing by
           	 taking a leaf out of JFFS2's book.
      
       (*) Makes most of the contents of linux/blkdev.h, linux/buffer_head.h and
           linux/elevator.h contingent on CONFIG_BLOCK being set.  sector_div() is,
           however, still used in places, and so is still available.
      
       (*) Also made contingent are the contents of linux/mpage.h, linux/genhd.h and
           parts of linux/fs.h.
      
       (*) Makes a number of files in fs/ contingent on CONFIG_BLOCK.
      
       (*) Makes mm/bounce.c (bounce buffering) contingent on CONFIG_BLOCK.
      
       (*) set_page_dirty() doesn't call __set_page_dirty_buffers() if CONFIG_BLOCK
           is not enabled.
      
       (*) fs/no-block.c is created to hold out-of-line stubs and things that are
           required when CONFIG_BLOCK is not set:
      
           (*) Default blockdev file operations (to give error ENODEV on opening).
      
       (*) Makes some /proc changes:
      
           (*) /proc/devices does not list any blockdevs.
      
           (*) /proc/diskstats and /proc/partitions are contingent on CONFIG_BLOCK.
      
       (*) Makes some compat ioctl handling contingent on CONFIG_BLOCK.
      
       (*) If CONFIG_BLOCK is not defined, makes sys_quotactl() return -ENODEV if
           given command other than Q_SYNC or if a special device is specified.
      
       (*) In init/do_mounts.c, no reference is made to the blockdev routines if
           CONFIG_BLOCK is not defined.  This does not prohibit NFS roots or JFFS2.
      
       (*) The bdflush, ioprio_set and ioprio_get syscalls can now be absent (return
           error ENOSYS by way of cond_syscall if so).
      
       (*) The seclvl_bd_claim() and seclvl_bd_release() security calls do nothing if
           CONFIG_BLOCK is not set, since they can't then happen.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      9361401e
    • David Howells's avatar
      [PATCH] BLOCK: Move the msdos device ioctl compat stuff to the msdos driver [try #6] · 188f83df
      David Howells authored
      
      Move the msdos device ioctl compat stuff from fs/compat_ioctl.c to the msdos
      driver so that the msdos header file doesn't need to be included.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      188f83df
    • David Howells's avatar
      [PATCH] BLOCK: Move the Ext3 device ioctl compat stuff to the Ext3 driver [try #6] · 52a700c5
      David Howells authored
      
      Move the Ext3 device ioctl compat stuff from fs/compat_ioctl.c to the Ext3
      driver so that the Ext3 header file doesn't need to be included.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      52a700c5