]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:47:33 +0000 (10:47 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:47:33 +0000 (10:47 -0700)]
refresh (create temporary patch)

11 years agoRefresh of use-acm
Sean Hefty [Thu, 18 Jul 2013 17:47:33 +0000 (10:47 -0700)]
Refresh of use-acm

11 years agopop (CONFLICT)
Sean Hefty [Thu, 18 Jul 2013 17:46:31 +0000 (10:46 -0700)]
pop (CONFLICT)

11 years agopop (CONFLICT)
Sean Hefty [Thu, 18 Jul 2013 17:46:31 +0000 (10:46 -0700)]
pop (CONFLICT)

11 years agoinit: Remove USE_IB_ACM configuration option
Sean Hefty [Mon, 10 Jun 2013 17:57:56 +0000 (10:57 -0700)]
init: Remove USE_IB_ACM configuration option

When the librdmacm is configured, it sets the USE_IB_ACM option
if infininband/acm.h is found.  We can remove this option with
very little overhead, which would allow a user to install
ACM after installing the librdmacm, and the librdmacm would be
able to make use of ACM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:46:31 +0000 (10:46 -0700)]
pop

11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:46:31 +0000 (10:46 -0700)]
pop

11 years agorename
Sean Hefty [Thu, 18 Jul 2013 17:46:25 +0000 (10:46 -0700)]
rename

11 years agorename
Sean Hefty [Thu, 18 Jul 2013 17:46:25 +0000 (10:46 -0700)]
rename

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:45:54 +0000 (10:45 -0700)]
refresh

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:45:54 +0000 (10:45 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:45:54 +0000 (10:45 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:45:54 +0000 (10:45 -0700)]
refresh (create temporary patch)

11 years agoRefresh of acm_msg
Sean Hefty [Thu, 18 Jul 2013 17:45:54 +0000 (10:45 -0700)]
Refresh of acm_msg

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:38:34 +0000 (10:38 -0700)]
refresh

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:38:34 +0000 (10:38 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:37:40 +0000 (10:37 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:37:40 +0000 (10:37 -0700)]
refresh (create temporary patch)

11 years agoRefresh of acm_msg
Sean Hefty [Thu, 18 Jul 2013 17:37:40 +0000 (10:37 -0700)]
Refresh of acm_msg

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:36:35 +0000 (10:36 -0700)]
refresh

11 years agorefresh
Sean Hefty [Thu, 18 Jul 2013 17:36:35 +0000 (10:36 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:36:35 +0000 (10:36 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Thu, 18 Jul 2013 17:36:35 +0000 (10:36 -0700)]
refresh (create temporary patch)

11 years agoRefresh of acm_msg
Sean Hefty [Thu, 18 Jul 2013 17:36:34 +0000 (10:36 -0700)]
Refresh of acm_msg

11 years agopop (CONFLICT)
Sean Hefty [Thu, 18 Jul 2013 17:34:32 +0000 (10:34 -0700)]
pop (CONFLICT)

11 years agopop (CONFLICT)
Sean Hefty [Thu, 18 Jul 2013 17:34:32 +0000 (10:34 -0700)]
pop (CONFLICT)

11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already defines some ACM messages through configuration
checks.  We just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already has this through configuration checks.  We
just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already has this through configuration checks.  We
just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:34:31 +0000 (10:34 -0700)]
pop

11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:34:31 +0000 (10:34 -0700)]
pop

11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:34:24 +0000 (10:34 -0700)]
pop

11 years agopop
Sean Hefty [Thu, 18 Jul 2013 17:34:24 +0000 (10:34 -0700)]
pop

11 years agorename
Sean Hefty [Wed, 17 Jul 2013 22:56:10 +0000 (15:56 -0700)]
rename

11 years agorename
Sean Hefty [Wed, 17 Jul 2013 22:56:10 +0000 (15:56 -0700)]
rename

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 22:56:05 +0000 (15:56 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 22:56:05 +0000 (15:56 -0700)]
pop

11 years agoinit: Remove USE_IB_ACM configuration option
Sean Hefty [Mon, 10 Jun 2013 17:57:56 +0000 (10:57 -0700)]
init: Remove USE_IB_ACM configuration option

When the librdmacm is configured, it sets the USE_IB_ACM option
if infininband/acm.h is found.  We can remove this option with
very little overhead, which would allow a user to install
ACM after installing the librdmacm, and the librdmacm would be
able to make use of ACM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorename
Sean Hefty [Wed, 17 Jul 2013 22:55:23 +0000 (15:55 -0700)]
rename

