diff options
author | Dan Winship <danw@gnome.org> | 2013-11-05 14:48:23 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-12-03 16:41:00 -0500 |
commit | a8ef01b2c688cd562d42c41aa7b66867def5e01e (patch) | |
tree | 306c90d41ad6073ad7a2dfdce3203defbc11f2ff /src/nm-auth-subject.c | |
parent | f3c2851c2bced480e918d83d0b6372ae2c891dfb (diff) | |
download | NetworkManager-a8ef01b2c688cd562d42c41aa7b66867def5e01e.tar.gz |
settings: prefer secret agents in the same process as the request
When an activation request requires secrets, if there is a secret
agent in the process that made the request, then prefer that to all
other secret agents.
Diffstat (limited to 'src/nm-auth-subject.c')
-rw-r--r-- | src/nm-auth-subject.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-auth-subject.c b/src/nm-auth-subject.c index 66c0d4e63e..e770af49ec 100644 --- a/src/nm-auth-subject.c +++ b/src/nm-auth-subject.c @@ -151,6 +151,12 @@ nm_auth_subject_get_uid (NMAuthSubject *subject) return NM_AUTH_SUBJECT_GET_PRIVATE (subject)->uid; } +gulong +nm_auth_subject_get_pid (NMAuthSubject *subject) +{ + return NM_AUTH_SUBJECT_GET_PRIVATE (subject)->pid; +} + const char * nm_auth_subject_get_dbus_sender (NMAuthSubject *subject) { |