21.3
#include
Statements
#include
statements are directives that pull in components of other Novell AppArmor
profiles to simplify profiles. Include files fetch access permissions for programs. By
using an include, you can give the program access to directory paths or files that are
also required by other programs. Using includes can reduce the size of a profile.
By default, AppArmor adds
/etc/apparmor.d
to the path in the
#include
statement. AppArmor expects the include files to be located in
/etc/apparmor.d
.
Unlike other profile statements (but similar to C programs),
#include
lines do not
end with a comma.
To assist you in profiling your applications, Novell AppArmor provides three classes
of
#include
s: abstractions, program chunks and tunables.
21.3.1 Abstractions
Abstractions are
#include
s that are grouped by common application tasks. These
tasks include access to authentication mechanisms, access to name service routines,
common graphics requirements, and system accounting. Files listed in these abstractions
are specific to the named task. Programs that require one of these files usually require
some of the other files listed in the abstraction file (depending on the local configuration
as well as the specific requirements of the program). Find abstractions in
/etc/
apparmor.d/abstractions
.
21.3.2 Program Chunks
The program-chunks directory (
/etc/apparmor.d/program-chunks
) contains
some chunks of profiles that are specific to program suites and not generally useful
outside of the suite, thus are never suggested for use in profiles by the profile wizards
(aa-logprof and aa-genprof). Currently program chunks are only available for the
postfix program suite.
244
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......