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

/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c52 authorized() function
61 return (1); /* "root" is authorized */
64 return (1); /* "lp" is authorized */
67 return (0); /* intruders are not authorized */
70 return (1); /* "solaris.print.admin" is authorized */
79 return (1); /* group 14 is authorized */
81 return (0); /* nobody else is authorized */
196 if (authorized() == 0) {
198 "Permission denied: not authorized\n"));
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c206 authorized(service_t *svc, int32_t id) function
1054 if ((result = authorized(handle, job_id)) != PAPI_OK)
1089 if ((status = authorized(svc, job_id)) != PAPI_OK)
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c737 * Mark the connection as either having been authorized or not.
741 * authorized (input) - TRUE or FALSE.
747 ndmp_set_authorized(ndmp_connection_t *connection_handle, boolean_t authorized) argument
749 ((ndmp_connection_t *)connection_handle)->conn_authorized = authorized;
1053 "Processing request 0x%x:connection not authorized",
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c234 * hash table, perm_granted() is called. If the client is authorized,
238 * This works fine if the client is authorized, but what happens if
239 * the client is not authorized? We need to report the required
6654 rc_auth_state_t authorized = RC_AUTH_UNKNOWN; local
6743 authorized = RC_AUTH_PASSED; /* No check on commit. */
6799 authorized = RC_AUTH_FAILED;
6805 txp->rnp_authorized = authorized;
6806 if (authorized != RC_AUTH_UNKNOWN) {

Completed in 62 milliseconds