Re: Error handling of auditctl -w

2020-06-21 Thread Steve Grubb
Hello, On Tuesday, June 16, 2020 4:00:17 PM EDT Stefan Tauner wrote: > I was wondering why my auditctl executions do not print any errors but > apparently didn't do anything. After checking the return value (which > was 255) I looked at the code and noticed that audit_setup_perms() and > audit_upd

Re: Error handling of auditctl -w

2020-06-18 Thread Lenny Bruzenak
On 6/16/20 2:00 PM, Stefan Tauner wrote: Hi, I was wondering why my auditctl executions do not print any errors but apparently didn't do anything. After checking the return value (which was 255) I looked at the code and noticed that audit_setup_perms() and audit_update_watch_perms() have virtua

Error handling of auditctl -w

2020-06-16 Thread Stefan Tauner
Hi, I was wondering why my auditctl executions do not print any errors but apparently didn't do anything. After checking the return value (which was 255) I looked at the code and noticed that audit_setup_perms() and audit_update_watch_perms() have virtually no user-visible error reporting. -- Ki