A kernel extension and userland daemon to patch applications