diff options
author | Nick Kralevich <nnk@google.com> | 2015-03-26 14:04:13 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2015-03-26 14:04:13 -0700 |
commit | a15db51bbf961ff711d71c10d20e18ad2bfaef45 (patch) | |
tree | 03c68931672e9f1923829e3d2efa48a4ca5cee38 /logd | |
parent | 6baab44eed58ed647cfd18a117e6ea9f9a52c2a5 (diff) | |
download | system_core-a15db51bbf961ff711d71c10d20e18ad2bfaef45.zip system_core-a15db51bbf961ff711d71c10d20e18ad2bfaef45.tar.gz system_core-a15db51bbf961ff711d71c10d20e18ad2bfaef45.tar.bz2 |
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
Diffstat (limited to 'logd')
-rw-r--r-- | logd/libaudit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/libaudit.c b/logd/libaudit.c index d00d579..cf76305 100644 --- a/logd/libaudit.c +++ b/logd/libaudit.c @@ -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)); |