Script started on 2019-11-15 06:32:44+00:00
bash-4.4$ uname -m
aarch64
bash-4.4$ make test
gcc -g -Wall -o C452T01 C452T01.c
sh ./C452.sh
mcstop+release.sh ... done
mcreboot.sh -c 2-7,10-15 -m 2G@0 ... done
*** C452T01 test start
000000400000-000000410000 r-xs 0 0:0 0			
000000410000-000000420000 r--s 0 0:0 0			
000000420000-000000430000 rw-s 0 0:0 0			
080000000000-080000020000 r-xs 0 0:0 0			
080000020000-080000030000 r--s 0 0:0 0			
080000030000-080000040000 rw-s 0 0:0 0			
0ffffffe0000-100000000000 rw-p 0 0:0 0			
100000000000-100000010000 r--s 0 0:0 0			[vsyscall]
100000010000-100000020000 r-xs 0 0:0 0			[vdso]
100000030000-100000190000 r-xp 0 0:0 0			/usr/lib64/libc-2.28.so
100000190000-1000001a0000 r--p 0 0:0 0			/usr/lib64/libc-2.28.so
1000001a0000-1000001b0000 rw-p 0 0:0 0			/usr/lib64/libc-2.28.so
1000001b0000-1000001c0000 rw-p 0 0:0 0			
3fffff800000-400000000000 rw-p 0 0:0 0			[stack]
*** C452T01 PASS
mmap01      1  TPASS  :  Functionality of mmap() successful
*** C452T02: mmap01 PASS (1)
mmap02      1  TPASS  :  Functionality of mmap() successful
*** C452T03: mmap02 PASS (1)
mmap03      1  TPASS  :  mmap() functionality is correct
*** C452T04: mmap03 PASS (1)
mmap04      1  TPASS  :  Functionality of mmap() successful
*** C452T05: mmap04 PASS (1)
mmap12      1  TPASS  :  Functionality of mmap() successful
*** C452T06: mmap12 PASS (1)
brk01       1  TPASS  :  brk(543512330) returned 0, new size verified by sbrk
*** C452T07: brk01 PASS (1)
fork01      1  TPASS  :  fork() returned 4922
fork01      2  TPASS  :  child pid and fork() return agree: 4922
*** C452T08: fork01 PASS (2)
fork02      0  TINFO  :  Inside parent
fork02      0  TINFO  :  Inside child
fork02      0  TINFO  :  exit status of wait 0
fork02      1  TPASS  :  test 1 PASSED
*** C452T09: fork02 PASS (1)
fork03      0  TINFO  :  process id in parent of child from fork : 5008
fork03      1  TPASS  :  test 1 PASSED
*** C452T10: fork03 PASS (1)
mremap04    1  TPASS  :  mremap() failed, 'MREMAP_MAYMOVE flag unset', errno 12
*** C452T11: mremap04 PASS (1)
mremap05    1  TPASS  :  MREMAP_FIXED requires MREMAP_MAYMOVE
mremap05    2  TPASS  :  new_addr has to be page aligned
mremap05    3  TPASS  :  old/new area must not overlap
mremap05    4  TPASS  :  mremap #1
mremap05    5  TPASS  :  mremap #1 value OK
mremap05    6  TPASS  :  mremap #2
mremap05    7  TPASS  :  mremap #2 value OK
*** C452T12: mremap05 PASS (7)
munmap01    1  TPASS  :  Functionality of munmap() successful
*** C452T13: munmap01 PASS (1)
shmat01     1  TPASS  :  conditions and functionality are correct
shmat01     2  TPASS  :  conditions and functionality are correct
shmat01     3  TPASS  :  conditions and functionality are correct
shmat01     4  TPASS  :  conditions and functionality are correct
*** C452T14: shmat01 PASS (4)
shmdt01     1  TPASS  :  shared memory detached correctly
*** C452T15: shmdt01 PASS (1)
mlock01     1  TPASS  :  mlock passed
mlock01     2  TPASS  :  mlock passed
mlock01     3  TPASS  :  mlock passed
mlock01     4  TPASS  :  mlock passed
*** C452T16: mlock01 PASS (4)
mlock04     0  TINFO  :  locked 40960 bytes from 0x1000001b0000
mlock04     1  TPASS  :  test succeeded.
*** C452T17: mlock04 PASS (1)
execl01_child    1  TPASS  :  execve01_child executed
execve01    0  TINFO  :  Child process returned TPASS
*** C452T18: execve01 PASS (2)
exit01      1  TPASS  :  exit() test PASSED
*** C452T19: exit01 PASS (1)
exit02      1  TPASS  :  exit() test PASSED
*** C452T20: exit02 PASS (1)
exit_group01    1  TPASS  :  exit_group() succeeded
*** C452T21: exit_group01 PASS (1)
mprotect02    1  TPASS  :  got SIGSEGV as expected
mprotect02    2  TPASS  :  didn't get SIGSEGV
*** C452T22: mprotect02 PASS (2)
mprotect03    0  TINFO  :  received signal: SIGSEGV
mprotect03    1  TPASS  :  SIGSEGV generated as expected
*** C452T23: mprotect03 PASS (1)
msync01     1  TPASS  :  Functionality of msync() successful
*** C452T24: msync01 PASS (1)
msync02     1  TPASS  :  Functionality of msync successful
*** C452T25: msync02 PASS (1)
munlock01    1  TPASS  :  test 0 passed length = 1
munlock01    2  TPASS  :  test 1 passed length = 1024
munlock01    3  TPASS  :  test 2 passed length = 1048576
munlock01    4  TPASS  :  test 3 passed length = 10485760
*** C452T26: munlock01 PASS (4)
remap_file_pages01    1  TPASS  :  Non-Linear shm file OK
remap_file_pages01    2  TPASS  :  Non-Linear /tmp/ file OK
*** C452T27: remap_file_pages01 PASS (2)
remap_file_pages01    1  TPASS  :  Non-Linear shm file OK
remap_file_pages01    2  TPASS  :  Non-Linear /tmp/ file OK
*** C452T28: remap_file_pages01 PASS (2)
bash-4.4$ exit
exit

Script done on 2019-11-15 06:33:24+00:00
