tgkill: Fix argument validatation
Formerly, if tgid is specified as -1, tgkill() was equivalent to tkill(). Now it is treated as an error EINVAL. Change-Id: I47bc75d439662a36dc6167c4446a5277422de507 Refs: 1380
This commit is contained in:
committed by
Masamichi Takagi
parent
58106d791a
commit
ebc91cea0e
11
test/issues/1380/Makefile
Normal file
11
test/issues/1380/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
CFLAGS=-g
|
||||
LDFLAGS=
|
||||
|
||||
TARGET=
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
test: all
|
||||
./C1380.sh
|
||||
clean:
|
||||
rm -f $(TARGET) *.o *.txt
|
||||
Reference in New Issue
Block a user