Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Returns the current list of inhibitors, an array of strings
representing the what, who, why, mode, and two unsigned int32
representing the user ID and process ID.
This is the same method that logind uses. Needed to have inhibit
track the uid/pid of the caller to mirror what logind returns.
|
|
|
|
Now we support the mode string of the inhibit dbus call. It can
either be a "block" or "delay". If no delay lock is done, a
system call action will delay 2 seconds to give applications time
to save state. Holding a delay lock will increase the timeout to
a max of 8 seconds.
|
|
When the inhibit lock increments to 1 it will be TRUE and when it
reaches 0 it will be FALSE. Additional locks above 1 will not emit
a signal but the manager will keep track.
|
|
And add additional tests for it as we go
|
|
Also start working on the inhibit manager.
|