/titanic_41/usr/src/cmd/lp/lib/lp/ |
H A D | tx.c | 56 get_labeled_zonename(char *slabel) in get_labeled_zonename() argument 64 syslog(LOG_DEBUG, "lpsched: get_labeled_zonename %s", slabel); in get_labeled_zonename() 68 if (str_to_label(slabel, &bsl, USER_CLEAR, in get_labeled_zonename() 73 slabel, err); in get_labeled_zonename() 80 slabel); in get_labeled_zonename() 90 slabel); in get_labeled_zonename() 105 get_peer_label(int fd, char **slabel) in get_peer_label() argument 114 if ((fd < 0) || (slabel == NULL)) { in get_peer_label() 143 fd, (*slabel ? *slabel : "NULL"), pslabel); in get_peer_label() 144 if (*slabel != NULL) in get_peer_label() [all …]
|
/titanic_41/usr/src/lib/libtsol/common/ |
H A D | zone.c | 56 m_label_t *slabel; in getzonelabelbyid() local 58 if ((slabel = m_label_alloc(MAC_LABEL)) == NULL) in getzonelabelbyid() 61 if (zone_getattr(zoneid, ZONE_ATTR_SLBL, slabel, in getzonelabelbyid() 63 m_label_free(slabel); in getzonelabelbyid() 68 return (slabel); in getzonelabelbyid() 198 m_label_t *slabel; in getlabelbypath() local 232 slabel = m_label_alloc(MAC_LABEL); in getlabelbypath() 233 if (slabel == NULL) { in getlabelbypath() 261 if (zone_getattr(zids[i], ZONE_ATTR_SLBL, slabel, in getlabelbypath() 266 return (slabel); in getlabelbypath() [all …]
|
H A D | labeld.h | 177 char slabel[BUFSIZE]; member
|
H A D | btos.c | 174 rval = return_string(string, str_len, slret.slabel); in bsltos()
|
/titanic_41/usr/src/cmd/lp/lib/secure/ |
H A D | secure.c | 109 secp->slabel = Strdup(buf); in getsecure() 203 if (secbufp->slabel == NULL) { in putsecure() 209 if (label_to_str(sl, &(secbufp->slabel), in putsecure() 212 secbufp->slabel = in putsecure() 217 secbufp->slabel); in putsecure() 222 (void) fdprintf(fd, "%s\n", secbufp->slabel); in putsecure()
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp1.c | 131 if (md->slabel != NULL) in s_print_request() 132 rp->secure->slabel = Strdup(md->slabel); in s_print_request() 353 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_start_change_request() 354 (!STREQU(md->slabel, rp->secure->slabel))) in s_start_change_request() 465 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_end_change_request() 466 (!STREQU(md->slabel, rp->secure->slabel))) in s_end_change_request() 703 (md->slabel != NULL) && (crp->secure->slabel != NULL) && in _cancel() 704 (!STREQU(md->slabel, crp->secure->slabel))) in _cancel() 844 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_inquire_request_rank() 845 (!STREQU(md->slabel, rp->secure->slabel))) in s_inquire_request_rank() [all …]
|
H A D | validate.c | 328 if (is_system_labeled() && prs->secure->slabel != NULL) { in _validate() 330 prs->secure->slabel, in _validate() 608 prs->secure->slabel, in _validate() 995 tsol_check_printer_label_range(char *slabel, const char *printer) in tsol_check_printer_label_range() argument 1002 if (slabel == NULL) in tsol_check_printer_label_range() 1006 (str_to_label(slabel, &sl, USER_CLEAR, L_NO_CORRECTION, &in_range))) in tsol_check_printer_label_range()
|
H A D | exec.c | 314 char *slabel = NULL; in exec() local 711 if (is_system_labeled() && request->secure->slabel != NULL) in exec() 712 addenv(&envp, "SLABEL", request->secure->slabel); in exec() 1112 slabel = request->secure->slabel; in exec() 1125 is_system_labeled() && (slabel != NULL)) { in exec() 1133 get_labeled_zonename(slabel)) == in exec()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 268 bslabel_t *slabel = UCLABEL(uc); in ucred_getlabel() local 270 if (!is_system_labeled() || slabel == NULL) { in ucred_getlabel() 275 return (slabel); in ucred_getlabel()
|
/titanic_41/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 333 m_label_t *slabel = NULL; in verify_label() local 341 if (str_to_label(str, &slabel, MAC_LABEL, L_NO_CORRECTION, in verify_label() 348 m_label_free(slabel); in verify_label() 352 m_label_free(slabel); in verify_label()
|
/titanic_41/usr/src/cmd/lp/include/ |
H A D | secure.h | 64 char *slabel; member
|
H A D | msgs.h | 326 char * slabel; /* Clients SLABEL */ member
|
H A D | lp.h | 599 extern int get_peer_label(int fd, char **slabel);
|
/titanic_41/usr/src/cmd/lp/lib/papi/ |
H A D | printer.c | 459 *slabel = NULL, in papiPrinterListJobs() local 467 &owner, &slabel, &size, &date, &state, &dest, in papiPrinterListJobs() 494 job_status_to_attributes(job, req_id, owner, slabel, size, in papiPrinterListJobs()
|
H A D | papi_impl.h | 84 char *slabel, size_t size, time_t date,
|
H A D | lpsched-jobs.c | 470 job_status_to_attributes(job_t *job, char *req_id, char *user, char *slabel, in job_status_to_attributes() argument 520 "tsol-sensitivity-label", slabel); in job_status_to_attributes()
|
H A D | job.c | 948 *slabel = NULL, in papiJobQuery() local 967 &user, &slabel, &size, &date, &state, &dest, &form, in papiJobQuery() 983 job_status_to_attributes(j, request_id, user, slabel, size, date, state, in papiJobQuery()
|
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1332 m_label_t *slabel = NULL; in mount() local 1372 if ((slabel = m_label_alloc(MAC_LABEL)) == NULL) { in mount() 1377 if (getlabel(rpath, slabel) != 0) { in mount() 1378 m_label_free(slabel); in mount() 1383 if (!bldominates(clabel, slabel)) { in mount() 1384 m_label_free(slabel); in mount() 1388 m_label_free(slabel); in mount()
|
/titanic_41/usr/src/cmd/lp/lib/msgs/ |
H A D | mlisten.c | 347 get_peer_label(md->readfd, &md->slabel); in mlisten()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 3263 bslabel_t *slabel; in do_rfs_label_check() local 3270 slabel = label2bslabel(tslabel); in do_rfs_label_check() 3273 bslabel_t *, slabel, bslabel_t *, clabel, vnode_t *, vp); in do_rfs_label_check() 3276 result = blequal(clabel, slabel); in do_rfs_label_check() 3278 result = bldominates(clabel, slabel); in do_rfs_label_check()
|
H A D | nfs4_srv.c | 1254 bslabel_t *clabel, *slabel; in rfs4_op_access() local 1315 slabel = label2bslabel(tslabel); in rfs4_op_access() 1318 bslabel_t *, slabel, vnode_t *, vp); in rfs4_op_access() 1329 bldominates(clabel, slabel))) in rfs4_op_access() 1336 bldominates(clabel, slabel))) in rfs4_op_access() 1345 blequal(clabel, slabel))) in rfs4_op_access() 1356 blequal(clabel, slabel))) in rfs4_op_access() 1364 bldominates(clabel, slabel))) in rfs4_op_access()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 7875 char *slabel, *dlabel; in ip_sioctl_dstinfo() local 7977 slabel = ip6_asp_lookup(saddr, NULL, ipst); in ip_sioctl_dstinfo() 7978 dir->dir_labelmatch = ip6_asp_labelcmp(dlabel, slabel); in ip_sioctl_dstinfo()
|