Skip to content

Fix the sys.remote_exec row in the audit events table - #158940

Merged
pablogsal merged 1 commit into
python:mainfrom
maurycy:remote-exec-audit-event-args
Oct 7, 2026
Merged

pablogsal merged 1 commit into
python:mainfrom
maurycy:remote-exec-audit-event-args

Conversation

@maurycy

@maurycy maurycy commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Basically:

https://docs.python.org/3.16/library/audit_events.html

The sys.remote_exec row shows only pid, while there's script:

if (PySys_Audit("sys.remote_exec", "iO", pid, script) < 0) {

and links to sys.html#script_path that doesn't exist.

since 1ddfe59, so likely good to backport to 3.14 and 3.15; so smol that I'm not opening a separate issue.

@bedevere-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 6, 2026
@maurycy

maurycy commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

cc @pablogsal @vstinner

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34980425 | 📁 Comparing 0919a86 against main (1818fba)

  🔍 Preview build  

1 file changed
± library/audit_events.html

@vstinner vstinner added skip issue needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Oct 6, 2026

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm always confused by spaces vs commas in the audit-event: markup.

@pablogsal
pablogsal merged commit 2639fd6 into python:main Oct 7, 2026
47 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @maurycy for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@pablogsal

Copy link
Copy Markdown
Member

Thanks a lot!

@bedevere-app

bedevere-app Bot commented Oct 7, 2026

Copy link
Copy Markdown

GH-158949 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Oct 7, 2026
@bedevere-app

bedevere-app Bot commented Oct 7, 2026

Copy link
Copy Markdown

GH-158950 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants