[vala/staging: 5/10] posix: Add setegid(2) and seteuid(2)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 5/10] posix: Add setegid(2) and seteuid(2)
- Date: Thu, 8 Mar 2018 08:07:15 +0000 (UTC)
commit d59bcd0da8d99684d3b778486f9a7f85611909c5
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Wed Mar 7 10:22:19 2018 +0100
posix: Add setegid(2) and seteuid(2)
vapi/posix.vapi | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 953570b..33a8a5d 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -2062,6 +2062,10 @@ namespace Posix {
[CCode (cname = "readv", cheader_filename = "sys/uio.h")]
public ssize_t read_vectors (int fd, iovector[] vector);
[CCode (cheader_filename = "unistd.h,sys/types.h")]
+ public int setegid (gid_t egid);
+ [CCode (cheader_filename = "unistd.h,sys/types.h")]
+ public int seteuid (gid_t euid);
+ [CCode (cheader_filename = "unistd.h,sys/types.h")]
public int setgid (gid_t gid);
[CCode (cheader_filename = "unistd.h,sys/types.h")]
public int setuid (uid_t uid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]