summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/su.c
Commit message (Expand)AuthorAgeFilesLines
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
* Fixup the parameters to audit_submit(3) the order is errno then returncsjp2009-04-041-7/+7
* Fix a strict aliasing warning - I think it is really telling usdwmalone2008-06-041-2/+3
* The upper while loop has already recycled child process, so the ifdavidxu2007-10-181-3/+1
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-041-2/+6
* Back out all POSIXified *env() changes.ache2007-05-011-3/+2
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-2/+3
* Backout previous change (SIGSYS related). The fix has been applied to thesobomax2006-10-241-2/+0
* Ignore SIGSYS when BSM is compiled in. Otherwise, attempt to invoke su onsobomax2006-10-241-0/+2
* Do not chdir(2) until after setuid(2), otherwise "su - username" would failluoqi2006-09-291-6/+4
* Integrate audit_submit(3) bits into su. This means that records forcsjp2006-09-011-6/+68
* Fix the other su bug reintroduced two commits ago, namelybrian2006-01-031-1/+14
* Handle the case (that I just broke) where the following hangs:brian2006-01-021-1/+3
* Remove broken code that mucks about with tcsetpgrp() -- even ifbrian2006-01-021-7/+0
* If su(1) is run without an effective uid of 0, generate an error torwatson2005-01-171-3/+33
* Oops. My last commit included a bug that would make "su -m" alwaysmarkm2004-06-151-2/+0
* Paranoia, WARNS fixes and lint.markm2004-06-131-19/+19
* Add FBSDID. Do not dot terminate errx(3) string.charnier2004-04-041-5/+6
* When root tries to su to a non-existent user, pam_authenticate() willdes2004-01-061-4/+4
* Be sure to restore foreground group to parent su before parent sudavidxu2003-11-041-1/+2
* It seems when su executes in a shell scripts, there is a timing race,davidxu2003-11-031-0/+2
* Fix broken su -m behaviour :cognet2003-10-191-4/+2
* PAM-related improvements:des2003-04-081-37/+59
* Put child process in a different process group, ensure that the broadcastdavidxu2003-03-271-6/+22
* Fix style bugs in the previous commit (which weren't in bde's patch)des2003-03-111-2/+0
* Reset SIGTSTP handler to default both for parent and child process.davidxu2003-03-111-3/+4
* Fix long standing job control bug. SIGTSTP shouldn't be ignored.davidxu2003-03-111-1/+0
* Pass the correct, verified username to PAM instead of getlogin().des2003-02-061-1/+1
* Add a new '-s' option to su(1): if the flag is present, attempt torwatson2002-10-231-4/+14
* When a user gets refused because the password is wrong, use themarkm2002-10-181-0/+4
* Style: use sa_handler instead of __sigaction_u.__sa_handler.tjr2002-10-171-1/+1
* Remove an unused variable.phk2002-10-141-2/+0
* Fix typing error in prev. commitache2002-08-121-1/+1
* Fix style bug in prev. commitache2002-08-121-2/+1
* Fix su job control (recently introduced for PAM cleanup purposes) to notache2002-08-121-3/+6
* Back out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".ache2002-08-071-1/+3
* Remove tcsetpgrp() stuff across suspend/continue because it cause upper levelache2002-07-091-3/+1
* This is Alexander Kabaev's patch to solve the signal problem with sudillon2002-06-261-0/+11
* Backout 1.51 on DES's request.dillon2002-06-261-2/+0
* Make our child the leader of its own process group to avoid receivingdes2002-05-291-0/+2
* Drive-by whitespace cleanup & add NAI copyrightdes2002-05-281-2/+9
* Belatedly OpenPAMify. I forgot this patch in last night's megacommit.des2002-03-061-2/+2
* Don't set PAM_RHOST, this is a local login.des2002-01-241-5/+1
* Reinstate complete (and now correctly functioning) WARNS=2.markm2001-09-121-6/+10
* Back out (with prejudice) the last WARNS=2 fix. I cannot understandmarkm2001-09-071-10/+6
* WARNS=2 fixes.markm2001-09-041-6/+10
* Very minor stylistic nit.markm2001-08-201-2/+1
* Substitute ARGSTR in-place.ru2001-08-151-4/+3
* Fixed the usage() string.ru2001-08-151-1/+3
OpenPOWER on IntegriCloud