diff options
author | Miles Bader <miles@gnu.org> | 1997-09-29 22:03:55 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-09-29 22:03:55 +0000 |
commit | f03d8f7b95ed8815a14ce8ac5ca2a27b74aad512 (patch) | |
tree | c5a007408d95e84cedd90f9e80bf356b36cfbcaa /utils/frobauth.h | |
parent | 7f23a78eff8eb6eabf7faa882604695aee39d479 (diff) |
(frobauth_modify):
Add AUTHS & NUM_AUTHS parameters.
Diffstat (limited to 'utils/frobauth.h')
-rw-r--r-- | utils/frobauth.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/utils/frobauth.h b/utils/frobauth.h index 0423337e..2b9c78f1 100644 --- a/utils/frobauth.h +++ b/utils/frobauth.h @@ -40,12 +40,15 @@ struct frobauth /* For every pid in FROBAUTH, call MODIFY to change its argument UGIDS from the current authentication to what it should be; CHANGE is whatever ids - the user specified. If the user specifies the --verbose flags, PRINT_INFO - is called after successfully installing the new authentication in each - process, to print a message about what happened. True is returned if no - errors occur, although most errors do not cause termination, and error - messages are printed for them. */ + the user specified. AUTHS, of length NUM_AUTHS, should be a vector of + auth ports giving whatever additional authentication is needed (besides + the process's current authentication). If the user specifies the + --verbose flags, PRINT_INFO is called after successfully installing the + new authentication in each process, to print a message about what + happened. True is returned if no errors occur, although most errors do + not cause termination, and error messages are printed for them. */ error_t frobauth_modify (struct frobauth *frobauth, + const auth_t *auths, size_t num_auths, error_t (*modify) (struct ugids *ugids, const struct ugids *change, pid_t pid, void *hook), |