Repository navigation
hook: review fixes for 1.29.3 (/proc files, hosts, services) - #89
Merged
Merged
Conversation
- /proc/stat: processes (forks since boot) is 0, not the processes running now - /proc/loadavg: no %f formats, which a decimal-comma locale changed to "1,50" - openat2 with RESOLVE_IN_ROOT: no synthetic /proc file, the kernel's error stays - if_nameindex: an allocation failure returns NULL, not an entry without a name - /etc/hosts with AF_INET6 and AI_V4MAPPED (not AI_ALL): mapped IPv4 only when no IPv6 address - service names: the transport of ai_protocol when ai_socktype is 0 - GCONV_PATH: a list (with ':') is never taken for Cortex's own directory Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 4 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CodeRabbit's comments on #88, all minor:
/proc/stat:processes(forks since boot) is 0, not the number of processes running now/proc/loadavg: formatted without%f, which a decimal-comma locale turned into1,50openat2withRESOLVE_IN_ROOT: no synthetic /proc file, the kernel's error staysif_nameindex: an allocation failure returns NULL instead of an entry without a name/etc/hostswithAF_INET6+AI_V4MAPPED(noAI_ALL): mapped IPv4 only when the name has no IPv6 addressai_protocolwhenai_socktypeis 0GCONV_PATH: a colon-separated list is never taken for Cortex's own directoryNot changed: regenerating /proc/uptime and /proc/vmstat on seek (the readers checked open them again for each sample).
Tested on a device: the e2e checks proc-files, network-interfaces and etc-hosts-services pass; native tests as before (2 environmental failures that predate this).
🤖 Generated with Claude Code