summary refs log tree commit diff
path: root/src/uidgid.h
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2006-11-02 22:59:14 +0000
committerGerrit Pape <pape@smarden.org>2006-11-02 22:59:14 +0000
commita1bbb6ddcf9119220c509c2e6424cf6a5a20d984 (patch)
treee1691179493adeaa9e59410895afc47b50f2f704 /src/uidgid.h
parentc09a0fe2d6721235b106745b03e2992f0d35fc24 (diff)
downloadrunit-a1bbb6ddcf9119220c509c2e6424cf6a5a20d984.tar.gz
runit-a1bbb6ddcf9119220c509c2e6424cf6a5a20d984.tar.xz
runit-a1bbb6ddcf9119220c509c2e6424cf6a5a20d984.zip
* chpst.c, uidgid.c, uidgid.h: support numerical uid gid through
    chpst -[u|U] :uid:gid...
  * man/chpst.8: adapt; clarify that users and groups are looked up in
    /etc/passwd and /etc/group only.
  * sv.c: properly wait for a service to be restarted on 'restart';
    support checks through -v for pause, cont, kill.
Diffstat (limited to 'src/uidgid.h')
-rw-r--r--src/uidgid.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uidgid.h b/src/uidgid.h
index f8599a1..13cacbc 100644
--- a/src/uidgid.h
+++ b/src/uidgid.h
@@ -9,6 +9,10 @@ struct uidgid {
   int gids;
 };
 
-extern unsigned int uidgid_get(struct uidgid *, char *, unsigned int);
+/* user */
+extern unsigned int uidgid_get(struct uidgid *, char *);
+
+/* [:]user[:group[:group]...] */
+extern unsigned int uidgids_get(struct uidgid *, char *);
 
 #endif