- Get this repository:
-
git clone
https://git.launchpad.net/apparmor
Import details
This repository is an import of the Git repository at https://gitlab.com/apparmor/apparmor.git.
Last successful import was .
Branches
| Name | Last Modified | Last Commit |
|---|---|---|
| master | 2026-07-20 19:38:13 UTC |
Merge Fix includes for parser
Author:
Christian Boltz
Merge Fix includes for parser ... as reported by include- Additionally do some manual fixes, for example in parser_lex.l (which Things intentionally not done in this commit/MR: - `#include "common_flags.h" // for parseopts` - `#include "perms.h" // for ostream` - and some others that need a second look, ideally by someone who is Also add a "make check-includes" target to run include- MR: https:/ |
| apparmor-4.1 | 2026-07-20 16:25:33 UTC |
Merge unix-chkpwd AppArmor profile denies the nslcd socket, breaking all LDAP...
Author:
Christian Boltz
Merge unix-chkpwd AppArmor profile denies the nslcd socket, breaking all LDAP logins ## Summary The `unix-chkpwd` profile grants no rule for the nslcd socket at all. `abstractions/ On top of that, the profile is attached with `flags= `unix_chkpwd` can then no longer resolve any LDAP-backed user. `pam_unix`'s account phase fails and **every LDAP user is denied login**, immediately after their public key has already been accepted. Local users are unaffected, which makes the failure look like a per-user problem rather than a policy one. ## Steps to reproduce 1. Join the host to an LDAP/AD directory using libnss-ldapd / nslcd ## Actual result Authentication succeeds, then the session is dropped. Client: ``` /var/log/auth.log: ``` dmesg: ``` (`ouid=112` is the `nslcd` user.) ## Expected result The LDAP user logs in. `unix_chkpwd` should be able to reach the nslcd socket whether or not the path is disconnected, exactly as it can already reach `authd.sock` and the systemd userdb sockets. ## Workaround /etc/apparmor. ``` ``` ## Environment - Ubuntu 26.04 LTS (resolute), amd64 MR: https:/ (cherry picked from commit 1c7cee3e901a766 2df456d8 unix-chkpwd: allow the disconnected nslcd socket Co-authored-by: Christian Boltz <apparmor@ |
| apparmor-5.0 | 2026-07-20 16:25:18 UTC |
Merge unix-chkpwd AppArmor profile denies the nslcd socket, breaking all LDAP...
Author:
Christian Boltz
Merge unix-chkpwd AppArmor profile denies the nslcd socket, breaking all LDAP logins ## Summary The `unix-chkpwd` profile grants no rule for the nslcd socket at all. `abstractions/ On top of that, the profile is attached with `flags= `unix_chkpwd` can then no longer resolve any LDAP-backed user. `pam_unix`'s account phase fails and **every LDAP user is denied login**, immediately after their public key has already been accepted. Local users are unaffected, which makes the failure look like a per-user problem rather than a policy one. ## Steps to reproduce 1. Join the host to an LDAP/AD directory using libnss-ldapd / nslcd ## Actual result Authentication succeeds, then the session is dropped. Client: ``` /var/log/auth.log: ``` dmesg: ``` (`ouid=112` is the `nslcd` user.) ## Expected result The LDAP user logs in. `unix_chkpwd` should be able to reach the nslcd socket whether or not the path is disconnected, exactly as it can already reach `authd.sock` and the systemd userdb sockets. ## Workaround /etc/apparmor. ``` ``` ## Environment - Ubuntu 26.04 LTS (resolute), amd64 MR: https:/ (cherry picked from commit 1c7cee3e901a766 2df456d8 unix-chkpwd: allow the disconnected nslcd socket Co-authored-by: Christian Boltz <apparmor@ |
| apparmor-4.0 | 2026-06-08 08:47:48 UTC |
Merge [4.0] Backport CI-related fixes
Author:
John Johansen
Merge [4.0] Backport CI-related fixes * Remove `global` declarations when variables are only read but don't get a new value assigned. Found by pyflakes 3.3.2 / python 3.13.3 While on it, remove some obsolete, commented out debugging code. (cherry picked from commit 2bfdcb780fc18e0 * utils: adjusts aa-notify tests to handle Python 3.13+ Python 3.13 changes the formatting of long-short option pairs that use a [1] https:/ Signed-off-by: Zygmunt Krynicki <zygmunt. MR: https:/ |
|
fix-test- |
2026-04-21 08:13:24 UTC |
Test suite: increase a couple timeouts to make the tests robust on riscv64
Author:
intrigeri
Test suite: increase a couple timeouts to make the tests robust on riscv64 Author: Aurelien Jarno <aurel32@ |
| apparmor-3.1 | 2026-04-20 18:54:30 UTC |
Revert "Merge unix-chkpwd: add disconnected /run/ paths"
Author:
Georgia Garcia
Revert "Merge unix-chkpwd: add disconnected /run/ paths" This reverts commit ee8642723caa386 |
| apparmor-3.0 | 2026-04-20 18:54:08 UTC |
Revert "Merge unix-chkpwd: add disconnected /run/ paths"
Author:
Georgia Garcia
Revert "Merge unix-chkpwd: add disconnected /run/ paths" This reverts commit 6518f006c98602b |
| apparmor-2.13 | 2026-04-11 00:58:27 UTC |
Merge parser: fix writing dfa flags
Author:
John Johansen
Merge parser: fix writing dfa flags Currently the parser is not correctly setting the dfa flag value Signed-off-by: John Johansen <john.johansen@ MR: https:/ |
| fix/perms-t-cmp | 2026-03-06 23:02:59 UTC |
parser: fix perms_t comparator ordering
Author:
Zygmunt Krynicki
parser: fix perms_t comparator ordering perms_t: The operator is used indirectly via deref_less_ I'm not sure if this was sufficient to cause real problems. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl> |
| fix-priority2 | 2025-02-06 20:24:04 UTC |
parser: change priority so that it accumulates based on permissions
Author:
John Johansen
parser: change priority so that it accumulates based on permissions The current behavior of priority rules can be non-intuitive with Eg. will result in no allowed permissions even though the deny rule is Instead move to tracking the priority at a per permission level. This The final constructed state will still drop priority for the final Note: this patch updates the equality tests for the cases where The complete override behavior will be reintroduced in a future Signed-off-by: John Johansen <john.johansen@ |
| apparmor-2.12 | 2022-12-16 20:05:01 UTC |
Merge log parsing fixes
Author:
Georgia Garcia
Merge log parsing fixes small fixes on log parsing MR: https:/ |
| apparmor-2.11 | 2022-08-22 22:31:58 UTC |
Merge [2.11..2.13] Add 'mctp' network domain keyword [only to utils]
Author:
John Johansen
Merge [2.11..2.13] Add 'mctp' network domain keyword [only to utils] Reported as comment on https:/ This is a partial backport of I propose this patch for 2.11, 2.12 and 2.13. MR: https:/ |
| fix-dirtest | 2022-07-25 10:14:31 UTC |
dirtest.sh: don't rely on apparmor_parser -N's output sort order to be determ...
Author:
intrigeri
dirtest.sh: don't rely on apparmor_parser -N's output sort order to be deterministic I've seen this test fail because "apparmor_parser -N" returned the expected To fix this, sort both the expected and actual output. |
|
check-if- |
2022-07-06 06:41:35 UTC |
rc.apparmor.functions: only use systemd-detect-virt if it's present
Author:
intrigeri
rc.apparmor. This is a follow-up on !812, which added a call to systemd- |
|
250-what- |
2022-06-29 13:25:14 UTC |
Merge zgrep: allow executing egrep and fgrep
Author:
Christian Boltz
Merge zgrep: allow executing egrep and fgrep egrep and fgrep also need to execute grep and write to /dev/tty in the Fixes: https:/ MR: https:/ |
|
160-the- |
2021-04-14 21:23:35 UTC |
Merge severity.py: bump test coverage to 100%
Author:
John Johansen
Merge severity.py: bump test coverage to 100% ... by adding some new tests, and by marking two lines as "pragma: no branch" because I didn't find a testcase that doesn't let them continue with the next line. Finally, remove severity.py from the "not 100% covered" list in test/Makefile. Also run severity tests with the official severity.db instead of the slightly outdated copy in test/. MR: https:/ |
| apparmor-2.10 | 2020-12-07 12:39:38 UTC |
Release: Bump revision for 2.10.6 release
Author:
John Johansen
Release: Bump revision for 2.10.6 release Signed-off-by: John Johansen <john.johansen@ |
|
cherry- |
2020-04-02 08:49:51 UTC |
Add xdg-open (and friends) abstraction
Author:
John Johansen
Add xdg-open (and friends) abstraction Implement set of abstractions to handle opening uris via xdg-open and similar helpers used on different desktop environments. Abstractions are intended to be included into child profile, together with bundle abstractions such as ubuntu-browsers, ubuntu-email and others, for fine-grained control on what confined application can actually open via xdg-open and similar helpers. PR: https:/ (cherry picked from commit d257afd3096b25f 622fc44b Add xdg-open (and friends) abstraction |
|
cherry- |
2020-03-31 21:02:18 UTC |
Merge: abstractions/nameservice: allow accessing /run/systemd/userdb/
Author:
John Johansen
Merge: abstractions/ On systems with systemd 245, `nss-systemd` additionally queries NSS records from `systemd- This does not bring full support for `systemd-homed`, but I don't use that service so I can't help with that. Fixes: https:/ (cherry picked from commit d4296d217c888e0 16f9f688 abstractions/ |
| apparmor-2.9 | 2018-06-29 18:30:00 UTC |
profiles: adjust abstractions/python for python 3.7
Author:
Christian Boltz
profiles: adjust abstractions/python for python 3.7 Python 3.7 was released yesterday - and to make the abstraction (cherry picked from commit 01f41fbff821be7 Signed-off-by: Steve Beattie <steve. |
| apparmor-2.8 | 2017-10-28 05:46:04 UTC |
git conversion: move .bzrignore to .gitignore
Author:
Steve Beattie
git conversion: move .bzrignore to .gitignore Signed-off-by: Steve Beattie <steve. |
| apparmor-2.7 | 2012-04-25 19:58:58 UTC |
Merge from trunk rev 2037:
Author:
Kees Cook
Merge from trunk rev 2037: The m4 shipped to handle Python was incorrectly clearing Signed-off-by: Kees Cook <kees@ubuntu.com> |
| apparmor-2.6 | 2011-08-26 23:03:03 UTC |
Merge from trunk revision 1805:
Author:
Steve Beattie
Merge from trunk revision 1805: Attached is a patch to make the initscript not fail if /tmp is full In the embedded awk script, I've tried to avoid gawk or mawk An additional issue that is fixed in both scripts is handling To restate, the problem with the existing code is that it creates Nominated-By: Steve Beattie <sbeattie@ |
| apparmor-2.5 | 2011-06-06 17:39:54 UTC |
Rename tags to conform with git tag requirements
Author:
John Johansen
Rename tags to conform with git tag requirements Rename tags this is necessary for export to the git mirror Signed-off-by: John Johansen <john.johansen@ |
| apparmor-2.3 | 2008-05-27 12:04:33 UTC |
remove for-mainline dir from kernel patches
Author:
John Johansen
remove for-mainline dir from kernel patches |
| apparmor-2.1 | 2008-03-28 07:19:57 UTC |
merge -r 1158 - fix fatal errors so that they have an exit with an exit code
Author:
John Johansen
merge -r 1158 - fix fatal errors so that they have an exit with an exit code |
| 1 → 26 of 26 results | First • Previous • Next • Last |
Other repositories
| Name | Last Modified |
|---|---|
| lp:apparmor | 4 hours ago |
| lp:~apparmor-dev/apparmor/+git/apparmor-trunk-daily-ppa | 2019-02-19 |
| lp:~sbeattie/apparmor/+git/apparmor | 2017-10-28 |
| lp:~jjohansen/apparmor | 2016-05-10 |
| lp:~tyhicks/apparmor | 2016-03-14 |
| 1 → 5 of 5 results | First • Previous • Next • Last |
