diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-21 14:41:33 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-21 14:41:33 +0000 |
| commit | d73cbd31a295ac757e59f129f162d9cd69440224 (patch) | |
| tree | 53d9c4cff7223be124698ec8cc3ccba4bded52eb /include | |
| parent | a53de7f7c2cd3ac46b26642aafb1a573a096a80d (diff) | |
| download | busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.gz busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.bz2 busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.zip | |
- first pass to unify/cleanup uid handling (-236b)
This needs further love, alot of love.. Tito?
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4e4e37911..4b2a839a5 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -691,6 +691,8 @@ struct bb_uidgid_t { | |||
| 691 | }; | 691 | }; |
| 692 | /* always sets uid and gid */ | 692 | /* always sets uid and gid */ |
| 693 | int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok) FAST_FUNC; | 693 | int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok) FAST_FUNC; |
| 694 | /* always sets uid and gid, allows numeric; exits on failure */ | ||
| 695 | void xget_uidgid(struct bb_uidgid_t*, const char*) FAST_FUNC; | ||
| 694 | /* chown-like handling of "user[:[group]" */ | 696 | /* chown-like handling of "user[:[group]" */ |
| 695 | void parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_group) FAST_FUNC; | 697 | void parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_group) FAST_FUNC; |
| 696 | /* bb_getpwuid, bb_getgrgid: | 698 | /* bb_getpwuid, bb_getgrgid: |
