Rename GLIBTOP_SUID_PROC_FILE to GLIBTOP_SUID_PROC_OPEN_FILES.
The previous name is incorrect and inconsistent with the code generated by lib.pl. Also add missing hooks. This symbol, although exposed in public headers is not part of the API and is only used internally.
This commit is contained in:
@@ -44,6 +44,7 @@ GLIBTOP_SUID_PROC_KERNEL +
|
||||
GLIBTOP_SUID_PROC_SEGMENT +
|
||||
GLIBTOP_SUID_PROC_ARGS +
|
||||
GLIBTOP_SUID_PROC_MAP +
|
||||
GLIBTOP_SUID_PROC_OPEN_FILES +
|
||||
GLIBTOP_SUID_NETLOAD +
|
||||
GLIBTOP_SUID_NETLIST +
|
||||
GLIBTOP_SUID_PROC_WD +
|
||||
@@ -123,6 +124,9 @@ const _glibtop_init_func_t _glibtop_init_hook_s [] = {
|
||||
#endif
|
||||
#if !GLIBTOP_SUID_PROC_IO
|
||||
_glibtop_init_proc_io_s,
|
||||
#endif
|
||||
#if !GLIBTOP_SUID_PROC_OPEN_FILES
|
||||
_glibtop_init_proc_open_files_s,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
@@ -199,6 +203,9 @@ const _glibtop_init_func_t _glibtop_init_hook_p [] = {
|
||||
#endif
|
||||
#if GLIBTOP_SUID_PROC_IO
|
||||
_glibtop_init_proc_io_p,
|
||||
#endif
|
||||
#if GLIBTOP_SUID_PROC_OPEN_FILES
|
||||
_glibtop_init_proc_open_files_p,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
Reference in New Issue
Block a user