Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization
libcgroup
pam_cgroup-Revert-broken-cache-usage.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_cgroup-Revert-broken-cache-usage.patch of Package libcgroup
From: Christian Kastner <ckk@debian.org> Date: Fri, 2 Oct 2015 14:41:56 +0200 Subject: pam_cgroup: Revert broken cache usage This reverts the following upstream commit: commit ac6173f74922b7dbc46e87370b9bc42cd0fa892d Author: Peter Schiffer <pschiffe@redhat.com> Date: Tue Jun 25 06:37:41 2013 +0200 Subject: Use cache when reading /etc/passwd file The cache that is to be used is not initialized and therefore remains empty, hence pam_cgroup doesn't really do anything. Thanks, Reco, for the report! Bug: http://sourceforge.net/p/libcg/bugs/52/ Bug-Debian: https://bugs.debian.org/788244 Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1060227 Forwarded: not-needed Last-Update: 2015-10-02 --- src/pam/pam_cgroup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: libcgroup/src/pam/pam_cgroup.c =================================================================== --- libcgroup.orig/src/pam/pam_cgroup.c +++ libcgroup/src/pam/pam_cgroup.c @@ -127,7 +127,7 @@ PAM_EXTERN int pam_sm_open_session(pam_h * Note: We are using default gid here. Is there a way to * determine under what egid service will be provided? */ - ret = cgroup_change_cgroup_uid_gid_flags(pwd->pw_uid, pwd->pw_gid, pid, CGFLAG_USECACHE); + ret = cgroup_change_cgroup_uid_gid(pwd->pw_uid, pwd->pw_gid, pid); if (ret) { if (ctrl & PAM_DEBUG_ARG) { pam_syslog(pamh, LOG_ERR, "Change of cgroup for process with username");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor