Commit Graph

2062 Commits

Author SHA1 Message Date
fair f23cf79ee0 Initialize "cp" to make gcc/sparc error go away:
quotaon.c:222: warning: `cp' might be used uninitialized in this function
1997-10-22 18:43:16 +00:00
christos 1175f55b11 Use a db(3) hash database instead of shared memory. Don't fork() to service
requests in the database when restarting.
1997-10-21 20:38:03 +00:00
is 3b81cd07b7 Only map 16MBytes of file, enough for some 16000 hosts on the LAN.
Stopgap fix for PR 4225 by Matthias Scheler (rpc.statd doesn't run on m68k).

XXX This should be done in a different way. XXX

Matthias proposes to use a PMAP capable of mapping more than 256 MB
per user process (You can do this by changing your vm_param constants
even now).

However, statd could use saner data structure to save on address space
easily. E.g., most host names will be much smaller than the allocated
1024(+1 for trailing zero) bytes. Using variable length names would
allow, depending on environment, a factor of 30 more hosts per address
space.

Btw, if anybody really needs more than 16k hosts handled by statd, the
data structure is unsuable anyway; currently, the array of entries is
linearly searched. Something like a DB_BTREE should be used.
1997-10-21 13:33:23 +00:00
mrg 6b8ca7ecc6 fix compile warning on the sparc (erik fair). 1997-10-21 06:40:40 +00:00
mellon 0cbb4ea470 NetBSD-style Makefile for statmsg 1997-10-21 00:04:47 +00:00
mellon 112397fa9d NetBSD-style Makefile for sysconfd 1997-10-21 00:03:54 +00:00
mellon 75ed7158ea Add sysconf.c 1997-10-21 00:02:55 +00:00
mellon 8f105dcd01 NetBSD 1.3 Alpha snapshot of ISC dhcp 1997-10-20 23:28:10 +00:00
drochner 24393e44bb Oops, mrg had a reason to use %ld format.
We really need a cast to print off_t values.
1997-10-20 18:42:17 +00:00
drochner 462ad8b47d fix printf format 1997-10-20 18:25:05 +00:00
drochner 41e3b9d2f4 The previous changes were not sufficient, we need more kvm reads. 1997-10-20 18:12:56 +00:00
drochner c111d4e6c2 make compile after NFS (struct nfsnode) changes 1997-10-20 17:32:51 +00:00
drochner 2b0cbc07da include <sys/cdefs> before __RCSID 1997-10-20 17:18:04 +00:00
veego 42d21d7042 Add a SEE ALSO section for other graphics manpages. 1997-10-20 14:31:18 +00:00
scottr 94cf433266 Add support for DTR/CTS flow control, from Bill Studenmund. 1997-10-20 08:07:47 +00:00
mycroft 6af5bbb01a Use S_IS*(), not S_IF*. 1997-10-19 19:53:54 +00:00
mycroft e8018f6da9 Use S_IS*(), not S_IF*. 1997-10-19 19:40:21 +00:00
mycroft 004f255040 Use S_IS*(), not S_IF*. 1997-10-19 19:27:40 +00:00
fvdl 88d9f0f6a9 Add a warning about exporting a filesystem using WebNFS and also exporting
it the normal way, read/write to specific clients.
1997-10-19 15:29:20 +00:00
mrg a62207fee8 fix compile warnings on the alpha. 1997-10-19 09:56:10 +00:00
mrg ca2afdd453 fix compile warnings on the alpha. 1997-10-19 09:39:35 +00:00
mrg e180ed08d5 fix compile warnings on the alpha. 1997-10-19 09:23:29 +00:00
kml 6b86b260cb change sysctl net.inet.icmp.mtudisc to net.inet.ip.mtudisc 1997-10-18 21:18:28 +00:00
mrg d71f6e87ae clean up, WARNS. 1997-10-18 17:31:35 +00:00
drochner 01a642fa68 The third argument to msync() got lost - bring it back. 1997-10-18 14:11:43 +00:00
lukem ffbc1b4bf5 deprecate register, s/bcopy/memmove 1997-10-18 11:38:26 +00:00
lukem b46ed65876 use memset instead of bzero 1997-10-18 11:37:45 +00:00
lukem e5d6d67c63 deprecate register, use warn/err 1997-10-18 11:37:10 +00:00
lukem 7e8074195e use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 11:27:49 +00:00
lukem 64bd1fd0d2 use memmove instead of bcopy 1997-10-18 11:23:55 +00:00
lukem 7f43427b52 use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy 1997-10-18 11:23:20 +00:00
lukem 22597304f5 use memset instead of bzero 1997-10-18 11:23:19 +00:00
lukem dd30ff553b use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy 1997-10-18 11:23:03 +00:00
lukem a13f0387b9 use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 11:18:39 +00:00
lukem de441420bd deprecate register, use err/warn instead of perror, memmove instead of bcopy 1997-10-18 11:11:18 +00:00
lukem c355b33f75 deprecate register 1997-10-18 11:06:52 +00:00
lukem 2cd3ac027a use emset instead of bzero 1997-10-18 11:06:08 +00:00
lukem 031fee8254 use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy 1997-10-18 11:05:34 +00:00
lukem 88e3ac566e use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 11:02:19 +00:00
lukem fbafdc25f8 use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 08:52:17 +00:00
lukem c9fcc32882 deprecate register, use memset/memmove instead of bzero/bcopy 1997-10-18 08:40:40 +00:00
lukem 7e44e0ebc2 deprecate register, use memset/memmove instead of bzero/bcopy 1997-10-18 08:18:00 +00:00
lukem 5c351d3f52 use errx instead of perror 1997-10-18 08:13:06 +00:00
lukem 73d91b2129 WARNSify, deprecate register, remove unused functions 1997-10-18 07:58:56 +00:00
lukem 7cbe3d2c32 use __progname 1997-10-18 07:32:17 +00:00
lukem 8ff96fa48d use err() 1997-10-18 07:26:45 +00:00
lukem 9f6ff4ad6f use string.h instead of strings.h 1997-10-18 07:05:31 +00:00
mikel af641bd13a xref tcpdump(8), not nonexistent tcpdump(1) 1997-10-18 07:01:38 +00:00
mikel bee22c9c19 xref ypbind(8), not nonexistent ypbind(1) 1997-10-18 06:50:50 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00