/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to dracut-module/ask-password-mandos.service

  • Committer: Teddy Hogeborn
  • Date: 2023-02-07 19:18:35 UTC
  • Revision ID: teddy@recompile.se-20230207191835-z1w66f5u6bcugfo8
Suppress warnings about writing into an ievent struct

* dracut-module/password-agent.c (read_inotify_event(),
  test_read_inotify_event_IN_CLOSE_WRITE(),
  test_read_inotify_event_IN_MOVED_TO(),
  test_read_inotify_event_IN_MOVED_FROM(),
  test_read_inotify_event_IN_DELETE(),
  test_read_inotify_event_IN_CLOSE_WRITE_badname(),
  test_read_inotify_event_IN_MOVED_TO_badname(),
  test_read_inotify_event_IN_MOVED_FROM_badname()): When writing into
  a struct ievent, suppress "-Wstringop-overread".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- systemd -*-
2
2
3
 
# Copyright © 2019 Teddy Hogeborn
4
 
# Copyright © 2019 Björn Påhlsson
 
3
# Copyright © 2019-2020 Teddy Hogeborn
 
4
# Copyright © 2019-2020 Björn Påhlsson
5
5
6
6
# This file is part of Mandos.
7
7
48
48
ConditionPathIsMountPoint=!/sysroot
49
49
 
50
50
[Service]
51
 
ExecStart=/lib/mandos/password-agent -- /lib/mandos/mandos-client --pubkey=/etc/mandos/keys/pubkey.txt --seckey=/etc/mandos/keys/seckey.txt --tls-pubkey=/etc/mandos/keys/tls-pubkey.pem --tls-privkey=/etc/mandos/keys/tls-privkey.pem
 
51
ExecStart=/lib/mandos/password-agent $PASSWORD_AGENT_OPTIONS -- /lib/mandos/mandos-client --pubkey=/etc/mandos/keys/pubkey.txt --seckey=/etc/mandos/keys/seckey.txt --tls-pubkey=/etc/mandos/keys/tls-pubkey.pem --tls-privkey=/etc/mandos/keys/tls-privkey.pem $MANDOS_CLIENT_OPTIONS