syscall_emul: update getrlimit to use warn Don't use std::cerr directly, and just return EINVAL instead of aborting. (transplanted from 75f10b3e7938a96cbe15f30b9eedad41203be8e0)
syscall_emul: update getrlimit to use warn
Don't use std::cerr directly, and just return EINVAL instead of aborting.
(transplanted from 75f10b3e7938a96cbe15f30b9eedad41203be8e0)

andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin