Re: [PATCH v1 02/19] xen/xsm: wrap around xsm_sysctl with CONFIG_SYSCTL

2025-03-13 Thread Alejandro Vallejo
On Thu Mar 13, 2025 at 12:05 PM GMT, Jan Beulich wrote: > On 13.03.2025 12:43, Alejandro Vallejo wrote: > > On Wed Mar 12, 2025 at 4:06 AM GMT, Penny Zheng wrote: > >> --- a/xen/include/xsm/dummy.h > >> +++ b/xen/include/xsm/dummy.h > >> @@ -180,11 +180,18 @@ static XSM_INLINE int cf_check xsm_domc

Re: [PATCH v1 02/19] xen/xsm: wrap around xsm_sysctl with CONFIG_SYSCTL

2025-03-13 Thread Jan Beulich
On 13.03.2025 12:43, Alejandro Vallejo wrote: > On Wed Mar 12, 2025 at 4:06 AM GMT, Penny Zheng wrote: >> --- a/xen/include/xsm/dummy.h >> +++ b/xen/include/xsm/dummy.h >> @@ -180,11 +180,18 @@ static XSM_INLINE int cf_check xsm_domctl( >> } >> } >> >> +#ifdef CONFIG_SYSCTL >> static XSM_I

Re: [PATCH v1 02/19] xen/xsm: wrap around xsm_sysctl with CONFIG_SYSCTL

2025-03-13 Thread Alejandro Vallejo
Hi, On Wed Mar 12, 2025 at 4:06 AM GMT, Penny Zheng wrote: > Signed-off-by: Penny Zheng > --- > xen/include/xsm/dummy.h | 7 +++ > xen/include/xsm/xsm.h | 9 + > xen/xsm/dummy.c | 2 ++ > xen/xsm/flask/hooks.c | 4 > 4 files changed, 22 insertions(+) > > diff --git a

Re: [PATCH v1 02/19] xen/xsm: wrap around xsm_sysctl with CONFIG_SYSCTL

2025-03-12 Thread Jan Beulich
On 12.03.2025 05:06, Penny Zheng wrote: > --- a/xen/include/xsm/dummy.h > +++ b/xen/include/xsm/dummy.h > @@ -180,11 +180,18 @@ static XSM_INLINE int cf_check xsm_domctl( > } > } > > +#ifdef CONFIG_SYSCTL > static XSM_INLINE int cf_check xsm_sysctl(XSM_DEFAULT_ARG int cmd) > { > XSM_