aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2010-04-12 23:50:25 -0700
committerLeann Ogasawara <leann.ogasawara@canonical.com>2010-06-14 08:51:04 -0700
commit2387cdb71c4a95d455947e7c33c725ad3fa749e8 (patch)
treea30dd240ea70888d6a680ef00ff45e3526bac303
parent1e293be54573280bb94e136729532e5c191a73ea (diff)
AppArmor: fix typo in scrubbing environment variable warning
OriginalAuthor: John Johansen <john.johansen@canonical.com> OriginalLocation: git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparm$ commit: bc826999a295c82ce54cfec4f8fa580eaa2cd6e5 BugLink: http://bugs.launchpad.net/bugs/562060 The debug warning of scrubbing the environment variables is used by userspace to detect when exec and permission failures may be caused by environment variable scrubbing like when firefox execs java as in bug http://bugs.launchpad.net/bugs/484148. Having it mispelled makes it difficult to grep for in the logs. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com> Signed-off-by: Andy Whitcroft <apw@canonical.com>
-rw-r--r--security/apparmor/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c
index 7af454f2d00..bf5a739fdc1 100644
--- a/security/apparmor/domain.c
+++ b/security/apparmor/domain.c
@@ -452,7 +452,7 @@ int apparmor_bprm_set_creds(struct linux_binprm *bprm)
* to avoid having to recompute in secureexec
*/
if (!(sa.perms.xindex & AA_X_UNSAFE)) {
- AA_DEBUG("scubbing environment variables for %s profile=%s\n",
+ AA_DEBUG("scrubbing environment variables for %s profile=%s\n",
sa.name, new_profile->base.hname);
bprm->unsafe |= AA_SECURE_X_NEEDED;
}