summaryrefslogtreecommitdiff
path: root/src/makeint.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-07-04 17:30:42 -0400
committerPaul Smith <psmith@gnu.org>2022-07-09 10:47:13 -0400
commit6f7e06ec4eb1ba08f131826d6c28b498c388304b (patch)
tree296f3a20b657c288bf9087c9a8666e91b5cdfe9c /src/makeint.h
parent3f3eecc115eae16c44a09988e3c49968f5aeb9fd (diff)
downloadmake-git-6f7e06ec4eb1ba08f131826d6c28b498c388304b.tar.gz
getloadavg: Remove support for privileged invocation
This was needed when getloadavg required privileged access; in this case GNU make needed to be installed as a setgid program. But this hasn't been supported by gnulib getloadavg() since 2011 and systems are no longer using it, so remove it. * src/makeint.h (user_access): Remove unnecessary function. (make_access): Ditto. (child_access): Ditto. * src/misc.c: Remove implementations of the *_access() functions. * src/main.c (main): Remove unneeded call to user_access(). * src/job.c (load_too_high): Remove calls to {make,user}_access(). (exec_command): Remove call to child_access(). * src/remote-cstms.c: Remove calls to these methods. I suppose it might be possible this is needed and was piggy-backing on the privileged setting but since that's been broken for a while I doubt this is needed. If so we can bring back the implementation into this source file. * src/config.h.W32.template: Remove GETLOADAVG_PRIVILEGED undef. * src/config.h-vms.template: Ditto. * src/config.ami.template: Ditto.
Diffstat (limited to 'src/makeint.h')
-rw-r--r--src/makeint.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/makeint.h b/src/makeint.h
index c37b1a0d..d117240b 100644
--- a/src/makeint.h
+++ b/src/makeint.h
@@ -596,10 +596,6 @@ int gpath_search (const char *file, size_t len);
void construct_include_path (const char **arg_dirs);
-void user_access (void);
-void make_access (void);
-void child_access (void);
-
char *strip_whitespace (const char **begpp, const char **endpp);
void show_goal_error (void);