diff options
author | Colin Watson <cjwatson@debian.org> | 2006-10-27 10:42:44 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2006-10-27 10:42:44 +0000 |
commit | be6478d45d2d5c57bc30ca83d14b7b1ef6ed5ce6 (patch) | |
tree | 974beeb4ed8e9271133bbef823fb1ee14abf5262 /monitor_wrap.c | |
parent | bb9d3d577f24525d3d6835c15b35b89a33aa4b25 (diff) |
Incorporate Manoj's NMU:
* NMU to update SELinux patch, bringing it in line with current selinux
releases. The patch for this NMU is simply the Bug#394795 patch,
and no other changes. (closes: #394795)
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index 6749d3f93..29cafc751 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -272,6 +272,23 @@ mm_inform_authserv(char *service, char *style, char *role) | |||
272 | buffer_free(&m); | 272 | buffer_free(&m); |
273 | } | 273 | } |
274 | 274 | ||
275 | /* Inform the privileged process about role */ | ||
276 | |||
277 | void | ||
278 | mm_inform_authrole(char *role) | ||
279 | { | ||
280 | Buffer m; | ||
281 | |||
282 | debug3("%s entering", __func__); | ||
283 | |||
284 | buffer_init(&m); | ||
285 | buffer_put_cstring(&m, role ? role : ""); | ||
286 | |||
287 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHROLE, &m); | ||
288 | |||
289 | buffer_free(&m); | ||
290 | } | ||
291 | |||
275 | /* Do the password authentication */ | 292 | /* Do the password authentication */ |
276 | int | 293 | int |
277 | mm_auth_password(Authctxt *authctxt, char *password) | 294 | mm_auth_password(Authctxt *authctxt, char *password) |