Bug 24992 - Implement CanRestart and CanStop interfaces on Solaris.
Summary: Implement CanRestart and CanStop interfaces on Solaris.
Status: RESOLVED FIXED
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: All Solaris
: high critical
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 00:46 UTC by Jedy Wang
Modified: 2009-11-09 22:39 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to fix the problem (2.92 KB, patch)
2009-11-09 01:39 UTC, Jedy Wang
Details | Splinter Review

Description Jedy Wang 2009-11-09 00:46:58 UTC
Currently,  CanRestart and CanStop interfaces both return TRUE for systems without PolicyKit (Solaris). This is a critical security problem and should be fixed.
Comment 1 Jedy Wang 2009-11-09 01:39:02 UTC
Created attachment 31058 [details] [review]
patch to fix the problem
Comment 2 Jedy Wang 2009-11-09 21:21:03 UTC
Can someone take a look at this patch?
Comment 3 Halton Huo 2009-11-09 22:39:40 UTC
This patch looks good to me. Since it only affect Solaris (Only Solaris uses RBAC), so I'd like to commit this patch to master 48b4b2d1174db98ee87ea4e71f4a21221043ca3f. 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.