mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 05:33:39 +00:00
confile: add dummy getter for lxc.include
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
a9849a0685
commit
a3c8e60080
@ -195,6 +195,7 @@ static int get_config_seccomp(const char *, char *, int, struct lxc_conf *);
|
||||
static int clr_config_seccomp(const char *, struct lxc_conf *);
|
||||
|
||||
static int set_config_includefiles(const char *, const char *, struct lxc_conf *);
|
||||
static int get_config_includefiles(const char *, char *, int, struct lxc_conf *);
|
||||
static int clr_config_includefiles(const char *, struct lxc_conf *);
|
||||
|
||||
static int set_config_autodev(const char *, const char *, struct lxc_conf *);
|
||||
@ -311,7 +312,7 @@ static struct lxc_config_t config[] = {
|
||||
{ "lxc.console.logfile", set_config_console_logfile, get_config_console_logfile, clr_config_console_logfile, },
|
||||
{ "lxc.console", set_config_console, get_config_console, clr_config_console, },
|
||||
{ "lxc.seccomp", set_config_seccomp, get_config_seccomp, clr_config_seccomp, },
|
||||
{ "lxc.include", set_config_includefiles, NULL, clr_config_includefiles, },
|
||||
{ "lxc.include", set_config_includefiles, get_config_includefiles, clr_config_includefiles, },
|
||||
{ "lxc.autodev", set_config_autodev, get_config_autodev, clr_config_autodev, },
|
||||
{ "lxc.haltsignal", set_config_haltsignal, get_config_haltsignal, clr_config_haltsignal, },
|
||||
{ "lxc.rebootsignal", set_config_rebootsignal, get_config_rebootsignal, clr_config_rebootsignal, },
|
||||
@ -4246,3 +4247,9 @@ static inline int clr_config_includefiles(const char *key, struct lxc_conf *c)
|
||||
lxc_clear_includes(c);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int get_config_includefiles(const char *key, char *retv, int inlen,
|
||||
struct lxc_conf *c)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user