am 97d0c193: Merge "Revert "libaudit: limit to 5 selinux denials per sec""

* commit '97d0c1935447b4fc91bd59f604ab92e9e579efa3':
  Revert "libaudit: limit to 5 selinux denials per sec"
This commit is contained in:
Nick Kralevich 2015-05-11 22:50:29 +00:00 committed by Android Git Automerger
commit 88e184d981

View file

@ -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 = 5; // audit entries per second
status.rate_limit = 20; // 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));