Wei Liu
6b8ed03ccf
Revert "DEBUG PRINTFS"
...
This reverts commit cf8e5f25a9 .
It is not supposed to be committed.
Signed-off-by: Wei Liu <wei.liu2@citrix.com >
2017-10-11 15:03:01 +01:00
Ian Jackson
cf8e5f25a9
DEBUG PRINTFS
2017-10-11 12:51:23 +01:00
Olaf Hering
d31828e348
tools/libxendevicemodel: define O_CLOEXEC
...
Some libc headers don't have O_CLOEXEC, we need to take care of it by
defining to 0 (on the ground that such glibc might barf on O_CLOEXEC).
Fixes e7745d8ef5 ("tools/libxendevicemodel: introduce a Linux-specific
implementation")
Signed-off-by: Olaf Hering <olaf@aepfle.de >
Acked-by: Wei Liu <wei.liu2@citrix.com >
2017-03-02 08:32:30 +00:00
Paul Durrant
8ef5f344d0
tools/libxendevicemodel: add a call to restrict the handle
...
My recent patch [1] to the Linux privcmd module introduced a mechanism
to restrict an open file handle to subsequently only accept operations for
a specified domain.
This patch extends the libxendevicemodel API and make use of the
mechanism in the Linux-specific code to restrict operations on the
interface handle.
[1] https://git.kernel.org/cgit/linux/kernel/git/ostr/linux.git/commit/?id=4610d240
Signed-off-by: Paul Durrant <paul.durrant@citrix.com >
Acked-by: Wei Liu <wei.liu2@citrix.com >
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com >
2017-02-23 11:57:51 +00:00
Paul Durrant
e7745d8ef5
tools/libxendevicemodel: introduce a Linux-specific implementation
...
My recent patch [1] to the Linux privcmd module introduced a dedicated
mechanism for making dm_op hypercalls.
This patch adds the necessary code to libxendevicemodel to take
advantage of that mechanism if it is implemented in the tools domain
kernel.
[1] https://git.kernel.org/cgit/linux/kernel/git/ostr/linux.git/commit/?id=ab520be8
Signed-off-by: Paul Durrant <paul.durrant@citrix.com >
Acked-by: Wei Liu <wei.liu2@citrix.com >
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com >
2017-02-23 11:57:47 +00:00