[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [XTF PATCH v2] Add a Live Patch privilege check test



> > +    xen_sysctl_t op =
> > +    {
> > +        .cmd = XEN_SYSCTL_livepatch_op,
> > +        .interface_version = interface_version,
> > +        .u.livepatch = {
> > +            .cmd = XEN_SYSCTL_LIVEPATCH_UPLOAD,
> > +            .u.upload = {
> > +                .name = {
> > +                    .name.p = TEST_NAME,
> > +                    .size = sizeof(TEST_NAME),
> 
> Do we seriously send the number of characters in the name, rather than
> treating it like a NULL terminated string within the reasonable bound?

We do have an upper-limit at which it will fail (128 characters).

But the user is welcome to use a lower limit.
> 
> ~Andrew
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.