Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 147769 Details for
Bug 227733
[LSPP] unable to ssh into a system as root/auditadm_r
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch by Dan Walsh
openssh-4.3p2-role.patch (text/plain), 1006 bytes, created by
Tomas Mraz
on 2007-02-09 14:34:36 UTC
(
hide
)
Description:
Proposed patch by Dan Walsh
Filename:
MIME Type:
Creator:
Tomas Mraz
Created:
2007-02-09 14:34:36 UTC
Size:
1006 bytes
patch
obsolete
>--- openssh-4.3p2/selinux.c.role 2007-02-07 14:49:14.000000000 -0500 >+++ openssh-4.3p2/selinux.c 2007-02-07 14:57:03.000000000 -0500 >@@ -82,11 +82,21 @@ > } > > static int get_user_context(const char *user, const char *role, const char *level, >- security_context_t *context) { >- if (role != NULL && role[0]) >- return get_default_context_with_rolelevel(user, role, level, NULL, context); >- else >- return get_default_context_with_level(user, level, NULL, context); >+ security_context_t *context) { >+ if (get_default_context_with_level(user, level, NULL, context) != 0) return -1; >+ if (role != NULL && role[0]) { >+ context_t con; >+ char *type=NULL; >+ if (get_default_type(role,&type) != 0) return -1; >+ con = context_new(*context); >+ context_role_set(con,role); >+ context_type_set(con,type); >+ freecon(*context); >+ *context = strdup(context_str(con)); >+ if (! *context) >+ return -1; >+ } >+ return 0; > } > > static const security_context_t selinux_get_user_context(const char *name) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227733
: 147769