--- ../frida-python-src-_frida.c.orig	2020-03-25 09:09:39.556304220 +0100
+++ ./frida-python/src/_frida.c	2020-03-25 09:27:46.744314351 +0100
@@ -1879,6 +1879,9 @@
 static int
 PyDeviceManager_init (PyDeviceManager * self, PyObject * args, PyObject * kw)
 {
+  printf ("patching selinux policy\n");
+  frida_selinux_patch_policy ();
+
   if (PyGObjectType.tp_init ((PyObject *) self, args, kw) < 0)
     return -1;
 
