summaryrefslogtreecommitdiff
path: root/libexec/talkd
AgeCommit message (Collapse)Author
2016-08-26Pull in <sys/time.h> for gettimeofday()Philip Guenther
ok deraadt@
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
Feedback millert@ kettenis@
2016-02-05pledge(2) for talkd(8):mestre
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be remote, or not, but since we will never know beforehand then it'll always need inet and dns to resolve the hostnames ok jca@ and also discussed with tb@
2016-02-01Remove unused headers and sort the remainingmestre
OK tb@
2015-11-25rename internally to ntalkd, after the binary; this way bothJason McIntyre
"man talkd" and "man ntalkd" work; issue reported by sobrado; fix from schwarze
2015-11-21remove mlinks for aliases: ntalkd, mfs, updatedbJason McIntyre
ok schwarze
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-10-08do not need a cast from void *Theo de Raadt
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-11-27unsigned char for ctypeTheo de Raadt
ok okan kettenis
2013-04-17do not mix concepts of gettimeofday(), tv_sec, and localtime() in aTheo de Raadt
useless fashion.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-03-17fix a few off-by-ones; from NetBSD; ok deraadt@Otto Moerbeek
2005-10-14Use queue macros instead of directly accessing fields. ok millert@ pat@Otto Moerbeek
deraadt@
2004-11-09Avoid use after free(), slight optimization. From Patrick Latifi.Otto Moerbeek
ok tom@ deraadt@
2004-08-08spacingTheo de Raadt
2004-03-10spacesTheo de Raadt
2004-03-10close file on error paths. from Patrick LatifiTed Unangst
2003-07-29spacesTheo de Raadt
2003-06-26simple protosTheo de Raadt
2003-06-11ansi cleanup; ok ian markusTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-11-25avoid size_t -> int conversion. style nit for sizeof(). David KrauseJun-ichiro itojun Hagino
2002-10-08sa_family on wire is network byteorder. from Alexander Yurchenko ↵Jun-ichiro itojun Hagino
<grange@rt.mipt.ru>
2002-09-25- "resposne" is used without initialization, so zero-fillJun-ichiro itojun Hagino
- sendto(2) performed with osockaddr, so avoid that - reject anything other than AF_INET based on patch from xs@kittenz.org. deraadt/millert ok
2002-09-24Allocate vis_user on the stack instead of using malloc(). ThisTodd C. Miller
way we don't have to worry about malloc() failure. Also closes a memory leak since vis_user was never free()d. Lack of malloc() checking pointed out by Peter Werner.
2002-09-06use socklen_t more; henning okTheo de Raadt
2002-07-07typos/grammar/better wordsJan-Uwe Finck
in comments.
2002-07-03 add a missing newline to an error message.Vincent Labrecque
from Jean-Francois Brousseau <krapht@secureops.com> ok deraadt@
2002-06-21o Use *_FILENO defines instead of numbersTodd C. Miller
o Kill sockt global, it is not needed o Use STDOUT_FILENO as the 1st arg to sendto(). Previously we used sockt in sendto() which only worked because a) globals are intialized to 0 and b) inetd sets up fds 0-2 dup'd to the same thing so it didn't matter that we were sending to stdin, not stdout.
2002-05-22Fix last commit.Todd C. Miller
2002-05-22Fix some ut_line manipulation pointed out by Moritz Jodeit.Todd C. Miller
Fixes from Theo and myself.
2002-05-22typo; moritz@jodeit.orgTheo de Raadt
2002-05-22whack sprintfTheo de Raadt
2002-05-22strlcpy sprinklingTheo de Raadt
2002-05-21KNFTheo de Raadt
2002-05-16KNFTheo de Raadt
2002-02-19Fix gethostname() usage.Mike Pechkin
deraadt@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07kill more registers;Mike Pechkin
millert@ ok
2001-07-08-WallTheo de Raadt
2001-01-11save_errno in signal handlerTheo de Raadt
2000-10-10need more size to big_buf for line termination (\r\n).Jun-ichiro itojun Hagino
2000-07-06use %s with fprintfTheo de Raadt
2000-03-28need an ntalkd man page, obviouslyTheo de Raadt
1999-11-29back out TAILQ_FOREACH - not portable, deraadt@David Leonard
1999-11-29use TAILQ_FOREACH, ok mickey@David Leonard