[acassen/keepalived] 99f22a: In get_modprobe(), close file descriptor if MALLOC...

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <573daad67a2a6_54913fcb689052b8116190@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 99f22a7e8e2d7f7346174d76e3f3addd5a3bc0fe
      https://github.com/acassen/keepalived/commit/99f22a7e8e2d7f7346174d76e3f3addd5a3bc0fe
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c

  Log Message:
  -----------
  In get_modprobe(), close file descriptor if MALLOC fails

The sequencing of the code wasn't quite right, and so if the MALLOC
had failed, the file descriptor would be left open.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 8dee2d9cc1160e4e501a1251f9394f8843dc4d82
      https://github.com/acassen/keepalived/commit/8dee2d9cc1160e4e501a1251f9394f8843dc4d82
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/master' into fixes


  Commit: b443a3f20e3f33fa8e1dfa3d67d17e142f128a82
      https://github.com/acassen/keepalived/commit/b443a3f20e3f33fa8e1dfa3d67d17e142f128a82
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/check/check_http.c
    M keepalived/check/check_smtp.c
    M keepalived/check/check_tcp.c
    M keepalived/core/smtp.c
    M keepalived/libipvs-2.4/libipvs.c
    M keepalived/libipvs-2.6/libipvs.c
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_arp.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M keepalived/vrrp/vrrp_ndisc.c
    M keepalived/vrrp/vrrp_netlink.c
    M lib/Makefile.in
    A lib/old_socket.c
    A lib/old_socket.h

  Log Message:
  -----------
  Fix compilation without SOCK_CLOEXEC and SOCK_NONBLOCK

SOCK_CLOEXEC and SOCK_NONBLOCK weren't introduced until
Linux 2.6.23, so for earlier kernels explicitly call fcntl().

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 7e0abfc1aae4df4b3d397153a2dde166ec37568c
      https://github.com/acassen/keepalived/commit/7e0abfc1aae4df4b3d397153a2dde166ec37568c
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M configure
    M configure.ac
    M keepalived/include/vrrp.h
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_data.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_print.c
    M keepalived/vrrp/vrrp_snmp.c

  Log Message:
  -----------
  Don't include FIB rule/route support if kernel doesn't support it

FIB rule/route support was added in Linux 2.6.19.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f7c68f50c5e43d3b632c7a3a7412e0fb6170852d
      https://github.com/acassen/keepalived/commit/f7c68f50c5e43d3b632c7a3a7412e0fb6170852d
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M genhash/layer4.c

  Log Message:
  -----------
  Enable genhash to build without SOCK_CLOEXEC

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: ecdd80cf3e7e644942d62e8079714ac6d884a3f0
      https://github.com/acassen/keepalived/commit/ecdd80cf3e7e644942d62e8079714ac6d884a3f0
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c

  Log Message:
  -----------
  Ignore O_CLOEXEC if not defined when opening and immediately closing file

In get_modprobe() it isn't important if O_CLOEXEC isn't set, since the file
is closed before the function exits.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 7750516ff992e483637b066d3424a780ffa9f0e9
      https://github.com/acassen/keepalived/commit/7750516ff992e483637b066d3424a780ffa9f0e9
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M configure
    M configure.ac

  Log Message:
  -----------
  Allow building without --disable-fwmark if SO_MARK not defined

configure complained "No SO_MARK declaration in headers" if that
was the case, but --disable-fwmark was not specified. The commit
stops the error message, and just defines _WITHOUT_SO_MARK_ if
SO_MARK is not defined.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 157fe64ab4f63f0c453555334c9c81ff694a61af
      https://github.com/acassen/keepalived/commit/157fe64ab4f63f0c453555334c9c81ff694a61af
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M configure
    M configure.ac
    M genhash/layer4.c
    M keepalived/check/check_http.c
    M keepalived/check/check_smtp.c
    M keepalived/check/check_tcp.c
    M keepalived/check/ipvswrapper.c
    M keepalived/core/smtp.c
    M keepalived/include/vrrp.h
    M keepalived/libipvs-2.4/libipvs.c
    M keepalived/libipvs-2.6/libipvs.c
    M keepalived/vrrp/Makefile.in
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_arp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_data.c
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M keepalived/vrrp/vrrp_ndisc.c
    M keepalived/vrrp/vrrp_netlink.c
    M keepalived/vrrp/vrrp_parser.c
    M keepalived/vrrp/vrrp_print.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/Makefile.in
    A lib/old_socket.c
    A lib/old_socket.h

  Log Message:
  -----------
  Merge pull request #335 from pqarmitage/fixes

Enable compilation on Linux 2.6.18


Compare: https://github.com/acassen/keepalived/compare/8d76011dd840...157fe64ab4f6

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.