Skip to content

Commit

Permalink
update ioc_start.py - fix ctypes import
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Oct 3, 2024
1 parent 3e72a3b commit 92b0df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iocage_lib/ioc_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
raise e

def is_jailed(self):
from ctypes import *
from ctypes import cdll, c_int, c_size_t, sizeof, byref
from ctypes.util import find_library

libc = cdll.LoadLibrary(find_library("c"))
Expand Down

0 comments on commit 92b0df4

Please sign in to comment.