[PATCH 1/2] Make config.reload_in_progress key read only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's not very good idea to allow user apps changing internal key
reload_in_progress.

Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 exec/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/main.c b/exec/main.c
index 7b5d73f..8d18db8 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -1051,6 +1051,7 @@ static void set_icmap_ro_keys_flag (void)
 	icmap_set_ro_access("totem.rrp_mode", CS_FALSE, CS_TRUE);
 	icmap_set_ro_access("totem.netmtu", CS_FALSE, CS_TRUE);
 	icmap_set_ro_access("qb.ipc_type", CS_FALSE, CS_TRUE);
+	icmap_set_ro_access("config.reload_in_progress", CS_FALSE, CS_TRUE);
 }
 
 static void main_service_ready (void)
-- 
1.8.3.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux