Searched refs:_is_authorized (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate3.c | 145 _is_authorized(char *auths, uid_t uid) in _is_authorized() function 190 return (_is_authorized(auth_list, uid)); in _is_dev_authorized() 201 ares = _is_authorized(auth_list, uid); in _is_dev_authorized() 506 if (!_is_authorized(DEVICE_REVOKE_AUTH, getuid())) in list_devices() 511 !_is_authorized(DEFAULT_DEV_ALLOC_AUTH, uid)) in list_devices() 1361 if (!_is_authorized(DEVICE_REVOKE_AUTH, getuid())) in allocate() 1440 if (!_is_authorized(DEVICE_REVOKE_AUTH, getuid())) in deallocate()
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 350 _is_authorized(const char *auth, void *authname, void *res) in _is_authorized() function 390 (void) _enum_auths(username, _is_authorized, (char *)authname, in chkauthattr()
|