فهرست منبع

Send ERR_SECURITY when invalid security context is provided via ipc clients.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2338 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 16 سال پیش
والد
کامیت
c12253097f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      exec/coroipcs.c

+ 2 - 2
exec/coroipcs.c

@@ -1269,12 +1269,12 @@ int coroipcs_handler_dispatch (
 	if (conn_info->service == SOCKET_SERVICE_INIT && (revent & POLLIN)) {
 		/*
 		 * Receive in a nonblocking fashion the request
-		 * IF security invalid, send TRY_AGAIN, otherwise
+		 * IF security invalid, send ERR_SECURITY, otherwise
 		 * send OK
 		 */
 		res = req_setup_recv (conn_info);
 		if (res == -1) {
-			req_setup_send (conn_info, CS_ERR_TRY_AGAIN);
+			req_setup_send (conn_info, CS_ERR_SECURITY);
 		}
 		if (res != 1) {
 			return (0);