lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1480412276-16690-1-git-send-email-pmladek@suse.com>
Date:   Tue, 29 Nov 2016 10:37:53 +0100
From:   Petr Mladek <pmladek@...e.com>
To:     Jason Wessel <jason.wessel@...driver.com>
Cc:     Daniel Thompson <daniel.thompson@...aro.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
        linux-kernel@...r.kernel.org, Petr Mladek <pmladek@...e.com>
Subject: [PATCH v2 0/3] kdb: Fix locking in vkdb_printf()

This patchset fixes some races that I noticed when looked
over the kdbd_printf() code. v2 is based on the feedback
from Daniel Thompson and Sergey Senozhatsky.

Changes agaist v1:

  + Completely remove kdb_event (Daniel)
  + Avoid using smp_processor_id() (Sergey)
  + Better describe the whole situation in 3rd patch (Daniel)

Petr Mladek (3):
  kdb: Remove unused kdb_event handling
  kdb: Properly synchronize vkdb_printf() calls with other CPUs
  kdb: Call vkdb_printf() from vprintk_default() only when wanted

 include/linux/kdb.h            |  2 +-
 kernel/debug/kdb/kdb_io.c      | 37 +++++++++++++------------------------
 kernel/debug/kdb/kdb_main.c    |  1 -
 kernel/debug/kdb/kdb_private.h |  1 -
 kernel/printk/printk.c         |  3 ++-
 5 files changed, 16 insertions(+), 28 deletions(-)

-- 
1.8.5.6

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