summaryrefslogtreecommitdiffstats
path: root/src/afb-cred.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-05 18:59:57 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-05 18:59:57 +0200
commit9952955d440866fa061d78fe923cb8282f778667 (patch)
treead0764b00d6a3bfec7a7154d9d9525d6e4d1a56b /src/afb-cred.h
parentfebbd43b65c6b0d480b076ead8a078979b8b3603 (diff)
Add user to context
At this time, user is the string representation of the uid. Change-Id: I65fbb4112f209fdb948d24e9c47fa73dacdf571f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-cred.h')
-rw-r--r--src/afb-cred.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-cred.h b/src/afb-cred.h
index 5bd54233..6f8173f6 100644
--- a/src/afb-cred.h
+++ b/src/afb-cred.h
@@ -25,6 +25,7 @@ struct afb_cred
uid_t uid;
gid_t gid;
pid_t pid;
+ const char *user;
const char *label;
const char *id;
};