the ipc layer introduced a regression which caused it to return
try_again when an invalid user attempted to connect to the executive.
Return proper error now instead.

Regards
-steve
Index: include/saAis.h
===================================================================
--- include/saAis.h	(revision 1892)
+++ include/saAis.h	(working copy)
@@ -125,7 +125,8 @@
 	SA_AIS_ERR_QUEUE_NOT_AVAILABLE = 24,
 	SA_AIS_ERR_BAD_FLAGS = 25,
 	SA_AIS_ERR_TOO_BIG = 26,
-	SA_AIS_ERR_NO_SECTIONS = 27
+	SA_AIS_ERR_NO_SECTIONS = 27,
+	SA_AIS_ERR_SECURITY = 29
 } SaAisErrorT;
 
 typedef SaUint64T SaSelectionObjectT;
Index: exec/ipc.c
===================================================================
--- exec/ipc.c	(revision 1892)
+++ exec/ipc.c	(working copy)
@@ -560,7 +560,7 @@
 		 */
 		res = req_setup_recv (conn_info);
 		if (res == -1) {
-			req_setup_send (conn_info, SA_AIS_ERR_TRY_AGAIN);
+			req_setup_send (conn_info, SA_AIS_ERR_SECURITY);
 		}
 		if (res != 1) {
 			return (0);
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to