]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1] runtime: fix SI_USER for FreeBSD
authorShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:55:13 +0000 (05:55 +1000)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:55:13 +0000 (05:55 +1000)
««« backport 283f6087807b
runtime: fix SI_USER for FreeBSD
Ref: http://svnweb.freebsd.org/base/head/sys/sys/signal.h?revision=HEAD&view=markup

R=golang-dev, devon.odell, r
CC=golang-dev
https://golang.org/cl/6490118

»»»

src/pkg/runtime/os_freebsd.h

index 5e8de5434a8936e418c4bce4b8fdfe4d5292f037..b440bfeec65bdefc56cd686ef4b20350a406fb65 100644 (file)
@@ -15,7 +15,7 @@ int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
 void   runtime·raisesigpipe(void);
 
 #define        NSIG 33
-#define        SI_USER 0
+#define        SI_USER 0x10001
 
 #define RLIMIT_AS 10
 typedef struct Rlimit Rlimit;