Skip to contentSkip to conversation

tools/libs/store: add disclaimer to header file regarding ignored options

PATCH In review Juergen Gross 2 participants 2 messages Oct 11, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libs/store: add disclaimer to header file regarding ignored options

Add a disclaimer to the libxenstore header file that all of the open flags (socket only connection, read only connection) are ignored.

---
 tools/libs/store/include/xenstore.h | 1 +
 1 file changed, 1 insertion(+)
tools/libs/store/include/xenstore.h +1 -0
index 158e69ef83..2b3f69fb61 100644
@@ -23,6 +23,7 @@
 
 #define XBT_NULL 0
 
+/* Following open flags are deprecated and ignored! */
 #define XS_OPEN_READONLY	(1UL<<0)
 #define XS_OPEN_SOCKETONLY      (1UL<<1)
 
Signature · 1 line
2.26.2
#1 lore raw
Quoted 4 lines · Juergen Gross

Add a disclaimer to the libxenstore header file that all of the open flags (socket only connection, read only connection) are ignored.

Acked + applied.

Quoted 19 lines
---
 tools/libs/store/include/xenstore.h | 1 +
 1 file changed, 1 insertion(+)
tools/libs/store/include/xenstore.h +1 -0
index 158e69ef83..2b3f69fb61 100644
@@ -23,6 +23,7 @@
 
 #define XBT_NULL 0
 
+/* Following open flags are deprecated and ignored! */
 #define XS_OPEN_READONLY	(1UL<<0)
 #define XS_OPEN_SOCKETONLY      (1UL<<1)
 
Signature · 1 line
2.26.2