service: optionally call into PAM when dropping priviliges

This commit is contained in:
Lennart Poettering
2010-06-16 21:54:17 +02:00
parent 04aa0cb9c4
commit 5b6319dcee
17 changed files with 319 additions and 53 deletions
+6 -4
View File
@@ -51,14 +51,16 @@
* write utmp record a la upstart for processes
* run PAM session stuff
* use setproctitle() when forking, before exec() (waiting for (PR_SET_PROCTITLE_AREA to enter the kernel)
* follow property change dbus spec
* pam module
* selinux
Regularly:
* look for close() vs. close_nointr() vs. close_nointr_nofail()
* check for strerror(r) instead of strerror(-r)
* Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel