1. 29 1月, 2008 1 次提交
  2. 07 1月, 2008 1 次提交
  3. 30 11月, 2007 1 次提交
  4. 31 10月, 2007 1 次提交
  5. 19 10月, 2007 1 次提交
  6. 17 10月, 2007 1 次提交
  7. 11 10月, 2007 1 次提交
  8. 10 10月, 2007 7 次提交
  9. 21 9月, 2007 1 次提交
  10. 15 9月, 2007 1 次提交
  11. 07 8月, 2007 1 次提交
  12. 30 7月, 2007 1 次提交
  13. 17 7月, 2007 1 次提交
  14. 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
  15. 11 5月, 2007 1 次提交
  16. 09 5月, 2007 4 次提交
  17. 03 5月, 2007 3 次提交
  18. 26 4月, 2007 1 次提交
  19. 28 3月, 2007 1 次提交
  20. 09 12月, 2006 1 次提交
  21. 08 12月, 2006 1 次提交
  22. 07 12月, 2006 1 次提交
  23. 12 10月, 2006 1 次提交
  24. 01 10月, 2006 6 次提交
    • P
      [PATCH] Move ncpfs 32bit compat ioctl to ncpfs · 54f67f63
      Petr Vandrovec 提交于
      The ncp specific compat ioctls are clearly local to one file system, so the
      code can better live there.
      
      This version of the patch moves everything into the generic ioctl handler
      and uses it for both 32 and 64 bit calls.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NPetr Vandrovec <petr@vandrovec.name>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      54f67f63
    • D
      [PATCH] BLOCK: Make it possible to disable the block layer [try #6] · 9361401e
      David Howells 提交于
      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: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      9361401e
    • D
      [PATCH] BLOCK: Move the msdos device ioctl compat stuff to the msdos driver [try #6] · 188f83df
      David Howells 提交于
      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: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      188f83df
    • D
      [PATCH] BLOCK: Move the Ext3 device ioctl compat stuff to the Ext3 driver [try #6] · 52a700c5
      David Howells 提交于
      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: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      52a700c5
    • D
      [PATCH] BLOCK: Move the Ext2 device ioctl compat stuff to the Ext2 driver [try #6] · e322ff07
      David Howells 提交于
      Move the Ext2 device ioctl compat stuff from fs/compat_ioctl.c to the Ext2
      driver so that the Ext2 header file doesn't need to be included.
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      e322ff07
    • D
      [PATCH] BLOCK: Move the ReiserFS device ioctl compat stuff to the ReiserFS driver [try #6] · 52b499c4
      David Howells 提交于
      Move the ReiserFS device ioctl compat stuff from fs/compat_ioctl.c to the
      ReiserFS driver so that the ReiserFS header file doesn't need to be included.
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      52b499c4