platform_system_core/toolbox
Chris Fries 4868b07931 toolbox: ioctl: fix signedness on ioctl_nr
ioctl_nr is passed signed to the kernel, but many users refer
to ioctl's in unsigned 32 bit notation.

Let's use stroll to set it, to let people specify either
negative numbers or large positive numbers.

Also improve error reporting.

Reported-By: Alex Piliev <ktnr74@motorola.com>
Change-Id: I789434895b70b051d4d5c1a5db566a1925478ef0
2015-04-01 15:46:20 -07:00
..
upstream-netbsd Build BSD grep separately from toolbox. 2015-02-04 18:50:14 -08:00
Android.mk Lose route to toybox. 2015-03-30 11:23:44 -07:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE Refresh toolbox. 2014-07-25 10:51:19 -07:00
bsd-compatibility.h Lose chown to toybox. 2015-01-15 13:47:00 -08:00
df.c Fixed improper size displaying in 'df' utility 2012-10-02 10:39:19 +02:00
dynarray.c Add missing <string.h> includes. 2015-01-24 20:03:09 -08:00
dynarray.h toolbox: make getprop print a sorted list of properties 2011-01-08 12:22:08 +01:00
generate-input.h-labels.py $ANDROID_BUILD_TOP isn't set for continuous builds. 2015-03-25 21:18:43 -07:00
getevent.c Auto-generate the getevent labels from <linux/input.h>. 2015-03-25 17:34:22 -07:00
getprop.c Merge "toolbox: turn on -Werror" 2014-05-21 15:40:14 +00:00
iftop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ioctl.c toolbox: ioctl: fix signedness on ioctl_nr 2015-04-01 15:46:20 -07:00
ionice.c Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
log.c Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
ls.c Refresh toolbox. 2014-07-25 10:51:19 -07:00
lsof.c Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
mount.c Merge "fs_mgr: make block devices read-only" 2013-04-25 20:22:20 +00:00
nandread.c Fix %llx to PRIx64 in nandread.c. 2014-06-25 16:37:18 -07:00
newfs_msdos.c toolbox: Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 10:17:29 -07:00
prlimit.c toolbox: add prlimit command 2014-10-27 12:25:41 -07:00
ps.c Fix LP32 build. 2015-03-09 21:10:10 -07:00
r.c Fix missing #includes in system/core. 2014-12-29 12:24:25 -08:00
renice.c Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
restorecon.c Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
sendevent.c Fix missing #includes in system/core. 2014-12-29 12:24:25 -08:00
setprop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
start.c Stop and start netd explicitly for "adb shell stop/start". DO NOT MERGE 2014-07-22 22:43:42 +00:00
stop.c Stop and start netd explicitly for "adb shell stop/start". DO NOT MERGE 2014-07-22 22:43:42 +00:00
toolbox.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
top.c Fix top for very large VSS. 2014-10-08 11:21:23 -07:00
umount.c toolbox: turn on -Werror 2014-05-14 12:41:24 -07:00
uptime.c Remove /dev/alarm cruft from uptime. 2015-03-20 11:14:50 -07:00
watchprops.c Add missing <string.h> includes. 2015-01-24 20:03:09 -08:00