Skip to content

Fix for the regular expression for parsing MatchCGroup#54

Merged
singchia merged 2 commits intosingchia:mainfrom
kocmo:cgroup-fix
Mar 31, 2025
Merged

Fix for the regular expression for parsing MatchCGroup#54
singchia merged 2 commits intosingchia:mainfrom
kocmo:cgroup-fix

Conversation

@kocmo
Copy link
Contributor

@kocmo kocmo commented Mar 31, 2025

Fix for the regular expression for parsing MatchCGroup. Previously it was failing to process rules like:

0 0 MARK       6    --  *      *       0.0.0.0/0            0.0.0.0/0            cgroup 1000 MARK set 0xdeadbeef
0 0 MARK       6    --  *      *       0.0.0.0/0            0.0.0.0/0            cgroup ! 2000 MARK set 0xdeadbeef
0 0 MARK       6    --  *      *       0.0.0.0/0            0.0.0.0/0            cgroup /system.slice/systemd-logind.service MARK set 0xdeadbeef
0 0 MARK       6    --  *      *       0.0.0.0/0            0.0.0.0/0            cgroup ! /system.slice/systemd-journald.service MARK set 0xdeadbeef

@singchia
Copy link
Owner

Great!

@singchia singchia merged commit 5558395 into singchia:main Mar 31, 2025
1 check passed
@kocmo
Copy link
Contributor Author

kocmo commented Mar 31, 2025

Thank you so much for your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants