Skip to content

Commit 941a4f3

Browse files
committed
append syscall_getrlimit
1 parent 5f3fc47 commit 941a4f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qiling/os/posix/syscall/resource.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def ql_syscall_ugetrlimit(ql, ugetrlimit_resource, ugetrlimit_rlim, *args, **kw)
2929
regreturn = 0
3030
return regreturn
3131

32+
def ql_syscall_getrlimit(ql, getrlimit_resource, getrlimit_rlim, *args, **kw):
33+
return ql_syscall_ugetrlimit(ql, getrlimit_resource, getrlimit_rlim, *args, **kw)
3234

3335
def ql_syscall_setrlimit(ql, setrlimit_resource, setrlimit_rlim, *args, **kw):
3436
# maybe we can nop the setrlimit

0 commit comments

Comments
 (0)