Project

General

Profile

Actions

Feature #137

open

Port polkit

Added by Igor Pashev almost 11 years ago. Updated over 10 years ago.

Status:
New
Priority:
Low
Assignee:
-
Start date:
2013-06-22
Due date:
% Done:

0%

Estimated time:

Description

$ pkexec ls                                                                                                                           
**                                                                                                                                                          
ERROR:pkexec.c:678:main: assertion failed: (polkit_unix_process_get_start_time (POLKIT_UNIX_PROCESS (subject)) > 0)                                         
Abort

Adopt PolKit RBAC backend.

The idea is mapping desktop privileges to RBAC, e. g.:
"hal-storage-removable-mount" -> "solaris.device.mount.removable"
and use chkauthattr()

Since HAL is obsolete, it need to be ported to Udisks and Upower.

http://cgit.osdyson.org/illumos-gate.git/tree/usr/src/lib/policykit/libpolkit/common/libpolkit-rbac.c

Do it in a proper way here:
http://cgit.osdyson.org/port/polkit.git/


Files

dyson-pkexec-fdwalk.patch (806 Bytes) dyson-pkexec-fdwalk.patch Igor Pashev, 2013-06-23 10:53 AM
dyson-polkitunixprocess.c.patch (4.25 KB) dyson-polkitunixprocess.c.patch don't do that ;-) Igor Pashev, 2013-06-23 10:53 AM
dyson-test-mocklibc-netdb.c.patch (492 Bytes) dyson-test-mocklibc-netdb.c.patch Igor Pashev, 2013-06-23 10:53 AM

Related issues 2 (2 open0 closed)

Related to Dyson - Feature #136: Port upowerNew2013-06-20

Actions
Related to Dyson - Feature #129: Port udisksNew2013-06-07

Actions
Actions #1

Updated by Igor Pashev almost 11 years ago

  • Subject changed from pkexec does not work to Port polkit
Actions #2

Updated by Igor Pashev almost 11 years ago

  • Description updated (diff)
Actions #4

Updated by Igor Pashev almost 11 years ago

  • Description updated (diff)
Actions #5

Updated by Igor Pashev almost 11 years ago

  • Description updated (diff)
Actions #6

Updated by Igor Pashev almost 11 years ago

  • Description updated (diff)
Actions #7

Updated by Igor Pashev over 10 years ago

  • Priority changed from High to Low
Actions #8

Updated by Igor Pashev over 10 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF