Commit Graph

42 Commits

Author SHA1 Message Date
mrg de11d87641 introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
wiz a1961053ec Sort sections. New sentence, new line. 2018-11-14 18:28:18 +00:00
christos 782f459947 FILES section from Dan Plassche 2018-11-12 00:50:54 +00:00
abs 5b096803d3 Install the sample slip.login to share/examples/slip/slip.login 2018-11-09 21:33:50 +00:00
shm 3d9e7389b4 Add USE_FORT support. 2016-07-13 13:10:04 +00:00
christos 0a77b69ab6 fix unused variable warnings. 2013-10-19 17:16:37 +00:00
joerg f796930c37 static + ANSIfy + __dead 2011-08-30 20:42:22 +00:00
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
dsl 9122339b9f Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
fvdl cddedd60f8 Don't compare an int to NULL. 2003-10-21 02:53:57 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun 881cb512fa strncpy -> strlcpy to ensure string termination 2002-11-16 04:29:01 +00:00
wiz 60ea852eba Use standard headers. 2002-02-02 01:51:20 +00:00
wiz aa3d785edc Add section to a .Xr. 2001-04-03 11:28:44 +00:00
cgd 82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
lukem f0ccfb9aa0 skip past / if we found one in argv[0] 2001-01-11 01:45:07 +00:00
hubertf 57d0b9269d RCSID police 1999-02-15 03:59:13 +00:00
mrg 5a91a6622c KNF + check for fork failure. 1998-07-04 21:04:02 +00:00
hubertf 9bc65afc99 Check length of given user name to (slip)login. Fixed the exploit in
http://www.rootshell.com/archive-Rbf4ahcmxzw5qn2S/199801/sliplogin.c.
1998-01-12 08:59:56 +00:00
lukem 745600d863 WARNSify 1997-10-17 13:36:36 +00:00
mrg 18b882a973 merge lite-2 1997-10-17 08:49:29 +00:00
mrg a9437d1189 be safe with buffers. 1997-04-13 13:36:46 +00:00
explorer 22018a843b Reference the new sl(4) page 1996-08-10 21:26:42 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
cgd 8527838766 do the right thing with positional parameters 1994-06-30 07:50:26 +00:00
cgd 5952d4f8bf pull in signal.h, rather than sys/signal.h 1994-05-14 21:43:45 +00:00
cgd 0099f99348 more cleanup -- names instead of numbers, err/warn 1994-04-24 07:09:09 +00:00
cgd ddd4b762f4 DTRT on one error exit -- more necessary, much more... 1994-04-06 08:34:46 +00:00
cgd 90812e91d8 fix, and make examples better. 1994-03-10 00:06:00 +00:00
cgd 532d2bb3fc get SLIOCGUNIT from the right place 1994-02-10 18:01:28 +00:00
cgd a33e17ef28 move config files into /etc/sliphome, and note that and other changes in docs 1993-12-10 14:18:00 +00:00
cgd 9fa00062f5 deal with change in setting of slip params 1993-12-10 13:19:12 +00:00
mycroft ffa63f58ac Eliminate a compiler warning. 1993-12-07 23:05:26 +00:00
mycroft 1676bc343b Use sys_signame[]. 1993-08-06 22:18:26 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
mrg 14b1a9b7a9 4.4BSD-Lite2 1993-07-19 16:48:16 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
mycroft 3558cc99e4 Correct checking of setsid() return value (from bvs@bitblocks.com). 1993-05-10 03:59:43 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00