summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2006-08-19Don't shadow err(3).Ray Lai
Store strlen() results in a size_t. Add __dead to both usage() and logerr(). Get rid of /* NOTREACHED */. Get rid of extraneous _exit(). Calls err(3) on getpeername failure. ``reads well to me!'' avsm@
2006-08-17Instead of doing all this pointer and buffer arithmetic, generate stringRay Lai
using asprintf and strlcat it. Declare usage __dead instead of void in the prototype but static void in the definition. OK millert@
2006-08-17recv(2) returns a ssize_t, so match cc with it.Ray Lai
st.st_mtime is a time_t, so match utmpmtime with it. Check for -1 instead of <0 for some system calls. Remove pointless casts. OK dhill@ and millert@
2006-08-15-r only applies to blacklists. ok beck@Kjell Wooding
2006-08-14Document debug mode. OK jmc@Todd C. Miller
2006-08-14Fix typo introduced in rev 1.16; fixes "login" authentication style.Todd C. Miller
2006-08-12spelling: elminateKevin Steves
2006-08-06Do not take shortcuts when the PLT size is 0; makes emacs work again on alpha.Mark Kettenis
ok drahn@
2006-08-06Work around an issue found when working with gcc3 on alpha,Dale Rahn
gcc2 nomally calls functions thru the gp (basically a function pointer), but gcc3 frequently calls directly to the plt. gcc2 does occasionally directly call to the plt. Currently how the plt/pltgot is fixed up on lazy binding, this will cause the dl_bind code to be called on each plt call causing a symbol resolution and plt fixup. This diff works around the problem partially by recognizing that a pltgot entry is already fixed and skips the symbol resolution. Since the pltgot is what is modified do not add PROT_EXEC permission to the mapping. While this is not an ideal fix, kettenis and I think it is better than before.
2006-07-28Only stop processing prebind deletion if an actual error occurs.Dale Rahn
2006-07-28Make tftpd atoi() free.Marcus Glocker
ok claudio@
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespaceTheo de Raadt
export of the protocol. you shall not add non-protocol stuff to such a file, period.
2006-07-26Mini KNF. No binary changes.Marcus Glocker
2006-07-26Fixing several timeout quirks at tftpd and tftp:Marcus Glocker
- move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition. - tftpd and tftp did count the total retransmission time in retries instead in seconds. fixed. - tftpd rexmt timeout was hardcoded by a define and therefore didn't changed when the timeout option was sent. fixed. - limit total retransmission timeout in tftp to also 255 seconds. - replace obvious atoi()'s by strtonum(). ok claudio@
2006-07-21- fix protocol for write requests (put) which come with options.Marcus Glocker
- revert realloc() by fix malloc() because the code relies on a fix packet buffer address. ok claudio@
2006-07-20no need for .Pp after sections;Jason McIntyre
2006-07-20Adjust BUGS section; we do support blocksize negotiation for tftpdMarcus Glocker
now. Remembered by jmc@
2006-07-20Add blksize option support for tftpd according to RFC 2348.Marcus Glocker
Note: While testing the new option, we noticed that our stable tftpd has a problem if any option is set (e.g. tsize) and you try to put a file. This has nothing todo with our new blksize option. We fix this as next. ok claudio@
2006-07-14Fix some syslog(3) messages. Prototype usage() by __dead void.Marcus Glocker
ok claudio@
2006-07-14knf. no binary change.Marcus Glocker
ok claudio@
2006-07-08jmc and I both pronounce ldconfig as ell-dee-config, so it should beMichael Knudsen
`an ldconfig utility', not `a'.
2006-06-26build cleanly with -Wall -WerrorDale Rahn
2006-06-22These two env vars don't have a `=' in their name.Michael Knudsen
ok jmc
2006-06-21minimal KNF and spacingJasper Lievisse Adriaanse
ok millert@, otto@
2006-06-19sort usage();Jason McIntyre
2006-06-19tweak the -S stuff;Jason McIntyre
2006-06-16From Markus Glockner <markus@nazgul.ch>, adds logging of refusalsBob Beck
and debug level logging of transfers to tftpd. all the work done by markus, I only tested and nitpicked. ok mbalmer@
2006-06-16Add comment warning not to rename _dl_bind, since gdb(1) knows about it.Mark Kettenis
ok (quite a while ago) drahn@
2006-06-15When writing a TXTBUSY file, make certain to preserve all file metadata,Dale Rahn
also add -S flag, like install's -S flag to safely perform operations. Getting it in so it gets tested.
2006-05-18spacingTheo de Raadt
2006-05-17prep prebind_newfile() for reuse by dale in prebind; ok drahnTheo de Raadt
2006-05-15add an -h option to override the hostname that is reported in thejoshua stein
SMTP banner ok beck@
2006-05-14use __mips64__Theo de Raadt
2006-05-13some knf and delinting; ok drahnTheo de Raadt
2006-05-13spacingTheo de Raadt
2006-05-13delete case for ?; cdp_xe@gmx.netTheo de Raadt
2006-05-12do not call abort()Theo de Raadt
2006-05-12document new -P optionTheo de Raadt
2006-05-12move the prebind code into ldconfig as the -P option.Theo de Raadt
next we will want to enhance the verbose mode, fix error handling, and change the prebind delete code to use the same directory handling code ok drahn
2006-05-12Commit the rest of the api change that started in prebind.Dale Rahn
2006-05-12fix 'merge mode'.Dale Rahn
#if 0 removal
2006-05-12Major code rewrite, now uses about 1/6th of the memory it used before.Dale Rahn
produces logically the same output (just a few fields reordered).
2006-05-12one less Ar;Jason McIntyre
2006-05-11use CFLAGS with -I to reach for prebind.hTheo de Raadt
2006-05-11move prebind_strip(8) into ldconfig as the -D option; ok drahnTheo de Raadt
2006-05-11move the DESIGN section into the main body of the text, plus tweaks;Jason McIntyre
2006-05-11fix some type definitionsDavid Hill
ok beck
2006-05-10fix a bunch of missing [mc]alloc failure checks by using xcalloc/xmalloc,Dale Rahn
also a couple of invalid allocation/references while at it.
2006-05-10pretty this up; ok drahnTheo de Raadt
2006-05-08prettierTheo de Raadt