init: Allow non-root to emit messages

In commit abdbf1defcf46a1ea4723a9b526dbd7828f4697d, checks were added to
prevent non-root from sending events:
```
    * init/control.c:
      - control_reload_configuration(): Added missing permission checks.
      - control_emit_event_with_file(): Added missing permission checks.
```
Revert the check in `control_emit_event_with_file()` for powerd.

BUG=b:257962606
TEST=`tast run localhost:22552 cellular.AautoconnectCellular` passes.

Change-Id: Iefb135b80cfd1805270b212cd3dbe9dd440e3837
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/upstart/+/4010879
Reviewed-by: Allen Webb <allenwebb@google.com>
Tested-by: Pavan Holla <pholla@google.com>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Pavan Holla <pholla@google.com>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
1 file changed