Commit graph

945 commits

Author SHA1 Message Date
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
Arcterus
24ea665a19 Merge pull request #238 from tobstar87/nl
implemented "nl"
2014-06-15 20:42:35 -07:00
Tobias Schottdorf
2e097d659e add nl 2014-06-16 05:38:32 +02:00
Arcterus
637d2c72d0 Merge pull request #251 from Arcterus/whoami
whoami: fix for Windows
2014-06-15 15:08:14 -07:00
Arcterus
723212bd8c whoami: change GetUserName to GetUserNameA 2014-06-15 14:42:58 -07:00
Arcterus
d323b9b8b4 Move whoami from UNIX_PROGS to PROGS 2014-06-15 13:41:23 -07:00
Arcterus
3c2ae890c1 whoami: fix for Windows 2014-06-15 13:37:58 -07:00
Arcterus
a6f9d806e6 Merge pull request #245 from ebfe/fix-id
id: fix segfault on linux
2014-06-15 12:56:47 -07:00
Arcterus
7920c7d9e4 Merge pull request #246 from ebfe/remove-to-err-msg
remove use of deprecated to_err_msg
2014-06-15 12:55:01 -07:00
Arcterus
81d4d69baf Merge pull request #247 from ebfe/gitignore
gitignore: add vim temp files
2014-06-15 11:23:41 -07:00
Michael Gehring
1b8307e9d9 id: linux specific pline() 2014-06-15 20:18:30 +02:00
Michael Gehring
0956ab8804 c_types: fix c_passwd (struct passwd) memory layout on linux 2014-06-15 20:18:30 +02:00
Arcterus
2739e414b3 Merge pull request #250 from xanderfomin/sync
GNU sync implementation
2014-06-15 11:07:50 -07:00
Alexander Fomin
8b73b7881d GNU sync implementation 2014-06-15 18:25:00 +04:00