/mandos/release

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

  • Committer: Teddy Hogeborn
  • Date: 2014-03-23 19:24:40 UTC
  • mto: (237.7.272 trunk)
  • Revision ID: teddy@recompile.se-20140323192440-d71iiqxebsxf9u2v
Update GCC warning flags and function attributes to GCC 4.7.

* Makefile (WARN): Update to include almost all warning flags.
* plugin-runner.c (getplugin, add_to_char_array, add_argument,
                   add_environment, set_cloexec_flag,
                   print_out_password): Add attribute
                                        "warn_unused_result".
  (main/parse_opt): Bug fix: Add error checking to --global-env,
                    --env-for, --plugin-dir, and --config-file, and
                    make sure errno does not "leak" from unrelated
                    functions.
* plugins.d/mandos-client.c
  (fprintf_plus, debuggnutls, resolve_callback): Add "nonnull"
                                                 attribute.
  (incbuffer, add_server, init_gpgme): Add "nonnull" and
                                       "warn_unused_result"
                                       attributes.
  (pgp_packet_decrypt, init_gnutls_global): - '' -
  (init_gnutls_session start_mandos_communication, get_flags): - '' -
  (good_flags, good_interface, interface_is_up): - '' -
  (interface_is_running, runnable_hook): - '' -
  (avahi_loop_with_timeout, bring_up_interface): : - '' -
  (safer_gnutls_strerror): Add "warn_unused_result" attribute.
  (notdotentries): Set "nonnull", "pure", and "warn_unused_result"
                   attributes.
  (raise_privileges, raise_privileges_permanently, lower_privileges,
  lower_privileges_permanently): Set "warn_unused_result" attribute.
  (run_network_hooks): Exit child process if it fails to do anything
                       it needs to do.  Make explicit cast to double
                       when passing float value to asprintf().  Change
                       return type to void - all callers changed.
  (bring_up_interface): Move variables "sd", "ret_errno", and
                        "ret_setflags" to innermost scope.  Bug fix:
                        Fail if could not get interface flags also in
                        non-debug mode, and restore old errno
                        correctly.  Print message if could not raise
                        (or later lower) privileges.
  (take_down_interface): Bug fix: When failing because it could not
                         get interface flags, restore old errno
                         correctly.  Print message if it could not
                         raise (or later lower) privileges.
  (main): Complain if failed to raise or lower privileges.  Only run
          network hooks or lower privileges if raising privileges was
          successful.
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 15 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
source 237.2.216 13 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
changelog 310 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.4". * NEWS ( 14.9 KB Diff Download File
compat 237.7.174 10 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 2 bytes Diff Download File
control 237.7.212 10 years ago Teddy Hogeborn * debian/control (Standards-Version): Updated to " 2.6 KB Diff Download File
copyright 237.7.207 10 years ago Teddy Hogeborn * debian/copyright: Change year to "2014". * mando 1 KB Diff Download File
mandos-client.dirs 237.2.65 15 years ago Teddy Hogeborn * Makefile (install-client-nokey): Move "initramfs 147 bytes Diff Download File
mandos-client.docs 237.7.142 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 237.7.142 12 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 16 bytes Diff Download File
mandos-client.links 191 15 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 237.7.200 10 years ago Teddy Hogeborn Bug fix from libdir change: make plugins get setui 1.4 KB Diff Download File
mandos-client.postinst 237.11.13 12 years ago Teddy Hogeborn Miscellaneous fixes prompted by lintian: * debian 2 KB Diff Download File
mandos-client.postrm 237.11.13 12 years ago Teddy Hogeborn Miscellaneous fixes prompted by lintian: * debian 1.2 KB Diff Download File
mandos-client.README.Debian 237.7.189 10 years ago Teddy Hogeborn Doc fix: Refer to architecture libdir. * debian/m 4 KB Diff Download File
mandos.dirs 237.7.187 10 years ago Teddy Hogeborn Bug fix: Make sure systemd service file is install 124 bytes Diff Download File
mandos.docs 237.2.186 13 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
mandos.lintian-overrides 221 15 years ago Teddy Hogeborn * debian/changelog: New Debian revision. * debian 203 bytes Diff Download File
mandos.postinst 237.7.198 10 years ago Teddy Hogeborn Fix Debian package bug with avahi-daemon 0.6.31-2 1.8 KB Diff Download File
mandos.prerm 237.11.13 12 years ago Teddy Hogeborn Miscellaneous fixes prompted by lintian: * debian 875 bytes Diff Download File
mandos.README.Debian 237.11.2 12 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
File rules 237.7.200 10 years ago Teddy Hogeborn Bug fix from libdir change: make plugins get setui 887 bytes Diff Download File
upstream-signing-key.pgp 237.7.210 10 years ago Teddy Hogeborn * debian/upstream-signing-key.pgp: New; upstream s 2.1 KB Diff Download File
watch 237.7.202 10 years ago Teddy Hogeborn Fix running of self-tests. * debian/control (Buil 132 bytes Diff Download File