mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00

The new aa-enabled program can be used as a barebones replacement for `aa-status --enabled`. It is written in C, rather than Python, which keeps its dependencies to a minimum. By default, aa-enabled prints a human-readable status of AppArmor's availability to stdout. It supports a --quiet option which allows for functionality equivalent to `aa-status --enabled`, which does not print any messages. The aa-enabled exit statuses mimic the behavior documented in the aa-status(8) man page. Signed-off-by: John Johansen <john.johansen@canonical.com> [tyhicks: Incorporated feedback from the code review process] Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
66 lines
1.4 KiB
Text
66 lines
1.4 KiB
Text
# Copyright (C) 2015 Canonical Ltd
|
|
# This file is distributed under the same license as the AppArmor package.
|
|
# John Johansen <john.johansen@canonical.com>, 2015.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
"Report-Msgid-Bugs-To: apparmor@lists.ubuntu.com\n"
|
|
"POT-Creation-Date: 2015-11-28 10:23-0800\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"Language: \n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=CHARSET\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../aa_enabled.c:26
|
|
#, c-format
|
|
msgid ""
|
|
"%s: [options]\n"
|
|
" options:\n"
|
|
" -q | --quiet Don't print out any messages\n"
|
|
" -h | --help Print help\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:45
|
|
#, c-format
|
|
msgid "unknown or incompatible options\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:55
|
|
#, c-format
|
|
msgid "unknown option '%s'\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:64
|
|
#, c-format
|
|
msgid "Yes\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:71
|
|
#, c-format
|
|
msgid "No - not available on this system.\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:74
|
|
#, c-format
|
|
msgid "No - disabled at boot.\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:77
|
|
#, c-format
|
|
msgid "Maybe - policy interface not available.\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:81
|
|
#, c-format
|
|
msgid "Maybe - insufficient permissions to determine availability.\n"
|
|
msgstr ""
|
|
|
|
#: ../aa_enabled.c:84
|
|
#, c-format
|
|
msgid "Error - '%s'\n"
|
|
msgstr ""
|