summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-25 14:14:03 -0500
committerDave Brolley <brolley@redhat.com>2009-11-25 14:14:03 -0500
commit0da3e7a0e77120670cb69c55ad5418f2bf2afb9d (patch)
tree3ef463df086114aeb42630db819ff9d048712b97 /util.h
parentff3576d585aee3140b41bb77a0e8e4063e704f43 (diff)
downloadsystemtap-steved-0da3e7a0e77120670cb69c55ad5418f2bf2afb9d.tar.gz
systemtap-steved-0da3e7a0e77120670cb69c55ad5418f2bf2afb9d.tar.xz
systemtap-steved-0da3e7a0e77120670cb69c55ad5418f2bf2afb9d.zip
- Allow root, the owner of the uprobes build directory and the members of the
group owner of the uprobes buld directory to build uprobes.ko. - When building uprobes.ko, make all generated files writable by the group owner of the uprobes build directory. - Don't change the group owner of the uprobes build directory during 'make install'
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index b65f89e2..bb6c71bc 100644
--- a/util.h
+++ b/util.h
@@ -12,7 +12,7 @@ bool copy_file(const std::string& src, const std::string& dest,
bool verbose=false);
int create_dir(const char *dir);
int remove_file_or_dir(const char *dir);
-bool in_group (const char *gname);
+bool in_group_id (gid_t target_gid);
void tokenize(const std::string& str, std::vector<std::string>& tokens,
const std::string& delimiters);
std::string find_executable(const std::string& name);