1. 13 Jun, 2003 8 commits
    • Chris Wright's avatar
      [PATCH] lsm: setfsuid/setgsuid bug fix (4/4) · ccfd4cc5
      Chris Wright authored
      Patch from Jakub Jelínek <jakub@redhat.com>
      
      Make sure setfsuid/setfsgid return values are right.  Before
      include/linux/security.h was added, setfsuid/setfsgid always returned
      old_fsuid, no matter if the fsuid was actually changed or not.
      
      With the default security ops it seems to do the same, because both
      security_task_setuid and security_task_post_setuid return 0, but these
      are hooks which seem to return 0 on success, -errno on failure, so if
      some non-default security hook is installed and ever returns -errno in
      setfsuid/setfsgid, -errno will be returned from the syscall instead of
      the expected old_fsuid.  This makes it hard to distinguish uids
      0xfffff001 ..  0xffffffff from errors of security hooks.
      ccfd4cc5
    • Chris Wright's avatar
      c82a77d7
    • Chris Wright's avatar
      [PATCH] lsm: Remove task_kmod_set_label hook (2/4) · 35190709
      Chris Wright authored
      The task_kmod_set_label hook is no longer necessary.
      
      kmod is now handled by keventd which already does reparent_to_init, so
      there is no need to worry about getting the security labels right for
      code running off the keventd workqueue.
      35190709
    • Chris Wright's avatar
      [PATCH] lsm: Early init for security modules (1/4) · 553bd5a2
      Chris Wright authored
      As discussed before, this allows for early initialization of security
      modules when compiled statically into the kernel.  The standard
      do_initcalls is too late for complete coverage of all filesystems and
      threads, for example.
      553bd5a2
    • Roland McGrath's avatar
      [PATCH] User FIXMAP area simplification · 47382294
      Roland McGrath authored
      As per Linus' proposal: make special macros for the user-accessible
      fixmap, simplifying access checks to make it trivial to handle ia64
      issues.
      47382294
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/tty-2.5 · 97782e54
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      97782e54
    • Andrew Morton's avatar
      [PATCH] fix writeback for dirty ramdisk blockdev inodes · 71a1f72c
      Andrew Morton authored
      Once the blockdev inode for /dev/ram0 is dirtied we have a memory-backed
      inode on the blockdev superblock's s_dirty list.
      
      sync_sb_inodes() sees the memory-backed inode on the superblock and assumes
      that all the other inodes on the superblock are also memory-backed.  This is
      not true for the blockdev superblock!  We forget to write out dirty pages
      against the following blockdevs.
      
      Fix this by just leaving the inode dirty and moving on to inspect the other
      blockdev inodes on sb->s_io.
      
      (This is a little inefficient: an alternative is to leave dirtied
      memory-backed inodes on inode_in_use, so nobody ever even considers them for
      writeout.  But that introduces an inconsistency and is a bit kludgey).
      71a1f72c
    • Kurt Robideau's avatar
      [PATCH] Rocket patch against 2.5.70-bk18 · 6fc97fff
      Kurt Robideau authored
      Here is rocket driver patch against 2.5.70-bk18.  Changes are:
      
      -  Removed non-GPL license text from headers
      -  Removed check_region()/request_region() raciness
      -  Made the driver a >2.5 driver only (as you had suggested)
      6fc97fff
  2. 12 Jun, 2003 2 commits
  3. 11 Jun, 2003 30 commits