Re: [Toybox] lib/passwd.c is_valid_username()

2014-09-17 Thread Robert Thompson
The most common issue that would impact UTF-8 is programs that use strchr() and pointer math on strings that originated in the passwd file. There are also issues about various services that have to implement different rules than the usual unix world about safe/valid characters. Many of these tend

Re: [Toybox] [Issue] - mounting a device again

2014-09-17 Thread Rob Landley
On 09/16/14 22:18, Ashwini Sharma wrote: > Hi Rob, > > What I meant was trying to mount an already mounted device on a > different mountpoint. Ah, got it. Thanks. Now to figure out the correct way to fix it. Hmmm... Rob ___ Toybox mailing list Toybox@

Re: [Toybox] Getting Toybox into Android before the NetBSD userland wins out

2014-09-17 Thread Rob Landley
On 09/16/14 17:11, Jason Spiro wrote: > I humbly suggest that perhaps the best thing to do would be to visit the > Android mailing list today, and > to float the idea of getting _some_ parts of Toybox into Android. Perhaps > start by suggesting that > Toybox could provide some useful things th

Re: [Toybox] Getting Toybox into Android before the NetBSD userland wins out

2014-09-17 Thread Rob Landley
On 09/16/14 18:41, David Seikel wrote: > On Tue, 16 Sep 2014 19:30:06 -0400 dmccunney > wrote: > >> On Tue, Sep 16, 2014 at 6:23 PM, David Seikel >> wrote: >>> On Tue, 16 Sep 2014 22:11:41 + (UTC) Jason Spiro >>> wrote: >> Once Toybox gets into Android, it might then be possible to >>>

Re: [Toybox] lib/passwd.c is_valid_username()

2014-09-17 Thread Рысь
16 сентября 2014 г. 20:58:38 KRAT, Rob Landley пишет: Specifically, why can't we have utf8 usernames? > >Rob At least utf8 works with current musl, busybox 1.20.1 and dropbear. An example from my embedded system: % id uid=1999(рысь) gid=1999(рысь) groups=1999(рысь) authpriv.notice dropbear[1