summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/uidswap.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-07-18Remove support for running ssh(1) setuid and fatal if attempted.Darren Tucker
2018-06-15invalidate supplemental group cache used by temporarily_use_uid()Damien Miller
2015-06-24Revert previous commit. We still want to call setgroups in the case whereDarren Tucker
2015-06-22Don't call setgroups if we have zero groups; there's no guarantee that itDarren Tucker
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-08Include stdlib.h for free() as per the man page.Darren Tucker
2006-08-03almost entirely get rid of the culture of ".h files that include .h files"Theo de Raadt
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-17move #include <unistd.h> out of includes.hKevin Steves
2006-07-11move #include <errno.h> out of includes.h; ok markus@Kevin Steves
2006-07-06move #include <pwd.h> out of includes.h; ok markus@Kevin Steves
2006-06-08do not set the gid, noted by solar; ok djmMarkus Friedl
2006-06-06replace remaining setuid() calls with permanently_set_uid() andMarkus Friedl
2006-04-22use setres[ug]id() to permanently revoke privileges; ok deraadt@Damien Miller
2006-03-25Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatDamien Miller
2006-03-19RCSID() can dieTheo de Raadt
2003-05-29seteuid and setegid; markus okTheo de Raadt
2002-07-15little more debugging; ok markus@Kevin Steves
2002-05-28use correct function name in fatal()Kevin Steves
2002-05-28format spec change/casts and some KNF; ok markus@Kevin Steves
2002-04-01typo: assign to self; ok markus@ solar@openwall.comKevin Steves
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-08-08undo last change; does not work for sshdMarkus Friedl
2001-08-08permanently_set_uid is a noop if user is not privilegued;Markus Friedl
2001-04-20set non-privileged gid before uid; tholo@ and deraadt@Markus Friedl
2001-04-08KNFMarkus Friedl
2001-04-06do gid/groups-swap in addition to uid-swap, should help if /home/groupMarkus Friedl
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
2000-12-29sync with portable openssh; stevesk@pobox.comMarkus Friedl
2000-12-20fix prototypes; from stevesk@pobox.comMarkus Friedl
2000-12-17typo; from wsanchez@apple.comMarkus Friedl
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
2000-08-28print uid/gid as unsignedTheo de Raadt
2000-06-20OpenBSD tagMarkus Friedl
2000-04-14whitespace cleanupMarkus Friedl
1999-11-24KNF, final part 3Markus Friedl
1999-11-24much more KNFTheo de Raadt
1999-11-23KNF part 1Markus Friedl
1999-09-30even smallerTheo de Raadt
1999-09-26i bet a lot of people didn't know what ssh 1.2.16 had a nice license.Theo de Raadt