security - Is it possible to monitor the invocation of a specific function/API from the operating system kernel? -


the background of our issue follows:
want add security-identification code application before security-sensitive operations (for example, payment through internet , on) executed. neither have source code of application, nor want reverse application modify it.
know payment operation right after execution of specific function/api. so, our plan monitor execution of specific function/api operating system kernel, , insert our security-identification code once specific function/api execution detected.
our platform android, , kernel linux.

therefore, question is:
possible monitor execution of specific function/api operating system kernel level? if possible, how do? if not possible, alternative suggestions our above issue?

thank much!


Comments