/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
..
.bzr-builddeb 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
network-hooks.d 237.16.10 13 years ago Teddy Hogeborn * network-hooks.d: New directory. * network-hooks. Diff
plugins.d 13 16 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 237.7.133 12 years ago Teddy Hogeborn * .bzrignore (statedir): Added. 188 bytes Diff Download File
clients.conf 237.7.157 12 years ago Teddy Hogeborn * clients.conf: Convert all time intervals to new 3.1 KB Diff Download File
common.ent 310 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.4". * NEWS ( 93 bytes Diff Download File
COPYING 24.1.51 16 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
DBUS-API 237.7.104 12 years ago Teddy Hogeborn * DBUS-API (se.recompile.Mandos.Client.LastChecker 6.7 KB Diff Download File
dbus-mandos.conf 24.1.186 13 years ago Björn Påhlsson transitional stuff actually working documented cha 820 bytes Diff Download File
default-mandos 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 237.7.196 10 years ago Teddy Hogeborn Update init script to modern standards. * init.d- 4.3 KB Diff Download File
File initramfs-tools-hook 237.7.188 11 years ago Teddy Hogeborn Use architecture libdir. Instead of always using 6 KB Diff Download File
initramfs-tools-hook-conf 256 15 years ago Teddy Hogeborn * initramfs-tools-hook-conf: Security bug fix: Add 407 bytes Diff Download File
File initramfs-tools-script 237.7.35 13 years ago Teddy Hogeborn * initramfs-tools-script: Abort if plugin-runner i 3.6 KB Diff Download File
File initramfs-unpack 237.7.172 11 years ago Teddy Hogeborn * initramfs-unpack: Bug fix: Made executable. 2.2 KB Diff Download File
INSTALL 237.7.166 11 years ago Teddy Hogeborn * mandos: Bug fix: Make boolean options work from 5 KB Diff Download File
intro.xml 237.7.92 12 years ago Teddy Hogeborn Updated year in copyright notices. 15.3 KB Diff Download File
legalnotice.xml 174 16 years ago Teddy Hogeborn * legalnotice.xml: Copy DocBook 4.4-formatted text 1 KB Diff Download File
Makefile 237.7.220 10 years ago Teddy Hogeborn Update GCC warning flags and function attributes t 16.1 KB Diff Download File
File mandos 237.7.206 10 years ago Teddy Hogeborn * mandos (ClientDBus.start_checker): Removed unuse 117 KB Diff Download File
mandos-clients.conf.xml 237.7.174 11 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 18.2 KB Diff Download File
File mandos-ctl 237.7.207 10 years ago Teddy Hogeborn * debian/copyright: Change year to "2014". * mando 18.8 KB Diff Download File
mandos-ctl.xml 237.7.156 12 years ago Teddy Hogeborn * Makefile (check): Also check mandos-ctl. * mando 16.3 KB Diff Download File
File mandos-keygen 237.7.211 10 years ago Teddy Hogeborn * mandos-keygen (keygen): Add workaround for Debia 9.7 KB Diff Download File
mandos-keygen.xml 237.7.179 11 years ago Teddy Hogeborn * mandos (priority): Bug fix: Add even more magic 14.3 KB Diff Download File
File mandos-monitor 237.7.207 10 years ago Teddy Hogeborn * debian/copyright: Change year to "2014". * mando 29.1 KB Diff Download File
mandos-monitor.xml 237.7.92 12 years ago Teddy Hogeborn Updated year in copyright notices. 6 KB Diff Download File
mandos-options.xml 237.7.182 11 years ago Teddy Hogeborn * debian/control (Build-Depends): Changed debhelpe 4.9 KB Diff Download File
mandos.conf 237.7.179 11 years ago Teddy Hogeborn * mandos (priority): Bug fix: Add even more magic 1.4 KB Diff Download File
mandos.conf.xml 237.7.182 11 years ago Teddy Hogeborn * debian/control (Build-Depends): Changed debhelpe 8.7 KB Diff Download File
mandos.lsm 237.7.205 10 years ago Teddy Hogeborn * mandos.lsm: Fix formatting to be acceptable by t 912 bytes Diff Download File
mandos.service 237.7.195 10 years ago Teddy Hogeborn Specify BusName in systemd service file. * mandos 660 bytes Diff Download File
mandos.xml 237.7.184 11 years ago Teddy Hogeborn Fall back to /var/run for pidfile if /run is not a 23.5 KB Diff Download File
NEWS 310 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.4". * NEWS ( 11.2 KB Diff Download File
overview.xml 183 16 years ago Teddy Hogeborn * Makefile (install-client-nokey): Do "&&" instead 926 bytes Diff Download File
plugin-runner.c 237.7.220 10 years ago Teddy Hogeborn Update GCC warning flags and function attributes t 35.4 KB Diff Download File
plugin-runner.conf 237.2.105 15 years ago Teddy Hogeborn * initramfs-tools-hook: Bug fix: Add "--userid" an 380 bytes Diff Download File
plugin-runner.xml 237.7.92 12 years ago Teddy Hogeborn Updated year in copyright notices. 20.5 KB Diff Download File
README 237.7.98 12 years ago Teddy Hogeborn * README: Hint that the intro(8mandos) manual page 409 bytes Diff Download File
TODO 237.7.217 10 years ago Teddy Hogeborn Use "struct sockaddr_storage" instead of a union i 5.2 KB Diff Download File