procfs: Fix pread/pwrite to procfs fail when specified size is bigger than 4MB

Fujitsu: POSTK_DEBUG_TEMP_FIX_43
Refs: #1018
Change-Id: I736ac69885695ef8eeababc3fcfe69a6258b4e16
This commit is contained in:
Ken Sato
2018-08-08 17:00:28 +09:00
committed by Masamichi Takagi
parent ab284b0531
commit dd58d366c3
8 changed files with 410 additions and 164 deletions

20
test/issues/1018/Makefile Normal file
View File

@ -0,0 +1,20 @@
CC = gcc
TARGET=CT_001 CT_002
CPPFLAGS =
LDFLAGS =
all: $(TARGET)
CT_001: CT_001.c
$(CC) -o $@ $^ $(LDFLAGS)
CT_002: CT_002.c
$(CC) -o $@ $^ $(LDFLAGS)
test: all
@sh ./C1018.sh
clean:
rm -f $(TARGET) *.o