Searched refs:session (Results 1 - 22 of 22) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dtprintf.h72 typedef struct session *tpr_t;
H A Dproc_internal.h120 * One structure allocated per session.
122 struct session { struct
123 int s_count; /* Ref cnt; pgrps in session. (LL) */
132 LIST_ENTRY(session) s_hash; /* Hash chain.(LL) */
133 lck_mtx_t s_mlock; /* mutex lock to protect session */
137 #define SESSION_NULL (struct session *)0
141 * note that s_ttyp is not a reference in the session structre, so it can
142 * become invalid out from under the session if the device is closed, without
167 struct session * pg_session; /* Pointer to session
[all...]
H A Dproc.h86 struct session;
H A Dtty.h129 struct session *t_session; /* Enclosing session. */
H A Dsysctl.h645 #define KERN_PROC_SESSION 3 /* by session of pid */
684 struct session *e_sess; /* session pointer */
693 struct session *e_tsess; /* tty session pointer */
702 #define EPROC_SLEADER 0x02 /* session leader */
756 user32_addr_t e_sess; /* session pointer */
765 user32_addr_t e_tsess; /* tty session pointer */
785 user_addr_t e_sess; /* session pointer */
794 user64_addr_t e_tsess __attribute((aligned(8))); /* tty session pointe
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_prf.c164 struct session *sessp;
186 struct session * sessp;
203 session_rele((struct session *) sessp);
208 * with the given session.
215 struct session *sess = (struct session *)tpr;
H A Dtty_tty.c194 struct session *sessp;
250 struct session *sessp;
H A Dkern_proc.c182 struct session * mysession;
957 struct session *
960 struct session *sess;
1012 * Move p to a new or existing process group (and session)
1022 struct session * procsp;
1032 panic("enterpgrp: session leader attempted setpgrp");
1060 struct session *sess;
1063 * new session
1065 MALLOC_ZONE(sess, struct session *,
1066 sizeof(struct session), M_SESSIO
[all...]
H A Dkern_acct.c229 struct session * sessp;
H A Dkern_prot.c236 * process is not in the same session as the calling process,
265 * Description: Get an arbitary pid's session leaders process group ID
273 * process is not in the same session as the calling process,
283 struct session * sessp;
509 * Description: Create a new session and set the process group ID to the
510 * session ID
520 * session, a new process group, and put the caller in the
521 * process group (as the sole member) and make it the session
522 * leader (as the sole process in the session).
563 * session a
[all...]
H A Dtty.c149 static int isctty_sp(proc_t p, struct tty *tp, struct session *sessp);
346 struct session *sessp, *oldsess;
365 * tty, if the tty does not already have a session associated with it.
367 if (SESS_LEADER(p, sessp) && /* the process is the session leader */
430 struct session * oldsessp;
458 /* drop the reference on prev session and pgrp */
1033 * ttcompat:ENOTTY TIOCGSID, if no session or session
1057 struct session *sessp, *oldsessp;
1273 * is to exit from the session leade
[all...]
H A Dkern_malloc.c145 "session", /* 18 M_SESSION */
335 { SOS(session), KMZ_CREATEZONE, FALSE }, /* 18 M_SESSION */
H A Dbsd_init.c199 struct session session0;
H A Dkern_exit.c438 struct session *sessp;
1706 struct session *sessp;
H A Dkern_fork.c1048 /* Update the audit session proc count */
1091 struct session *sessp;
1224 /* update audit session proc count */
H A Dkern_sig.c293 struct session * p_sessp = SESSION_NULL;
294 struct session * q_sessp = SESSION_NULL;
320 return (1); /* SIGCONT in session */
H A Dkern_sysctl.c1498 struct session *sessp;
1558 struct session *sessp;
H A Dproc_info.c483 struct session *sessionp = NULL;
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_session.c71 auditinfo_addr_t se_auinfo; /* Public audit session data. */
79 long se_procnt; /* Processes in session. */
174 MALLOC_DEFINE(M_AU_SESSION, "audit_session", "Audit session data");
182 * Audit session device.
375 SYSCTL_NODE(_audit, OID_AUTO, session, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "Audit sessions");
378 "Audit session flags settable by superuser");
381 "Audit session flags clearable by superuser");
384 "Audit session flags settable by a session member");
387 "Audit session flag
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_vnops.c1285 struct session * sessp;
H A Dvfs_syscalls.c2977 struct session *sessp = SESSION_NULL;
3001 * but the open flags deny it, set a flag in the session to
3086 * clear the flag in the session structure that prevented the lower
3097 * want to set the vp of the tty into the session structure. We have
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspec_vnops.c1770 struct session *sessp;
1778 * has a reference from the session structure.

Completed in 207 milliseconds