diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-02-21 14:06:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-02-21 17:22:23 +0100 |
commit | 57a22a3f97c1b84884f4c2fe65a0a25d7f80a378 (patch) | |
tree | 04a834e24db21e025d53d60198ecaa0935c3f150 /src/analyze/analyze-security.h | |
parent | f24f8e378991ab6e2e30b7fe8a367db019935cc8 (diff) | |
download | systemd-57a22a3f97c1b84884f4c2fe65a0a25d7f80a378.tar.gz |
analyze: fully move "security" verb to analyze-security.[ch]
let's move the verb entropy point too, like for the other verbs now.
Diffstat (limited to 'src/analyze/analyze-security.h')
-rw-r--r-- | src/analyze/analyze-security.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/analyze/analyze-security.h b/src/analyze/analyze-security.h index 07483248ee..84436c7dad 100644 --- a/src/analyze/analyze-security.h +++ b/src/analyze/analyze-security.h @@ -1,30 +1,10 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -#include <stdbool.h> - -#include "sd-bus.h" - -#include "json.h" -#include "pager.h" -#include "unit-file.h" - typedef enum AnalyzeSecurityFlags { ANALYZE_SECURITY_SHORT = 1 << 0, ANALYZE_SECURITY_ONLY_LOADED = 1 << 1, ANALYZE_SECURITY_ONLY_LONG_RUNNING = 1 << 2, } AnalyzeSecurityFlags; -int analyze_security(sd_bus *bus, - char **units, - JsonVariant *policy, - UnitFileScope scope, - bool check_man, - bool run_generators, - bool offline, - unsigned threshold, - const char *root, - const char *profile, - JsonFormatFlags json_format_flags, - PagerFlags pager_flags, - AnalyzeSecurityFlags flags); +int do_security(int argc, char *argv[], void *userdata); |