From c96c8a391f7dafa105d92dac0d79bbb50d0521fc Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 11 Aug 2010 14:10:16 -0500 Subject: [PATCH] profiles/apparmor.d/abstractions/ubuntu-browsers.d/java: generalize names of child profiles --- .../apparmor.d/abstractions/ubuntu-browsers.d/java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/profiles/apparmor.d/abstractions/ubuntu-browsers.d/java b/profiles/apparmor.d/abstractions/ubuntu-browsers.d/java index 9935249ec..60135a7ad 100644 --- a/profiles/apparmor.d/abstractions/ubuntu-browsers.d/java +++ b/profiles/apparmor.d/abstractions/ubuntu-browsers.d/java @@ -3,15 +3,15 @@ /etc/java-*/ r, /etc/java-*/** r, /usr/lib/jvm/java-6-openjdk/jre/lib/*/IcedTeaPlugin.so mr, - /usr/lib/jvm/java-6-openjdk/jre/bin/java cx -> firefox_openjdk, - /usr/lib/jvm/java-*-sun-1.*/jre/bin/java{,_vm} cx -> firefox_java, - /usr/lib/jvm/java-*-sun-1.*/jre/lib/*/libnp*.so cx -> firefox_java, - /usr/lib/j2*-ibm/jre/bin/java cx -> firefox_java, + /usr/lib/jvm/java-6-openjdk/jre/bin/java cx -> browser_openjdk, + /usr/lib/jvm/java-*-sun-1.*/jre/bin/java{,_vm} cx -> browser_java, + /usr/lib/jvm/java-*-sun-1.*/jre/lib/*/libnp*.so cx -> browser_java, + /usr/lib/j2*-ibm/jre/bin/java cx -> browser_java, # Profile for the supported OpenJDK in Ubuntu. This doesn't require the # unfortunate workarounds of the proprietary Javas, so have a separate # profile. - profile firefox_openjdk { + profile browser_openjdk { #include #include #include @@ -53,7 +53,7 @@ # Profile for commercial Javas. These need workarounds to work right (eg # Sun's forcing of an executable stack (LP: #535247)). - profile firefox_java { + profile browser_java { #include #include #include