compel: nuke compel_main()

It is not used anywhere, so unless someone has any plans, let's kill it.

Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Acked-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin 2017-03-04 21:42:47 -08:00 committed by Andrei Vagin
parent aa39838c32
commit 31eab3e36d
4 changed files with 0 additions and 16 deletions

View file

@ -5,8 +5,6 @@
#include "asm/prologue.h"
extern int compel_main(void *arg_p, unsigned int arg_s);
static struct prologue_init_args *init_args;
static int ctl_socket = -1;
@ -73,9 +71,6 @@ int __export_std_compel_start(struct prologue_init_args *args,
}
}
if (!ret)
ret = compel_main(args->arg_p, args->arg_s);
for (; i > 0; i--) {
const plugin_init_t *d = init_array[i - 1];

View file

@ -9,7 +9,6 @@
/*
* Stubs for std compel plugin.
*/
int compel_main(void *arg_p, unsigned int arg_s) { return 0; }
int parasite_trap_cmd(int cmd, void *args) { return 0; }
void parasite_cleanup(void) { }

View file

@ -24,11 +24,6 @@
#include "restorer.h"
#include "infect-pie.h"
int compel_main(void *arg_p, unsigned int arg_s)
{
return 0;
}
/*
* PARASITE_CMD_DUMPPAGES is called many times and the parasite args contains
* an array of VMAs at this time, so VMAs can be unprotected in any moment

View file

@ -70,11 +70,6 @@ bool fault_injected(enum faults f)
/*
* These are stubs for std compel plugin.
*/
int compel_main(void *arg_p, unsigned int arg_s)
{
return 0;
}
int parasite_daemon_cmd(int cmd, void *args)
{
return 0;