Skip to content

Commit 86960c3

Browse files
committed
Refactored sysctl
1 parent 15a4cd5 commit 86960c3

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

qiling/os/posix/syscall/sysctl.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
44
#
55

6-
7-
from qiling.const import *
8-
from qiling.os.linux.thread import *
9-
from qiling.const import *
10-
from qiling.os.posix.filestruct import *
11-
from qiling.os.filestruct import *
12-
from qiling.os.posix.const_mapping import *
13-
from qiling.exception import *
14-
15-
# def ql_syscall___sysctl(ql, sysctl_name, sysctl_namelen, sysctl_bytes_oldlenp, sysctl_size_oldlenp, sysctl_bytes_newlen, sysctl_size_newlen):
16-
# regreturn = 0
17-
# return regreturn
6+
# from qiling import Qiling
7+
#
8+
# def ql_syscall___sysctl(ql: Qiling, name, namelen, bytes_oldlenp, size_oldlenp, bytes_newlen, size_newlen):
9+
# return 0

0 commit comments

Comments
 (0)