- 
Committer:
Teddy Hogeborn
- 
Date:
2014-03-23 19:24:40 UTC
- 
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.
 
 
|  .. | 
|  .bzr-builddeb | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in |  |   |  | 
|  debian | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in |  |   |  | 
|  network-hooks.d | 505.3.10 | 13 years ago | Teddy Hogeborn | * network-hooks.d: New directory.
* network-hooks. |  |   |  | 
|  plugins.d | 13 | 17 years ago | Björn Påhlsson | Added following support:
Pluginbased client handle |  |   |  | 
|  .bzrignore | 585 | 13 years ago | Teddy Hogeborn | * .bzrignore (statedir): Added. | 188 bytes |   |   | 
|  clients.conf | 609 | 13 years ago | Teddy Hogeborn | * clients.conf: Convert all time intervals to new | 3.1 KB |   |   | 
|  common.ent | 237.4.41 | 11 years ago | Teddy Hogeborn | * Makefile (version): Changed to "1.6.4".
* NEWS ( | 93 bytes |   |   | 
|  COPYING | 24.1.51 | 17 years ago | Björn Påhlsson | Added configuration files support for mandos-clien | 34.2 KB |   |   | 
|  DBUS-API | 556 | 13 years ago | Teddy Hogeborn | * DBUS-API (se.recompile.Mandos.Client.LastChecker | 6.7 KB |   |   | 
|  dbus-mandos.conf | 24.1.186 | 14 years ago | Björn Påhlsson | transitional stuff actually working
documented cha | 820 bytes |   |   | 
|  default-mandos | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in | 174 bytes |   |   | 
|  init.d-mandos | 648 | 11 years ago | Teddy Hogeborn | Update init script to modern standards.
* init.d- | 4.3 KB |   |   | 
|  initramfs-tools-hook | 640 | 12 years ago | Teddy Hogeborn | Use architecture libdir.
Instead of always using | 6 KB |   |   | 
|  initramfs-tools-hook-conf | 237.2.19 | 16 years ago | Teddy Hogeborn | * initramfs-tools-hook-conf: Security bug fix: Add | 407 bytes |   |   | 
|  initramfs-tools-script | 487 | 14 years ago | Teddy Hogeborn | * initramfs-tools-script: Abort if plugin-runner i | 3.6 KB |   |   | 
|  initramfs-unpack | 624 | 12 years ago | Teddy Hogeborn | * initramfs-unpack: Bug fix: Made executable. | 2.2 KB |   |   | 
|  INSTALL | 618 | 12 years ago | Teddy Hogeborn | * mandos: Bug fix: Make boolean options work from | 5 KB |   |   | 
|  intro.xml | 544 | 13 years ago | Teddy Hogeborn | Updated year in copyright notices. | 15.3 KB |   |   | 
|  legalnotice.xml | 174 | 17 years ago | Teddy Hogeborn | * legalnotice.xml: Copy DocBook 4.4-formatted text | 1 KB |   |   | 
|  Makefile | 672 | 11 years ago | Teddy Hogeborn | Update GCC warning flags and function attributes t | 16.1 KB |   |   | 
|  mandos | 658 | 11 years ago | Teddy Hogeborn | * mandos (ClientDBus.start_checker): Removed unuse | 117 KB |   |   | 
|  mandos-clients.conf.xml | 626 | 12 years ago | Teddy Hogeborn | * Makefile (CFLAGS, LDFLAGS): Keep default flags f | 18.2 KB |   |   | 
|  mandos-ctl | 659 | 11 years ago | Teddy Hogeborn | * debian/copyright: Change year to "2014".
* mando | 18.8 KB |   |   | 
|  mandos-ctl.xml | 608 | 13 years ago | Teddy Hogeborn | * Makefile (check): Also check mandos-ctl.
* mando | 16.3 KB |   |   | 
|  mandos-keygen | 663 | 11 years ago | Teddy Hogeborn | * mandos-keygen (keygen): Add workaround for Debia | 9.7 KB |   |   | 
|  mandos-keygen.xml | 631 | 12 years ago | Teddy Hogeborn | * mandos (priority): Bug fix: Add even more magic | 14.3 KB |   |   | 
|  mandos-monitor | 659 | 11 years ago | Teddy Hogeborn | * debian/copyright: Change year to "2014".
* mando | 29.1 KB |   |   | 
|  mandos-monitor.xml | 544 | 13 years ago | Teddy Hogeborn | Updated year in copyright notices. | 6 KB |   |   | 
|  mandos-options.xml | 634 | 12 years ago | Teddy Hogeborn | * debian/control (Build-Depends): Changed debhelpe | 4.9 KB |   |   | 
|  mandos.conf | 631 | 12 years ago | Teddy Hogeborn | * mandos (priority): Bug fix: Add even more magic | 1.4 KB |   |   | 
|  mandos.conf.xml | 634 | 12 years ago | Teddy Hogeborn | * debian/control (Build-Depends): Changed debhelpe | 8.7 KB |   |   | 
|  mandos.lsm | 657 | 11 years ago | Teddy Hogeborn | * mandos.lsm: Fix formatting to be acceptable by t | 912 bytes |   |   | 
|  mandos.service | 647 | 11 years ago | Teddy Hogeborn | Specify BusName in systemd service file.
* mandos | 660 bytes |   |   | 
|  mandos.xml | 636 | 12 years ago | Teddy Hogeborn | Fall back to /var/run for pidfile if /run is not a | 23.5 KB |   |   | 
|  NEWS | 237.4.41 | 11 years ago | Teddy Hogeborn | * Makefile (version): Changed to "1.6.4".
* NEWS ( | 11.2 KB |   |   | 
|  overview.xml | 183 | 17 years ago | Teddy Hogeborn | * Makefile (install-client-nokey): Do "&&" instead | 926 bytes |   |   | 
|  plugin-runner.c | 672 | 11 years ago | Teddy Hogeborn | Update GCC warning flags and function attributes t | 35.4 KB |   |   | 
|  plugin-runner.conf | 342 | 16 years ago | Teddy Hogeborn | * initramfs-tools-hook: Bug fix: Add "--userid" an | 380 bytes |   |   | 
|  plugin-runner.xml | 544 | 13 years ago | Teddy Hogeborn | Updated year in copyright notices. | 20.5 KB |   |   | 
|  README | 550 | 13 years ago | Teddy Hogeborn | * README: Hint that the intro(8mandos) manual page | 409 bytes |   |   | 
|  TODO | 669 | 11 years ago | Teddy Hogeborn | Use "struct sockaddr_storage" instead of a union i | 5.2 KB |   |   |