From f03d8f7b95ed8815a14ce8ac5ca2a27b74aad512 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 29 Sep 1997 22:03:55 +0000 Subject: (frobauth_modify): Add AUTHS & NUM_AUTHS parameters. --- utils/frobauth.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'utils') 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), -- cgit v1.2.3