Commit Graph

2625 Commits

Author SHA1 Message Date
Alexandre Pujol
8b24f3521d
feat(aa): add new formatting methods to the rule interface. 2024-06-29 22:20:42 +01:00
Alexandre Pujol
d9bbdb77fa
feat(aa): rename: convert -> util. 2024-06-29 20:01:00 +01:00
Alexandre Pujol
191c72fcb6
chore(aa): minor cosmetic of the rule interface. 2024-06-27 18:45:32 +01:00
Alexandre Pujol
86b2f74a24
test(aa): refractor interface rule unit tests. 2024-06-27 11:39:36 +01:00
Alexandre Pujol
732134bd96
feat(aa): improve internal sorting order. 2024-06-25 20:11:24 +01:00
Alexandre Pujol
7c006dee0a
feat(aa): be more verbose on rule.Merge 2024-06-25 20:10:12 +01:00
Alexandre Pujol
880f0ef37e
refractor(aa): ensure methods order in rules definitions. 2024-06-25 19:56:36 +01:00
Alexandre Pujol
272072d2a5
refractor(aa): rename base struct from RuleBase to Base 2024-06-25 19:50:27 +01:00
Alexandre Pujol
5b73923385
fix(profile): ensure backlight on all hardware 2024-06-25 12:27:22 +01:00
Alexandre Pujol
8da557ba04
feat(profile): add totem. 2024-06-24 18:01:41 +01:00
Alexandre Pujol
09bcdf20d8
build: update flags manifest. 2024-06-24 18:00:48 +01:00
Alexandre Pujol
cf8ae8b147
feat(profile): add snapshot. 2024-06-24 17:40:34 +01:00
Alexandre Pujol
81ac0d0b6d
feat(profile): add ollama. 2024-06-24 17:39:08 +01:00
Alexandre Pujol
e17add7e63
fix(profile): keyboard backlight on all hardware
fix #402
2024-06-24 13:47:24 +01:00
Alexandre Pujol
e8aa338d5e
feat(profile): gnome-shell//open: ensure gnome can start any program. 2024-06-23 11:26:15 +01:00
Alexandre Pujol
ae71b323c2
feat(profile): general update. 2024-06-23 11:25:17 +01:00
Alexandre Pujol
2e127ace4b
feat(abs): general update. 2024-06-23 11:17:56 +01:00
Alexandre Pujol
856a9a467e
feat(profile): improve chromium tmp file restriction. 2024-06-23 11:17:01 +01:00
Alexandre Pujol
2710fd3484
feat(profile): ensure steam can update itself. 2024-06-23 11:16:23 +01:00
Alexandre Pujol
228d3b653c
fix(aa): ineffective assignment 2024-06-23 10:57:46 +01:00
Alexandre Pujol
ff5ff965cd
test(aa): add merge unit tests. 2024-06-23 10:42:18 +01:00
Alexandre Pujol
6791dcde28
feat(aa): add merge methods to the rule interface. 2024-06-22 20:59:43 +01:00
Alexandre Pujol
a91e2ddf56
feat(aa): formatter: add support for abstraction & tunables. 2024-06-22 20:20:34 +01:00
Alexandre Pujol
42ca1be858
feat(aa): add the Merge method to the Rule interface. 2024-06-20 23:23:39 +01:00
Alexandre Pujol
d6424cb950
feat(aa): ensure comments are neither merged nor sorted. 2024-06-20 22:29:22 +01:00
Alexandre Pujol
58c07e5ea5
feat(profile): general update. 2024-06-20 17:57:30 +01:00
Alexandre Pujol
be27f646ce
feat(aa): add inital version of the aa tool. 2024-06-20 17:46:27 +01:00
Alexandre Pujol
fe983132cd
chore(aa): rename constructor function for consistency. 2024-06-20 16:34:49 +01:00
Alexandre Pujol
b0f6f15a9e
refractor: use internal Intersect function. 2024-06-19 23:55:45 +01:00
Alexandre Pujol
3b82cc36ba
feat(aa-log): only clean a few log keys, resolve more variables.
fix #382
2024-06-19 23:39:23 +01:00
Alexandre Pujol
018073638b
test(aa): add testdata full.aa 2024-06-19 23:34:51 +01:00
Alexandre Pujol
7317c05646
feat(aa): update templates to last changes. 2024-06-19 23:31:22 +01:00
Alexandre Pujol
944f9575a0
feat(aa): rewrite rules formatting. 2024-06-19 23:30:36 +01:00
Alexandre Pujol
e91b0cc070
test(aa): add paragraph parser unit tests. 2024-06-19 23:26:19 +01:00
Alexandre Pujol
cd03640c10
feat(aa): update parse definition to last changes. 2024-06-19 23:24:43 +01:00
Alexandre Pujol
163c5be61c
feat(aa): add rule constructors from internal parser. 2024-06-19 23:22:49 +01:00
Alexandre Pujol
ac9d6d859f
feat(aa): add ParseRules: parse apparmor profile rules by paragraphs 2024-06-19 23:15:57 +01:00
Alexandre Pujol
cdab2588aa
refractor(aa): newRuleFromLog -> newBaseFromLog 2024-06-19 18:44:55 +01:00
Alexandre Pujol
afc0a7cd3b
test(aa): rule interface: update unit tests to last changes. 2024-06-19 18:39:16 +01:00
Alexandre Pujol
4cbacc186c
feat(aa): rule interface: replace less & equal by the compare method.
- set a new alphabet order to sort AARE based string.
- unify compare function for all rules
- handle some special sort order, eg: base include
2024-06-19 18:34:58 +01:00
Alexandre Pujol
747292e954
fix: remove useless audit mode on chromium. 2024-06-16 22:53:16 +01:00
Alexandre Pujol
13b35b156e
feat(abs): add the app/kmod abstraction. 2024-06-16 21:50:48 +01:00
Alexandre Pujol
cb4f3af58e
feat(profile): add ddcutil 2024-06-16 20:07:41 +01:00
REmerald
41b1489b76 fix: add vim syntax to remaining files
Add vim syntax modeline to files which didn't have it for some reason.
Continuation of #396.
2024-06-16 17:32:21 +01:00
REmerald
68d1222029 feat(groups/{u,v,w,x}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #395 to keep the diff list relatively short.
2024-06-16 17:31:42 +01:00
REmerald
f1a0349978 feat(groups/{_,k,n,p}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #394 to keep the diff list relatively short.
2024-06-16 17:31:28 +01:00
REmerald
da93eb29d8 feat(groups/g*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #393 to keep the diff list relatively short.
2024-06-16 17:30:58 +01:00
REmerald
4d707633a1 feat(groups/{c,d,f,s}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #392 to keep the diff list relatively short.
2024-06-16 17:30:44 +01:00
REmerald
db82b64051 feat(groups/{a,b}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.

Continuation of #391 to keep the diff list relatively short.
2024-06-16 17:30:22 +01:00
Alexandre Pujol
a2c6580725
fix: profile compilation. 2024-06-15 22:28:37 +01:00