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


Stephen Smalley  committed 4c97b70

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 3173aee
  • Branches seandroid-msm-flo-3.4-jb-mr2

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;