IABSD.fr/xenocara/app/xconsole/privsep.c

Branch :


Log

Author Commit Date CI Message
dab7f023 2021-09-03 07:09:08 remove useless <sys/param.h> include
5092a69b 2015-11-14 17:12:14 Don't try to revoque privileges if priv_init is called without privileges. The parent process will be used for operations that can't be pledged.
27549fce 2015-11-11 21:20:12 Reduce gcc warnings. No functional changes.
300ba5c0 2015-11-11 21:18:12 use HAVE_ instead of HAS_ macros for consistency.
d00d2dd8 2008-03-24 21:24:52 msg_controllen has to be CMSG_SPACE so that the kernel can account for each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis. From deraadt@
16236de3 2008-03-15 17:14:11 Repair msg_controllen. In those cases it should just be CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment. Based on fixes in base system.
f0623845 2008-03-13 06:53:06 Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system. ok deraadt@
883fe2a6 2006-11-26 16:59:50 OpenBSD modification: privilege separation.