]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lsm.h: Fix inline definition
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Oct 2013 21:59:43 +0000 (17:59 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Oct 2013 21:59:43 +0000 (17:59 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lsm/lsm.h

index 6916800c62f762b54624b497da6148b15f26768a..d14caf4e22e337e0a69ac969def2e3451b96e63a 100644 (file)
@@ -50,7 +50,7 @@ static inline void        lsm_init(void) { }
 static inline int         lsm_enabled(void) { return 0; }
 static inline const char *lsm_name(void) { return "none"; }
 static inline char       *lsm_process_label_get(pid_t pid) { return NULL; }
-static inline int         lsm_process_label_set(char *label, int use_default, int on_exec) { return 0; }
+static inline int         lsm_process_label_set(const char *label, int use_default, int on_exec) { return 0; }
 static inline int         lsm_proc_mount(struct lxc_conf *lxc_conf) { return 0; }
 static inline void        lsm_proc_unmount(struct lxc_conf *lxc_conf) { }
 #endif