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

Lines Matching refs:session

46 	exactly one session, and session membership inherits across fork/exec. Sessions form boundaries
49 a separate session. System daemons (started at system startup) belong to the "root session"
52 Sessions are identified with SecuritySessionIds. A session has a set of attributes
55 There are similar session concepts in the system, related but not necessarily
94 sessionIsRoot = 0x0001, /* is the root session (startup/system programs) */
97 sessionIsRemote = 0x1000, /* session was established over the network */
103 These flags control how a new session is created by SessionCreate.
120 errSessionInvalidId = -60500, /* invalid session id specified */
123 errSessionValueNotSet = -60503, /* the session attribute you requested has not been set */
132 Obtain information about a session. You can ask about any session whose
134 your own session (the one your process is in).
136 @param session (input) The Session you are asking about. Can be one of the
139 @param sessionId (output/optional) The actual SecuritySessionId for the session you asked about.
142 @param attributes (output/optional) Receives the attribute bits for the session.
146 errSessionInvalidId -60500 Invalid session id specified
149 OSStatus SessionGetInfo(SecuritySessionId session,
156 This (very specialized) function creates a security session.
157 Upon completion, the new session contains the calling process (and none other).
158 You cannot create a session for someone else, and cannot avoid being placed
159 into the new session. This is (currently) the only call that changes a process's
160 session membership.
174 @param flags Flags controlling how the session is created.
176 @param attributes The set of attribute bits to set for the new session.
182 errSessionAuthorizationDenied -60502 Attempt to re-initialize a session