summaryrefslogtreecommitdiff
path: root/sd_login/notes.org
diff options
context:
space:
mode:
Diffstat (limited to 'sd_login/notes.org')
-rw-r--r--sd_login/notes.org78
1 files changed, 78 insertions, 0 deletions
diff --git a/sd_login/notes.org b/sd_login/notes.org
new file mode 100644
index 0000000..0627142
--- /dev/null
+++ b/sd_login/notes.org
@@ -0,0 +1,78 @@
+/* Error codes:
+ *
+ * invalid input parameters → -EINVAL
+ * invalid fd → -EBADF
+ * process does not exist → -ESRCH
+ * cgroup does not exist → -ENOENT
+ * machine, session does not exist → -ENXIO
+ * requested metadata on object is missing → -ENODATA
+ */
+
+* PID
+** get_...
+*** session
+*** owner_uid
+*** unit
+*** user_unit
+*** slice
+*** user_slice
+*** machine_name
+*** cgroup
+* peer
+** get_...
+*** session
+*** owner_uid
+*** unit
+*** user_unit
+*** slice
+*** user_slice
+*** machine_name
+*** cgroup
+* UID
+** is_on_seat
+** get_...
+*** state
+*** display
+*** sessions
+*** seats
+* session
+** is_active
+** is_remote
+** get_...
+*** state
+*** uid
+*** seat
+*** service
+*** type
+*** class
+*** desktop
+*** display
+*** remote_host
+*** remote_user
+*** tty
+*** vt
+* seat
+** can_multi_session
+** can_tty
+** can_graphical
+** get_...
+*** active
+*** sessions
+* machine
+** get_...
+*** class
+*** ifindices
+* top level
+** get_...
+*** seats
+*** sessions
+*** uids
+*** machine_names
+* login monitor
+** new
+** unref
+** flush
+** get_...
+*** fd
+*** events
+*** timeout