[systemd-devel] [PATCH] sysv-generator: only allow regular files in enumerate_sysv()
gmane at colin.guthr.ie
Wed Jan 14 05:39:41 PST 2015
Cristian Rodríguez wrote on 14/01/15 13:34:
> El 14/01/15 a las 09:21, Colin Guthrie escribió:
>> If I read the dirent_ensure_type and dirent_is_file code properly, this
>> would mean that symlinks to valid sysvinit scripts are now skipped.
> dirent_is_file() returns true for symlinks.
Jeez, I really failed at reading the code today.... sorry for the noise!
(that said, as a general question what happens in dirent_is_file() if
there is a symlink to a directory?)
Tribalogic Limited http://www.tribalogic.net/
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel