From: Christian Brauner Date: Fri, 22 Jan 2021 12:21:54 +0000 (+0100) Subject: lsm: remove obsolute comment about constructor X-Git-Tag: lxc-5.0.0~322^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b85b44169a2effb254f0f319cb1ba3e14332a174;p=thirdparty%2Flxc.git lsm: remove obsolute comment about constructor Cc: stable-4.0 Signed-off-by: Christian Brauner --- diff --git a/src/lxc/lsm/apparmor.c b/src/lxc/lsm/apparmor.c index b09d47090..21945b826 100644 --- a/src/lxc/lsm/apparmor.c +++ b/src/lxc/lsm/apparmor.c @@ -523,11 +523,6 @@ static inline char *apparmor_namespace(const char *ctname, const char *lxcpath) return full; } -/* TODO: This is currently run only in the context of a constructor (via the - * initial lsm_init() called due to its __attribute__((constructor)), so we - * do not have ERROR/... macros available, so there are some fprintf(stderr)s - * in there. - */ static bool check_apparmor_parser_version(struct lsm_ops *ops) { int major = 0, minor = 0, micro = 0, ret = 0;