06 Nov, 2008

1 commit

  • Add a no_file_caps boot option when file capabilities are
    compiled into the kernel (CONFIG_SECURITY_FILE_CAPABILITIES=y).

    This allows distributions to ship a kernel with file capabilities
    compiled in, without forcing users to use (and understand and
    trust) them.

    When no_file_caps is specified at boot, then when a process executes
    a file, any file capabilities stored with that file will not be
    used in the calculation of the process' new capability sets.

    This means that booting with the no_file_caps boot option will
    not be the same as booting a kernel with file capabilities
    compiled out - in particular a task with CAP_SETPCAP will not
    have any chance of passing capabilities to another task (which
    isn't "really" possible anyway, and which may soon by killed
    altogether by David Howells in any case), and it will instead
    be able to put new capabilities in its pI. However since fI
    will always be empty and pI is masked with fI, it gains the
    task nothing.

    We also support the extra prctl options, setting securebits and
    dropping capabilities from the per-process bounding set.

    The other remaining difference is that killpriv, task_setscheduler,
    setioprio, and setnice will continue to be hooked. That will
    be noticable in the case where a root task changed its uid
    while keeping some caps, and another task owned by the new uid
    tries to change settings for the more privileged task.

    Changelog:
    Nov 05 2008: (v4) trivial port on top of always-start-\
    with-clear-caps patch
    Sep 23 2008: nixed file_caps_enabled when file caps are
    not compiled in as it isn't used.
    Document no_file_caps in kernel-parameters.txt.

    Signed-off-by: Serge Hallyn
    Acked-by: Andrew G. Morgan
    Signed-off-by: James Morris

    Serge E. Hallyn
     

04 Nov, 2008

2 commits


31 Oct, 2008

16 commits

  • Impact: add new generic io_map_*() APIs

    Graphics devices have large PCI apertures which would consume a significant
    fraction of a 32-bit address space if mapped during driver initialization.
    Using ioremap at runtime is impractical as it is too slow.

    This new set of interfaces uses atomic mappings on 32-bit processors and a
    large static mapping on 64-bit processors to provide reasonable 32-bit
    performance and optimal 64-bit performance.

    The current implementation sits atop the io_map_atomic fixmap-based
    mechanism for 32-bit processors.

    This includes some editorial suggestions from Randy Dunlap for
    Documentation/io-mapping.txt

    Signed-off-by: Keith Packard
    Signed-off-by: Eric Anholt
    Signed-off-by: Ingo Molnar

    Keith Packard
     
  • Paul Mundt
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: fix irq vectors.
    lguest: fix early_ioremap.
    lguest: fix example launcher compile after moved asm-x86 dir.

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: remove sched-design.txt from 00-INDEX
    sched: change sched_debug's mode to 0444

    Linus Torvalds
     
  • …nel/git/tip/linux-2.6-tip

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    ftrace: handle archs that do not support irqs_disabled_flags

    Linus Torvalds
     
  • Signed-off-by: Rusty Russell

    Rusty Russell
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure
    [ARM] mx31ads: Add missing include
    [ARM] MXC: Fix mxc_gpio_get(), which must read PSR register instead DR.
    [ARM] MX3: Use ioremap wrapper to map SoC devices nonshared
    [ARM] gpio_free might sleep, arm architecture
    [ARM] ep93xx: fix OHCI DMA mask
    leds: da903x: (da9030 only) led brightness reversed.
    [ARM] sharpsl_pm: fix compilation w/o CONFIG_PM
    [ARM] pcm037: map AIPS1 and AIPS2 as nonshared area
    [ARM] build fixes for netX serial driver
    [ARM] 5323/1: Remove outdated empeg documentation.
    [ARM] 5299/1: Add maintainer for Mobilepro 900/c
    [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl
    [ARM] pxa/spitz: fix spi cs on spitz
    [ARM] 5322/1: Fix fastpath issue in mmci.c
    [ARM] xsc3: revert writethrough memory-type encoding change

    Linus Torvalds
     
  • Impact: build fix on non-lockdep architectures

    Some architectures do not support a way to read the irq flags that
    is set from "local_irq_save(flags)" to determine if interrupts were
    disabled or enabled. Ftrace uses this information to display to the user
    if the trace occurred with interrupts enabled or disabled.

    Besides the fact that those archs that do not support this will fail to
    compile, unless they fix it, we do not want to have the trace simply
    say interrupts were not disabled or they were enabled, without knowing
    the real answer.

    This patch adds a 'X' in the output to let the user know that the
    architecture they are running on does not support a way for the tracer
    to determine if interrupts were enabled or disabled. It also lets those
    same archs compile with tracing enabled.

    Signed-off-by: Steven Rostedt
    Signed-off-by: Ingo Molnar

    Steven Rostedt
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, gart: fix gart detection for Fam11h CPUs
    x86: 64 bit print out absent pages num too
    x86, kdump: fix invalid access on i386 sparsemem
    x86: fix APIC_DEBUG with inquire_remote_apic
    x86: AMD microcode patch loader author update
    x86: microcode patch loader author update
    mailmap: add Peter Oruba
    x86, bts: improve help text for BTS config
    doc/x86: fix doc subdirs

    Linus Torvalds
     
  • * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    i2c-s3c2410: Correct use of ! and &
    i2c: The i2c mailing list is moving
    scx200_i2c: Add missing class parameter

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    Driver core: fix 'dynamic_debug' cmd line parameter
    HOWTO: Sync patch for jp_JP/HOWTO
    Update stable tree documentation
    sysfs: Fix return values for sysdev_store_{ulong,int}
    driver core: drivers/base/sys.c: update comments
    Document kernel taint flags properly

    Linus Torvalds
     
  • Acked-by: Randy Dunlap
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Just corrected the book name. I'm probably the only one who ever read
    this file :-)

    Signed-off-by: Jiri Pirko
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Pirko
     
  • The total width of the command name plus spaces should be
    8 characters, but were 7 and 9, respectively. With 8 chars,
    all commands are now lining up nicely.

    The mandocs, psdocs, xmldocs commands are OK.

    Before:
    HOSTCC scripts/basic/docproc
    DOCPROC Documentation/DocBook/deviceiobook.xml
    HTML Documentation/DocBook/deviceiobook.html
    DOCPROC Documentation/DocBook/wanbook.xml
    PDF Documentation/DocBook/wanbook.pdf

    After:
    HOSTCC scripts/basic/docproc
    DOCPROC Documentation/DocBook/deviceiobook.xml
    HTML Documentation/DocBook/deviceiobook.html
    DOCPROC Documentation/DocBook/wanbook.xml
    PDF Documentation/DocBook/wanbook.pdf

    Signed-off-by: Hans Ulrich Niedermann
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hans Ulrich Niedermann
     
  • Nothing uses prepare_write or commit_write. Remove them from the tree
    completely.

    [akpm@linux-foundation.org: schedule simple_prepare_write() for unexporting]
    Signed-off-by: Nick Piggin
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

