1. seandroid
  2. Untitled project
  3. kernel/exynos


Stephen Smalley  committed ba3df6a

Enable audit by default.

Enable audit by default, including pathname collection.
Normally this would be handled from userspace via auditctl,
but patch the kernel until audit userspace becomes available.

  • Participants
  • Parent commits a02b58c
  • Branches seandroid-exynos-manta-3.4-kitkat-mr0

Comments (0)

Files changed (2)

File kernel/audit.c

View file
 /* Default state when kernel boots without any parameters. */
-static int	audit_default;
+static int	audit_default = 1;
 /* If auditing cannot proceed, audit_failure selects what happens. */
 static int	audit_failure = AUDIT_FAIL_PRINTK;

File kernel/auditsc.c

View file
 #define MAX_EXECVE_AUDIT_LEN 7500
 /* number of audit rules */
-int audit_n_rules;
+int audit_n_rules = 1;
 /* determines whether we collect data for signals sent */
 int audit_signals;