Steve Dower
7b98207aa4
[3.9] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) (GH-99493)
2022-11-21 19:13:33 +01:00
Steve Dower
863e3d5c7e
bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26971)
2021-06-30 18:52:39 +01:00
Pablo Galindo
f814675376
[3.9] bpo-43439: Add audit hooks for gc functions (GH-24794). (GH-24811)
...
(cherry picked from commit b4f9089d4a
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-03-10 00:50:29 -08:00
Steve Dower
e1d4fdc533
bpo-41162: Clear audit hooks later during finalization (GH-21222)
...
Co-authored-by: Konge <zkonge@outlook.com>
2020-07-03 22:58:29 +01:00
Victor Stinner
4a4f660cfd
bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) (GH-20785)
...
test_repl.test_close_stdin() now calls
support.suppress_msvcrt_asserts() to fix the test on Windows.
* Move suppress_msvcrt_asserts() from test.libregrtest.setup to
test.support. Make its verbose parameter optional: verbose=False by
default.
* SuppressCrashReport now uses SetErrorMode() of the msvcrt module,
rather than using ctypes.
* Remove also an unused variable (deadline) in wait_process().
(cherry picked from commit f6e58aefde
)
2020-06-10 19:24:56 +02:00
Steve Dower
3ef4a7e5a7
bpo-40121: Fix exception type in test (GH-19267)
2020-04-01 09:38:26 +01:00
Steve Dower
63ba5cccf4
bpo-40121: Fixes audit event raised on creating a new socket (GH-19238)
2020-03-31 12:38:53 +01:00
Steve Dower
ee17e37356
bpo-39007: Add auditing events to functions in winreg (GH-17541)
...
Also allows winreg.CloseKey() to accept same types as other functions.
2019-12-09 11:18:12 -08:00
Steve Dower
bea33f5e1d
bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks are invoked (GH-17392)
...
Also fixes some potential segfaults in unraisable hook handling.
2019-11-28 08:46:11 -08:00
Zackery Spytz
08286d52b2
bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152)
...
Also, add a missing call to va_end() in PySys_Audit().
2019-06-21 08:31:59 -07:00
Steve Dower
9ddc416e9f
bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556)
2019-05-29 08:20:35 -07:00