Commit Graph

4 Commits

Author SHA1 Message Date
Leonid Pliushch f1050ed44d procps: fix & enable utility 'uptime'
Replace 'uptime' from busybox.
2020-06-07 02:20:01 +03:00
Fredrik Fornwall 000c2ec8fe procps: Use sysinfo(2) to get uptime
Instead of trying to read /proc/uptime, which is not allowed on Android,
we patch procps to use the sysinfo(2) syscall to figure out the uptime.

This should fix at least "ps -o etime".
2019-08-07 22:02:47 +02:00
Leonid Pliushch b9cbd870d9 procps: don't read file /proc/sys/vm/min_free_kbytes
Access to this file is prohibited on some devices by SELinux and causes
utilities to treat /proc as not mounted.

Related issues:

 * https://github.com/termux/termux-packages/issues/1625
 * https://github.com/termux/termux-packages/issues/4132
2019-08-07 15:38:45 +03:00
Fredrik Fornwall 90e0af4ee7 procps: Update from 3.3.12 to 3.3.14 2018-05-19 03:50:15 +02:00