UnixProcess.for_owner


Description:

[ CCode ( has_construct_function = false , type = "PolkitSubject*" ) ]
public UnixProcess.for_owner (int pid, uint64 start_time, int uid)

Creates a new UnixProcess object for pid, start_time and uid.

Parameters:

pid

The process id.

start_time

The start time for pid or 0 to look it up in e.g. <filename>/proc</filename>.

uid

The (real, not effective) uid of the owner of pid or -1 to look it up in e.g. <filename>/proc</filename>.

Returns:

A Subject. Free with unref.