Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-23 | process: an empty environment block should be returned as such | Lennart Poettering | |
An empty env block is completely valid, hence return it as such, and don't turn it into an error. | |||
2015-07-23 | process: return ESRCH when a PID is not valid anymore | Lennart Poettering | |
so far, when we read something from /proc/$PID we would pass on the ENOENT from the kernel as error, if the process was missing. With this change we systematically convert this to ESRCH, which is the more appropriate error code, and what all the other glibc/syscalls like kill() use. All code that calls these functions should be fine with this change. In fact, one invocation of get_process_exe() in bus-creds.c already assumed ESRCH would be returned if a process is missing, and this assumption is now validated after the change. | |||
2015-07-06 | get_process_environ: exit early when there is nothing to read | Kay Sievers | |
2015-06-11 | build-sys: split internal basic/ library from shared/ | Kay Sievers | |
basic/ can be used by everything cannot use anything outside of basic/ libsystemd/ can use basic/ cannot use shared/ shared/ can use libsystemd/ |