/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | zone.c | 54 m_label_t *slabel; in getzonelabelbyid() local 56 if ((slabel = m_label_alloc(MAC_LABEL)) == NULL) in getzonelabelbyid() 59 if (zone_getattr(zoneid, ZONE_ATTR_SLBL, slabel, in getzonelabelbyid() 61 m_label_free(slabel); in getzonelabelbyid() 66 return (slabel); in getzonelabelbyid() 196 m_label_t *slabel; in getlabelbypath() local 230 slabel = m_label_alloc(MAC_LABEL); in getlabelbypath() 231 if (slabel == NULL) { in getlabelbypath() 259 if (zone_getattr(zids[i], ZONE_ATTR_SLBL, slabel, in getlabelbypath() 264 return (slabel); in getlabelbypath() [all …]
|
H A D | labeld.h | 177 char slabel[BUFSIZE]; member
|
H A D | btos.c | 172 rval = return_string(string, str_len, slret.slabel); in bsltos()
|
/illumos-gate/usr/src/cmd/lp/lib/secure/ |
H A D | secure.c | 107 secp->slabel = Strdup(buf); in getsecure() 201 if (secbufp->slabel == NULL) { in putsecure() 207 if (label_to_str(sl, &(secbufp->slabel), in putsecure() 210 secbufp->slabel = in putsecure() 215 secbufp->slabel); in putsecure() 220 (void) fdprintf(fd, "%s\n", secbufp->slabel); in putsecure()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp1.c | 132 if (md->slabel != NULL) in s_print_request() 133 rp->secure->slabel = Strdup(md->slabel); in s_print_request() 354 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_start_change_request() 355 (!STREQU(md->slabel, rp->secure->slabel))) in s_start_change_request() 466 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_end_change_request() 467 (!STREQU(md->slabel, rp->secure->slabel))) in s_end_change_request() 704 (md->slabel != NULL) && (crp->secure->slabel != NULL) && in _cancel() 705 (!STREQU(md->slabel, crp->secure->slabel))) in _cancel() 845 (md->slabel != NULL) && (rp->secure->slabel != NULL) && in s_inquire_request_rank() 846 (!STREQU(md->slabel, rp->secure->slabel))) in s_inquire_request_rank() [all …]
|
H A D | validate.c | 329 if (is_system_labeled() && prs->secure->slabel != NULL) { in _validate() 331 prs->secure->slabel, in _validate() 609 prs->secure->slabel, in _validate() 996 tsol_check_printer_label_range(char *slabel, const char *printer) in tsol_check_printer_label_range() argument 1003 if (slabel == NULL) in tsol_check_printer_label_range() 1007 (str_to_label(slabel, &sl, USER_CLEAR, L_NO_CORRECTION, &in_range))) in tsol_check_printer_label_range()
|
H A D | exec.c | 208 char *slabel = NULL; in exec() local 605 if (is_system_labeled() && request->secure->slabel != NULL) in exec() 606 addenv(&envp, "SLABEL", request->secure->slabel); in exec() 1006 slabel = request->secure->slabel; in exec() 1019 is_system_labeled() && (slabel != NULL)) { in exec() 1027 get_labeled_zonename(slabel)) == in exec()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 331 m_label_t *slabel = NULL; in verify_label() local 339 if (str_to_label(str, &slabel, MAC_LABEL, L_NO_CORRECTION, in verify_label() 346 m_label_free(slabel); in verify_label() 350 m_label_free(slabel); in verify_label()
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | secure.h | 61 char *slabel; member
|
H A D | msgs.h | 323 char * slabel; /* Clients SLABEL */ member
|
/illumos-gate/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 | 82 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()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1463 m_label_t *slabel = NULL; in mount() local 1503 if ((slabel = m_label_alloc(MAC_LABEL)) == NULL) { in mount() 1508 if (getlabel(rpath, slabel) != 0) { in mount() 1509 m_label_free(slabel); in mount() 1514 if (!bldominates(clabel, slabel)) { in mount() 1515 m_label_free(slabel); in mount() 1519 m_label_free(slabel); in mount()
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mlisten.c | 345 get_peer_label(md->readfd, &md->slabel); in mlisten()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 3202 bslabel_t *slabel; in do_rfs_label_check() local 3209 slabel = label2bslabel(tslabel); in do_rfs_label_check() 3212 bslabel_t *, slabel, bslabel_t *, clabel, vnode_t *, vp); in do_rfs_label_check() 3215 result = blequal(clabel, slabel); in do_rfs_label_check() 3217 result = bldominates(clabel, slabel); in do_rfs_label_check()
|
H A D | nfs4_srv.c | 1493 bslabel_t *clabel, *slabel; in rfs4_op_access() local 1554 slabel = label2bslabel(tslabel); in rfs4_op_access() 1557 bslabel_t *, slabel, vnode_t *, vp); in rfs4_op_access() 1568 bldominates(clabel, slabel))) in rfs4_op_access() 1575 bldominates(clabel, slabel))) in rfs4_op_access() 1584 blequal(clabel, slabel))) in rfs4_op_access() 1595 blequal(clabel, slabel))) in rfs4_op_access() 1603 bldominates(clabel, slabel))) in rfs4_op_access()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 7883 char *slabel, *dlabel; in ip_sioctl_dstinfo() local 7985 slabel = ip6_asp_lookup(saddr, NULL, ipst); in ip_sioctl_dstinfo() 7986 dir->dir_labelmatch = ip6_asp_labelcmp(dlabel, slabel); in ip_sioctl_dstinfo()
|