mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(aa-log): update default tunables according to guideline.
This commit is contained in:
parent
5516eef952
commit
7273bde534
2 changed files with 6 additions and 6 deletions
|
@ -28,11 +28,11 @@ func DefaultTunables() *AppArmorProfile {
|
|||
return &AppArmorProfile{
|
||||
Preamble: Preamble{
|
||||
Variables: []Variable{
|
||||
{"bin", []string{"/{usr/,}{s,}bin"}},
|
||||
{"lib", []string{"/{usr/,}lib{,exec,32,64}"}},
|
||||
{"bin", []string{"/{,usr/}{,s}bin"}},
|
||||
{"lib", []string{"/{,usr/}lib{,exec,32,64}"}},
|
||||
{"multiarch", []string{"*-linux-gnu*"}},
|
||||
{"user_share_dirs", []string{"/home/*/.local/share"}},
|
||||
{"etc_ro", []string{"/{usr/,}etc/"}},
|
||||
{"etc_ro", []string{"/{,usr/}etc/"}},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -19,11 +19,11 @@ func TestDefaultTunables(t *testing.T) {
|
|||
want: &AppArmorProfile{
|
||||
Preamble: Preamble{
|
||||
Variables: []Variable{
|
||||
{"bin", []string{"/{usr/,}{s,}bin"}},
|
||||
{"lib", []string{"/{usr/,}lib{,exec,32,64}"}},
|
||||
{"bin", []string{"/{,usr/}{,s}bin"}},
|
||||
{"lib", []string{"/{,usr/}lib{,exec,32,64}"}},
|
||||
{"multiarch", []string{"*-linux-gnu*"}},
|
||||
{"user_share_dirs", []string{"/home/*/.local/share"}},
|
||||
{"etc_ro", []string{"/{usr/,}etc/"}},
|
||||
{"etc_ro", []string{"/{,usr/}etc/"}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue