[Toybox] [PATCH] modprobe: add -d option to specify module directory path(s)

2017-01-25 Thread Steve Muckle
While most systems have their kernel modules, modules.dep etc located at /lib/modules/`uname -r` this is not always the case. The -d option may be used to specify a nonstandard path for these files. It may be used more than once to specify multiple directories where these files may be found. From

Re: [Toybox] Stat %Z - What are valid values?

2017-01-25 Thread Rob Landley
On 01/24/2017 06:10 PM, Rich Felker wrote: >>> strptime with %s? I suspect there are some nasty underspecified issues >>> with how it interacts with timezones. >> >> I thought unix time was always UTS and the timezone just affected how it >> was displayed? > > The problem is that strptime

Re: [Toybox] [PATCH] Fix microcom command-line help and -X.

2017-01-25 Thread Rob Landley
Catching up... ctrl-x is not a good escape character, it's the "attention" key for emacs. The traditional (telnet) escape character is ctrl-right bracket (ascii 29) which as far as I know doesn't conflict with anything. Any strong opinions if I change it? (I've done it for now but can switch it

[Toybox] [PATCH] Remove name length limit for system properties

2017-01-25 Thread dimitry
Hi, Android O removes 32 byte limit on system property names. This patch is the follow up on this change fixing getprop and setprop toys accordingly. From 3fd93922e01fa30c4ef8a4dd7182e5f9ee0fc3a6 Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Wed, 25 Jan 2017 13:27:03

Re: [Toybox] [PATCH] modprobe: add -d option to specify module directory path(s)

2017-01-25 Thread enh
On Wed, Jan 25, 2017 at 3:59 PM, Steve Muckle wrote: > While most systems have their kernel modules, modules.dep etc located at > /lib/modules/`uname -r` this is not always the case. in case it isn't obvious: "...such as on Android". > The -d option may be used to specify a

Re: [Toybox] Stat %Z - What are valid values?

2017-01-25 Thread Rich Felker
On Wed, Jan 25, 2017 at 05:15:37PM -0600, Rob Landley wrote: > On 01/24/2017 06:10 PM, Rich Felker wrote: > >>> strptime with %s? I suspect there are some nasty underspecified issues > >>> with how it interacts with timezones. > >> > >> I thought unix time was always UTS and the timezone just

Re: [Toybox] [PATCH] Fix microcom command-line help and -X.

2017-01-25 Thread enh
On Wed, Jan 25, 2017 at 2:25 PM, Rob Landley wrote: > Catching up... > > ctrl-x is not a good escape character, it's the "attention" key for > emacs. The traditional (telnet) escape character is ctrl-right bracket > (ascii 29) which as far as I know doesn't conflict with

[Toybox] [PATCH] modprobe: use finit_module when possible

2017-01-25 Thread Steve Muckle
The finit_module() system call, introduced in Linux 3.8, reads the module from a supplied file descriptor. This allows the kernel to do security checks based on the file's location. From fbb90c1db3c3ec4cffce32e4cdd67a880ed8e9f2 Mon Sep 17 00:00:00 2001 From: Steve Muckle Date: