ASACORE-812: Fix writing PID file when switching user.

Typically, a Linux daemon must write its PID to the pidfile under
/var/run/ prior to switching to an unpriviledged user.  The code prior
to this change would try and fail to create the pidfile because it
switched to an unpriviledged user first, then tried creating the
pidfile.  This change swaps those operations.

Change-Id: I047cad37b6f8d7f2de7305aa100be06314e95d8f
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
Merge "ASACORE-812: Fix writing PID file when switching user."
ASACORE-965 Update basic c samples to use the default connect spec

Signed-off-by: Rajat Rastogi <rajat.rastogi@microsoft.com>
Change-Id: Ife433226c83c83b5cb14d488930d4d0943c36d8e
ASACORE-955: Remove WinRT support

Change-Id: I0b756e060fd4f9ddc99d98eb315fee88fe609b3e
Signed-off-by: Ry Jones <c_lawren@qce.qualcomm.com>
ASACORE-989: Fix deadlock introduced in ASACORE-903.

Change-Id: Ib598e984832d7c835b59b2f6f6df8f29ef336e31
Signed-off-by: Todd Malsbary <tmalsbar@qce.qualcomm.com>
ASACORE-989: Check iterator in inner and outer loop

Change-Id: I30787a24f4e002b9792daed9a26c8e88904ac9c2
Signed-off-by: Craig Dowell <cdowell@qce.qualcomm.com>
ASACORE-754 Check allowed TCP connection limits before connecting to remote Routing node.

Change-Id: I2107e53c39e0781ba295fc16ce61ca2f02e62c2d
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
ASACORE-985 Remaining work necessary for the AllJoyn C API callbacks calling convention

Signed-off-by: Marius Niculescu <mariusni@microsoft.com>
Change-Id: Ie83ee19747adeaaaaf37f2d2aac907c8b1089aac
Merge "ASACORE-989: Fix deadlock introduced in ASACORE-903."
Merge "ASACORE-989: Check iterator in inner and outer loop"
Merge "ASACORE-955: Remove WinRT support"
ASACORE-983: New shared UDP Transport and ARDP error code

Change-Id: Ic6e582a9ac35336ce2bbff4fa4f2292049c3e7a4
Signed-off-by: Craig Dowell <cdowell@qce.qualcomm.com>
ASACORE-994: enforce correct destruction order

Interface descriptions should be destroyed after the transportList since
the latter triggers destruction of end-points which in turn triggers
destruction of ProxyBusObjects which need those interfaces (they call
GetInterface on the BusAttachment.

Change-Id: I83480eaa1bb20fc887e795e1b0babdbbc5e3af44
Signed-off-by: Meggan Ehret <meggan@qeo.org>
Merge "ASACORE-994: enforce correct destruction order"
Merge "ASACORE-985 Remaining work necessary for the AllJoyn C API callbacks calling convention"
ASACORE-995: Bind multicast address to INADDR_ANY.

Change-Id: I5cec6e13cea4f92c38f9a6517d9bf769cd38e595
Signed-off-by: Todd Malsbary <tmalsbar@qce.qualcomm.com>
ASACORE-741 Replace mod operator with a condtional

The mod operator returns 0 when len == the size limit (3800) resulting in an infinite loop.
Replaced mod by a conditional operation and Increased the limit to 4095 which is the largest
value that avoids a wraparound.

Change-Id: Ie23c04fdf734a1ad04745010745b7db1b270b69b
Signed-off-by: gburns <gburns@qce.qualcomm.com>
Signed-off-by: Ry Jones <c_lawren@qce.qualcomm.com>
ASACORE-922 Add AJ Protocol Version to NS packets.

Change-Id: I13bd12ff6c310c05641c3198a5880dc6bb8078bf
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
Merge "ASACORE-995: Bind multicast address to INADDR_ANY."
Fixed NULL pointer used in printf statements

Error found using static analysis.

Change-Id: I270dc2b0075ee7e98ef8383664a01eb70da01754
Signed-off-by: George Nash <georgen@qce.qualcomm.com>