30 Oct, 2008

7 commits


29 Oct, 2008

1 commit


28 Oct, 2008

3 commits

  • The Documentation/i386 and Documentation/x86_64 directories and their
    contents have been moved into Documentation/x86. Fix references to
    those files accordingly.

    Signed-off-by: Uwe Hermann
    Signed-off-by: Randy Dunlap
    Signed-off-by: Ingo Molnar

    Uwe Hermann
     
  • This code has been dead for many years. The last update it received
    was in 2003 in order to update it for the driver model changes, though
    it had already been in disarray and unused before that point. The only
    boards that ever used this chip have not had users in many years either,
    so it is finally safe to just kill it off and move on with life.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Impact: documentation fix

    sched-design-CFS.txt wrongly references sched_granularity_ns sysctl,
    as its name in fact is sched_min_granularity_ns.

    Signed-off-by: Jiri Kosina
    Acked-by: Peter Zijlstra
    Signed-off-by: Ingo Molnar

    Jiri Kosina
     

27 Oct, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: psmouse - add support for Elantech touchpads
    Input: i8042 - add Blue FB5601 to noloop exception table

    Linus Torvalds
     
  • Fix docbook fatal errors (file location changed):

    docproc: lin2628-rc1/include/asm-x86/io_32.h: No such file or directory
    make[1]: *** [Documentation/DocBook/deviceiobook.xml] Error 1

    docproc: lin2628-rc1/include/asm-x86/atomic_32.h: No such file or directory
    make[1]: *** [Documentation/DocBook/kernel-api.xml] Error 1

    docproc: lin2628-rc1/include/asm-x86/mca_dma.h: No such file or directory
    make[1]: *** [Documentation/DocBook/mcabook.xml] Error 1

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • The LM99 differs from the LM86, LM89 and LM90 in that it reports
    remote temperatures (temp2) 16 degrees lower than they really are. So
    far we have been cheating and handled this in userspace but it really
    should be handled by the driver directly.

    Signed-off-by: Jean Delvare
    Cc: Matthew Garrett

    Jean Delvare
     

24 Oct, 2008

2 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (123 commits)
    dock: make dock driver not a module
    ACPI: fix ia64 build warning
    ACPI: hack around sysfs warning with link order
    ACPI suspend: fix build warning when CONFIG_ACPI_SLEEP=n
    intel_menlo: fix build warning
    panasonic-laptop: fix build
    ACPICA: Update version to 20080926
    ACPICA: Add support for zero-length buffer-to-string conversions
    ACPICA: New: Validation for predefined ACPI methods/objects
    ACPICA: Fix for implicit return compatibility
    ACPICA: Fixed a couple memory leaks associated with "implicit return"
    ACPICA: Optimize buffer allocation procedure
    ACPICA: Fix possible memory leak, error exit path
    ACPICA: Fix fault after mem allocation failure in AML parser
    ACPICA: Remove unused ACPI register bit definition
    ACPICA: Update version to 20080829
    ACPICA: Fix possible memory leak in acpi_ns_get_external_pathname
    ACPICA: Cleanup for internal Reference Object
    ACPICA: Update comments - no functional changes
    ACPICA: Update for Reference ACPI_OPERAND_OBJECT
    ...

    Linus Torvalds
     
  • * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    i2c: Add info->archdata field
    i2c: Inform about deprecated chips directory
    i2c: Use pci_ioremap_bar()
    Schedule removal of the legacy i2c device driver binding model
    i2c: Clean up
    i2c: Update and clean up writing-clients document
    i2c: Drop 2-byte address block transfer defines
    i2c: Delete legacy model documentation
    i2c: Constify i2c_get_clientdata's parameter
    i2c: Delete outdated client porting guide
    i2c: Make clear what the class field of i2c_adapter is good for
    i2c-algo-pcf: Fix typo in debugging log message
    i2c-algo-pcf: Add adapter hooks around xfer begin and end
    i2c-algo-pcf: Pass adapter data into ->waitforpin() method
    i2c-i801: Add support for Intel Ibex Peak

    Linus Torvalds
     

