Files
RustPython/crates/host_env/clippy.toml
Jeong, YunWon 7da001a7c9 address review: kqueue lock and host_env select (#8724)
* address review: kqueue lock and timeout overflow

Hold the kqueue fd lock through kevent and drop it before
changelist parsing and signal handlers. Reject timeouts that
overflow Instant or Duration. Round poll millisecond timeouts
upward. Cast kevent defaults for NetBSD field widths. Provide
login_tty on Solaris/illumos via setsid, TIOCSCTTY, and dup2.

Assisted-by: Grok:grok-4.6

* Move select timeout conversion into host_env

poll millisecond ceiling, kevent timespec rounding, and
default filter/flag widths now live in host_env. stdlib
select.rs keeps Python conversion and signal retry only.

Assisted-by: Grok:grok-4.6

* Move socket wait and rusage timeval into host_env

socket.sock_wait_deadline now calls host_env wait_fd.
resource and process-time conversion no longer read
timeval fields in stdlib or vm.

Assisted-by: Grok:grok-4.6

* Deny libc select syscalls in vm and stdlib clippy

Block libc poll/select/kqueue/epoll entry points and
non-reexported ABI types. host_env keeps empty lists.

Assisted-by: Grok:grok-4.6

* address review: portable timeval and wait_fd

Widen rusage timeval math to i64 so 32-bit time_t compiles.
Saturate duration_to_timeval when tv_sec is narrower than u64.
Round wait_fd poll timeouts up and accept Windows RawSocket.
Ignore EPERM from setsid in the Solaris login_tty fallback.
Deny libc::epoll_pwait2 in vm and stdlib clippy.

Assisted-by: Grok:grok-4.6
2026-09-17 21:06:49 +09:00

3 lines
46 B
TOML

disallowed-methods = []
disallowed-types = []