All,

> calendar.c forks, so there is no need to regain privileges post
> setuid(). I'm kinda with tg in that setres[ug]id() makes the intent
> clearer instead of relying on uid==0 behavior.

FYI I just uploaded a new version of the package.

It turned out setres[ug]id() are not declared in the current build
process. I don't like adding the declaration manually and getting
unistd.h to declare it would mean defining __USE_GNU which may or may
not have side effects. Therefore I figured to play it safe and use
set[ug]id() instead.

Thanks,
Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De
Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org

Reply via email to