pc: implement kobject_uevent_env() in shadow/

Issue #5036
This commit is contained in:
Christian Helmuth 2023-11-06 16:55:34 +01:00
parent f663168ffd
commit 7fb0c9ba30
3 changed files with 7 additions and 18 deletions

View File

@ -1,7 +1,7 @@
/*
* \brief Dummy definitions of Linux Kernel functions
* \author Automatically generated file - do no edit
* \date 2023-11-02
* \date 2023-11-06
*/
#include <lx_emul.h>
@ -279,14 +279,6 @@ int kobject_synth_uevent(struct kobject * kobj,const char * buf,size_t count)
}
#include <linux/kobject.h>
int kobject_uevent_env(struct kobject * kobj,enum kobject_action action,char * envp_ext[])
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/irq.h>
struct irq_chip no_irq_chip;

View File

@ -18,3 +18,9 @@ int kobject_uevent(struct kobject * kobj,enum kobject_action action)
{
return 0;
}
int kobject_uevent_env(struct kobject * kobj,enum kobject_action action,char * envp_ext[])
{
return 0;
}

View File

@ -109,15 +109,6 @@ struct key * keyring_alloc(const char * description,kuid_t uid,kgid_t gid,const
}
#include <linux/kobject.h>
int kobject_uevent_env(struct kobject * kobj,enum kobject_action action,char * envp_ext[])
{
lx_emul_trace(__func__);
return 0;
}
#include <linux/moduleparam.h>
void kernel_param_lock(struct module * mod)