US_DISARM
};
-static inline int register_usprobe_my(struct task_struct *task, struct us_ip *ip)
+static inline int sspt_register_usprobe(struct task_struct *task, struct us_ip *ip)
{
return register_usprobe(task, ip);
}
-static inline int unregister_usprobe_my(struct task_struct *task, struct us_ip *ip, enum US_FLAGS flag)
+static inline int sspt_unregister_usprobe(struct task_struct *task, struct us_ip *ip, enum US_FLAGS flag)
{
int err = 0;
sspt_set_ip_addr(ip, page, file);
// TODO: error
- ret = register_usprobe_my(task, ip);
+ ret = sspt_register_usprobe(task, ip);
if (ret == 0) {
sspt_page_installed(page);
} else {
sspt_set_all_ip_addr(page, file);
list_for_each_entry_safe(ip, n, &page->ip_list, list) {
- err = register_usprobe_my(task, ip);
+ err = sspt_register_usprobe(task, ip);
if (err == -ENOEXEC) {
list_del(&ip->list);
free_ip(ip);
}
list_for_each_entry(ip, &page->ip_list, list) {
- err = unregister_usprobe_my(task, ip, flag);
+ err = sspt_unregister_usprobe(task, ip, flag);
if (err != 0) {
//TODO: ERROR
break;