diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-14 16:00:28 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-14 16:00:28 +0100 |
commit | 5f3b126f3013cb78fa2e5a8beb935021e21d5c5d (patch) | |
tree | f73b2d969ade5cfdb353f76b11ac13555bd85b7c /inc | |
parent | 452013e2097aa985bf8c3f8296d00d189401eea3 (diff) | |
download | abrt-5f3b126f3013cb78fa2e5a8beb935021e21d5c5d.tar.gz abrt-5f3b126f3013cb78fa2e5a8beb935021e21d5c5d.tar.xz abrt-5f3b126f3013cb78fa2e5a8beb935021e21d5c5d.zip |
add paranoia checks on setuid/setgid
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/abrtlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 2227ef33..17bd5429 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -150,6 +150,10 @@ void copyfd_exact_size(int src_fd, int dst_fd, off_t size); off_t copy_file(const char *src_name, const char *dst_name); +void xsetreuid(uid_t ruid, uid_t euid); +void xsetregid(gid_t rgid, uid_t egid); + + unsigned long long monotonic_ns(void); unsigned long long monotonic_us(void); unsigned monotonic_sec(void); |