Do we need entry,always rules?
The kernel will take them, but I believe we decided to deprecate them. I can remove some 'dead' code from the kernel and just return -EINVAL if someone tries to set one. Anyone see a problem with that?
-Eric
Quoted 3 lines · Eric Paris
The kernel will take them, but I believe we decided to deprecate them. I can remove some 'dead' code from the kernel and just return
-EINVALif someone tries to set one. Anyone see a problem with that?
That was the plan. User space migrated to exit filter rules with the audit 2.0 release. That release was over 2 years ago. I also think the example rules in the 1.7 series was changed to the exit filter so that people don't start off with entry filter rules.
So, you can start the process of deprecating it. I don't know if you want to just pull the filter out or warn for a while before pulling it out.
-Steve