]> Zhao Yanbai Git Server - minix.git/commit
Kernel: make SIGKMESS target process list dynamic 93/993/2
authorDavid van Moolenbroek <david@minix3.org>
Sat, 21 Sep 2013 13:03:20 +0000 (15:03 +0200)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:04:54 +0000 (09:04 +0100)
commit8fea5ab8bdb0aa2a991f44c6b9c243ba72b642c0
treee9c5c45193b3142bc723d63e072333889e503405
parentde975579a44a6940bca35c08c844942c083117aa
Kernel: make SIGKMESS target process list dynamic

The set of processes to which a SIGKMESS signal is sent whenever new
diagnostics messages are added to the kernel's message buffer, is now
no longer hardcoded. Instead, processes can (un)register themselves
to receive such notifications, by means of sys_diagctl().

Change-Id: I9d6ac006a5d9bbfad2757587a068fc1ec3cc083e
16 files changed:
drivers/log/log.c
drivers/tty/tty.c
include/minix/com.h
include/minix/config.h
include/minix/syslib.h
kernel/arch/earm/pre_init.c
kernel/arch/i386/pre_init.c
kernel/priv.h
kernel/proto.h
kernel/system.c
kernel/system/do_diagctl.c
kernel/system/do_privctl.c
kernel/system/do_update.c
kernel/utility.c
lib/libsys/kputc.c
lib/libsys/sys_diagctl.c