()
| 310 | } |
| 311 | |
| 312 | func connect() (net.Conn, error) { |
| 313 | addRules() |
| 314 | // TODO: make the unix socket path configurable |
| 315 | return net.Dial("unix", auditCfg.AudispSocketPath) |
| 316 | } |
| 317 | |
| 318 | // Stop stops listening for events from auditd and delete the auditd rules. |
| 319 | func Stop() { |