Lines Matching refs:tsolinfo

176 extern int tsol_check_policy(TsolInfoPtr tsolinfo, TsolResPtr tsolres,
178 extern Bool client_has_privilege(TsolInfoPtr tsolinfo, priv_set_t *priv);
271 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
277 if (tsolinfo->sl == tndp->sl[k]) {
307 tndp->sl[tndp->slcount] = tsolinfo->sl;
364 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
367 if (tsolinfo->sl == tndp->sl[k])
396 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
399 tsolres->uid = tsolinfo->uid;
400 tsolres->sl = tsolinfo->sl;
401 tsolres->pid = tsolinfo->pid;
420 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
423 tsolres->uid = tsolinfo->uid;
424 tsolres->sl = tsolinfo->sl;
566 TsolInfoPtr tsolinfo;
574 tsolinfo = GetClientTsolInfo(client);
576 if (tsolinfo)
578 if (HasTrustedPath(tsolinfo))
587 tsolinfo = GetClientTsolInfo(client);
589 if (tsolinfo)
591 if (HasTrustedPath(tsolinfo))
685 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
691 client_has_privilege(tsolinfo, pset_win_config)) {
695 tsolinfo->flags &= ~TSOL_DOXAUDIT;
696 tsolinfo->flags &= ~TSOL_AUDITEVENT;
705 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
711 client_has_privilege(tsolinfo, pset_win_config)) {
715 tsolinfo->flags &= ~TSOL_DOXAUDIT;
716 tsolinfo->flags &= ~TSOL_AUDITEVENT;
731 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
751 tsolinfo->flags &= ~TSOL_DOXAUDIT;
752 tsolinfo->flags &= ~TSOL_AUDITEVENT;
767 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) ==
787 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) ==
823 TsolInfoPtr tsolinfo = (TsolInfoPtr)NULL;
824 tsolinfo = GetClientTsolInfo(client);
826 (tsolinfo->amask.am_success || tsolinfo->amask.am_failure)) {
829 auditwrite(AW_PRESELECT, &(tsolinfo->amask), AW_END);
862 if (audit_event && do_x_audit && !HasTrustedPath(tsolinfo) &&
863 (au_preselect(xevent_num, &(tsolinfo->amask), AU_PRS_BOTH,
865 tsolinfo->flags |= TSOL_AUDITEVENT;
868 tsolinfo->flags &= ~TSOL_AUDITEVENT;
869 tsolinfo->flags &= ~TSOL_DOXAUDIT;
882 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
884 if (tsolinfo->flags & TSOL_DOXAUDIT)
886 tsolinfo->flags &= ~TSOL_DOXAUDIT;
887 if (tsolinfo->flags & TSOL_AUDITEVENT)
888 tsolinfo->flags &= ~TSOL_AUDITEVENT;
896 else if (tsolinfo->flags & TSOL_AUDITEVENT)
898 tsolinfo->flags &= ~TSOL_AUDITEVENT;
913 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
934 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) == Success) {
1013 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
1030 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) == Success)
1105 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) == Success)
1236 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success)
1294 if (tsol_check_policy(tsolinfo, tsolres, flags,
1353 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
1362 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {
1380 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
1389 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {
1409 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
1434 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {
1441 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {
1459 TsolInfoPtr tsolinfo = GetClientTsolInfo(client);
1489 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {
1496 if (tsol_check_policy(tsolinfo, tsolres, flags, MAJOROP_CODE) != Success) {