mjacob
38b8e2e37e
Clean up some ways in which we set defaults for SCSI cards
...
that do not have valid NVRAM. In particular, we were leaving
a retry count set (to retry selection timeouts) when thats
not really what we want. Do some constant string additions
so that LOGDEBUG0 info is useful across all cards.
MFC after: 2 weeks
2001-08-20 17:28:32 +00:00
mjacob
24b1b8c5e7
Add MBOX_GET_PCI_PARAMS alias.
...
MFC after: 2 weeks
2001-08-20 17:26:45 +00:00
dillon
d2c2ab2442
Conditionalize VM_SWZONE_SIZE_MAX and VM_BCACHE_SIZE_MAX so MD sections
...
that don't define these constants don't break.
2001-08-20 16:29:13 +00:00
brian
903d158fae
Handle snprintf() returning < 0 (not just -1)
...
MFC after: 2 weeks
2001-08-20 15:44:17 +00:00
brian
f6df81abf7
Better snprintf() handling.
...
Prompted by: bde
2001-08-20 15:43:14 +00:00
ru
ad3a696e29
Even more libss removal.
2001-08-20 15:41:15 +00:00
brian
9e766e7f13
Handle snprintf() returning < 0 (not just -1)
...
MFC after: 2 weeks
2001-08-20 15:09:34 +00:00
brian
894d298c86
Handle ftp_copycommand() and ftp_copyresult() potentially returning < -1.
2001-08-20 15:01:06 +00:00
brian
6820e8fb2d
Handle snprintf() returning < 0 (not just -1)
...
MFC after: 2 weeks
2001-08-20 14:53:05 +00:00
brian
5bd90784a6
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 14:46:40 +00:00
brian
3b24d8f2af
Handle snrintf overflows.
...
Spotted by: bde
2001-08-20 13:44:13 +00:00
brian
d48c427cd5
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 13:24:39 +00:00
brian
016b1a255a
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 12:56:45 +00:00
kris
110fc843a0
Mark some functions as __printflike() and/or taking const char * arguments
...
instead of char *.
MFC after: 2 weeks
2001-08-20 12:53:36 +00:00
nik
0e618921c1
Note that submitted patches are assumed to be under the same license as
...
the file they patch.
2001-08-20 12:52:59 +00:00
markm
7aa03eaeb0
Fix overflow problem when giving a username that is too long.
...
Also minor declaration/header fixes while auditing the code.
2001-08-20 12:52:49 +00:00
brian
4e059b7f96
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 12:50:21 +00:00
markm
3812f01803
Very minor stylistic nit.
...
Discussed with: ru
2001-08-20 12:46:11 +00:00
markm
ac30099bce
Add 'try_mapped_pass' standard option.
...
Asked for by: lukeh@PADL.COM
2001-08-20 12:43:19 +00:00
brian
d3f8bf4154
Handle snprintf() returning -1
...
MFC after: 2 weeks
2001-08-20 12:41:36 +00:00
markm
540c23ed8a
More libss removal.
2001-08-20 12:39:23 +00:00
markm
e909686930
Diff reduce all the crypto telnet Makefiles.
2001-08-20 12:32:45 +00:00
brian
340d41bc10
Handle snrintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 12:31:13 +00:00
markm
62fa01a04b
Code merge and diff reduce with "base" telnet. This is the "later"
...
telnet, so it was treated as the reference code, except where later
commits were made to "base" telnet.
2001-08-20 12:28:40 +00:00
markm
83e59be2f6
Code merge and diff reduction between this and crypto telnet.
...
Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.
2001-08-20 12:21:31 +00:00
markm
162b7bf01c
Feature merging and diff reduction between this code and crypto telnet.
...
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.
2001-08-20 12:12:27 +00:00
brian
600042995a
Handle snprintf() returning -1
...
MFC after: 2 weeks
2001-08-20 12:06:42 +00:00
markm
98d3c6bc19
No functional changes, but:
...
o unifdef AUTHENTICATE. We have never compiled this code, and its
doubtful it will even work in this case.
o Style changes (some ansification, some comment updating)
o Diff reduction and code style merging with crypto telnet.
2001-08-20 12:04:53 +00:00
brian
e5aeafb88a
Don't misuse the return from snprintf.
...
MFC after: 2 weeks
2001-08-20 11:58:05 +00:00
brian
7ac94dd0fb
Properly change old interface addresses so that their destination is
...
255.255.255.255 if our new destination address conflicts.
2001-08-20 11:06:21 +00:00
brian
c400ea8f0c
Add some comments to explain what's going on here
2001-08-20 10:25:23 +00:00
kris
5329ff37f2
Don't overflow a buffer from command line arguments.
...
MFC after: 2 weeks
2001-08-20 09:43:04 +00:00
ru
2aca5dc8f6
mdoc(7) police: markup nits.
2001-08-20 08:55:07 +00:00
peter
cc58cb8636
Merge vendor branch onto mainline (try to fix HAVE_KERBEROS)
2001-08-20 08:47:21 +00:00
ru
7995afce13
mdoc(7) police: simplify literal display block.
2001-08-20 08:29:55 +00:00
ru
b927312bcc
mdoc(7) police: fixed markup, removed the extra word.
2001-08-20 08:28:18 +00:00
kris
a6b313f27f
Part II of libss retirement: zap mk_cmds too.
...
Pointy hat to: kris
2001-08-20 06:23:35 +00:00
kris
6c2a2fde20
The timed protocol is not implemented in a compatible way by all vendors;
...
the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte
field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte
field. As a result, sanity checking code added a few months ago to detect
short packets will fail when interoperating with one of these other vendors.
Change the short packet detection code to expect a minimum packet size
corresponding to the 4.3BSD implementation, which should be a safe minimum
size.
Submitted by: Stephen Whiteley <stevew@best.com> (based on)
PR: misc/29867
2001-08-20 06:16:04 +00:00
bmah
d4133577d0
Fix an SGML glitch.
2001-08-20 04:56:37 +00:00
dd
3f0adc3d96
Fix grammar.
2001-08-20 02:16:41 +00:00
dd
333eb2bebd
Respect the -N flag when changing directory attributes in setdirmode).
...
PR: 29671
Submitted by: Sascha Blank <sblank@addcom.de>
2001-08-20 02:15:22 +00:00
dd
c9d6bbb3f6
Use `an' where appropriate.
2001-08-20 02:08:26 +00:00
dd
b18f165e40
Pass the username we just made to pwd_mkdb so that the latter doesn't
...
have to regenerate the entire database.
PR: 25798
Submitted by: Domas Mituzas <domas.mituzas@delfi.lt>
2001-08-20 01:20:05 +00:00
dd
0b3018edbb
Sync the default module search path with the one in
...
sys/boot/common/module.c.
PR: 21405
Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2001-08-20 01:12:28 +00:00
dd
1c71725d2d
Shoot (and kill) the second person with a high-powered rifle.
2001-08-20 01:02:05 +00:00
brian
0630cc6224
When attempting to change the default route, don't write the gateway
...
and mask to the routing socket, otherwise the update fails.
Warning provided by: markm
The code here was broken for FreeBSD when IPv6 support was added, but
was fixed for OpenBSD. OpenBSD expects the gateway and mask to be
supplied and fails the update otherwise.
2001-08-20 00:46:33 +00:00
dillon
05c33a209b
Limit the amount of KVM reserved for the buffer cache and for swap-meta
...
information. The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache. This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.
Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating. The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.
2001-08-20 00:41:12 +00:00
dd
277945b1a7
There is no "(integer)" type; it's called "(int)".
...
PR: 20749
Submitted by: Ralf S. Engelschall <rse@engelschall.com>
2001-08-20 00:29:23 +00:00
dd
0e6448f1e9
Add new entires for firewall_flags, amd_map_program, and
...
enable_quotas. Plus other assorted fixes.
PR: 20479
Submitted by: Ralf S. Engelschall <rse@engelschall.com>
2001-08-20 00:28:30 +00:00
dd
2341531234
Mark up IPFIREWALL in .Dv.
2001-08-20 00:10:42 +00:00