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>] [day] [month] [year] [list]
Date:	Tue, 15 Jul 2008 13:10:26 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>
Subject: [PULL] typesafe callbacks

As featured in linux-next for at least two full revs, and posted here.
Allows (but doesn't require) various callbacks to be the correct type
instead of void *.

kthread and timers for the moment, stop_machine and request_irq are
blocked pending textual clashes.

Added __attribute__((printf)) to kthread_create to this batch: textual
conflicts otherwise.

Thanks,
Rusty.
===
The following changes since commit 50515af207d410c9f228380e529c56f43c3de0bd:
  David Woodhouse (1):
        firmware: Correct dependency on CONFIG_EXTRA_FIRMWARE_DIR

are available in the git repository at:

  ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master

Rusty Russell (5):
      cast_if_type: allow macros functions which take more than one type.
      typesafe_cb: wrappers for typesafe callbacks.
      Label kthread_create() with printf attribute tag.
      typesafe: kthread_create and kthread_run
      typesafe: TIMER_INITIALIZER and setup_timer

 include/linux/compiler-gcc.h   |   18 ++++++++++++++++++
 include/linux/compiler-intel.h |    2 ++
 include/linux/kernel.h         |   35 +++++++++++++++++++++++++++++++++++
 include/linux/kthread.h        |   29 ++++++++++++++++++++++++++---
 include/linux/timer.h          |   32 +++++++++++++++++++++++---------
 kernel/kthread.c               |   29 +++++------------------------
 6 files changed, 109 insertions(+), 36 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