Re: 1.22.1 is released

2014-01-20 Thread Denys Vlasenko
On Mon, Jan 20, 2014 at 8:58 AM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On 20 January 2014 06:00:01 Denys Vlasenko vda.li...@googlemail.com wrote: 20 January 2014 -- BusyBox 1.22.1 (stable) Bug fix release. Please schedule the ash SHLVL for the next round. Done:

mount command outputs its usage on correct arguments

2014-01-20 Thread Dario Bertini
This is what I'm trying to do: root@crespo:/ # mount /dev/block/platform/s3c-sdhci.0/by-name/media /storage/sdcard0 Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|root@crespo:/ # mount /dev/block/mmcblk0p3 /storage/sdcard0 Usage: mount [-r] [-w] [-o options] [-t type] device

Re: [PATCH] mdev - add SELinux support

2014-01-20 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/2014 11:23 AM, Amadeusz Sławiński wrote: A better patch would be to use setfscreatecon(scontext) before the mknod. And setfscreatecon(NULL) after. Pseuod code #if ENABLE_SELINUX security_context_t scontext = NULL;

Re: mount command outputs its usage on correct arguments

2014-01-20 Thread Denys Vlasenko
On Mon, Jan 20, 2014 at 3:30 PM, Dario Bertini berda...@gmail.com wrote: This is what I'm trying to do: root@crespo:/ # mount /dev/block/platform/s3c-sdhci.0/by-name/media /storage/sdcard0 Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|root@crespo:/ # mount

Re: [PATCH] mdev - add SELinux support

2014-01-20 Thread Amadeusz Sławiński
On Mon, 20 Jan 2014 09:43:24 -0500 Daniel J Walsh dwa...@redhat.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/2014 11:23 AM, Amadeusz Sławiński wrote: A better patch would be to use setfscreatecon(scontext) before the mknod. And setfscreatecon(NULL) after. Pseuod

Re: mount command outputs its usage on correct arguments

2014-01-20 Thread Dario Bertini
BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary. I think the .config should be this one: https://github.com/tpruvot/android_external_busybox/blob/cm-10.1/.config-full Thanks -- xmpp: berda...@gmail.com bitmessage: BM-2cTYXfGiSTsnx3righ6aHcJSWe4MV17jDP gpg fingerprint:

Re: [PATCH 1/1] correct `find' invocation in gen_build_files.sh

2014-01-20 Thread Daniel Borca
Is there any occult justification to resist this simple (and POSIX) change? Some of us, mere mortals, crave to know. Denys Vlasenko wrote: bbox's find does support -not - you need to enable DESKTOP in .config. Why? 2014/1/18 Ivailoxakep...@gmail.com:

set_loop tries to create 1048575 loop devices

2014-01-20 Thread Ralf Friedl
Hi I just had mount create a large number of loop devices before I interrupted it. The reason is that the loop module is not loaded in the kernel, but it would be better to have an error message instead. Here ist the strace output: stat64(/dev/loop0, 0x7ffd8840)= -1 ENOENT (No such

Re: [PATCH 1/1] correct `find' invocation in gen_build_files.sh

2014-01-20 Thread Harald Becker
Hi ! bbox's find does support -not - you need to enable DESKTOP in .config. Why? The idea behind this was space saving on none desktop version (e.g. initramfs versions of Busybox). The base syntax of find was the explation mark for the NOT operation. So any extra syntax needs extra space,

Re: [PATCH] mdev - add SELinux support

2014-01-20 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/2014 10:56 AM, Amadeusz Sławiński wrote: On Mon, 20 Jan 2014 09:43:24 -0500 Daniel J Walsh dwa...@redhat.com wrote: On 01/19/2014 11:23 AM, Amadeusz Sławiński wrote: A better patch would be to use setfscreatecon(scontext) before the

Re: [PATCH 1/1] correct `find' invocation in gen_build_files.sh

2014-01-20 Thread Sedat Dilek
On Mon, Jan 20, 2014 at 6:19 PM, Harald Becker ra...@gmx.de wrote: Hi ! bbox's find does support -not - you need to enable DESKTOP in .config. Why? The idea behind this was space saving on none desktop version (e.g. initramfs versions of Busybox). The base syntax of find was the explation

Philips TV

2014-01-20 Thread Harald Becker
Hi Denys, a few weeks ago you asked how to contact developers of a Philips TV. The TV part of Philips has bean sold to TPV Technology Ltd., which is just a holding and does not do there own development. All Philips development centers for consumer electronics have closed (or are going to do so)

[PATCH] date: fix incorrect year in dates of the form [[[MM]DD]hh]mm

2014-01-20 Thread Ron Yorston
Since commit 688a7e3f dates of the form [[[MM]DD]hh]mm have the wrong year: $ ./busybox date -d 10101010 Fri Oct 10 10:10:00 GMT 10102910 Signed-off-by: Ron Yorston r...@tigress.co.uk --- libbb/time.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libbb/time.c

Re: set_loop tries to create 1048575 loop devices

2014-01-20 Thread Lauri Kasanen
On Mon, Jan 20, 2014, at 18:52, Ralf Friedl wrote: Hi I just had mount create a large number of loop devices before I interrupted it. The reason is that the loop module is not loaded in the kernel, but it would be better to have an error message instead. ... I don't know whether

Re: set_loop tries to create 1048575 loop devices

2014-01-20 Thread Lauri Kasanen
I just had mount create a large number of loop devices before I interrupted it. The reason is that the loop module is not loaded in the kernel, but it would be better to have an error message instead. ... I don't know whether there are other reasons why open /dev/loop might

[PATCH] mdev - add SELinux support

2014-01-20 Thread Amadeusz Sławiński
Add support for relabeling files. Files created or modified by mdev should now have correct SELinux labels. It sets file creation context, however if it detects that file exists it just restores context. Signed-off-by: Amadeusz Sławiński am...@asmblr.net --- util-linux/mdev.c | 37

[PATCH v2] add selinux support to mdev

2014-01-20 Thread Amadeusz Sławiński
I'm booting in enforcing mode and init initializes SELinux, later when mdev is started it needs to create files with correct permissions for system to work correctly. Following patch allows for easy booting of SELinux system with mdev as /dev manager. added in v2 - first try to create node with

Re: Philips TV

2014-01-20 Thread Denys Vlasenko
Hi Harald, On Mon, Jan 20, 2014 at 6:59 PM, Harald Becker ra...@gmx.de wrote: a few weeks ago you asked how to contact developers of a Philips TV. The TV part of Philips has bean sold to TPV Technology Ltd., which is just a holding and does not do there own development. All Philips

Re: [PATCH] date: fix incorrect year in dates of the form [[[MM]DD]hh]mm

2014-01-20 Thread Denys Vlasenko
Thanks for the report! I applied with a slightly different fix. The fix will go into 1.22.2 too. On Mon, Jan 20, 2014 at 9:53 PM, Ron Yorston r...@tigress.co.uk wrote: Since commit 688a7e3f dates of the form [[[MM]DD]hh]mm have the wrong year: $ ./busybox date -d 10101010 Fri Oct 10