<p dir="ltr"><br>
On Sep 20, 2015 10:24 PM, "enh" <<a href="mailto:enh@google.com">enh@google.com</a>> wrote:<br>
><br>
><br>
> On Sep 20, 2015 6:07 PM, "Rob Landley" <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br>
> ><br>
> ><br>
> ><br>
> > On 09/20/2015 06:01 AM, José Bollo wrote:<br>
> > > Le Sat, 19 Sep 2015 01:34:15 -0500,<br>
> > > Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> a écrit :<br>
> > ><br>
> > >> On 09/17/2015 04:05 PM, Joya Cruz, Alejandro wrote:<br>
> > >>> Hi Rob,<br>
> > >>><br>
> > >>> Doing some test between TOYBOX 0.6.0 and Smack I got interested on<br>
> > >>> what is the support that is given to Smack.<br>
> > >>> The most important user related utilitie it might are:<br>
> > >>> ls -Z Show the Smack labels on files. (already on toybox)<br>
> > >><br>
> > >> I've never been quite sure what the complete todo list is. I got<br>
> > >> patches for ls, mkfifo, mknod, mkdir, id, and cp, but I don't think<br>
> > >> that's a complete list? (Ah, and here's one for stat...)<br>
> > >><br>
> > >>> any idea when the rest is coming ( if its coming ) ?<br>
> > >>> chsmack:Show and sett all of the Smack attributes on files.<br>
> > >><br>
> > >> Dig dig dig... Ok I found chsmack, doesn't look too hard to implement?<br>
> > >> (First I've heard of it, though...)<br>
> > ><br>
> > > Hi all,<br>
> > ><br>
> > > I can make the chsmack adaptation. For me the question is "should<br>
> > > toybox implment it?". Why not but it is up to Rob to decide.<br>
> ><br>
> > "Yes but..."<br>
> ><br>
> > The toys/android directory is full of a bunch of similar commands, and I<br>
> > kinda want to stick it in there, but that would involve either remaining<br>
> > that directory or confirming with Elliott that he doesn't care. :)<br>
><br>
> that's not what i've been using toys/android for :-)</p>
<p dir="ltr">sent too early...</p>
<p dir="ltr">for me, toys/android is for stuff where android is different from other systems. so SELinux stuff where you can just use the exact same code on, say, Ubuntu, doesn't go there. but SELinux stuff that's specific to android extensions to libselinux --- that does. commands for android-only things like system properties --- they do. but cases where the android implementation is the same as other systems --- that wouldn't make any sense in there. pending or other or whatever would make more sense.</p>
<p dir="ltr">(and this is ignoring the fact that android doesn't use smack, which is what these two are talking about here... smack-only commands especially wouldn't make sense in an android directory. but android-specific getprop and setprop commands wouldn't make sense in an lsm directory either, or indeed any directory that didn't make it clear that this is really android-only.)</p>
<p dir="ltr">> > toys/lsm maybe?<br>
> ><br>
> > > Almost all is working well with smack. I promised to check it before<br>
> > > the end of septembre. Still busy now.<br>
> > ><br>
> > > The command "cp --preserve" is waiting.<br>
> ><br>
> > Queued, but my trip to Japan got extended through thursday, and other<br>
> > engineers are still flying out this evening, so this whole week is kinda<br>
> > nuts. :)<br>
> ><br>
> > (But I made it to the Pokemon center yesterday and bought two different<br>
> > women Flareon and Pumpkaboo based items, so the _important_ stuff is<br>
> > getting done.)<br>
> ><br>
> > > The command ps was also writen a long time ago but ps isn't currently<br>
> > > in stable state and all was to rewrite. So wait here also...<br>
> ><br>
> > The ps in pending is about 2/3 done, I need a 3-day weekend to finish it<br>
> > up. (When you start investigating the -o rathole it goes a long way<br>
> > down, and I haven't started attacking "ps ax" vs "ps -ax" yet, plus<br>
> > there's a bug report about the comma parsing infrastructure ignoring the<br>
> > tail end of commands that needs a generic infrastructure fix, and I need<br>
> > to make a test suite for it which means finishing the QEMU based test<br>
> > harness...)<br>
> ><br>
> > That's when I get back around _to_ ps. Right now I'm fighting with a<br>
> > linker for <a href="http://nommu.org/jcore">http://nommu.org/jcore</a> at $DAYJOB.<br>
> ><br>
> > > Best regards<br>
> > > José Bollo<br>
> ><br>
> > Rob<br>
> > _______________________________________________<br>
> > Toybox mailing list<br>
> > <a href="mailto:Toybox@lists.landley.net">Toybox@lists.landley.net</a><br>
> > <a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</p>