1. 02 Nov, 2008 18 commits
  2. 01 Nov, 2008 16 commits
  3. 31 Oct, 2008 6 commits
    • Alexey Dobriyan's avatar
      key: fix setkey(8) policy set breakage · 920da692
      Alexey Dobriyan authored
      Steps to reproduce:
      
      	#/usr/sbin/setkey -f
      	flush;
      	spdflush;
      
      	add 192.168.0.42 192.168.0.1 ah 24500 -A hmac-md5 "1234567890123456";
      	add 192.168.0.42 192.168.0.1 esp 24501 -E 3des-cbc "123456789012123456789012";
      
      	spdadd 192.168.0.42 192.168.0.1 any -P out ipsec
      		esp/transport//require
      		ah/transport//require;
      
      setkey: invalid keymsg length
      
      Policy dump will bail out with the same message after that.
      
      -recv(4, "\2\16\0\0\32\0\3\0\0\0\0\0\37\r\0\0\3\0\5\0\377 \0\0\2\0\0\0\300\250\0*\0"..., 32768, 0) = 208
      +recv(4, "\2\16\0\0\36\0\3\0\0\0\0\0H\t\0\0\3\0\5\0\377 \0\0\2\0\0\0\300\250\0*\0"..., 32768, 0) = 208
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      920da692
    • Linus Torvalds's avatar
      Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux · e06f42d6
      Linus Torvalds authored
      * 'for-2.6.28' of git://linux-nfs.org/~bfields/linux:
        NLM: Set address family before calling nlm_host_rebooted()
        nfsd: fix failure to set eof in readdir in some situations
      e06f42d6
    • Eric Paris's avatar
      SELinux: properly handle empty tty_files list · 37dd0bd0
      Eric Paris authored
      SELinux has wrongly (since 2004) had an incorrect test for an empty
      tty->tty_files list.  With an empty list selinux would be pointing to part
      of the tty struct itself and would then proceed to dereference that value
      and again dereference that result.  An F10 change to plymouth on a ppc64
      system is actually currently triggering this bug.  This patch uses
      list_empty() to handle empty lists rather than looking at a meaningless
      location.
      
      [note, this fixes the oops reported in
      https://bugzilla.redhat.com/show_bug.cgi?id=469079]
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      37dd0bd0
    • Jesper Nilsson's avatar
      [CRIS] Remove links from CRIS build · c5ec6fb0
      Jesper Nilsson authored
      Remove the links to architecture and machine dependent directories
      (boot, lib, drivers, arch, mach)
      
      The links were created and used mostly from the arch/cris/Makefile,
      so why not dispense with them altogether?
      Changed $(ARCH) to "cris" in Makefile, it is easier to read this way.
      
      The CRISv32 head.S common files for the kernel and compressed images
      needed to be modified to use ifdefs instead of using the now removed
      mach link. Since there are only two versions, this is not a huge loss
      in readability.
      
      The link to vmlinux.lds.S is also replaced with a merged version
      which uses ifdefs to select the correct layout.
      System.map before and after are identical.
      Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c5ec6fb0
    • Jesper Nilsson's avatar
      [CRIS] Merge asm-offsets.c for both arches into one file. · 0365f707
      Jesper Nilsson authored
      Eliminates the link to arch specific asm-offsets.c from CRIS
      architecture build system.
      
      Resulting asm-offsets.s are identical before and after change
      for both arch-v10 and arch-v32.
      Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      0365f707
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · f891caf2
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (23 commits)
        Revert "powerpc: Sync RPA note in zImage with kernel's RPA note"
        powerpc: Fix compile errors with CONFIG_BUG=n
        powerpc: Fix format string warning in arch/powerpc/boot/main.c
        powerpc: Fix bug in kernel copy of libfdt's fdt_subnode_offset_namelen()
        powerpc: Remove duplicate DMA entry from mpc8313erdb device tree
        powerpc/cell/OProfile: Fix on-stack array size in activate spu profiling function
        powerpc/mpic: Fix regression caused by change of default IRQ affinity
        powerpc: Update remaining dma_mapping_ops to use map/unmap_page
        powerpc/pci: Fix unmapping of IO space on 64-bit
        powerpc/pci: Properly allocate bus resources for hotplug PHBs
        OF-device: Don't overwrite numa_node in device registration
        powerpc: Fix swapcontext system for VSX + old ucontext size
        powerpc: Fix compiler warning for the relocatable kernel
        powerpc: Work around ld bug in older binutils
        powerpc/ppc64/kdump: Better flag for running relocatable
        powerpc: Use is_kdump_kernel()
        powerpc: Kexec exit should not use magic numbers
        powerpc/44x: Update 44x defconfigs
        powerpc/40x: Update 40x defconfigs
        powerpc: enable heap randomization for linkstations
        ...
      f891caf2