mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Johansen <john.johansen@canonical.com>
To: linux-security-module@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 01/12] apparmor: enable users to query whether apparmor is enabled
Date: Sat, 20 Jul 2013 01:38:36 -0700	[thread overview]
Message-ID: <1374309527-7082-2-git-send-email-john.johansen@canonical.com> (raw)
In-Reply-To: <1374309527-7082-1-git-send-email-john.johansen@canonical.com>

Signed-off-by: John Johansen <john.johansen@canonical.com>
---
 security/apparmor/lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 2e2a0dd..96506df 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -742,7 +742,7 @@ module_param_named(paranoid_load, aa_g_paranoid_load, aabool,
 
 /* Boot time disable flag */
 static bool apparmor_enabled = CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE;
-module_param_named(enabled, apparmor_enabled, aabool, S_IRUSR);
+module_param_named(enabled, apparmor_enabled, bool, S_IRUGO);
 
 static int __init apparmor_enabled_setup(char *str)
 {
-- 
1.8.1.2


  reply	other threads:[~2013-07-20  8:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-20  8:38 [Patch 0/12] apparmor: add policy interface and convert to RCU John Johansen
2013-07-20  8:38 ` John Johansen [this message]
2013-07-20  8:38 ` [PATCH 02/12] apparmor: add a features/policy dir to interface John Johansen
2013-07-20  8:38 ` [PATCH 03/12] apparmor: provide base for multiple profiles to be replaced at once John Johansen
2013-07-20  8:38 ` [PATCH 04/12] apparmor: convert profile lists to RCU based locking John Johansen
2013-07-20  8:38 ` [PATCH 05/12] apparmor: change how profile replacement update is done John Johansen
2013-07-20  8:38 ` [PATCH 06/12] apparmor: update how unconfined is handled John Johansen
2013-07-20  8:38 ` [PATCH 07/12] apparmor: rework namespace free path John Johansen
2013-07-20  8:38 ` [PATCH 08/12] apparmor: make free_profile available outside of policy.c John Johansen
2013-07-20  8:38 ` [PATCH 09/12] apparmor: allow setting any profile into the unconfined state John Johansen
2013-07-20  8:38 ` [PATCH 10/12] apparmor: Add interface files for profiles and namespaces John Johansen
2013-07-20  8:38 ` [PATCH 11/12] apparmor: add an optional profile attachment string for profiles John Johansen
2013-07-20  8:38 ` [PATCH 12/12] apparmor: Add the profile introspection file to interface John Johansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374309527-7082-2-git-send-email-john.johansen@canonical.com \
    --to=john.johansen@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®