Thread (5 messages) 5 messages, 4 authors, 2019-05-14

Re: [EXT] Re: [PATCH v9 00/24] ILP32 for ARM64

From: Yuri Norov <hidden>
Date: 2019-05-13 20:19:53
Also in: linux-arch, linux-arm-kernel, linux-doc, lkml, ltp

+ ltp@lists.linux.it
quoted hunk ↗ jump to hunk
There is a problem with the stack size accounting during execve when
there is no stack limit:

$ ulimit -s
8192
$ ./hello.ilp32 
Hello World!
$ ulimit -s unlimited
$ ./hello.ilp32 
Segmentation fault
$ strace ./hello.ilp32 
execve("./hello.ilp32", ["./hello.ilp32"], 0xfffff10548f0 /* 77 vars */) = -1 ENOMEM (Cannot allocate memory)
+++ killed by SIGSEGV +++
Segmentation fault (core dumped)

Andreas.
Thanks Andreas, I will take a look. Do we have such test in LTP?
    
Yury
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help