aboutsummaryrefslogtreecommitdiff
path: root/libexec/talkd/process.c
Commit message (Collapse)AuthorAgeFilesLines
* libexec: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-3/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* libexec: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-2/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-171-5/+1
| | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-201-2/+0
| | | | | | | | | | | | | In addition to adding missing `static' keywords: - bin/dd: Pull in `extern.h' to guarantee consistency with source file. - libexec/rpc.rusersd: Move shared globals into an extern.h. - libexec/talkd: Move `debug' and `hostname' into extern.h. - usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree. - usr.bin/m4: Move `end_result' into extern.h. - usr.sbin/services_mkdb: Move shared globals into an extern.h. Notes: svn path=/head/; revision=241777
* Port all apps in libexec/ from libulog to utmpx.Ed Schouten2010-01-131-2/+1
| | | | Notes: svn path=/head/; revision=202210
* Modify the sources to make WARNS=6 work.Ed Schouten2009-12-261-2/+2
| | | | Notes: svn path=/head/; revision=201022
* Let talkd use utmpx instead of utmp.Ed Schouten2009-12-251-19/+12
| | | | | | | | Because strings are null terminated now, there is no need to copy ut_line into a separate buffer first. Also enable WARNS. Notes: svn path=/head/; revision=200983
* Prevent usage of nested externs.Xin LI2005-05-061-1/+2
| | | | Notes: svn path=/head/; revision=145967
* o Move externs to extern.hWarner Losh2002-02-051-19/+5
| | | | | | | | | | | o Use new-style prototypes exclusively rather than the old foo() style. o Use new-style function definitions. o remove register o make functions passed to signal have the right signature. o do minor const poisoning. Notes: svn path=/head/; revision=90261
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Use err(3). Add protos for -Wall.Philippe Charnier1997-12-021-10/+24
| | | | Notes: svn path=/head/; revision=31491
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* add forgotten $Id$Wolfram Schneider1996-09-221-0/+2
| | | | Notes: svn path=/head/; revision=18471
* Here is a patch to talkd which makes it send the request to the tty withJordan K. Hubbard1996-03-241-5/+10
| | | | | | | | the lowest idle time. Submitted by: loodvrij@gridpoint.com (Bruce J. Keeler) Notes: svn path=/head/; revision=14783
* Implement security fix correctly: via isprint()Andrey A. Chernov1994-10-221-5/+8
| | | | Notes: svn path=/head/; revision=3793
* A nice little security fix. Things must be rough in moscow...Poul-Henning Kamp1994-10-221-0/+5
| | | | | | | Submitted by: dima@demos.su (Dima Ruban) Notes: svn path=/head/; revision=3791
* BSD 4.4 Lite Libexec SourcesRodney W. Grimes1994-05-271-0/+219
Notes: svn path=/vendor/CSRG/dist/; revision=1592