AppArmor activity https://gitlab.com/apparmor 2026-03-16T17:23:21Z tag:gitlab.com,2026-03-16:5209413639 Konstantin Khomoutov commented on issue #213 at AppArmor / apparmor 2026-03-16T17:23:21Z kostix1 Konstantin Khomoutov

Debian 13 Trixie with apparmor 4.1.0 has this bug not fixed, and aa-genprof does not undrestand the output generated by journalctl -k -e -f.

IOW, aa-genprof is still unusable on contenporary Debian w/o writing some kind of parser which would convert the output of journalctl into a format understood by aa-genprof.

tag:gitlab.com,2026-03-16:5208685838 Zygmunt Krynicki opened merge request !1987: parser: refactor af_rule and alternation expansion to std::string at AppArmor / apparmor 2026-03-16T14:37:58Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

This is the first of many conversion patches for making rules use C++ strings instead of C strings. It contains one support patch for variable alteration expansion int variable::expand_by_alternation(std::string &name).

Signed-off-by: Zygmunt Krynicki [email protected]

tag:gitlab.com,2026-03-16:5208616547 Maxime Bélair pushed to project branch zensical at AppArmor / apparmor.net 2026-03-16T14:23:32Z emixam16 Maxime Bélair [email protected]

Maxime Bélair (f742748f) at 16 Mar 14:23

Merge branch 'fix_links' into 'zensical'

... and 1 more commit

tag:gitlab.com,2026-03-16:5208616483 Maxime Bélair accepted merge request !49: docs: Fix dead links at AppArmor / apparmor.net 2026-03-16T14:23:31Z emixam16 Maxime Bélair [email protected]

Fixes a small number of links that were referring to pages that have been moved.

Signed-off-by: Maxime Bélair [email protected]

tag:gitlab.com,2026-03-16:5208612611 Maxime Bélair opened merge request !49: docs: Fix dead links at AppArmor / apparmor.net 2026-03-16T14:22:45Z emixam16 Maxime Bélair [email protected]

Fixes a small number of links that were referring to pages that have been moved.

Signed-off-by: Maxime Bélair [email protected]

tag:gitlab.com,2026-03-16:5208488357 Zygmunt Krynicki commented on merge request !1870 at AppArmor / apparmor 2026-03-16T13:57:54Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

@rlee287 this needs a rebase

tag:gitlab.com,2026-03-16:5208378487 Yana Hontyk deleted project branch addDocs at AppArmor / apparmor.net 2026-03-16T13:35:22Z yhontyk1 Yana Hontyk

Yana Hontyk (86d8ad8f) at 16 Mar 13:35

tag:gitlab.com,2026-03-16:5208377792 Yana Hontyk deleted project branch stuctureChanges at AppArmor / apparmor.net 2026-03-16T13:35:15Z yhontyk1 Yana Hontyk

Yana Hontyk (c586e1d7) at 16 Mar 13:35

tag:gitlab.com,2026-03-16:5208357761 Yana Hontyk accepted merge request !46: Change the structure to Getting started at AppArmor / apparmor.net 2026-03-16T13:31:30Z yhontyk1 Yana Hontyk

I was considering the idea of having tailored paths that @emixam16 has created.

I am thinking of keeping the paths recommendations on a high level:

  • tutorials for developers, sysadmins, etc are in the Getting started index file and provide recommendations and overview of what tutorials cover
  • tutorials were renamed to better reflect what they actually try to teach about -- I tried to keep the naming consistent, previously, we hat "Confining an application" and "Creating a profile" which are functionally the same thing but it might be confusing for a beginner
  • removed role-specific intros from the tutorials
  • for now, I have removed the tiles in the Getting started index file, I think the frontend and even the site builder itself is subject to change so I suggest we keep it simple and add eyecandy as the last step

I think this approach is a little more user-friendly as we provide meaningful recommendation, we can mix and match the tutorials in different paths -- I am sure that sysadmins could benefit from know how to create profiles too, but we are not too opinionated about users' needs, interests or context of their work.

I have also updated Create a comprehensive profile manually draft with an example of a supported app instead of a deprecated one.

tag:gitlab.com,2026-03-16:5208357757 Yana Hontyk pushed to project branch zensical at AppArmor / apparmor.net 2026-03-16T13:31:30Z yhontyk1 Yana Hontyk

Yana Hontyk (cc0dd9a0) at 16 Mar 13:31

Merge branch 'stuctureChanges' into 'zensical'

... and 1 more commit

tag:gitlab.com,2026-03-16:5208353638 Yana Hontyk pushed to project branch stuctureChanges at AppArmor / apparmor.net 2026-03-16T13:30:40Z yhontyk1 Yana Hontyk

Yana Hontyk (c586e1d7) at 16 Mar 13:30

Add a specific version mention.

tag:gitlab.com,2026-03-16:5208299851 Zygmunt Krynicki opened merge request !1986: parser: convert cod chars to enum class at AppArmor / apparmor 2026-03-16T13:20:35Z zyga-aka-zygoon Zygmunt Krynicki [email protected]
tag:gitlab.com,2026-03-16:5208230109 Zygmunt Krynicki opened merge request !1985: parser: remove var_string and sd_hat at AppArmor / apparmor 2026-03-16T13:06:40Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

Both types are unused

tag:gitlab.com,2026-03-16:5208218314 Zygmunt Krynicki opened merge request !1984: parser: replace ENCODE_VERSION macro with inline helper at AppArmor / apparmor 2026-03-16T13:04:12Z zyga-aka-zygoon Zygmunt Krynicki [email protected]
tag:gitlab.com,2026-03-16:5207434551 Zygmunt Krynicki commented on merge request !1975 at AppArmor / apparmor 2026-03-16T10:10:18Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

I'd like to do a pass over i18n infra and make it actually work. Right I would not touch i18n unless someone wants to do a proper wider cleanup.

tag:gitlab.com,2026-03-16:5207180362 Zygmunt Krynicki opened merge request !1983: parser: convert supported_cond name to std::string at AppArmor / apparmor 2026-03-16T09:14:59Z zyga-aka-zygoon Zygmunt Krynicki [email protected]
tag:gitlab.com,2026-03-16:5207159072 Zygmunt Krynicki opened merge request !1982: parser: fix multiple typos in comments at AppArmor / apparmor 2026-03-16T09:10:00Z zyga-aka-zygoon Zygmunt Krynicki [email protected]
tag:gitlab.com,2026-03-16:5207141676 Zygmunt Krynicki commented on merge request !1924 at AppArmor / apparmor 2026-03-16T09:05:48Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

I'll open a change with a smaller scope.

tag:gitlab.com,2026-03-16:5207141568 Zygmunt Krynicki closed merge request !1924: Draft: parser: introduce typed rule_type_t and aa_class_t at AppArmor / apparmor 2026-03-16T09:05:46Z zyga-aka-zygoon Zygmunt Krynicki [email protected]

This does away with naked ints as both rule type (easy) and mediation class (more involved). The mediation class is defined in system-wide header as a number of defines. Use slightly different names for the enum to avoid clashes (AA_CLASS_ID_...).

Signed-off-by: Zygmunt Krynicki [email protected]

tag:gitlab.com,2026-03-16:5207107643 Zygmunt Krynicki opened merge request !1981: parser: use scoped error_type enum values at AppArmor / apparmor 2026-03-16T08:57:16Z zyga-aka-zygoon Zygmunt Krynicki [email protected]