library: Change linux version
Added function procps_linux_version() which used to be an exported integer instead. Also changed the method of obtaining the linux version (more correctly the os release) to use a specific procfs entry. This works for both Linux and FreeBSD.
This commit is contained in:
@@ -35,7 +35,6 @@ global:
|
||||
kb_swap_free;
|
||||
kb_swap_total;
|
||||
kb_swap_used;
|
||||
linux_version_code;
|
||||
loadavg;
|
||||
look_up_our_self;
|
||||
lookup_wchan;
|
||||
@@ -60,6 +59,7 @@ global:
|
||||
unix_print_signals;
|
||||
uptime;
|
||||
user_from_uid;
|
||||
procps_linux_version;
|
||||
local:
|
||||
*;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user