mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
s/hook/method
This commit is contained in:
parent
b0cf42726d
commit
6c8970651c
@ -491,7 +491,7 @@ kore_python_seccomp_hook(const char *method)
|
||||
struct kore_runtime *rt;
|
||||
PyObject *func, *result;
|
||||
|
||||
if ((func = kore_module_getsym(hook, &rt)) == NULL)
|
||||
if ((func = kore_module_getsym(method, &rt)) == NULL)
|
||||
return;
|
||||
|
||||
if (rt->type != KORE_RUNTIME_PYTHON)
|
||||
@ -506,7 +506,7 @@ kore_python_seccomp_hook(const char *method)
|
||||
|
||||
result = PyObject_CallFunctionObjArgs(func,
|
||||
(PyObject *)py_seccomp, NULL);
|
||||
kore_python_log_error(hook);
|
||||
kore_python_log_error(method);
|
||||
|
||||
kore_seccomp_filter("koreapp", py_seccomp->filters, py_seccomp->elm);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user