• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/Security-57031.1.35/Security/libsecurity_authorization/lib/

Lines Matching refs:session

46 	CommonCriteria::AuditInfo session;
48 session.get();
50 session.get(requestedSession);
52 *sessionId = session.sessionId();
54 *attributes = (SessionAttributeBits)session.flags();
60 // Create a new session.
62 // Securityd will pick up the new session when we next talk to it.
69 // we don't support the session creation flags anymore
72 CommonCriteria::AuditInfo session;
73 session.create(attributes);
75 // retrieve the (new) session id and set it into the process environment
76 session.get();
78 snprintf(idString, sizeof(idString), "%x", session.sessionId());
86 // Get and set the distinguished uid (optionally) associated with the session.
88 OSStatus SessionSetDistinguishedUser(SecuritySessionId session, uid_t user)
91 CommonCriteria::AuditInfo session;
92 session.get();
93 session.ai_auid = user;
94 session.set();
99 OSStatus SessionGetDistinguishedUser(SecuritySessionId session, uid_t *user)
102 CommonCriteria::AuditInfo session;
103 session.get();
104 Required(user) = session.uid();
108 //OSStatus _SessionSetUserPreferences(SecuritySessionId session);
117 //OSStatus _SessionSetUserPreferences(SecuritySessionId session)
163 // server().setSessionUserPrefs(session, (uint32_t)CFDataGetLength(userPrefsData), CFDataGetBytePtr(userPrefsData));
168 OSStatus SessionSetUserPreferences(SecuritySessionId session)
170 // OSStatus status = _SessionSetUserPreferences(session);
174 // CFNotificationCenterAddObserver(center, (void*)session, SessionUserPreferencesChanged, CFSTR("com.apple.Carbon.TISNotifySelectedKeyboardInputSourceChanged"), NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
175 // CFNotificationCenterAddObserver(center, (void*)session, SessionUserPreferencesChanged, CFSTR("com.apple.Carbon.TISNotifyEnabledKeyboardInputSourcesChanged"), NULL, CFNotificationSuspensionBehaviorDeliverImmediately);