aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2010-08-24 07:22:24 +0000
committerDavid Xu <davidxu@FreeBSD.org>2010-08-24 07:22:24 +0000
commitbaf28b69f43f5e51a5182149c160618fc38669fb (patch)
tree8fc996224144de0a3eef647ba48bffd0526917cd /sys/sys/signal.h
parentb57429d0820250b6329535bf5a39d60305c79efb (diff)
downloadsrc-baf28b69f43f5e51a5182149c160618fc38669fb.tar.gz
src-baf28b69f43f5e51a5182149c160618fc38669fb.zip
- According to specification, SI_USER code should only be generated by
standard kill(). On other systems, SI_LWP is generated by lwp_kill(). This will allow conforming applications to differentiate between signals generated by standard events and those generated by other implementation events in a manner compatible with existing practice. - Bump __FreeBSD_version
Notes
Notes: svn path=/head/; revision=211732
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index a7ca96e37d29..a86205755722 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -338,6 +338,7 @@ struct sigaction {
#define SI_MESGQ 0x10005 /* Signal generated by arrival of a */
/* message on an empty message queue. */
#define SI_KERNEL 0x10006
+#define SI_LWP 0x10007 /* Signal sent by thr_kill */
#endif
#if __BSD_VISIBLE
#define SI_UNDEFINED 0