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: <ZZu8bzshIjF689TQ@gmail.com>
Date: Mon, 8 Jan 2024 10:12:15 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>, Will Deacon <will@...nel.org>,
	Waiman Long <longman@...hat.com>, Boqun Feng <boqun.feng@...il.com>,
	Borislav Petkov <bp@...en8.de>
Subject: [GIT PULL] locking changes for v6.8

Linus,

Please pull the latest locking/core git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2024-01-08

   # HEAD: 2b9d9e0a9ba0e24cb9c78336481f0ed8b2bc1ff2 locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked

Locking changes for v6.8:

- lock guards:

   - Use lock guards in the ptrace code

   - Introduce conditional guards to extend to conditional lock
     primitives like mutex_trylock()/mutex_lock_interruptible()/etc.

- lockdep:

   - Optimize 'struct lock_class' to be smaller

   - Update file patterns in MAINTAINERS

- mutexes: Document mutex lifetime rules a bit more

 Thanks,

	Ingo

------------------>
Christophe JAILLET (2):
      MAINTAINERS: Add include/linux/lockdep*.h
      locking/lockdep: Slightly reorder 'struct lock_class' to save some memory

Ingo Molnar (1):
      locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked

Jann Horn (1):
      locking/mutex: Document that mutex_unlock() is non-atomic

Peter Zijlstra (2):
      cleanup: Add conditional guard support
      ptrace: Convert ptrace_attach() to use lock guards


 Documentation/locking/mutex-design.rst |  18 ++++
 MAINTAINERS                            |   2 +-
 include/linux/cleanup.h                |  52 ++++++++++-
 include/linux/lockdep_types.h          |   2 +-
 include/linux/mutex.h                  |   3 +-
 include/linux/rwsem.h                  |   8 +-
 include/linux/sched/task.h             |   2 +
 include/linux/spinlock.h               |  41 +++++++++
 kernel/locking/mutex.c                 |   5 ++
 kernel/ptrace.c                        | 154 ++++++++++++++++-----------------
 10 files changed, 197 insertions(+), 90 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