]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lsm: remove obsolute comment about constructor
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 22 Jan 2021 12:21:54 +0000 (13:21 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 22 Jan 2021 14:45:22 +0000 (15:45 +0100)
Cc: stable-4.0
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lsm/apparmor.c

index b09d47090544742a87fd862e204800f7f8a55999..21945b8266b1c9c88a993707f8ab63d45a26aa4c 100644 (file)
@@ -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;