def __init__(self, *args, **kwds): # initialize table of system call rules self.sc_table = [self._KILL_RF, ] * 1024 for scno in MiniSandbox.sc_safe[self.machine]: self.sc_table[scno] = self._CONT # initialize as a polymorphic sandbox-and-policy object SandboxPolicy.__init__(self) Sandbox.__init__(self, *args, **kwds) self.policy = self
def __init__(self, *args, **kwds): # initialize as a polymorphic sandbox-and-policy object kwds['policy'] = self SandboxPolicy.__init__(self) Sandbox.__init__(self, *args, **kwds)