Skip to content

uptime: remove /proc dependency#13293

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:uptime-proc
Open

uptime: remove /proc dependency#13293
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:uptime-proc

Conversation

@oech3

@oech3 oech3 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Closes #13292

@oech3 oech3 marked this pull request as draft July 6, 2026 15:33
@oech3 oech3 changed the title uptime: simplify code & remove /proc dependency uptime: remove /proc dependency Jul 6, 2026
@oech3 oech3 marked this pull request as ready for review July 6, 2026 15:46
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tty-eof (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)

@sylvestre

Copy link
Copy Markdown
Contributor

i am struggling to understand the commit message when i see the diff
could you please improve the commit message? thanks

@oech3

oech3 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

added commit message

Use clock_gettime instead of /proc on many unix platforms to run uptime without mounting /proc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uptime fails when /proc is masked

2 participants