diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2004-11-13 11:42:48 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2004-11-13 11:42:48 +0000 |
commit | 544aff2f18f595a34b0588da39dc59aa860e5898 (patch) | |
tree | 0c34a34ad43021cd230ecadf8f7a47cd95eeb988 /include/glibtop | |
parent | 74f20ca469058df08574a004acc52df12b60984d (diff) | |
download | libgtop-544aff2f18f595a34b0588da39dc59aa860e5898.tar.gz |
Removed SUID wrappers because glibtop_proc_argv_l is a client-side
* include/glibtop/procargs.h:
* sysdeps/common/procargs.c: (glibtop_get_proc_argv_l): Removed SUID
wrappers because glibtop_proc_argv_l is a client-side function that wraps
glibtop_get_proc_args.
Diffstat (limited to 'include/glibtop')
-rw-r--r-- | include/glibtop/procargs.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/glibtop/procargs.h b/include/glibtop/procargs.h index 1d7159e0..83d2980c 100644 --- a/include/glibtop/procargs.h +++ b/include/glibtop/procargs.h @@ -85,28 +85,6 @@ glibtop_get_proc_argv_l (glibtop *server, glibtop_proc_args *buf, #define glibtop_get_proc_argv(proc_args,pid,max_len) glibtop_get_proc_argv_l(glibtop_global_server, proc_args, pid, max_len) -#if GLIBTOP_SUID_PROC_ARGS - -# define glibtop_get_proc_argv_r glibtop_get_proc_args_p -# define glibtop_init_proc_argv_p glibtop_init_proc_args_p - - char ** - glibtop_get_proc_argv_p (glibtop *server, glibtop_proc_args *buf, - pid_t pid, unsigned max_len); - - -#else /* !GLIBTOP_SUID_PROC_ARGS */ - -# define glibtop_get_proc_argv_r glibtop_get_proc_args_s -# define glibtop_init_proc_argv_s glibtop_init_proc_args_s - - char ** - glibtop_get_proc_argv_s (glibtop *server, glibtop_proc_args *buf, - pid_t pid, unsigned max_len); -#endif /* GLIBTOP_SUID_PROC_ARGS */ - - - #ifdef GLIBTOP_NAMES /* You need to link with -lgtop_names to get this stuff here. */ |