We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71141ba commit fbd4f6aCopy full SHA for fbd4f6a
qiling/os/posix/syscall/unistd.py
@@ -63,7 +63,7 @@ def ql_syscall_issetugid(ql: Qiling):
63
64
65
def ql_syscall_getuid(ql: Qiling):
66
- return 0
+ return ql.os.uid
67
68
69
def ql_syscall_getuid32(ql: Qiling):
@@ -75,15 +75,15 @@ def ql_syscall_getgid32(ql: Qiling):
75
76
77
def ql_syscall_geteuid(ql: Qiling):
78
+ return ql.os.euid
79
80
81
def ql_syscall_getegid(ql: Qiling):
82
+ return ql.os.egid
83
84
85
def ql_syscall_getgid(ql: Qiling):
86
+ return ql.os.gid
87
88
89
def ql_syscall_setgroups(ql: Qiling, gidsetsize: int, grouplist: int):
0 commit comments