sim-se: add new option to getrlimit syscall
authorBrandon Potter <brandon.potter@amd.com>
Mon, 11 Mar 2019 18:13:47 +0000 (14:13 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Thu, 1 Aug 2019 19:34:51 +0000 (19:34 +0000)
commit2b071a02e7e136cde1caf70f35a384f052b75cad
treed8c265d336204278422e2f7fd669325f0d1e3cbc
parent603f1378c0459f58593683782eaafb69500f0693
sim-se: add new option to getrlimit syscall

The NPROC option was not serviced by the getrlimit syscall.
This changeset adds in the necessary code to service the option.

Change-Id: I679d3949c3bbb0628188f4e33034028d7726fdcb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17109
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
src/sim/syscall_emul.hh