Mailing List Archive

Xenstore-chmod equivalent Kernel(XenBus) API
Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"??

Thx,
Venkat
Re: Xenstore-chmod equivalent Kernel(XenBus) API [ In reply to ]
There isn¹t one, so you¹d have to add it. I¹m not sure what legitimate uses
the kernel might have for this functionality, however.

-- Keir

On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:

> Which is the Kernel API (Xenbus API) that is available to do a similar action
> as ³xenstore-chmod²??
>
>
> Thx,
> Venkat
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
RE: Xenstore-chmod equivalent Kernel(XenBus) API [ In reply to ]
Ok, Thanks Keir.
I will figure it out.

Thx,
Venkat

________________________________
From: Keir Fraser [mailto:keir.fraser@eu.citrix.com]
Sent: Wednesday, October 08, 2008 2:02 PM
To: Kumar, Venkat; xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API

There isn't one, so you'd have to add it. I'm not sure what legitimate uses the kernel might have for this functionality, however.

-- Keir

On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:
Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"??


Thx,
Venkat

________________________________
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
RE: Xenstore-chmod equivalent Kernel(XenBus) API [ In reply to ]
Keir, I am unable to give both read and write permissions at a time for a node in Xenstore.

For example Xenstore-chmod /local/domain/0/customdir rw just gives read permissions,/local/domain/0/customdir wr gives write permissions,r+w, w+r nothing works.It is considering the first mode only.

Is there some specific syntax which I am missing??

Thx,
Venkat

________________________________
From: Keir Fraser [mailto:keir.fraser@eu.citrix.com]
Sent: Wednesday, October 08, 2008 2:02 PM
To: Kumar, Venkat; xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API

There isn't one, so you'd have to add it. I'm not sure what legitimate uses the kernel might have for this functionality, however.

-- Keir

On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:
Which is the Kernel API (Xenbus API) that is available to do a similar action as "xenstore-chmod"??


Thx,
Venkat

________________________________
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: Xenstore-chmod equivalent Kernel(XenBus) API [ In reply to ]
xenstore-chmod /local/domain/0/custmdir b

The syntax is pretty stupid.

-- Keir

On 8/10/08 11:13, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:

> Keir, I am unable to give both read and write permissions at a time for a node
> in Xenstore.
>
> For example Xenstore-chmod /local/domain/0/customdir rw just gives read
> permissions,/local/domain/0/customdir wr gives write permissions,r+w, w+r
> nothing works.It is considering the first mode only.
>
> Is there some specific syntax which I am missing??
>
> Thx,
> Venkat
>
>
>
> From: Keir Fraser [mailto:keir.fraser@eu.citrix.com]
> Sent: Wednesday, October 08, 2008 2:02 PM
> To: Kumar, Venkat; xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] Xenstore-chmod equivalent Kernel(XenBus) API
>
> There isn¹t one, so you¹d have to add it. I¹m not sure what legitimate uses
> the kernel might have for this functionality, however.
>
> -- Keir
>
> On 8/10/08 09:18, "Kumar, Venkat" <Venkat.Kumar@lsi.com> wrote:
> Which is the Kernel API (Xenbus API) that is available to do a similar action
> as ³xenstore-chmod²??
>
>
> Thx,
> Venkat
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>