RFR: 8327621: Check return value of uname in os::get_host_name [v2]
Johan Sjölen
jsjolen at openjdk.org
Tue Mar 26 11:28:49 UTC 2024
> Hi,
>
> Trivial bug fix where we didn't check the return value of `uname(2)` on POSIX platforms. I checked callers of `get_host_name` and all wrap the calls in an `if` branch so they already handle failures.
>
> Regards,
> Johan
Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
Perform correct check and log warning
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18157/files
- new: https://git.openjdk.org/jdk/pull/18157/files/f924d99c..9094ac42
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18157&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18157&range=00-01
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18157.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18157/head:pull/18157
PR: https://git.openjdk.org/jdk/pull/18157
More information about the hotspot-runtime-dev
mailing list