sysctl: Bring procio functions out of library
The procio functions that were in the library have been
moved into sysctl. sysctl is not linked to libprocps in
newlib and none of the other procps binaries would need
to read/write large data to the procfs.
References:
be6b048a41
This commit is contained in:
parent
063838a7f5
commit
c9be22a8c0
10
Makefile.am
10
Makefile.am
@ -195,7 +195,11 @@ pmap_SOURCES = pmap.c lib/fileutils.c
|
|||||||
if !CYGWIN
|
if !CYGWIN
|
||||||
pwdx_SOURCES = pwdx.c lib/fileutils.c
|
pwdx_SOURCES = pwdx.c lib/fileutils.c
|
||||||
pwdx_LDADD= $(CYGWINFLAGS)
|
pwdx_LDADD= $(CYGWINFLAGS)
|
||||||
sysctl_SOURCES = sysctl.c lib/fileutils.c
|
sysctl_SOURCES = \
|
||||||
|
sysctl.c \
|
||||||
|
lib/fileutils.c \
|
||||||
|
procio.c \
|
||||||
|
procio.h
|
||||||
endif
|
endif
|
||||||
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
|
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
|
||||||
uptime_SOURCES = uptime.c lib/fileutils.c
|
uptime_SOURCES = uptime.c lib/fileutils.c
|
||||||
@ -233,8 +237,6 @@ proc_libprocps_la_SOURCES = \
|
|||||||
proc/escape.h \
|
proc/escape.h \
|
||||||
proc/numa.c \
|
proc/numa.c \
|
||||||
proc/numa.h \
|
proc/numa.h \
|
||||||
proc/procio.c \
|
|
||||||
proc/procio.h \
|
|
||||||
proc/procps-private.h \
|
proc/procps-private.h \
|
||||||
proc/procps.h \
|
proc/procps.h \
|
||||||
proc/pwcache.c \
|
proc/pwcache.c \
|
||||||
@ -260,7 +262,6 @@ proc_libprocps_la_include_HEADERS = \
|
|||||||
proc/devname.h \
|
proc/devname.h \
|
||||||
proc/escape.h \
|
proc/escape.h \
|
||||||
proc/numa.h \
|
proc/numa.h \
|
||||||
proc/procio.h \
|
|
||||||
proc/procps.h \
|
proc/procps.h \
|
||||||
proc/pwcache.h \
|
proc/pwcache.h \
|
||||||
proc/readproc.h \
|
proc/readproc.h \
|
||||||
@ -272,7 +273,6 @@ proc_libprocps_la_include_HEADERS = \
|
|||||||
proc/whattime.h
|
proc/whattime.h
|
||||||
|
|
||||||
dist_man_MANS += \
|
dist_man_MANS += \
|
||||||
proc/fprocopen.3 \
|
|
||||||
proc/openproc.3 \
|
proc/openproc.3 \
|
||||||
proc/readproc.3 \
|
proc/readproc.3 \
|
||||||
proc/readproctab.3
|
proc/readproctab.3
|
||||||
|
@ -8,7 +8,6 @@ global:
|
|||||||
escape_str;
|
escape_str;
|
||||||
escape_strlist;
|
escape_strlist;
|
||||||
escaped_copy;
|
escaped_copy;
|
||||||
fprocopen;
|
|
||||||
free_slabinfo;
|
free_slabinfo;
|
||||||
freeproc;
|
freeproc;
|
||||||
get_ns_id;
|
get_ns_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user