projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: cleanup and portability fix to configure.ac
[lttng-tools.git]
/
src
/
common
/
runas.h
diff --git
a/src/common/runas.h
b/src/common/runas.h
index e1269a420308a1447f07dd5ae843b192e0e0c340..2c5565af36461f6ac3fcfcc8be08c7d3e8ea355a 100644
(file)
--- a/
src/common/runas.h
+++ b/
src/common/runas.h
@@
-22,10
+22,15
@@
#include <unistd.h>
#include <pthread.h>
#include <unistd.h>
#include <pthread.h>
+LTTNG_HIDDEN
int run_as_mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid);
int run_as_mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid);
+LTTNG_HIDDEN
int run_as_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid);
int run_as_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid);
+LTTNG_HIDDEN
int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid);
int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid);
+LTTNG_HIDDEN
int run_as_unlink(const char *path, uid_t uid, gid_t gid);
int run_as_unlink(const char *path, uid_t uid, gid_t gid);
+LTTNG_HIDDEN
int run_as_rmdir_recursive(const char *path, uid_t uid, gid_t gid);
/* Backward compat. */
int run_as_rmdir_recursive(const char *path, uid_t uid, gid_t gid);
/* Backward compat. */
@@
-34,7
+39,9
@@
static inline int run_as_recursive_rmdir(const char *path, uid_t uid, gid_t gid)
return run_as_rmdir_recursive(path, uid, gid);
}
return run_as_rmdir_recursive(path, uid, gid);
}
+LTTNG_HIDDEN
int run_as_create_worker(char *procname);
int run_as_create_worker(char *procname);
+LTTNG_HIDDEN
void run_as_destroy_worker(void);
#endif /* _RUNAS_H */
void run_as_destroy_worker(void);
#endif /* _RUNAS_H */
This page took
0.022971 seconds
and
4
git commands to generate.