1. 08 3月, 2018 1 次提交
    • T
      ALSA: seq: More protection for concurrent write and ioctl races · 7bd80091
      Takashi Iwai 提交于
      This patch is an attempt for further hardening against races between
      the concurrent write and ioctls.  The previous fix d15d662e
      ("ALSA: seq: Fix racy pool initializations") covered the race of the
      pool initialization at writer and the pool resize ioctl by the
      client->ioctl_mutex (CVE-2018-1000004).  However, basically this mutex
      should be applied more widely to the whole write operation for
      avoiding the unexpected pool operations by another thread.
      
      The only change outside snd_seq_write() is the additional mutex
      argument to helper functions, so that we can unlock / relock the given
      mutex temporarily during schedule() call for blocking write.
      
      Fixes: d15d662e ("ALSA: seq: Fix racy pool initializations")
      Reported-by: N范龙飞 <long7573@126.com>
      Reported-by: NNicolai Stange <nstange@suse.de>
      Reviewed-and-tested-by: NNicolai Stange <nstange@suse.de>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7bd80091
  2. 20 6月, 2017 1 次提交
    • I
      sched/wait: Rename wait_queue_t => wait_queue_entry_t · ac6424b9
      Ingo Molnar 提交于
      Rename:
      
      	wait_queue_t		=>	wait_queue_entry_t
      
      'wait_queue_t' was always a slight misnomer: its name implies that it's a "queue",
      but in reality it's a queue *entry*. The 'real' queue is the wait queue head,
      which had to carry the name.
      
      Start sorting this out by renaming it to 'wait_queue_entry_t'.
      
      This also allows the real structure name 'struct __wait_queue' to
      lose its double underscore and become 'struct wait_queue_entry',
      which is the more canonical nomenclature for such data types.
      
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      ac6424b9
  3. 16 6月, 2017 1 次提交
  4. 21 3月, 2017 1 次提交
  5. 02 3月, 2017 1 次提交
  6. 06 2月, 2017 1 次提交
  7. 15 2月, 2016 1 次提交
  8. 10 3月, 2015 1 次提交
  9. 23 6月, 2014 1 次提交
  10. 14 2月, 2014 1 次提交
  11. 01 11月, 2011 1 次提交
  12. 15 2月, 2011 1 次提交
  13. 13 8月, 2008 1 次提交
  14. 01 2月, 2008 1 次提交
    • T
      [ALSA] Remove sound/driver.h · 9004acc7
      Takashi Iwai 提交于
      This header file exists only for some hacks to adapt alsa-driver
      tree.  It's useless for building in the kernel.  Let's move a few
      lines in it to sound/core.h and remove it.
      With this patch, sound/driver.h isn't removed but has just a single
      compile warning to include it.  This should be really killed in
      future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      9004acc7
  15. 16 10月, 2007 1 次提交
  16. 20 12月, 2006 1 次提交
  17. 23 6月, 2006 1 次提交
  18. 10 1月, 2006 1 次提交
  19. 03 1月, 2006 1 次提交
  20. 04 11月, 2005 1 次提交
  21. 12 9月, 2005 1 次提交
  22. 28 7月, 2005 1 次提交
  23. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4