diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-11-01 15:08:17 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-11-23 17:24:54 +0100 |
commit | 1b6c5c4f32f13cc8f26d38a6159a958a7a9d29b2 (patch) | |
tree | e6ff84b56fe2837cf44fe625dd09431e2148c5ab /libc/stdio/_READ.c | |
parent | 9b42da7d0558884e2a3cc9a8674ccfc752369610 (diff) |
libc: do not rely upon ulimit kernel syscall.
On several architectures __NR_ulimit syscall number is currently
defined but it is remapped onto sys_ni_syscall, while on other
architectures they are not longer defined.
So use {get,set}rlimit only to implement ulimit interface.
It fixes LTP ulimit01 test case.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdio/_READ.c')
0 files changed, 0 insertions, 0 deletions