Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
Virtualization
libcgroup
groups.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File groups.patch of Package libcgroup
--- src/tools/cgexec.c | 6 ++++++ 1 file changed, 6 insertions(+) --- src/tools/cgexec.c +++ src/tools/cgexec.c 2024-10-02 13:10:56.264649618 +0000 @@ -164,6 +164,12 @@ int main(int argc, char *argv[]) return -1; } + if (uid == 0) + if (setgroups(0, NULL)) { + err("%s", strerror(errno)); + return -1; + } + if (cg_specified) { /* * User has specified the list of control group
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