Repository navigation
Commit a3f0711
[PATCH] Audit: make audit=0 actually turn off audit
Currently audit=0 on the kernel command line does absolutely nothing.
Audit always loads and always uses its resources such as creating the
kernel netlink socket. This patch causes audit=0 to actually disable
audit. Audit will use no resources and starting the userspace auditd
daemon will not cause the kernel audit system to activate.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 218d11a commit a3f0711
1 file changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
965 | 968 | | |
966 | 969 | | |
967 | 970 | | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
968 | 974 | | |
969 | 975 | | |
970 | 976 | | |
| |||
976 | 982 | | |
977 | 983 | | |
978 | 984 | | |
979 | | - | |
| 985 | + | |
980 | 986 | | |
981 | 987 | | |
982 | 988 | | |
| |||
999 | 1005 | | |
1000 | 1006 | | |
1001 | 1007 | | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1006 | 1014 | | |
1007 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
1008 | 1020 | | |
| 1021 | + | |
| 1022 | + | |
1009 | 1023 | | |
1010 | 1024 | | |
1011 | 1025 | | |
| |||
1146 | 1160 | | |
1147 | 1161 | | |
1148 | 1162 | | |
1149 | | - | |
| 1163 | + | |
1150 | 1164 | | |
1151 | 1165 | | |
1152 | 1166 | | |
| |||
0 commit comments