Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove expired keys periodically so they don't remain in memory when | 2007-02-28 | 1 | -10/+14 | ||
| | | | | | | the agent is entirely idle, as noted by David R. Piegdon. This is the simple fix, a more efficient one will be done later. With markus, deraadt, with & ok djm. | |||||
* | sys/resource.h needs sys/time.h; prompted by brad@ | 2006-10-06 | 1 | -2/+2 | ||
| | ||||||
* | spaces | 2006-08-04 | 1 | -2/+2 | ||
| | ||||||
* | almost entirely get rid of the culture of ".h files that include .h files" | 2006-08-03 | 1 | -5/+3 | ||
| | | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step | |||||
* | move #include <stdio.h> out of includes.h | 2006-08-01 | 1 | -1/+2 | ||
| | ||||||
* | move #include <stdlib.h> out of includes.h | 2006-07-26 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/param.h> out of includes.h | 2006-07-26 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/time.h> out of includes.h | 2006-07-25 | 1 | -1/+2 | ||
| | ||||||
* | move #include <string.h> out of includes.h | 2006-07-22 | 1 | -4/+5 | ||
| | ||||||
* | move #include <time.h> out of includes.h | 2006-07-22 | 1 | -1/+2 | ||
| | ||||||
* | move #include <unistd.h> out of includes.h | 2006-07-17 | 1 | -1/+2 | ||
| | ||||||
* | move #include <errno.h> out of includes.h; ok markus@ | 2006-07-11 | 1 | -1/+2 | ||
| | ||||||
* | move #include <fcntl.h> out of includes.h | 2006-07-09 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/socket.h> out of includes.h | 2006-07-08 | 1 | -1/+2 | ||
| | ||||||
* | revert; i am on drugs. spotted by alexander AT beard.se | 2006-06-13 | 1 | -3/+3 | ||
| | ||||||
* | always use a format string, even when printing a constant | 2006-06-13 | 1 | -3/+3 | ||
| | ||||||
* | fix leak; coverity via Kylene Jo Hall | 2006-05-17 | 1 | -2/+2 | ||
| | ||||||
* | replace {GET,PUT}_XXBIT macros with functionally similar functions, | 2006-03-30 | 1 | -3/+2 | ||
| | | | | | | silencing a heap of lint warnings. also allows them to use __bounded__ checking which can't be applied to macros; requested by and feedback from deraadt@ | |||||
* | use strtonum() to parse the pid from the file, and range check it | 2006-03-28 | 1 | -6/+10 | ||
| | | | | better; ok djm | |||||
* | mark two more signal handlers ARGSUSED | 2006-03-25 | 1 | -1/+3 | ||
| | ||||||
* | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | 2006-03-25 | 1 | -0/+1 | ||
| | | | | Theo nuked - our scripts to sync -portable need them in the files | |||||
* | change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to | 2006-03-25 | 1 | -1/+1 | ||
| | | | | | | | | xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@ | |||||
* | introduce xcalloc() and xasprintf() failure-checked allocations functions | 2006-03-25 | 1 | -6/+3 | ||
| | | | | | | | | | | and use them throughout openssh xcalloc is particularly important because malloc(nmemb * size) is a dangerous idiom (subject to integer overflow) and it is time for it to die feedback and ok deraadt@ | |||||
* | annoying spacing fixes getting in the way of real diffs | 2006-03-20 | 1 | -2/+2 | ||
| | ||||||
* | RCSID() can die | 2006-03-19 | 1 | -1/+0 | ||
| | ||||||
* | move #include <signal.h> out of includes.h; ok markus@ | 2006-02-20 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/un.h> out of includes.h; ok djm@ | 2006-02-20 | 1 | -1/+3 | ||
| | ||||||
* | move #include <sys/resource.h> out of includes.h; ok markus@ | 2006-02-08 | 1 | -1/+2 | ||
| | ||||||
* | move #include <paths.h> out of includes.h; ok markus@ | 2006-02-08 | 1 | -1/+3 | ||
| | ||||||
* | move #include <sys/queue.h> out of includes.h; ok markus@ | 2006-02-07 | 1 | -1/+2 | ||
| | ||||||
* | no need to escape single quotes in comments, no binary change | 2005-10-30 | 1 | -2/+2 | ||
| | ||||||
* | ensure that stdio fds are attached; ok deraadt@ | 2005-09-13 | 1 | -1/+4 | ||
| | ||||||
* | factor out common permission-asking code to separate function; ok markus@ | 2004-10-29 | 1 | -14/+6 | ||
| | ||||||
* | don't unlink agent socket when bind() fails, spotted by rich AT rich-paul.net | 2004-10-07 | 1 | -1/+3 | ||
| | | | | ok markus@ | |||||
* | some signed/unsigned int comparison cleanups; markus@ ok | 2004-08-11 | 1 | -3/+4 | ||
| | ||||||
* | set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@ | 2004-06-14 | 1 | -3/+2 | ||
| | ||||||
* | kill a tiny header; ok deraadt@ | 2004-05-08 | 1 | -2/+1 | ||
| | ||||||
* | use SSH_LISTEN_BACKLOG (=128) in listen(2). | 2003-12-02 | 1 | -2/+2 | ||
| | ||||||
* | unexpand and delete whitespace at EOL; ok markus@ | 2003-11-21 | 1 | -2/+2 | ||
| | ||||||
* | 10X for mkdtemp; djm@ | 2003-10-14 | 1 | -2/+2 | ||
| | ||||||
* | replace fatal_cleanup() and linked list of fatal callbacks with static | 2003-09-23 | 1 | -13/+2 | ||
| | | | | | | cleanup_exit() function. re-refine cleanup_exit() where appropriate, allocate sshd's authctxt eary to allow simpler cleanup in sshd. tested by many, ok deraadt@ | |||||
* | provide a ssh-agent specific fatal() function; ok deraadt | 2003-09-19 | 1 | -6/+16 | ||
| | ||||||
* | more buffer allocation fixes; from Solar Designer; CAN-2003-0682; ok millert@ | 2003-09-18 | 1 | -8/+9 | ||
| | ||||||
* | add sc_get_key_label; larsch at trustcenter.de; bugzilla#591 | 2003-06-12 | 1 | -2/+2 | ||
| | ||||||
* | make agent constraints (lifetime, confirm) work with smartcard keys; ok markus@ | 2003-06-11 | 1 | -4/+21 | ||
| | ||||||
* | rename log() into logit() to avoid name conflict. markus ok, from netbsd | 2003-04-08 | 1 | -3/+3 | ||
| | ||||||
* | ssh-agent is similar to ssh-keysign (allows other processes to use | 2003-03-13 | 1 | -1/+12 | ||
| | | | | | private rsa keys). however, it gets key over socket and not from a file, so we have to do blinding here as well. | |||||
* | ssh-add -c, prompt user for confirmation (using ssh-askpass) when | 2003-01-23 | 1 | -8/+46 | ||
| | | | | private agent key is used; with djm@; test by dugsong@, djm@; ok deraadt@ | |||||
* | Add a -t life option to ssh-agent that set the default lifetime. | 2003-01-21 | 1 | -2/+14 | ||
| | | | | | The default can still be overriden by using -t in ssh-add. OK markus@ | |||||
* | allow root to access the agent, since there is no protection from root. | 2002-10-01 | 1 | -2/+2 | ||
| |