From: Juergen Gross <jgross@suse.com>
To: xen-devel@lists.xenproject.org
Cc: "Juergen Gross" <jgross@suse.com>,
"Ian Jackson" <iwj@xenproject.org>, "Wei Liu" <wl@xen.org>,
"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
Subject: [PATCH 0/5] tools/xenstore: remove read-only socket
Date: Fri, 2 Oct 2020 17:41:36 +0200 [thread overview]
Message-ID: <20201002154141.11677-1-jgross@suse.com> (raw)
The read-only socket of Xenstore is usable for the daemon case only
and even there it is not really worth to be kept, as not all
Xesntore operations changing the state of Xenstore are blocked,
oxenstored ignoring the read-only semantics completely, and the
privileges for using the ro-socket being the same as for the normal
rw-socket.
So remove this feature with switching the related use cases to the
Xenstore-type agnostic open- and close-functions..
Juergen Gross (5):
tools/xenstore: remove socket-only option from xenstore client
tools/libs/store: ignore XS_OPEN_SOCKETONLY flag
tools/libs/store: drop read-only functionality
tools: drop all deprecated usages of xs_*_open() and friends in tools
tools/xenstore: drop creation of read-only socket in xenstored
docs/man/xenstore-chmod.1.pod | 4 --
docs/man/xenstore-ls.1.pod | 4 --
docs/man/xenstore-read.1.pod | 4 --
docs/man/xenstore-write.1.pod | 4 --
tools/console/client/main.c | 2 +-
tools/console/daemon/utils.c | 4 +-
tools/libs/light/libxl.c | 6 +--
tools/libs/light/libxl_exec.c | 6 +--
tools/libs/light/libxl_fork.c | 2 +-
tools/libs/stat/xenstat.c | 4 +-
tools/libs/store/include/xenstore.h | 10 -----
tools/libs/store/xs.c | 9 ++--
tools/libs/vchan/init.c | 10 ++---
tools/misc/xen-lowmemd.c | 4 +-
tools/python/xen/lowlevel/xs/xs.c | 6 +--
tools/tests/mce-test/tools/xen-mceinj.c | 4 +-
tools/xenbackendd/xenbackendd.c | 4 +-
tools/xenpmd/xenpmd.c | 6 +--
tools/xenstore/xenstore_client.c | 8 +---
tools/xenstore/xenstored_core.c | 55 +++++--------------------
tools/xenstore/xenstored_core.h | 3 --
tools/xenstore/xenstored_domain.c | 4 +-
tools/xenstore/xs_lib.c | 8 +---
23 files changed, 46 insertions(+), 125 deletions(-)
--
2.26.2
next reply other threads:[~2020-10-02 15:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 15:41 Juergen Gross [this message]
2020-10-02 15:41 ` [PATCH 1/5] tools/xenstore: remove socket-only option from xenstore client Juergen Gross
2020-10-02 15:41 ` [PATCH 2/5] tools/libs/store: ignore XS_OPEN_SOCKETONLY flag Juergen Gross
2020-10-02 15:41 ` [PATCH 3/5] tools/libs/store: drop read-only functionality Juergen Gross
2020-10-07 10:54 ` Wei Liu
2020-10-07 10:57 ` Jürgen Groß
2020-10-07 11:50 ` Andrew Cooper
2020-10-07 12:45 ` Jürgen Groß
2020-10-07 13:54 ` Wei Liu
2020-10-02 15:41 ` [PATCH 4/5] tools: drop all deprecated usages of xs_*_open() and friends in tools Juergen Gross
2020-10-02 15:41 ` [PATCH 5/5] tools/xenstore: drop creation of read-only socket in xenstored Juergen Gross
2020-10-08 12:54 ` [PATCH 0/5] tools/xenstore: remove read-only socket Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201002154141.11677-1-jgross@suse.com \
--to=jgross@suse.com \
--cc=iwj@xenproject.org \
--cc=marmarek@invisiblethingslab.com \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.