From b12c8986778619db5bec0a5e52f2d49247e6b5ba Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Thu, 11 Jun 2009 11:58:55 -0400 Subject: Only sign modules if --unprivileged is specified. Don't generate an error message for unsigned modules. Make sure module signature exists before attempting to copy to the cache. Allow timer p[robes for unprivileged users. --- util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 175f1f40..d249a71b 100644 --- a/util.h +++ b/util.h @@ -6,6 +6,8 @@ #include const char *get_home_directory(void); +size_t get_file_size(const std::string &path); +bool file_exists (const std::string &path); int copy_file(const char *src, const char *dest); int create_dir(const char *dir); int remove_file_or_dir(const char *dir); -- cgit