23 Oct, 2008

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (53 commits)
    powerpc: Support for relocatable kdump kernel
    powerpc: Don't use a 16G page if beyond mem= limits
    powerpc: Add del_node() for early boot code to prune inapplicable devices.
    powerpc: Further compile fixup for STRICT_MM_TYPECHECKS
    powerpc: Remove empty #else from signal_64.c
    powerpc: Move memory size print into common show_cpuinfo for 32-bit
    hvc_console: Remove __devexit annotation of hvc_remove()
    hvc_console: Add support for tty window resizing
    hvc_console: Fix loop if put_char() returns 0
    hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOS
    hvc_console: Add a hangup notifier for backends
    powerpc/83xx: Add DS1339 RTC support for MPC8349E-mITX boards .dts
    powerpc/83xx: Add support for MCU microcontroller in .dts files
    powerpc/85xx: Move mpc8572ds.dts to address-cells/size-cells =
    of/spi: Support specifying chip select as active high via device tree
    powerpc: Remove device_type = "board_control" properties in .dts files
    i2c-cpm: Suppress autoprobing for devices
    powerpc/85xx: Fix mpc8536ds dma interrupt numbers
    powerpc/85xx: Enable enhanced functions for 8536 TSEC
    powerpc: Delete unused prom_strtoul and prom_memparse
    ...

    Linus Torvalds
     
  • * 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb: (47 commits)
    uwb: wrong sizeof argument in mac address compare
    uwb: don't use printk_ratelimit() so often
    uwb: use kcalloc where appropriate
    uwb: use time_after() when purging stale beacons
    uwb: add credits for the original developers of the UWB/WUSB/WLP subsystems
    uwb: add entries in the MAINTAINERS file
    uwb: depend on EXPERIMENTAL
    wusb: wusb-cbaf (CBA driver) sysfs ABI simplification
    uwb: document UWB and WUSB sysfs files
    uwb: add symlinks in sysfs between radio controllers and PALs
    uwb: dont tranmit identification IEs
    uwb: i1480/GUWA100U: fix firmware download issues
    uwb: i1480: remove MAC/PHY information checking function
    uwb: add Intel i1480 HWA to the UWB RC quirk table
    uwb: disable command/event filtering for D-Link DUB-1210
    uwb: initialize the debug sub-system
    uwb: Fix handling IEs with empty IE data in uwb_est_get_size()
    wusb: fix bmRequestType for Abort RPipe request
    wusb: fix error path for wusb_set_dev_addr()
    wusb: add HWA host controller driver
    ...

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: (41 commits)
    [IA64] Fix annoying IA64_TR_ALLOC_MAX message.
    [IA64] kill sys32_pipe
    [IA64] remove sys32_pause
    [IA64] Add Variable Page Size and IA64 Support in Intel IOMMU
    ia64/pv_ops: paravirtualized instruction checker.
    ia64/xen: a recipe for using xen/ia64 with pv_ops.
    ia64/pv_ops: update Kconfig for paravirtualized guest and xen.
    ia64/xen: preliminary support for save/restore.
    ia64/xen: define xen machine vector for domU.
    ia64/pv_ops/xen: implement xen pv_time_ops.
    ia64/pv_ops/xen: implement xen pv_irq_ops.
    ia64/pv_ops/xen: define the nubmer of irqs which xen needs.
    ia64/pv_ops/xen: implement xen pv_iosapic_ops.
    ia64/pv_ops/xen: paravirtualize entry.S for ia64/xen.
    ia64/pv_ops/xen: paravirtualize ivt.S for xen.
    ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.
    ia64/pv_ops/xen: define xen paravirtualized instructions for hand written assembly code
    ia64/pv_ops/xen: define xen pv_cpu_ops.
    ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.
    ia64/pv_ops/xen: elf note based xen startup.
    ...

    Linus Torvalds
     
  • Conflicts:
    MAINTAINERS
    arch/x86/kernel/acpi/boot.c
    arch/x86/kernel/acpi/sleep.c
    drivers/acpi/Kconfig
    drivers/pnp/Makefile
    drivers/pnp/quirks.c

    Signed-off-by: Len Brown

    Len Brown
     
  • Len Brown