Commit Graph

2430 Commits

Author SHA1 Message Date
christos 1e38977381 Resolve conflicts 1998-05-02 14:31:10 +00:00
christos 30402427a8 Import the readme files, setup and FAQ 1998-05-02 14:21:43 +00:00
christos 57daeb39d8 Resolve conflicts. 1998-05-02 14:19:13 +00:00
thorpej 932b5508ac Note net.inet.tcp.ack_on_push. 1998-05-02 04:20:18 +00:00
tv 95fadaa10e Add CLEANFILES+=gram.h as noticed by tron (PR 5383) 1998-05-01 13:02:09 +00:00
thorpej 723fb3cccc Add support for specifying the send and receive socket buffer sizes. This
is especially useful for TCP servers which must specify the receive
socket buffer size before the connection is made so that the connection's
window scale factor can be properly advertised.

Example /etc/inetd.conf configuration line:

shell stream tcp,rcvbuf=1m nowait root /usr/libexec/rshd rshd

That line will cause the rshd to advertise a 1 megabyte window, which could
improve the performance of an rcp in some situations.
1998-05-01 01:57:26 +00:00
thorpej e1a08a949e Note the existence of net.inet.ip.mtudisctimeout. 1998-04-30 21:46:00 +00:00
thorpej 44bd3f51fe Note the presence of net.inet.tcp.: mssdflt, sack, win_scale, timestamps,
compat_42, cwm, cwm_burstsize.
1998-04-30 21:36:03 +00:00
fair 1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
fair c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
fair c462d9c37d add documentation of /etc/ptmp and vipw failure modes per PR#5340 1998-04-27 21:10:25 +00:00
kleink 70ae83a7e1 Use <sys/param.h> instead of <sys/types.h>: <netdb.h> and MAXHOSTNAMELEN are
not related to each other, and it should not be assumed that inclusion of the
former makes visible the latter.
1998-04-23 19:32:40 +00:00
tv 5c58321a6f mk-amd-map severe breakage fixes as pointed out by noud@knot.nl:
- use dbm_close() so that the file actually gets written to disk
- rename %s.db, not *s.{dir,pag}; we use Berkeley DB, not ndbm.
1998-04-23 11:51:07 +00:00
agc 62aaf11f0b In isdir() function, use lstat(2) instead of stat(2), so that we do
not traverse through any symbolic link.  This fix means that packages
which make symbolic links to directories can now be de-installed.
1998-04-23 10:40:04 +00:00
mrg b7e46f9175 support /var/run/rarpd.pid 1998-04-23 02:48:33 +00:00
ross aaa420bc1f Restore lost line breaks before .Nm. (David Brownlee PR# 5343)
Two more cases fixed, also.
1998-04-22 06:24:55 +00:00
frueauf 6326329eba Don't use "+CONTENTS" direct, use CONTENTS_FNAME instead. 1998-04-20 08:27:45 +00:00
tv 2fd6f54874 Make the yacc rules work on 1.3 as well as -current without updating the
.mk files:  build the .c and .h files manually.  This should be removed
after the next release.  XXX.
1998-04-16 18:47:05 +00:00
mrg aebb3d6c08 add a -l (logging) switch. 1998-04-15 15:06:06 +00:00
fair c0ad440bd6 fix my boo-boo documented by PR#5293 1998-04-14 20:20:16 +00:00
fair c85ab8db8e A few more error message changes for better information. 1998-04-14 04:51:19 +00:00
fair dd15ee1ce0 Handle the problem cited in PR#1328 (no checking for I/O errors).
Improve some of the error messages to provide more accurate information.

Repaired a bug by inspection (function pointer reference through a
free'd DB structure!! How did this *ever* work?)
1998-04-13 23:12:45 +00:00
kml fcf0227962 Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface.  Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
1998-04-13 21:18:19 +00:00
lukem 77a346fea2 use COPTS not CFLAGS 1998-04-13 14:42:03 +00:00
tv a40db43400 missed 3 lines on sync 1998-04-12 21:38:58 +00:00
tv 3d6a264267 sync with Makefile.inc 1998-04-12 21:09:35 +00:00
tv 5321eb363d PIC systems no longer build libamu.a; depend them on libamu_pic.a. 1998-04-12 20:45:05 +00:00
thorpej f483a368ce Fix ptrdiff type lossage on Alpha. 1998-04-09 17:17:28 +00:00
tv 99a2626b0e Make use of NOSTATICLIB addition to <bsd.lib.mk> 1998-04-09 00:52:06 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv e1463ca305 sync with install changes from amd/Makefile 1998-04-07 19:33:09 +00:00
tv ecaca3d6a7 No build environment is installed for libamu; install only the shared
library, and only if on a non-NOPIC system.
1998-04-07 16:36:02 +00:00
mrg 261b062b1d oops, finish previous. 1998-04-07 14:05:07 +00:00
mrg 43b364f518 refuse an inverse query if the length is not INT32SZ. from vix. 1998-04-07 04:51:36 +00:00
cgd 9ed503832c offset and length should be u_char. 1998-04-03 05:06:04 +00:00
kleink 53ec1d7147 Need <time.h> for ctime() prototype. 1998-04-02 11:55:52 +00:00
kleink 36443aa874 Need <time.h> for strftime(), localtime() and time() prototypes.
<sys/file.h> and <sys/time.h> are not required, so remove these inclusions.
1998-04-02 11:54:03 +00:00
kleink 3b86eeb257 Include <time.h> unconditionally, as there always dependencies on its
definitions.
1998-04-01 20:59:08 +00:00
christos aa476ac7ea WARNSify [patches sent to Udel] 1998-04-01 15:01:17 +00:00
mycroft c22d2f71a5 Change return type of main to int. 1998-03-31 02:36:13 +00:00
hubertf 4ca037fe41 Fix handling of doubleclicking on installed packages.
With many thanks to Alistair Crooks for his TCL knowledge.
1998-03-30 21:37:47 +00:00
mrg eae61447e8 remove unused extern. 1998-03-30 03:33:05 +00:00
mrg 90abe03d9c use static int instead of static 1998-03-30 02:37:43 +00:00
mrg ef395ee2f1 remove unused extern. 1998-03-30 02:34:33 +00:00
mrg 05f0779a44 work around gcc warning. 1998-03-30 02:33:37 +00:00
mrg 98d6cbcc95 use static int instead of static 1998-03-30 02:33:23 +00:00
mrg f95b2a874c main returns int. 1998-03-30 02:31:22 +00:00
mrg 5ddb76d383 remove some register 1998-03-30 02:29:14 +00:00
mrg b5464ed20a main returns int. 1998-03-30 02:27:56 +00:00
mycroft 553452c450 Display the TS_DIALOUT flag. 1998-03-29 12:24:44 +00:00
agc efa0b41486 Clean up some lint warnings about return value of errx. 1998-03-27 12:17:58 +00:00
agc ac649ec457 When reading the PLIST file, don't abort everything if you don't
recognise an '@' command - just flag the line as being unrecognised,
and move to the next line.
1998-03-27 12:16:26 +00:00
thorpej eb671b4eaa Build with -ansi, prevents a parse error apparently generated because
some versions of GCC have a `restrict' keyword (??).
1998-03-26 07:07:55 +00:00
thorpej 407311a4bc Fix types lossage on Alpha. 1998-03-26 06:44:19 +00:00
fair d0121866f7 These changes from PR#3190 (second set of diffs) deal with rarpd
refusing to work in "-a" mode on a host with more than one Ethernet,
and at least one non-ethernet device. Frankly, the interface
initialization loop is badly structured and should be rewritten,
and these changes do nothing to fix that. However, they oughta do
the requested job, quick & dirty.
1998-03-23 08:44:07 +00:00
mycroft b4d89784ef Reset the SIGPIPE handler to SIG_DFL after forking. 1998-03-21 06:25:37 +00:00
mycroft f9e1d205d7 Replace TS_WOPEN with t_wopen, per mail on tech-kern. 1998-03-21 04:40:24 +00:00
lukem 58c55f6451 add missing "${.CURDIR}/" 1998-03-20 07:43:22 +00:00
bouyer 67010392f2 Add support for non-native byteorder FFS.
The quota file is still in host byteorder. quotacheck needs to be re-run
when a FS has been moved to an architecture to another. Running quota
on a non-native byteorder ffs is considered a marginal case.
1998-03-18 17:22:38 +00:00
bouyer 8e1f7e498a Add support for non-native byteorder FFS. 1998-03-18 17:19:14 +00:00
mikel 1dae4d16e9 (8C) -> (8) 1998-03-18 06:42:32 +00:00
lukem 29a031c322 migrated to ../bootp/bootptest 1998-03-15 01:20:47 +00:00
lukem e5958978a2 migrated to ../bootp/bootpgw 1998-03-15 01:20:02 +00:00
lukem 593654b5f2 migrated to ../bootp/bootpef 1998-03-15 01:19:03 +00:00
lukem 720665de16 remove (repos copied to ../bootp/*/) 1998-03-15 01:17:54 +00:00
lukem 9311657fdc replace bootp{d,ef,gw,test} with bootp 1998-03-15 01:16:32 +00:00
lukem 7b9e551896 move (using repository copy) bootp{d,ef,gw,test} into a common hierarchy
with a libcommon - to stop unnecessary recompilation of the source.
add Makefile* to suit.
1998-03-15 01:13:24 +00:00
lukem 0cab215df5 remove WARNS=0 1998-03-14 04:43:06 +00:00
lukem 9493bb7939 warnsify 1998-03-14 04:39:53 +00:00
thorpej 294dcf56b9 Fix typos lossage on the Alpha. 1998-03-11 17:44:02 +00:00
fair 95f309a67f adjust documentation to reflect reality per PR#4859 1998-03-11 05:40:06 +00:00
christos 50e0331ef5 Resolve conflicts. 1998-03-06 18:17:13 +00:00
christos eed5e96410 Import xntp 3-5-92 1998-03-06 16:32:56 +00:00
tron 924093ca0b Include unistd.h to import declaration of getopt(3) 1998-03-05 23:23:29 +00:00
christos 15a8029930 WARNSify 1998-03-05 18:23:31 +00:00
christos b1af8732b4 Remove WARNS=0 1998-03-05 18:03:35 +00:00
christos 150424aaf5 WARNSify 1998-03-05 14:02:00 +00:00
cgd 83202075dd allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-04 01:38:57 +00:00
cgd af8d9682ca NOLINT isn't necessary here, so don't define it. 1998-03-04 01:38:38 +00:00
cgd 0c1dd0740a update for ipf/Makefile LDSTATIC changes 1998-03-03 19:24:27 +00:00
cgd 5de00677ba fix the "Back out the ipnat static change." commit (rev 1.18). Bernd
accidentally clobbered ipf's LDSTATIC/BINDIR defn's, instead of ipnat's.
(Noticed when he reminded me to update the script for my ipf LDSTATIC
changes.)
1998-03-03 19:23:16 +00:00
thorpej a14f3dad40 Fix printf formats on Alpha: cast quads to long long for printing w/
%qd.
1998-03-03 07:35:50 +00:00
cgd 8aaf609a0a allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:42:25 +00:00
fvdl 6559ed7a58 Fix these for ufs/ufs/ufsmount.h usage. Missed in the merge. 1998-03-01 23:48:58 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
perry 9724404197 gettable is long obsolete. 1998-02-27 16:00:17 +00:00
perry ae09a69c7e htable is long obsolete. 1998-02-27 15:59:19 +00:00
perry 56bd64fcbd remove gettable and htable, + resort/reformat 1998-02-27 15:57:07 +00:00
christos 0499e8aedb WARNSify 1998-02-22 12:17:31 +00:00
fvdl ed4bb065a1 When getting an unmount request from a non-reserved port, don't loop
forever.
1998-02-21 23:32:19 +00:00
mycroft 4462053ab3 Fill in missing (default) mmap(2) flags. 1998-02-20 09:27:18 +00:00
wrstuden 6cd4f9d65d Up the minor number for libamu.so to 1. The update in January
added new routines, so we have a new interface.

Aproved by christos.
1998-02-20 07:43:09 +00:00
thorpej 129a20a049 Fix a think'o that caused "config netbsd root on ? type ffs" to fail.
Fixes PR #5021.
1998-02-20 00:11:02 +00:00
thorpej a522c869e5 Fix a few semantic problems wrt. file-system, deffs, and options, pointed
out by Chris Demetriou.
1998-02-19 06:13:51 +00:00
thorpej d12d850cfe Add a "deffs" keyword, similar to "defopt", that defines file systems.
Only things defined with this keyword will be allowed on "file-system"
lines in the kernel config files.

By default, -D... directives for file systems are not generated, since
they are not needed for most file systems now that vfs_conf.c is gone.
However, some file systems must have dependencies generated on them
(e.g. NFS, UNION).  So, provide a way to specify an option file for
these file systems.
1998-02-19 00:27:00 +00:00
thorpej ed063c61d5 Emit the default set of file systems as vfs_list_initial[]. 1998-02-18 07:00:27 +00:00
perry ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +00:00
thorpej ea4d1b7ea1 Rather than using a separate "class" keyword, treat device classes like
special attributes.  From Chris Demetriou.
1998-02-16 22:05:35 +00:00
lukem e8664c7183 revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
lukem e2d55944f4 minor knf 1998-02-10 07:04:21 +00:00
lukem 80d1e4afc8 use %d instead of %ld to print rpc version 1998-02-10 06:46:10 +00:00
lukem f18da82e69 use u_int32_t instead of u_long 1998-02-10 06:32:42 +00:00
mrg 8a1743897f nit: order rcsid/sccsids 1998-02-10 03:50:24 +00:00
mrg 92e05e0e2c add a verbose (-v) flag for when adding/deleting arp entries. 1998-02-10 03:45:05 +00:00
mrg 279ce528ce add -DUVM to CPPFLAGS if defined(UVM) 1998-02-09 06:25:15 +00:00
thorpej b06b31d8e2 Sendmail configuration for zhadum.netbsd.org. 1998-02-08 06:57:00 +00:00
cgd 0aa4deb7f3 lint 1998-02-07 00:03:19 +00:00
jonathan 0ed5e261c4 Tell user to use xnptdc to view kern.ntptime, as a workaround until
sysctl and libntp agree about "progname".
Based on a patch suggested by Soren S. Jorvang <soren@t.dk> in PR bin/4433.
1998-02-06 21:18:46 +00:00
mikel e134619946 must track changes to src/sys/lkm/netinet/if_ipl/Makefile here 1998-02-06 06:44:47 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
gwr f4889dbff7 Begone KERNBASE, and KERNTEXTOFF too! 1998-02-05 03:46:46 +00:00
thorpej 7137b45cd0 Cast time_t to long for printing. 1998-02-04 21:51:44 +00:00
christos 6efeed277f Don't hardcode 1900 1998-02-04 15:29:19 +00:00
christos c27c461ff9 Use strftime. 1998-02-04 15:27:28 +00:00
christos 9f5b6131b3 Y2K fixes: in arpadate (currently not used) format the time using strftime,
using the format other mail programs use.
1998-02-04 15:27:19 +00:00
perry 75a6e03535 change includes to fix compiler warning 1998-02-03 04:55:59 +00:00
perry 6cbd3cb0ff change #ifdef around include to fix compiler warning 1998-02-03 04:51:29 +00:00
perry a12002f43a change includes to fix compiler warning 1998-02-03 04:39:14 +00:00
frueauf fbebae54cf check_error uses type "const char *" instead of "char *" as argument.
reflects recent change to cron.h.
1998-02-01 14:36:36 +00:00
christos cced5db98f Determine endian-ness and define WORDS_BIGENDIAN if appropriate. 1998-02-01 13:48:08 +00:00
christos 1773ee5638 Add -DLBL_ALIGN to handle architectures that need memory alignment. 1998-02-01 13:46:53 +00:00
christos 12a6e4b92e Add missing ARGS_MAX 1998-01-31 15:07:14 +00:00
christos 0335fca704 Remove crappy globbing stubs. If the feature needs to be added it should
be using glob(3).
1998-01-31 14:44:47 +00:00
christos 9ac7be0692 Warnsify:
- add __RCSID
	- remove nested comments
	- remove register and auto keywords
	- change into posix signals
	- fix prototypes
1998-01-31 14:40:13 +00:00
veego 48b59e11c5 Back out the ipnat static change. 1998-01-24 19:15:04 +00:00
veego ccd79b8dca Update for the static ipnat programm. 1998-01-23 22:34:12 +00:00
veego a0f14625a7 Build ipnat statically and install it into /sbin. Fix pr4879. 1998-01-23 22:32:08 +00:00
lukem 93480d2ed5 use .Tn YP instead of YP 1998-01-23 13:38:24 +00:00
lukem a985fee84c * -insecure is for binding to insecure *servers*, not insecure *clients*.
noted by Bill Studenmund <skippy@macro.stanford.edu>.
* use .Tn YP instead of YP
1998-01-23 13:36:57 +00:00
mikel 332409ce59 update to match new reality (/usr/lib/supfiles -> /etc/supfiles) 1998-01-21 09:10:40 +00:00
mikel ef33c3eddc Add -DEE_XXX to CPPFLAGS so that system supfiles are obtained from
/etc/supfiles instead of /usr/lib/supfiles.
1998-01-21 09:07:04 +00:00
christos 9fab7a4ffa PR/4837: Jeff Thieleke: inetd does not compile without libwrap. 1998-01-20 16:44:22 +00:00
hubertf fdbf4d9eec Quote filenames handed off to tar, chmod, chown. (Fixes possible security
problem discovered while looking at pkgsrc/audio/tracker).
1998-01-19 00:24:03 +00:00
christos 02f88f3555 PR/4835: Izumi Tsutsui: rarpd does not set the link level address length.
While there change "6" to "ETHER_ADDR_LEN"
1998-01-17 11:38:36 +00:00
cgd 27ef674380 (char)-1 != (int)-1 on unsigned-char machines. 1998-01-15 22:58:28 +00:00
enami 491b9bd801 Remove redundant assignment. 1998-01-14 01:15:24 +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
thorpej bc1733bc88 Add code to emit the cfdriver structures into ioconf.c. This requires
a change to the config grammar, to specify a device's class (i.e. DV_xxx)
like:

device	sd class disk: ...

Also emit an ioconf.h, which contains extern declarations of the
cfdriver structures.

While I'm here, add support for specifying multiple options per defopt
line, as well as specifying the file name in which the options will
appear.

defopt	foo bar baz

generates "opt_foo.h", "opt_bar.h", and "opt_baz.h"

defopt	opt_mumble.h foo bar baz

generates "opt_mumble.h" which contains all three options.

Also, clean up and fix some bugs in the code that generates header files.
1998-01-12 07:37:40 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
perry 4db5a54188 RCS Id Police. 1998-01-09 06:06:02 +00:00
lukem 028802f851 document net.inet.ip.anonport{min,max} 1998-01-05 09:59:03 +00:00
lukem 0acc42ca87 fix rcsid 1998-01-05 05:59:45 +00:00
thorpej 1679a04502 Change a couple of exit()s to _exit(), to make it safe for vfork(). 1997-12-31 06:59:54 +00:00
mikel 1f38aba134 auto-rebuild /etc/aliases.db to match 'traditional' behavior,
suggested by perry
1997-12-22 05:53:06 +00:00
kleink b90b902782 Update a comment: neither does POSIX define the `-h' option, nor does it
define symbolic links.
1997-12-21 18:34:30 +00:00
kleink 65d1679f46 Add a paragraph to document the clearing of the setuid and setgid bits unless
invoked by the super-user.
1997-12-21 18:11:19 +00:00
christos 0c52e80b3e Install the docs. 1997-12-21 16:14:41 +00:00
christos 24209f3874 Obj dir and groff fixes. 1997-12-21 16:00:49 +00:00
christos 8f09e5bcdb Use obj dirs 1997-12-21 15:53:38 +00:00