Don Lewis
643a8daaaf
If the session leader dies, s_leader is set to NULL and getsid() may
...
dereference a NULL pointer, causing a panic. Instead of following
s_leader to find the session id, store it in the session structure.
Jukka found the following info:
BTW - I just found what I have been looking for. Std 1003.1
Part 1: SYSTEM API [C LANGUAGE] section 2.2.2.80 states quite
explicitly...
Session lifetime: The period between when a session is created
and the end of lifetime of all the process groups that remain
as members of the session.
So, this quite clearly tells that while there is any single
process in any process group which is a member of the session,
the session remains as an independent entity.
Reviewed by: peter
Submitted by: "Jukka A. Ukkonen" <jau@jau.tmt.tele.fi>
1998-11-09 15:08:04 +00:00
..
1998-11-08 18:51:38 +00:00
1998-11-08 18:35:53 +00:00
1998-10-16 03:55:01 +00:00
1998-10-25 17:44:59 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1997-10-12 20:26:33 +00:00
1998-10-15 17:09:19 +00:00
1998-11-05 14:28:26 +00:00
1998-06-05 21:44:20 +00:00
1998-10-26 06:13:18 +00:00
1998-10-25 17:44:59 +00:00
1998-07-29 17:38:14 +00:00
1998-10-09 21:21:34 +00:00
1998-10-28 13:37:02 +00:00
1998-06-05 21:44:20 +00:00
1998-11-09 15:08:04 +00:00
1998-09-26 14:25:32 +00:00
1998-02-20 13:37:40 +00:00
1998-11-06 15:10:17 +00:00
1998-10-25 17:44:59 +00:00
1998-04-17 04:53:44 +00:00
1998-07-29 17:38:14 +00:00
1998-10-25 17:44:59 +00:00
1998-08-31 08:41:58 +00:00
1998-11-06 02:18:57 +00:00
1998-06-13 09:30:26 +00:00
1998-10-25 17:44:59 +00:00
1998-11-09 15:08:04 +00:00
1998-11-09 15:08:04 +00:00
1998-06-21 11:33:32 +00:00
1998-07-27 19:16:21 +00:00
1998-10-30 05:41:15 +00:00
1998-10-21 16:31:38 +00:00
1998-08-04 09:21:04 +00:00
1998-10-25 20:11:36 +00:00
1998-10-16 03:55:01 +00:00
1998-10-26 06:13:18 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1998-05-17 20:08:05 +00:00
1998-08-24 08:39:39 +00:00
1998-05-19 21:11:53 +00:00
1998-11-04 15:20:58 +00:00
1998-11-06 15:16:07 +00:00
1998-11-06 15:16:07 +00:00
1997-02-22 09:48:43 +00:00
1998-11-08 18:33:11 +00:00
1998-10-15 09:50:45 +00:00
1996-03-31 18:53:43 +00:00
1998-06-28 10:01:52 +00:00
1998-06-07 17:13:14 +00:00
1998-06-01 21:54:43 +00:00
1998-03-28 11:51:01 +00:00
1997-11-18 12:43:41 +00:00
1998-10-27 09:21:43 +00:00
1998-07-15 02:32:35 +00:00
1998-10-14 20:44:05 +00:00
1998-10-17 07:49:04 +00:00
1998-08-10 07:22:14 +00:00
1998-10-17 09:46:42 +00:00
1997-12-02 21:07:20 +00:00
1998-06-07 17:13:14 +00:00
1998-10-14 05:07:23 +00:00
1998-11-05 14:28:26 +00:00
1998-09-06 06:25:18 +00:00
1998-09-05 14:30:11 +00:00
1998-08-05 14:06:04 +00:00
1998-10-29 01:48:36 +00:00
1998-10-10 13:37:16 +00:00
1998-08-23 10:16:26 +00:00
1998-11-08 12:39:07 +00:00
1998-09-05 14:30:11 +00:00
1998-10-28 13:37:02 +00:00
1998-07-29 18:41:30 +00:00
1998-06-07 17:13:14 +00:00
1998-11-05 14:28:26 +00:00
1998-11-05 14:28:26 +00:00
1997-11-18 12:52:10 +00:00
1998-03-30 09:56:58 +00:00
1998-03-30 09:56:58 +00:00
1998-10-13 08:24:45 +00:00
1998-06-07 17:13:14 +00:00
1998-06-07 17:13:14 +00:00
1998-08-23 08:26:42 +00:00
1998-08-23 08:26:42 +00:00
1998-06-07 17:13:14 +00:00
1998-07-15 02:32:35 +00:00
1997-02-22 09:48:43 +00:00
1998-08-23 08:26:42 +00:00
1998-08-19 04:01:00 +00:00
1998-05-15 20:11:40 +00:00
1998-07-27 03:59:48 +00:00
1998-08-23 03:07:17 +00:00
1998-11-04 20:22:11 +00:00
1998-11-04 20:22:11 +00:00
1998-08-31 18:07:23 +00:00
1998-11-06 19:16:30 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1998-10-31 15:31:29 +00:00
1998-09-09 07:41:41 +00:00
1998-10-25 17:44:59 +00:00
1998-09-14 19:56:42 +00:00
1998-07-04 20:45:42 +00:00
1998-10-31 14:20:39 +00:00
1998-11-03 14:29:09 +00:00
1998-11-04 03:18:10 +00:00
1998-06-07 17:13:14 +00:00
1998-09-14 19:56:42 +00:00
1998-10-31 14:20:39 +00:00
1998-11-03 14:29:09 +00:00
1998-11-02 02:36:16 +00:00
1998-07-04 20:45:42 +00:00
1998-07-04 20:45:42 +00:00
1998-09-05 14:13:12 +00:00