I believe the shell instead uses the 'setprop' command from toolbox which
sets the property key (with property_set). Whereas vold directly uses the
property_set command.


On Mon, Nov 26, 2012 at 9:16 PM, William Roberts
<bill.c.robe...@gmail.com>wrote:

> On Mon, Nov 26, 2012 at 6:12 PM, William Roberts
> <bill.c.robe...@gmail.com> wrote:
> > I was asked this question and could not come up with a convincing answer.
> >
> > shell.te defines the following:
> > allow shell property_socket:sock_file write;
> > allow shell shell_prop:property_service set;
> >
> > where as vold:
> > unix_socket_connect(vold, property, init)
> > allow vold vold_prop:property_service set;
> >
> >
> > They both allow them to set the respective properties and also to
> > write the property_socket. However, vold has the additional allow vold
> > init:unix_stream_socket connectto;
> >
> > How come vold requires this and shell does not?
>
> Is the connection inherited or something?
>
> >
> > --
> > Respectfully,
> >
> > William C Roberts
>
>
>
> --
> Respectfully,
>
> William C Roberts
>
> --
> This message was distributed to subscribers of the seandroid-list mailing
> list.
> If you no longer wish to subscribe, send mail to majord...@tycho.nsa.govwith
> the words "unsubscribe seandroid-list" without quotes as the message.
>

Reply via email to