untu
> install, no one cares". (not foolproof, because what's useful on a
> developer's workstation and what's useful on Android aren't
> necessarily the same, but it's a reasonable place to start.)
>
When I bothered with things like that (for example, to give Firefox a
faster cold start, back when I still thought Firefox worth using), I
just cheated and did cat ... >/dev/null.
What I've heard gave me the impression that readahead is most relevant
for perfomance on hard drives (spinning rust), but it *might* pertain
to slow solid state things like SD cards.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
u need before you put things on the
> roadmap, but afaik there's no non-GPLv3 alternative here, which seems
> like a good niche for someone to fill...
>
I know Rob's mentioned wanting to do that...
Ah, here:
https://www.mail-archive.com/toybox@lists.landley
Hello,
I see a few problems, which can be summed up as follows:
-the help is clunky and misplaced
-the patch introduces a format-string vulnerability
-the feature is not actually implemented; it skips rather than escaping
On Wed, Mar 09, 2016 at 02:51:26PM +0530, Sameer Pradhan wrote:
---
chive
old archive
directory
{char,block} special
empty
cannot open
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
int magic needs to be declared at the top level, so the cpio branch
can use it. It would be possible to rename it and use the same variable
for this, chunk_length (png), and ver (zip).
---
toys/pending/file.c | 30 +++---
1 file changed, 27 insertions(+), 3 deletions(-)
> > Elliott was suggesting that the elf-em.h constants might be good enough,
> > but that says 386 not 80386, and PPC instead of Powerpc...
> >
> > Seriously, standards would be nice!
>
> Yes, wouldn't they? :)
Speaking of those, I've spotted a number of finer details
Yes, they seem obvious...unless you don't know them.
---
toys/other/hexedit.c | 8
1 file changed, 8 insertions(+)
diff --git a/toys/other/hexedit.c b/toys/other/hexedit.c
index ff13b51..f6d5723 100644
--- a/toys/other/hexedit.c
+++ b/toys/other/hexedit.c
@@ -15,6 +15,14 @@ config
On Thu, Feb 18, 2016 at 08:09:08PM -0800, enh wrote:
> On Thu, Feb 18, 2016 at 8:06 PM, Isaac Dunham <ibid...@gmail.com> wrote:
> > On Wed, Feb 17, 2016 at 10:43:37PM -0800, enh wrote:
> >> what's the easiest way to test a single command? i always end up
> >
> &g
ake help" once you've told me :-)
As far as I know, there's no interface to use it from make at present.
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
---
toys/pending/file.c | 29 ++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/toys/pending/file.c b/toys/pending/file.c
index 1d09471..4d5d14c 100644
--- a/toys/pending/file.c
+++ b/toys/pending/file.c
@@ -166,9 +166,32 @@ static void
bin/perl -w'
Tar magic is at offset 257:
'ustar\0' - "POSIX tar archive"
'ustar\040\040\0' - "GNU tar archive"
AFAICT, zip usually starts with 'PK\003\004', 'PK\005\006' (empty), or
'PK\007\008' (spanned archive).
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
POSIX, and generally available.
'logname' is the POSIX equivalent to 'whoami', but it's not widely available.
whoami, logname, and id -un are all equivalent in output: the plain username
of the current user, as per /etc/passwd.
HTH,
Isaac
___
Toybox mailin
BE CLEVER IN WAYS YOU DON'T EXPLAIN TO
> YOUR USERS IN THE MAN PAGE. Right special case "-t number" to be pts/
> instead of tty, accept pts/ to _not_ mean implicit tty prefix...
accept the following:
* filenames relative to /dev
* filenames relative to /dev/pts
* fallback to "/de
On Fri, Oct 02, 2015 at 06:26:09AM -0500, Rob Landley wrote:
> On 10/01/2015 10:22 PM, Rich Felker wrote:
> > On Thu, Oct 01, 2015 at 07:34:25PM -0700, Isaac Dunham wrote:
> >> Maybe (1) try to fork(); (2) if we succeed, xexec() modprobe; (3) do the
> >> whole mknod/c
On Thu, Oct 01, 2015 at 04:42:34AM -0500, Rob Landley wrote:
> Still going through old posts, I'm up to:
>
> On 08/09/2015 12:24 AM, Isaac Dunham wrote:
> >>> > > If hard-coding "modprobe -bq $MODALIAS" int mdev is desireable, I can
> >>> > >
On Wed, Sep 30, 2015 at 04:12:00AM -0500, Rob Landley wrote:
> I'm going through my todo heap and trying to make sure I got all the
> patches from the previous couple months, and I hit:
>
> commit 991b570a02ce8754bba921e46d953858ed28268c
> Author: Isaac Dunham <ibid...@gmail.
I discovered that the reason SIGINT causes a reboot on sysvinit is that
it's how the kernel signals that ctrl-alt-delete has been pressed;
thus, setting it as the signal for reboot prevents ctrlaltdel scripts
from working.
SIGTERM is what Busybox uses, so we might as well be compatible.
---
packages have been fixed to work properly with musl since then.
LFS 6.8 is basically a snapshot of Linux as it was before musl became
useful, back when Android support was frequently missing...you get
the picture.
HTH,
Isaac Dunham
___
Toybox mailing list
On Sat, Aug 08, 2015 at 05:44:07PM -0500, Rob Landley wrote:
On 08/06/2015 12:04 AM, Isaac Dunham wrote:
On Wed, Aug 05, 2015 at 08:03:01PM -0700, Isaac Dunham wrote:
The following changes since commit
ea75e752f930df7b740a773294b997f46927c716:
Factor out xconnect(), plus some other
On Wed, Aug 05, 2015 at 11:25:45PM -0500, Rob Landley wrote:
On 08/05/2015 10:16 PM, Isaac Dunham wrote:
On Fri, Jul 31, 2015 at 01:14:55PM -0700, Isaac Dunham wrote:
On Sat, Mar 28, 2015 at 08:02:04PM +, Isaac Dunham wrote:
reboot: signal init, add -f option to call reboot();
init
to 991b570a02ce8754bba921e46d953858ed28268c:
Increase compatability of reboot and init (2015-08-05 18:04:34 -0700)
Alistair Strachan (1):
Fix switch_root implementation.
Isaac Dunham (6):
login: execl() requires a path, not a file
On Wed, Aug 05, 2015 at 08:03:01PM -0700, Isaac Dunham wrote:
The following changes since commit ea75e752f930df7b740a773294b997f46927c716:
Factor out xconnect(), plus some other small cleanups to telnet.c.
(2015-08-03 14:34:01 -0500)
are available in the git repository at:
git
On Sat, Mar 28, 2015 at 08:02:04PM +, Isaac Dunham wrote:
reboot: signal init, add -f option to call reboot();
init: use SIGINT, use xsignal()
Now that oneit supports the same signals as our sysv-init for shutdown,
make reboot et al. signal pid 1 with the appropriate signal
'!' replaces '/' in the sysfs paths of older drivers, so properly
reverse that to get correct paths.
While we're here, reduce the duplication of initialization.
While this is enough for some drivers, it won't get 'input/' stuff
in the right folder.
---
It may seem hard to test this, but you just
On Sun, Jul 19, 2015 at 11:47:40PM -0500, Rob Landley wrote:
On 07/19/2015 07:13 PM, Isaac Dunham wrote:
On Sun, Jul 19, 2015 at 06:52:36PM -0500, Rob Landley wrote:
I haven't had a chance to follow up on Isaac's wget yet, but has anybody
poked at https://lwn.net/Articles/649764/ yet
.
Further googling found http://www.freshports.org/security/axTLS/ which
claims it's 3BSD, but I can't say my impression of the project was easy
to use, well supported by an exisiting community...
The original site stated that it was 3-clause BSD also.
Said original site is dead.
Thanks,
Isaac Dunham
On Tue, Jul 14, 2015 at 12:21:28AM -0500, Rob Landley wrote:
On 07/13/2015 01:18 AM, Isaac Dunham wrote:
Hello,
I've been working on an HTTP(S) downloader (what wget does, but currently
completely incompatible with everything) for toybox.
Currently it works to some degree, so I thought
.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
pdksh in Aboriginal might be sensible; but before that, it's
too big a project for a temporary gain.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
the term also applies to a hole full of gravel).
But I live on the other side of the country (Northern California).
Thanks,
Isaac
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
, followed by the tty 'ime'.
To specify multiple fields with the procps version of ps, you need
to either separate them with commas (ps -o c,time) or quote them
(ps -o 'c time').
Of course, by now Rob's probably figured all that out.
Thanks,
Isaac Dunham
On Tue, May 05, 2015 at 03:15:38PM -0700, Alistair Strachan wrote:
Add the MS_MOVE of cwd to / and chroot into it. We don't need to
chdir after the chroot because xchroot already does this for us.
It seems there was nothing updating the root filesystem at all.
I have some comments and
), mmap(2)) fail with
the error EBADF.
Curiously, fstat() has *recently* (Linux 3.6) been added to the list of
allowed syscalls accepting such an FD.
(Yes, the xattr stuff seems to be utterly nuts.)
Thanks,
Isaac Dunham
___
Toybox mailing list
tempfiles on exit) - xexit() is the recommended
path for toybox.
Using a fixed return value is wrong; for an example, grep returns
0 for line matched, 1 for no match, and 1 for errors.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
structured to be cumbersome and hideous.
Even if it were license compatible (which it isn't), I wouldn't want
to copy it.
Thanks,
Isaac Dunham
From 39baa24fb84a03e76f3c278108e002deec495d7d Mon Sep 17 00:00:00 2001
From: Isaac Dunham ibid...@gmail.com
Date: Sat, 18 Apr 2015 18:25:06 +
Subject
git rm as my configuration tool, but i assume that
would be far more painful on your end!).
I know the Linux kernel lets you use multiple defconfigs; I wonder if
it would work to save .config as scripts/android.config and then load
that.
HTH,
Isaac Dunham
On Sat, Apr 04, 2015 at 07:08:47PM +, Isaac Dunham wrote:
Looking over landley.net/hg/toybox, I noticed this commit:
changeset 1775:57f2a26fa92c
To ensure that toybox can be installed alongside busybox without
confusing update-alternatives, the paths of the links installed by
toybox
to not use SIGPWR for new code.
Thanks,
Isaac Dunham
diff --git a/toys/other/reboot.c b/toys/other/reboot.c
index 8baa4d8..8c1052a 100644
--- a/toys/other/reboot.c
+++ b/toys/other/reboot.c
@@ -2,7 +2,7 @@
*
* Copyright 2013 Elie De Brauwer eliedebrau...@gmail.com
-USE_REBOOT(NEWTOY(reboot, n
On Sat, Mar 28, 2015 at 08:38:14PM +, Isaac Dunham wrote:
Add support for -o x-mount.mkdir[=0755]
This is a feature of recent versions of util-linux, which allows
creating a missing directory on mount.
Probably it should actually be integrated into mount_filesystem()
and made to check
Add support for -o x-mount.mkdir[=0755]
This is a feature of recent versions of util-linux, which allows
creating a missing directory on mount.
Probably it should actually be integrated into mount_filesystem()
and made to check the existence/type of the source and mountpoint.
Creating a chmod
mount: ignore -o x-*
According to the manpage for util-linux mount, this is a per-device
comment for programs that handle fstab; leaving it in causes failed
mounts.
util-linux mount also supports x-mount.mkdir[=mode], which allows
creating the mountpoint at mount (a possibly useful construction
simplify replacing getenv, and avoid a lot of bloat.
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Mon, Mar 16, 2015 at 09:16:00PM -0700, enh wrote:
Allow head -X as well as head -n X.
diff --git a/toys/posix/head.c b/toys/posix/head.c
index e8517d4..608b93a 100644
--- a/toys/posix/head.c
+++ b/toys/posix/head.c
@@ -4,7 +4,7 @@
*
* See
On Thu, Feb 26, 2015 at 06:26:19AM -0600, Rob Landley wrote:
On 02/25/2015 10:27 AM, Isaac Dunham wrote:
On Wed, Feb 25, 2015 at 03:19:23AM -0600, Rob Landley wrote:
There's a marvelous book called the unix philosophy by mike gancarz
that talks about output intended for humans vs output
On Thu, Feb 26, 2015 at 03:19:28PM -0600, Rob Landley wrote:
On 02/26/2015 12:01 PM, Isaac Dunham wrote:
On Thu, Feb 26, 2015 at 06:26:19AM -0600, Rob Landley wrote:
On 02/25/2015 10:27 AM, Isaac Dunham wrote:
On Wed, Feb 25, 2015 at 03:19:23AM -0600, Rob Landley wrote:
There's
=ext2
I'm trying to parse this so I can get links in /dev/disk/by-label/
that match what udev produces; this is needed for mount by label to work.
And the ID_FS_LABEL_ENC field of -o udev matches what I'm looking for
exactly.
Thanks,
Isaac Dunham
will generate a bunch of warnings since FLAG_* get defined
twice (to the same values):
#define FOR_nsenter
#define FOR_unshare
However, I'm not certain how else to do this cleanly.
Thanks,
Isaac Dunham
diff --git a/toys/other/nsenter.c b/toys/other/nsenter.c
index 8f548bf..4e8e739 100644
--- a/toys
On Thu, Feb 05, 2015 at 01:25:41AM -0600, Rob Landley wrote:
On 02/03/2015 06:09 PM, Isaac Dunham wrote:
Hello,
I noticed a comment in landley.net/notes.html about missing stuff in
bash 2.05b (set -o pipefail, jobs).
My local build of bash 2.05b, configured with
./configure --disable
.
Is there a reason for assuming that md5crypt is worse?
bcrypt if the system supports it and otherwise sha256, sha512, or the
enhanced des support some systems have. These could be tried as
sequential fallbacks.
That sounds like it would be ideal.
Thanks,
Isaac Dunham
(3.13), the guys who originlly did *tables came out with nftables;
nftables unifies all the *tables stuff into one codebase.
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
;
zmake and rmake are remote build tools.
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
(sysv-ish/openrc) init scripts,
# service sshd start
is equal to:
# /etc/init.d/sshd start
In other words, a basic implementation that wouldn't work with
upstart/systemd is as follows:
#!/bin/sh
/etc/init.d/$1 $2
No. It's toys/other/oneit.c (in the toybox tree).
HTH,
Isaac Dunham
On Fri, Jan 02, 2015 at 01:20:11PM +1000, David Seikel wrote:
On Thu, 1 Jan 2015 10:22:46 -0800 Isaac Dunham ibid...@gmail.com
wrote:
On Thu, Jan 01, 2015 at 09:35:31AM -0500, stephen Turner wrote:
while doing some searches on scripting i was reminded about
service and noticed
,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
for a chance
to contribute.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Tue, Dec 30, 2014 at 03:20:50PM -0800, Andy Lutomirski wrote:
On Mon, Dec 29, 2014 at 11:07 PM, Isaac Dunham ibid...@gmail.com wrote:
unshare -r runs a command in a new PID namespace where the user is root.
unshare -r COMMAND ...
will run COMMAND ... in a new PID namespace that makes
unshare -r runs a command in a new PID namespace where the user is root.
(In other words, uid:gid 0:0)
geteuid()/getegid() will return (short)-1 if called after unshare(),
notwithstanding the documentation.
This is useful for making an archive that purports to belong to root,
fooling programs
In the channel selection loop, if (TT.chan) had been combined with
a strcmp; the else conditionals were premised on if (TT.chan) alone.
The help text had been only partially updated for a couple option changes.
---
toys/other/mix.c | 12 +++-
1 file changed, 7 insertions(+), 5
://www.cs.princeton.edu/~bwk/btl.mirror/
And OpenBSD uses a patched version of it, which can be found on the
usual dozen+ mirrors (under src/usr.bin/awk).
Locally, I generally use github.com/iguleder/lok, which is OpenBSD awk
ported to Linux.
HTH,
Isaac Dunham
___
Toybox
strace.
Thanks,
Isaac Dunham
diff --git a/toys/other/unshare.c b/toys/other/unshare.c
index 68c1ebd..cce614b 100644
--- a/toys/other/unshare.c
+++ b/toys/other/unshare.c
@@ -2,14 +2,14 @@
*
* Copyright 2011 Rob Landley r...@landley.net
-USE_UNSHARE(NEWTOY(unshare, 1^imnpuU, TOYFLAG_USR
:
for c in `mix`; do mix -c $c; done
(That corresponds to the default behavior of some command-line mixers.)
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
well.)
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Tue, Dec 16, 2014 at 04:34:47PM -0600, Rob Landley wrote:
On 12/15/2014 10:28 PM, Isaac Dunham wrote:
These have subtle variations in what they do:
cpio archive creation:
write garbage and continue on short read
Corrupts one file, but allows to continue: among other things
developer, and the base of
the code was his clone of that command.
I think fstype is automatically enabled because it barely makes a
difference in size.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net
On Wed, Dec 17, 2014 at 01:45:19PM -0600, Rob Landley wrote:
On 12/17/2014 02:20 AM, Isaac Dunham wrote:
On Tue, Dec 16, 2014 at 04:34:47PM -0600, Rob Landley wrote:
tar copy_in_out():
die on short read, try to avoid but ignore short write (calls
writeall())
It's in pending
than refactoring
xsendfile().
-extract:
die on short read (corrupt file), die on short write (out of space).
So I guess the sensible course is to write xcopyall() and make all the
archivers use it where relevant.
Thanks,
Isaac Dunham
___
Toybox mailing
a full-featured depmod, nm would be not much more
work.
A full POSIX ar (adequate for libraries) would also cover ranlib.
strings is already done.
size and strip are the main binutils tools in addition to those...
HTH,
Isaac Dunham
___
Toybox mailing
variable that OpenMP uses to check
how many threads to start; it overrides a check for the number of CPUs
in OpenMP-based software.
Thanks,
Isaac Dunham
/* nproc.c - get number of cpus
*
* Written by Isaac Dunham, 2014 A.D.
*
* No standard.
* Based on the behavior of GNU nproc, except
On Sat, Nov 29, 2014 at 09:31:54PM -0600, Rob Landley wrote:
On 11/29/14 19:52, Isaac Dunham wrote:
Hello,
I noticed that nproc was on the TODO list now and started writing it.
I've gotten it *almost* ready, but there's one difference between current
behavior and GNU nproc:
GNU
On Mon, Nov 24, 2014 at 08:57:39PM -0800, enh wrote:
is anyone already working on -h (for dd, df, and so on)?
du supports it (see human_readable()), and dd seems to use human units.
df does not have -h, and I'd be surprised if someone were working on it.
HTH,
Isaac Dunham
On Fri, Oct 31, 2014 at 12:14:04AM -0700, Isaac Dunham wrote:
Probe for utmpx support, shadow.h/getspnam(), and pty.h/forkpty().
Android does not provide any of these headers, so probe for them at
compile time and select what to build based on presence.
--
This addresses some
On Fri, Oct 31, 2014 at 12:06:14PM -0500, Rob Landley wrote:
On 10/31/14 11:59, Isaac Dunham wrote:
On Fri, Oct 31, 2014 at 12:14:04AM -0700, Isaac Dunham wrote:
Probe for utmpx support, shadow.h/getspnam(), and pty.h/forkpty().
Android does not provide any of these headers, so probe
from?
http://www.linux-mips.org/wiki/Highmem
says it's basically that only 512MB are theoretically addresseable as lowmem,
and some of that is reserved so only half can be used.
HTH,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http
On Tue, Oct 21, 2014 at 09:06:03PM +1100, scsijon wrote:
On 10/21/2014 02:52 PM, Isaac Dunham wrote:
On Mon, Oct 20, 2014 at 11:47:32AM -0500, Rob Landley wrote:
On 10/20/14 01:50, Isaac Dunham wrote:
On Mon, Oct 20, 2014 at 01:17:44PM +1100, scsijon wrote:
I was wondering if toybox 'could
you have to compile in or is it also available (if available at
all) in the binary 0.5?
toysh is the shell; it's in toys/pending/sh.c, and can be invoked as
toysh or sh. It is not built by default.
It's *very* unfinished, but you can run commands in it.
thanks
Stephen
Hope this helps,
Isaac
On Mon, Oct 20, 2014 at 01:17:44PM +1100, scsijon wrote:
I was wondering if toybox 'could / would be able to' have an auto tool built
into it. I'm not a coder, so can't do it, but
Along the line of:
--
If toybox had the command 'siliswap' built into it, but it's inbuilt
siliswap was a
one later, so there's no rush on
deciding...
I'd suggest doing the new one, then adding optional support for the old one
if requested.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox
On Mon, Oct 06, 2014 at 12:36:08AM -0500, Rob Landley wrote:
On 10/05/14 23:13, Isaac Dunham wrote:
On Sun, Oct 05, 2014 at 04:28:21PM -0500, Rob Landley wrote:
On 10/04/14 15:52, Isaac Dunham wrote:
acpi: never follow symlinks, always recurse in dirs.
/sys/class contains several
On Sun, Oct 05, 2014 at 04:28:21PM -0500, Rob Landley wrote:
On 10/04/14 15:52, Isaac Dunham wrote:
acpi: never follow symlinks, always recurse in dirs.
/sys/class contains several directories, each containing symlinks to
devices of a given type.
The symlinks are where we want to end
/sda |grep Temperature
# or (Hitachi-only, but no spin-up)
hdparm -H /dev/sda
Then also Thinkpads have multiple sensors, which are apparently named
(in sysfs) temp*_input
The official acpi misses both the Thinkpad sensors and HDD sensors.
Thanks,
Isaac Dunham
diff --git a/toys/other/acpi.c b
workaround in single.sh?
Anyhow, an alternate proposal for how to handle rm -rf:
Try deleting files, and handle errors by the chmod path if errno == EPERM.
Is there a reason not to do this?
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox
On Mon, Sep 22, 2014 at 08:19:21AM -0500, Rob Landley wrote:
On 09/20/14 08:22, Felix Janda wrote:
Isaac Dunham wrote:
[..]
A trickier bug is that rm -r dir will skip dir, saying
rm: dir: is a directory
I guess the fix involves rm -r calling rmdir instead of unlink.
unlinkat
someone working on crontab already, or may I write one?
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
getty needs fd 0 to stay open.
The O_CLOEXEC reversal resulted in login failing.
Thanks,
Isaac Dunham
diff --git a/toys/pending/getty.c b/toys/pending/getty.c
index 0cfd750..c737628 100644
--- a/toys/pending/getty.c
+++ b/toys/pending/getty.c
@@ -128,7 +128,7 @@ static void open_tty(void
android kernels, though it would be
possible to enable it.
(3: what is this for, anyhow?:
testing sound on Aboriginal builds.
4: why on earth is it using OSS3?:
I think it's because using the ALSA kernel interface sucketh...)
HTH,
Isaac Dunham
___
Toybox
before
entering command_main().
Regular builds with at least two commands enabled do not display this issue.
I have not tested enabling one command and TOYBOX_CONTAINER.
Thank you,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http
, since there is still the daemon() function in libc...
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Thu, Jul 17, 2014 at 10:56:25PM -0500, Rob Landley wrote:
On 07/18/14 13:45, Isaac Dunham wrote:
On Thu, Jul 17, 2014 at 08:24:07AM -0500, Rob Landley wrote:
On 07/17/14 08:12, Rob Landley wrote: On 07/17/14 00:58, technosaurus
wrote:
I think this is the same as daemonize
On Thu, Jun 26, 2014 at 07:18:31AM -0500, Rob Landley wrote:
On 06/26/14 00:20, Isaac Dunham wrote:
On Wed, Jun 25, 2014 at 11:02:03PM -0500, Rob Landley wrote:
We don't need -m help when we can put the list of supported types in
the help text itself. (Unless this is used programmatically
for a salt;
traditionally it's terminated with a '$', but musl at least does not
require this.
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Tue, Jun 24, 2014 at 04:54:57PM +0200, luck...@vp.pl wrote:
W dniu 23.06.2014 23:45, Isaac Dunham pisze:
On Mon, Jun 23, 2014 at 05:35:55PM +0200, luck...@vp.pl wrote:
I created own build system for small linux distributions. I had to
write two patches for your
toybox-0.4.8. First patch
When useradd started using xfork(), the conditional in
else if (pid 0)
became unnecessary, since else means pid is nonzero and xfork makes it
non-negative.
However, the if was not deleted.
--
Thanks,
Isaac Dunham
diff --git a/toys/pending/useradd.c b/toys/pending/useradd.c
index 99e2530
a signal (default: TERM) to all processes with the
given n
^
HTH, Isaac
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
cost.)
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
all tests for du
or fail 3.
The tests for link and du are attached.
HTH,
Isaac Dunham
Rob
Thanks,
Isaac Dunham
#!/bin/bash
[ -f testing.sh ] . testing.sh
#testing name command result infile stdin
# we only test with -k since getting POSIX version is variable
# POSIXLY_CORRECT
was fun: I'm thinking I'd like to write ar (tar would be
another alternative, but ISTR Rob had said something about having a
start on the design, etc.)
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net
On Fri, May 23, 2014 at 10:06:24AM -0700, Isaac Dunham wrote:
On Fri, May 23, 2014 at 01:53:31PM +0200, Bertold Van den Bergh wrote:
Hello,
I have attached a patch adding a program that allows re-reading the
partition table. This is often used on embedded systems booting from SD/USB
(toybuf, 0, 4096); is needed because it
initializes vname/devname to an empty state; removing that line would
result in garbage text output/repetition of the wrong vendor and device
information.
HTH,
Isaac Dunham
diff --git a/toys/pending/lspci.c b/toys/pending/lspci.c
index c61f582..f07f8d2
.
Surprisingly enough, emknUSE_LSPCI_TEXT(@i:) works without any
mucking around.
Thanks,
Isaac Dunham
diff --git a/toys/pending/lspci.c b/toys/pending/lspci.c
index b557e45..c61f582 100644
--- a/toys/pending/lspci.c
+++ b/toys/pending/lspci.c
@@ -1,7 +1,7 @@
/*
* lspci - written by Isaac Dunham
-byte numbers, but some have
4...)
Thanks,
Isaac Dunham
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
1 - 100 of 159 matches
Mail list logo