Nikos Mavrogiannopoulos
0dafa7b005
tests: add regression test for pam_auth_deinit coroutine safety
...
Add test-pam-abort, which verifies that pam_auth_deinit() correctly
resumes a suspended PAM coroutine before calling pam_end().
The test posts a username-only HTTP request to trigger SEC_AUTH_INIT,
leaving the PAM coroutine suspended in PAM_S_WAIT_FOR_PASS while the
worker exits without sending a password. The stale pre-auth entry is
cleaned up by the sec-mod maintenance cycle (driven by the new
sec-mod-db-cleanup-time config knob, set to 3 s in the test config).
Bug detection is provided by pam_abort_test.so, a small PAM module that
registers a pam_set_data() cleanup which calls abort() if pam_end() fires
while conv->conv() has not yet returned. Without the fix, sec-mod would
abort and the subsequent authentication check would fail.
Relates: #741
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com >
2026-06-06 08:12:13 +02:00
..
2026-05-17 13:16:23 +02:00
2026-06-06 08:12:13 +02:00
2026-05-23 16:16:35 +02:00
2026-05-19 21:23:03 +02:00
2025-04-02 09:07:32 +02:00
2026-03-20 20:47:27 +01:00
2026-05-30 21:36:22 +00:00
2026-03-22 21:17:02 +01:00
2026-03-20 20:47:27 +01:00
2026-05-23 16:16:35 +02:00
2026-05-23 16:16:35 +02:00
2026-05-23 07:09:23 +02:00
2026-05-11 20:13:35 +02:00
2024-12-01 17:01:05 +01:00
2026-06-06 08:12:13 +02:00
2026-05-08 21:00:07 -04:00
2024-04-28 13:37:19 +02:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-06-06 08:12:13 +02:00
2026-04-14 13:59:05 -04:00
2026-03-15 17:05:29 +03:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-03-20 20:47:35 +01:00
2026-03-20 20:47:35 +01:00
2026-04-22 20:29:15 +02:00
2024-12-01 17:01:05 +01:00
2026-04-22 20:29:15 +02:00
2024-12-01 17:01:05 +01:00
2026-05-12 08:14:21 +02:00
2024-12-01 17:01:05 +01:00
2026-05-23 07:09:23 +02:00
2026-05-12 08:14:21 +02:00
2026-05-06 13:54:40 +02:00
2015-02-27 15:01:20 +01:00
2026-01-07 15:46:16 -05:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-05-23 07:09:23 +02:00
2026-05-12 08:14:21 +02:00
2026-04-22 20:29:15 +02:00
2026-05-24 11:47:26 +02:00
2024-12-01 17:01:05 +01:00
2026-05-12 08:14:21 +02:00
2024-12-01 17:01:05 +01:00
2026-04-22 20:29:15 +02:00
2026-05-23 07:09:23 +02:00
2026-05-23 07:09:23 +02:00
2026-05-12 08:14:21 +02:00
2026-05-12 08:14:21 +02:00
2026-06-03 19:52:36 +02:00
2026-05-31 22:32:20 +02:00
2026-05-23 17:43:36 +02:00
2026-04-22 20:29:15 +02:00
2026-04-22 20:29:15 +02:00
2026-03-29 16:55:12 +02:00
2026-05-02 17:21:38 +02:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-04-22 20:29:15 +02:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-05-12 08:14:21 +02:00
2024-12-01 17:01:05 +01:00
2026-05-11 20:13:35 +02:00
2026-04-22 20:29:15 +02:00
2026-04-22 20:29:15 +02:00
2024-12-01 17:01:05 +01:00
2026-04-22 20:29:15 +02:00
2026-04-22 20:29:15 +02:00
2026-06-06 08:12:13 +02:00
2026-03-15 17:05:29 +03:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-05-11 20:17:30 +03:00
2026-05-30 22:49:07 +02:00
2026-05-30 22:49:07 +02:00
2026-05-30 22:49:07 +02:00
2026-05-30 22:49:07 +02:00
2026-05-06 20:33:03 +02:00
2024-12-01 20:49:05 +01:00
2023-02-23 22:04:10 +01:00
2013-07-23 21:39:47 +02:00
2026-04-22 20:29:26 +02:00
2026-06-03 19:52:36 +02:00
2026-05-30 22:49:07 +02:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-05-19 20:11:33 +02:00
2026-05-21 06:34:06 +00:00
2026-04-22 20:29:15 +02:00
2024-12-01 17:01:05 +01:00
2024-12-01 17:01:05 +01:00
2026-04-22 20:29:15 +02:00
2026-05-12 08:14:21 +02:00
2026-05-12 08:14:21 +02:00
2026-05-19 23:22:37 +02:00
2024-12-01 17:01:05 +01:00
2026-05-19 20:11:33 +02:00
2026-05-30 22:49:07 +02:00
2026-05-30 22:49:07 +02:00
2026-05-30 22:49:07 +02:00
2026-06-03 19:52:36 +02:00
2026-05-30 22:49:07 +02:00