procfs: Support multiple reads of e.g. /proc/*/maps

Refs: #1021
Change-Id: If36e1a0f3f41f0215868daf578e96775d96a59a3
This commit is contained in:
Tomoki Shirasawa
2018-08-22 16:18:23 +09:00
committed by Masamichi Takagi
parent e531ee626e
commit 895a8c4099
10 changed files with 1042 additions and 230 deletions

13
test/issues/1021/Makefile Normal file
View File

@@ -0,0 +1,13 @@
CC=gcc
TARGET=C1021
all:: $(TARGET)
C1021: C1021.c
$(CC) -o C1021 C1021.c -Wall -g
test:: $(TARGET)
sh ./C1021.sh
clean::
rm -f *.o $(TARGET)