lxip: provide dummy for send_sig

This is function gets called by some libssh applications using vms_lxip.

For the dummy implementation I looked at the old port.

Issue genodelabs#5161
Issue gapfruit#1976
This commit is contained in:
Pirmin Duss 2024-03-20 13:09:24 +01:00 committed by Christian Helmuth
parent e0fe046ad3
commit 7f1adbea46
6 changed files with 9 additions and 40 deletions

View File

@ -365,3 +365,12 @@ int netdev_register_kobject(struct net_device * ndev)
lx_emul_trace(__func__);
return 0;
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace(__func__);
return -1;
}

View File

@ -1123,14 +1123,6 @@ void refcount_warn_saturate(refcount_t * r,enum refcount_saturation_type t)
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
int send_sigurg(struct fown_struct * fown)

View File

@ -953,14 +953,6 @@ void refcount_warn_saturate(refcount_t * r,enum refcount_saturation_type t)
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
int send_sigurg(struct fown_struct * fown)

View File

@ -1117,14 +1117,6 @@ void refcount_warn_saturate(refcount_t * r,enum refcount_saturation_type t)
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
int send_sigurg(struct fown_struct * fown)

View File

@ -973,14 +973,6 @@ void refcount_warn_saturate(refcount_t * r,enum refcount_saturation_type t)
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
int send_sigurg(struct fown_struct * fown)

View File

@ -992,14 +992,6 @@ void refcount_warn_saturate(refcount_t * r,enum refcount_saturation_type t)
}
#include <linux/sched/signal.h>
int send_sig(int sig,struct task_struct * p,int priv)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/fs.h>
int send_sigurg(struct fown_struct * fown)