11 years agorename
Sean Hefty [Wed, 17 Jul 2013 22:55:23 +0000 (15:55 -0700)]
rename

11 years agocommit
Sean Hefty [Wed, 17 Jul 2013 21:07:53 +0000 (14:07 -0700)]
commit

11 years agocommit
Sean Hefty [Wed, 17 Jul 2013 21:07:53 +0000 (14:07 -0700)]
commit

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 18:00:45 +0000 (11:00 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 18:00:45 +0000 (11:00 -0700)]
pop

11 years agocmatose: Allow user to specify address format
Sean Hefty [Wed, 29 Aug 2012 22:02:54 +0000 (15:02 -0700)]
cmatose: Allow user to specify address format

Provide an option for the user to indicate the type of
addresses used as input.  Support hostname, IPv4, IPv6,
and GIDs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:08 +0000 (21:20 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:08 +0000 (21:20 -0700)]
pop

11 years agoRemove executable mode bit on text files
Yann Droneaud [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Remove executable mode bit on text files

Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:06 +0000 (21:20 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:06 +0000 (21:20 -0700)]
pop

11 years agoOpen files with "close on exec" flag
Yann Droneaud [Tue, 16 Jul 2013 21:59:52 +0000 (23:59 +0200)]
Open files with "close on exec" flag

File opened by librdmacm are not supposed to be inherited across
exec*(), most of the files are of no use for another program, and
others cannot be used without the associated memory mapping.

This patch changes fopen() open() and socket() to always set
close on exec flag.

This patch also add checks to configure to guess if fopen() supports
"e" flag. If O_CLOEXEC and SOCK_CLOEXEC are supported, fopen() should
support "e". If not supported, its discarded according to POSIX. Many
operating systems have support for fopen("e").

You might find more information about close on exec in the following articles:

- "Excuse me son, but your code is leaking !!!" by Dan Walsh
  http://danwalsh.livejournal.com/53603.html

- "Secure File Descriptor Handling" by Ulrich Drepper
  http://udrepper.livejournal.com/20407.html

Note: this patch won't set close on exec flag on file descriptors
created by the kernel for completion channel and such.
This is addressed by another kernel patch.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:05 +0000 (21:20 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:05 +0000 (21:20 -0700)]
pop

11 years agoAdd .gitignore rules
Yann Droneaud [Tue, 16 Jul 2013 21:59:50 +0000 (23:59 +0200)]
Add .gitignore rules

Add the list of files/patterns to be exclueded from git status output.
Additionally it will prevent such files/patterns to be added and committed.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:03 +0000 (21:20 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:03 +0000 (21:20 -0700)]
pop

11 years agoconfigure: Use automake's option "subdir-objects"
Yann Droneaud [Tue, 16 Jul 2013 21:59:49 +0000 (23:59 +0200)]
configure: Use automake's option "subdir-objects"

Following advice in "Autotool Mythbuster" [1], option subdir-objects
can be used to have Makefiles create object files in the same
directory than theirs source files.

It reduces clobbering in the build directory.

[1] "Autotool Mythbuster", by Diego Elio "Flameeyes" Petten`o
http://www.flameeyes.eu/autotools-mythbuster/automake/nonrecursive.html

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:01 +0000 (21:20 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:20:01 +0000 (21:20 -0700)]
pop

11 years agoconfigure: Apply updates proposed by autoupdate
Yann Droneaud [Tue, 16 Jul 2013 21:59:48 +0000 (23:59 +0200)]
configure: Apply updates proposed by autoupdate

'autoupdate' is a tool to help developer to update configure.ac.

This patch applies a few fixes as suggested by autoupdate.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Wed, 17 Jul 2013 04:19:59 +0000 (21:19 -0700)]
refresh

11 years agorefresh
Sean Hefty [Wed, 17 Jul 2013 04:19:59 +0000 (21:19 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Jul 2013 04:19:59 +0000 (21:19 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Jul 2013 04:19:59 +0000 (21:19 -0700)]
refresh (create temporary patch)

11 years agoRefresh of librdmacm-3-8-autogen-sh-use-a
Sean Hefty [Wed, 17 Jul 2013 04:19:59 +0000 (21:19 -0700)]
Refresh of librdmacm-3-8-autogen-sh-use-a

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:45 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:45 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:44 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:44 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:43 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:43 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:42 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:42 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:41 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:19:41 +0000 (21:19 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:50 +0000 (21:16 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:50 +0000 (21:16 -0700)]
pop

11 years agoRemove executable mode bit on text files
Yann Droneaud [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Remove executable mode bit on text files

Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:47 +0000 (21:16 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:47 +0000 (21:16 -0700)]
pop

11 years agoOpen files with "close on exec" flag
Yann Droneaud [Tue, 16 Jul 2013 21:59:52 +0000 (23:59 +0200)]
Open files with "close on exec" flag

File opened by librdmacm are not supposed to be inherited across
exec*(), most of the files are of no use for another program, and
others cannot be used without the associated memory mapping.

This patch changes fopen() open() and socket() to always set
close on exec flag.

This patch also add checks to configure to guess if fopen() supports
"e" flag. If O_CLOEXEC and SOCK_CLOEXEC are supported, fopen() should
support "e". If not supported, its discarded according to POSIX. Many
operating systems have support for fopen("e").

You might find more information about close on exec in the following articles:

- "Excuse me son, but your code is leaking !!!" by Dan Walsh
  http://danwalsh.livejournal.com/53603.html

- "Secure File Descriptor Handling" by Ulrich Drepper
  http://udrepper.livejournal.com/20407.html

Note: this patch won't set close on exec flag on file descriptors
created by the kernel for completion channel and such.
This is addressed by another kernel patch.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:33 +0000 (21:16 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:16:33 +0000 (21:16 -0700)]
pop

11 years agoAdd .gitignore rules
Yann Droneaud [Tue, 16 Jul 2013 21:59:50 +0000 (23:59 +0200)]
Add .gitignore rules

Add the list of files/patterns to be exclueded from git status output.
Additionally it will prevent such files/patterns to be added and committed.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Wed, 17 Jul 2013 04:16:20 +0000 (21:16 -0700)]
refresh

11 years agorefresh
Sean Hefty [Wed, 17 Jul 2013 04:16:20 +0000 (21:16 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Jul 2013 04:16:20 +0000 (21:16 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 17 Jul 2013 04:16:19 +0000 (21:16 -0700)]
refresh (create temporary patch)

11 years agoRefresh of librdmacm-5-8-configure-use-au
Sean Hefty [Wed, 17 Jul 2013 04:16:19 +0000 (21:16 -0700)]
Refresh of librdmacm-5-8-configure-use-au

11 years agoconfigure: Use automake's option "subdir-objects"
Yann Droneaud [Tue, 16 Jul 2013 21:59:49 +0000 (23:59 +0200)]
configure: Use automake's option "subdir-objects"

Following advice in "Autotool Mythbuster" [1], option subdir-objects
can be used to have Makefiles create object files in the same
directory than theirs source files.

It reduces clobbering in the build directory.

[1] "Autotool Mythbuster", by Diego Elio "Flameeyes" Petten`o
http://www.flameeyes.eu/autotools-mythbuster/automake/nonrecursive.html

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:15:59 +0000 (21:15 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:15:59 +0000 (21:15 -0700)]
pop

11 years agoconfigure: Use automake's option "subdir-objects"
Yann Droneaud [Tue, 16 Jul 2013 21:59:49 +0000 (23:59 +0200)]
configure: Use automake's option "subdir-objects"

Following advice in "Autotool Mythbuster" [1], option subdir-objects
can be used to have Makefiles create object files in the same
directory than theirs source files.

It reduces clobbering in the build directory.

[1] "Autotool Mythbuster", by Diego Elio "Flameeyes" Petten`o
http://www.flameeyes.eu/autotools-mythbuster/automake/nonrecursive.html

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoconfigure: Apply updates proposed by autoupdate
Yann Droneaud [Tue, 16 Jul 2013 21:59:48 +0000 (23:59 +0200)]
configure: Apply updates proposed by autoupdate

'autoupdate' is a tool to help developer to update configure.ac.

This patch applies a few fixes as suggested by autoupdate.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:15:20 +0000 (21:15 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:15:20 +0000 (21:15 -0700)]
pop

11 years agoautogen.sh: Use autoreconf in autogen.sh
Jeff Squyres [Tue, 16 Jul 2013 21:59:47 +0000 (23:59 +0200)]
autogen.sh: Use autoreconf in autogen.sh

The old sequence of Autotools commands listed in autogen.sh is no
longer correct.  Instead, just use the single "autoreconf" command,
which will invoke all the Right Autotools commands in the correct
order.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoautogen.sh: Use autoreconf in autogen.sh
Jeff Squyres [Tue, 16 Jul 2013 21:59:47 +0000 (23:59 +0200)]
autogen.sh: Use autoreconf in autogen.sh

The old sequence of Autotools commands listed in autogen.sh is no
longer correct.  Instead, just use the single "autoreconf" command,
which will invoke all the Right Autotools commands in the correct
order.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Wed, 17 Jul 2013 04:15:08 +0000 (21:15 -0700)]
pop