1. 26 Jun, 2005 2 commits
    • Adrian Bunk's avatar
      [PATCH] remove redundant info from SubmittingPatches · 340ea397
      Adrian Bunk authored
      
      
      Since the Trivial Patch Monkey is mentioned both in steps 4.  and 5., I
      removed it from step4 (Select e-mail destination), since it should go under
      'Select your CC list'.
      Signed-off-by: default avatarCosmin Nicolaescu <cos@camelot.homelinux.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      340ea397
    • Christoph Lameter's avatar
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter authored
      
      
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: default avatarChristoph Lameter <christoph@lameter.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
  2. 25 Jun, 2005 20 commits
  3. 24 Jun, 2005 13 commits
    • Carsten Otte's avatar
      [PATCH] xip: description · d763b7a4
      Carsten Otte authored
      
      Signed-off-by: default avatarCarsten Otte <cotte@de.ibm.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      d763b7a4
    • Martin Waitz's avatar
      [PATCH] DocBook: update comments · 3d41088f
      Martin Waitz authored
      
      
      This patch updates some comments to match code changes.
      Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3d41088f
    • Martin Waitz's avatar
      [PATCH] DocBook: only use tabular style for long synopsis · 363412b4
      Martin Waitz authored
      
      
      There was a complaint that function declarations are shown tabular in the
      documentation since switching to xmlto.  This patch disables tabular mode
      when the function fits in one line.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      363412b4
    • Jiri Slaby's avatar
      [PATCH] docbook build fix · 597f6eea
      Jiri Slaby authored
      
      
      Fix documentation build with `make O='
      
      Cc: Martin Waitz <tali@admingilde.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      597f6eea
    • Michael Krufky's avatar
      [PATCH] DViCO FusionHDTV3 Gold-T documentation fix · 80d34362
      Michael Krufky authored
      
      
      Even though it says DViCO FusionHDTV3 Gold-Q on the box, Gold-T is printed
      on the card.  This fix corrects the error in all places, and corrects the
      tuner name Thomson DDT 7611 (ATSC/NTSC) in the documentation.
      
      This applies against 2.6.12-rc5-mm2 after applying Manueal Capinha's
      patch "Add support for PixelView Ultra Pro in v4l" (because of the
      change from card=27 to card=28)
      Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      80d34362
    • Mauro Carvalho Chehab's avatar
      [PATCH] Video for Linux Documentation · d81ef559
      Mauro Carvalho Chehab authored
      
      
      This patch synchronizes documentation from V4L CVS with current kernel
      release.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      d81ef559
    • John Levon's avatar
      [PATCH] oprofile: report anonymous region samples · 0c0a400d
      John Levon authored
      
      
      The below patch passes samples from anonymous regions to userspace instead
      of just dropping them.  This provides the support needed for reporting
      anonymous-region code samples (today: basic accumulated results; later:
      Java and other dynamically compiled code).
      
      As this changes the format, an upgrade to the just-released 0.9 release of
      the userspace tools is required.
      
      This patch is based upon an earlier one by Will Cohen <wcohen@redhat.com>
      Signed-off-by: default avatarJohn Levon <levon@movementarian.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0c0a400d
    • Johannes Stezenbach's avatar
      [PATCH] dvb: Add generalized dvb-usb driver · 776338e1
      Johannes Stezenbach authored
      
      
      Add generalized dvb-usb driver which supports a wide variety of devices.
      Signed-off-by: default avatarPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      776338e1
    • Johannes Stezenbach's avatar
      [PATCH] dvb: drop obsolete dibusb driver · b6a235b1
      Johannes Stezenbach authored
      
      
      Remove the dibusb driver which has been obsoleted by the generalized dvb-usb
      driver.
      Signed-off-by: default avatarPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b6a235b1
    • Corey Minyard's avatar
      [PATCH] ipmi: add power cycle capability · 3b625943
      Corey Minyard authored
      
      
      This patch to adds "power cycle" functionality to the IPMI power off module
      ipmi_poweroff.  It also contains changes to support procfs control of the
      feature.
      
      The power cycle action is considered an optional chassis control in the IPMI
      specification.  However, it is definitely useful when the hardware supports
      it.  A power cycle is usually required in order to reset a firmware in a bad
      state.  This action is critical to allow remote management of servers.
      
      The implementation adds power cycle as optional to the ipmi_poweroff module.
      It can be modified dynamically through the proc entry mentioned above.  During
      a power down and enabled, the power cycle command is sent to the BMC firmware.
       If it fails either due to non-support or some error, it will retry to send
      the command as power off.
      Signed-off-by: default avatarChristopher A. Poblete <Chris_Poblete@dell.com>
      Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3b625943
    • Corey Minyard's avatar
      [PATCH] ipmi: doc updates · 845e78a1
      Corey Minyard authored
      
      
      This cleans up the IPMI documentation to fix some problems and make it more
      accurate for the current drivers.
      Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      845e78a1
    • David Howells's avatar
      [PATCH] Keys: Make request-key create an authorisation key · 3e30148c
      David Howells authored
      
      
      The attached patch makes the following changes:
      
       (1) There's a new special key type called ".request_key_auth".
      
           This is an authorisation key for when one process requests a key and
           another process is started to construct it. This type of key cannot be
           created by the user; nor can it be requested by kernel services.
      
           Authorisation keys hold two references:
      
           (a) Each refers to a key being constructed. When the key being
           	 constructed is instantiated the authorisation key is revoked,
           	 rendering it of no further use.
      
           (b) The "authorising process". This is either:
      
           	 (i) the process that called request_key(), or:
      
           	 (ii) if the process that called request_key() itself had an
           	      authorisation key in its session keyring, then the authorising
           	      process referred to by that authorisation key will also be
           	      referred to by the new authorisation key.
      
      	 This means that the process that initiated a chain of key requests
      	 will authorise the lot of them, and will, by default, wind up with
      	 the keys obtained from them in its keyrings.
      
       (2) request_key() creates an authorisation key which is then passed to
           /sbin/request-key in as part of a new session keyring.
      
       (3) When request_key() is searching for a key to hand back to the caller, if
           it comes across an authorisation key in the session keyring of the
           calling process, it will also search the keyrings of the process
           specified therein and it will use the specified process's credentials
           (fsuid, fsgid, groups) to do that rather than the calling process's
           credentials.
      
           This allows a process started by /sbin/request-key to find keys belonging
           to the authorising process.
      
       (4) A key can be read, even if the process executing KEYCTL_READ doesn't have
           direct read or search permission if that key is contained within the
           keyrings of a process specified by an authorisation key found within the
           calling process's session keyring, and is searchable using the
           credentials of the authorising process.
      
           This allows a process started by /sbin/request-key to read keys belonging
           to the authorising process.
      
       (5) The magic KEY_SPEC_*_KEYRING key IDs when passed to KEYCTL_INSTANTIATE or
           KEYCTL_NEGATE will specify a keyring of the authorising process, rather
           than the process doing the instantiation.
      
       (6) One of the process keyrings can be nominated as the default to which
           request_key() should attach new keys if not otherwise specified. This is
           done with KEYCTL_SET_REQKEY_KEYRING and one of the KEY_REQKEY_DEFL_*
           constants. The current setting can also be read using this call.
      
       (7) request_key() is partially interruptible. If it is waiting for another
           process to finish constructing a key, it can be interrupted. This permits
           a request-key cycle to be broken without recourse to rebooting.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-Off-By: default avatarBenoit Boissinot <benoit.boissinot@ens-lyon.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3e30148c
    • David Howells's avatar
      [PATCH] keys: Discard key spinlock and use RCU for key payload · 76d8aeab
      David Howells authored
      
      
      The attached patch changes the key implementation in a number of ways:
      
       (1) It removes the spinlock from the key structure.
      
       (2) The key flags are now accessed using atomic bitops instead of
           write-locking the key spinlock and using C bitwise operators.
      
           The three instantiation flags are dealt with with the construction
           semaphore held during the request_key/instantiate/negate sequence, thus
           rendering the spinlock superfluous.
      
           The key flags are also now bit numbers not bit masks.
      
       (3) The key payload is now accessed using RCU. This permits the recursive
           keyring search algorithm to be simplified greatly since no locks need be
           taken other than the usual RCU preemption disablement. Searching now does
           not require any locks or semaphores to be held; merely that the starting
           keyring be pinned.
      
       (4) The keyring payload now includes an RCU head so that it can be disposed
           of by call_rcu(). This requires that the payload be copied on unlink to
           prevent introducing races in copy-down vs search-up.
      
       (5) The user key payload is now a structure with the data following it. It
           includes an RCU head like the keyring payload and for the same reason. It
           also contains a data length because the data length in the key may be
           changed on another CPU whilst an RCU protected read is in progress on the
           payload. This would then see the supposed RCU payload and the on-key data
           length getting out of sync.
      
           I'm tempted to drop the key's datalen entirely, except that it's used in
           conjunction with quota management and so is a little tricky to get rid
           of.
      
       (6) Update the keys documentation.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      76d8aeab
  4. 23 Jun, 2005 5 commits