sched_getaffinity: Check arguments in the same order as in Linux
(1) Check if size is large enough (2) Check if size is positive Fujitsu: POSTK_DEBUG_TEMP_FIX_5 Refs: #1121 Change-Id: I3e41720c89ef89294820f7f4fa8df1a69a7011b0
This commit is contained in:
committed by
Dominique Martinet
parent
11756d96ef
commit
e7b6a3472b
14
test/issues/1121/Makefile
Normal file
14
test/issues/1121/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
CC = gcc
|
||||
TARGET=
|
||||
|
||||
CPPFLAGS =
|
||||
LDFLAGS =
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
test: all
|
||||
@sh ./C1121.sh
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) *.o
|
||||
|
||||
Reference in New Issue
Block a user