Commit graph

557 commits

Author SHA1 Message Date
Arcterus
3dc2064477 Begin using dependency info in the Makefile 2014-06-18 17:31:00 -07:00
Arcterus
7866f967ef common: fix for Linux 2014-06-18 17:24:56 -07:00
Arcterus
ce3b45b503 common: make get_group_list work for all users on Macs 2014-06-18 17:21:17 -07:00
Oly Mi
6039626490 Merge pull request #270 from orodley/fix-32-bit-build
Fix build failure for systems with a non-64-bit time_t.
2014-06-18 19:29:05 +04:00
Owen Rodley
dfd6e1e5ed Fix build failure for systems with a non-64-bit time_t. 2014-06-19 00:42:34 +12:00
Oly Mi
360daca1aa Merge pull request #269 from ebfe/sum
sum: pass busybox tests
2014-06-18 14:46:56 +04:00
Michael Gehring
7cdcb8bf97 sum: print filenames 2014-06-18 12:38:19 +02:00
Michael Gehring
156577ec40 sum: handle multiple file args 2014-06-18 12:36:12 +02:00
Arcterus
b26b874829 common: remove extra cast 2014-06-17 20:51:59 -07:00
Arcterus
cf2d7a3bb7 Fix id and groups for Macs. Also make every util depend on common 2014-06-17 20:47:29 -07:00
Arcterus
ee92573584 Merge pull request #266 from ebfe/uutils
uutils: add chroot, factor, nl, tail
2014-06-17 10:52:22 -07:00
Michael Gehring
329ac25e07 uutils: add chroot, factor, nl, tail 2014-06-17 19:38:11 +02:00
Michael Gehring
2aa76c4202 tail: fix uumain 2014-06-17 19:35:48 +02:00
Michael Gehring
2c4c2e4bb6 factor: fix uumain 2014-06-17 19:33:53 +02:00
Arcterus
39c8d36b5e Merge pull request #263 from ebfe/du
du: fix -s flag
2014-06-17 07:53:04 -07:00
Michael Gehring
0c06b98c2d du: fix -s flag
Fixes #241
2014-06-17 16:51:08 +02:00
Oly Mi
a2d5dc4995 Merge pull request #262 from ebfe/fix-group-foo
id/groups: fix group list handling
2014-06-17 18:10:40 +04:00
Michael Gehring
48892c5063 id: fix typo 2014-06-17 14:48:37 +02:00
Michael Gehring
aa5293ecfa id: remove dead code/unused imports 2014-06-17 14:47:40 +02:00
Michael Gehring
e0d9347182 id: remove unnecessary coercion 2014-06-17 14:46:02 +02:00
Michael Gehring
2b2bdc89ff id: rework id_print()
Fixes #239
2014-06-17 14:45:10 +02:00
Michael Gehring
c80fdc1a73 c_types: make get_groups/get_group_list public 2014-06-17 14:32:31 +02:00
Michael Gehring
65c224fbf8 id: remove unused arg 2014-06-17 14:30:18 +02:00
Michael Gehring
d66679ccf8 c_types: rework group()
Fixes #236
2014-06-17 12:31:56 +02:00
Oly Mi
50d571717b Merge pull request #255 from Arcterus/id-fix
id: fix on Macs
2014-06-17 06:24:55 +04:00
Arcterus
10fd43ab22 Merge pull request #257 from ebfe/hostname
hostname: fix sethostname prototype on linux
2014-06-16 19:13:59 -07:00
Arcterus
2c58b896b5 Merge pull request #258 from ebfe/nl
nl: fix dead_code warning in multicall build
2014-06-16 19:13:18 -07:00
Michael Gehring
43542e95d8 nl: fix dead_code warning in multicall build 2014-06-17 03:22:01 +02:00
Michael Gehring
8bbe123023 hostname: fix sethostname prototype on linux 2014-06-17 03:01:44 +02:00
Arcterus
f4615d746d Merge pull request #256 from ebfe/chroot
chroot: fix setgroups prototype on linux
2014-06-16 17:44:56 -07:00
Michael Gehring
078ba3dfda chroot: fix setgroups prototype on linux 2014-06-17 02:41:05 +02:00
Arcterus
c33ab0e378 chroot: remove a couple more braces 2014-06-16 15:55:39 -07:00
Arcterus
b16b0204da Merge pull request #252 from torkve/master
chroot implementation
2014-06-16 15:54:00 -07:00
Vsevolod Velichko
fd6975c86c Remove redundant braces, show_error for getopt parse error 2014-06-17 02:28:40 +04:00
Vsevolod Velichko
46c1a53d5a Use (c) rather than © 2014-06-17 02:08:55 +04:00
Vsevolod Velichko
fcd05aca8d Use gid_t instead of uid_t for groups 2014-06-17 02:07:16 +04:00
Vsevolod Velichko
c7e0e5aa5e Code style fixes 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
eebcdbddb1 Remove unused debug crate import 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
301256d0f0 Remove chroot from todo list 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
c5b423048c chroot implementation 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
6efcc02c39 Common function to get user group info 2014-06-17 02:05:36 +04:00
Arcterus
9f0970257c id: fix on Macs 2014-06-16 14:53:33 -07:00
Arcterus
9f78e46484 Merge pull request #254 from ebfe/groups
c_types: handle errors from getgroups()/getgrouplist()
2014-06-16 13:54:44 -07:00
Arcterus
e0428b290b Merge pull request #253 from ebfe/fix-c-group
c_types: fix c_group (struct group) memory layout
2014-06-16 13:53:05 -07:00
Michael Gehring
d22be16932 c_types: handle errors from getgroups()/getgrouplist() 2014-06-16 22:24:09 +02:00
Michael Gehring
d24327b243 whoami: use libc::uid_t where appropriate 2014-06-16 22:24:09 +02:00
Michael Gehring
68c42a6a39 id: use libc::{uid_t,gid_t} where appropriate 2014-06-16 22:24:09 +02:00
Michael Gehring
b39cf18418 c_types: use libc::{uid_t,gid_t} where appropriate 2014-06-16 21:04:56 +02:00
Michael Gehring
66c364c75d c_types: fix c_group (struct group) memory layout 2014-06-16 20:05:51 +02:00
Arcterus
30df0ca208 nl: remove to_err_msg (deprecated) 2014-06-15 20:48:10 -07:00