]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix SI_USER for FreeBSD
authorShenghou Ma <minux.ma@gmail.com>
Sun, 16 Sep 2012 17:08:41 +0000 (01:08 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 16 Sep 2012 17:08:41 +0000 (01:08 +0800)
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;