![Novell LINUX ENTERPRISE DESKTOP 11 Скачать руководство пользователя страница 376](http://html1.mh-extra.com/html/novell/linux-enterprise-desktop-11/linux-enterprise-desktop-11_manual_1711827376.webp)
capability SYS_PTRACE,
/proc/*/fd/**
rw,
To update the profile to the new syntax, use the YaST Update Profile Wizard or the
aa-logprof
command as outlined below.
With this version of AppArmor, a few changes have been made to the profile rule
syntax to better distinguish directory from file access. Therefore, some rules matching
both file and directory paths in the previous version might now just match a file path.
This could lead to AppArmor not being able to access a crucial directory at all and thus
trigger misbehavior of your application and various log messages. The following exam-
ples highlight the most important changes to the path syntax.
Using the old syntax, the following rule would allow access to files and directories in
/proc/net
. It would allow directory access only to read the entries in the directory,
but not give access to files or directories under the directory, e.g.
/proc/net/dir/
foo
would be matched by the asterisk (*), but as
foo
is a file or directory under
dir
,
it cannot be accessed.
/proc/net/*
r,
To get the same behavior using the new syntax, you need two rules instead of one. The
first allows access to file under
/proc/net
and the second allows access to directories
under
/proc/net
. Directory access can only be used for listing the contents, not to
actually access files or directories underneath the directory.
/proc/net/*
r,
/proc/net/*/
r,
The following rule works similarly both under the old and the new syntax and allows
access to both files and directories under
/proc/net
:
/proc/net/**
r,
To distinguish file from directory access using the above expression in the new syntax,
use the following two rules. The first one only allows to recursively access directories
under
/proc/net
while the second one explicitly allows for recursive file access
only.
/proc/net/**/
r,
/proc/net/**[^/]
r,
362
Security Guide
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......