Searched refs:TOKEN_LOCKED (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/libexec/login_token/
H A Dtokendb.h58 #define TOKEN_LOCKED 0x1 /* record locked for updating */ macro
H A Dtoken.c118 while ((r = tokendb_lockrec(user, &tr, TOKEN_LOCKED)) == 1) {
123 tr.flags &= ~TOKEN_LOCKED;
H A Dtokendb.c342 if ((tokenrec->flags & TOKEN_LOCKED)||(tokenrec->flags & recflags)) {
/openbsd-current/usr.sbin/tokenadm/
H A Dtokenadm.c275 switch (tokendb_lockrec(username, &tokenrec, TOKEN_LOCKED)) {
279 tokenrec.flags &= ~TOKEN_LOCKED;
307 switch (tokendb_lockrec(username, &tokenrec, TOKEN_LOCKED)) {
317 tokenrec.flags &= ~TOKEN_LOCKED;
350 tokenrec.flags &= ~TOKEN_LOCKED;

Completed in 129 milliseconds