Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-unstable
xen
xen.trc-do_sysctl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-do_sysctl.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 07:46:48 +0000 Subject: trc do_sysctl Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/common/sysctl.c | 1 + 1 file changed, 1 insertion(+) --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -30,24 +30,25 @@ #include <xen/coverage.h> long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl) { long ret = 0; int copyback = -1; struct xen_sysctl curop, *op = &curop; static DEFINE_SPINLOCK(sysctl_lock); if ( copy_from_guest(op, u_sysctl, 1) ) return -EFAULT; + TRACE_1D(TRC_PV_ENTRY + 0x22U, op->cmd); if ( op->interface_version != XEN_SYSCTL_INTERFACE_VERSION ) return -EACCES; ret = xsm_sysctl(XSM_PRIV, op->cmd); if ( ret ) return ret; /* * Trylock here avoids deadlock with an existing sysctl critical section * which might (for some current or future reason) want to synchronise * with this vcpu. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor