Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a15db51b authored by Nick Kralevich's avatar Nick Kralevich
Browse files

libaudit: limit to 5 selinux denials per sec

watchdog is triggering on shamu. This may be due to an excessive
number of SELinux denials. Drop the limit from 20/sec to 5/sec.

Bug: 19950451
Bug: 19949988
Change-Id: I979f11e17c241ff2ebda4dec9694ef441dc5d0ed
parent 6baab44e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ int audit_setup(int fd, uint32_t pid)
     */
    status.pid = pid;
    status.mask = AUDIT_STATUS_PID | AUDIT_STATUS_RATE_LIMIT;
    status.rate_limit = 20; // audit entries per second
    status.rate_limit = 5; // audit entries per second

    /* Let the kernel know this pid will be registering for audit events */
    rc = audit_send(fd, AUDIT_SET, &status, sizeof(status));