Matthew Dillon
35f069d08b
pci_device pd_probe function changed from returning char * to returning
...
const char *. Originally I was going to add casts from const char * to
char * in some of the pci device drivers, but the reality is that the
pci device probes return constant quoted strings.
1998-12-14 05:47:29 +00:00
Matthew Dillon
f7bb75c92a
Fix -Wuninitialized warning regarding zero-length var-args ctl element.
...
( this isn't really an error, but I think it is important to fix the
warning ).
1998-12-14 05:37:37 +00:00
Matthew Dillon
c5a8ae50dd
author was assuming that nextpaddr declared *inside* the do loop would
...
survive within the loop. This is not guarenteed by C. I have moved
the nextpaddr declaration to outside the do loop.
1998-12-14 05:35:56 +00:00
Matthew Dillon
98848ba89a
Change local ddb_mode variable to volatile to handle GCC warning about
...
the variable possibly being clobbered by setjmp/longjmp.
1998-12-14 05:34:33 +00:00
Wes Peters
b1e12513fa
Reviewed by: JKH
...
Submitted by: Wes Peters
Added strtok_r (reentrant) function and man page.
1998-12-14 05:11:26 +00:00
Matthew Dillon
27ed09c2f0
Cleanup uninitialized-possibly-used (but really not) warnings
1998-12-14 05:00:59 +00:00
Matthew Dillon
ad7847141f
Added support for DIS 8859-15 based locales using patch
...
from Kaleb.
Obtained from: Kaleb Keithley <kaleb@ics.com>
1998-12-14 02:59:15 +00:00
Matthew Dillon
374fad8b17
Reviewed by: freebsd-current
...
Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the machine is sitting on a cable modem or certain DSL
networks), and also closes potential security holes that might have
exploited the lack of bounds checking in the previous version of the
code.
1998-12-14 02:25:32 +00:00
Matthew Dillon
d749f6f64f
Remove rc.local (now deleted from CVS tree) from Makefile.
1998-12-14 02:01:22 +00:00
Eivind Eklund
537ad9741c
Make the use of 'disc' vs 'ds' as prefix consistent by making all 'disc'.
...
This fix the conflict of having two functions called 'dsioctl()'.
1998-12-14 01:59:16 +00:00
Brian Somers
87766c5694
Allow a variable as the first arg to ``set proctitle''.
1998-12-14 01:15:34 +00:00
Brian Somers
80b2397ccf
Mention the cosmetic necessity to ``iface clear'' in ppp.linkdown.
1998-12-14 01:15:14 +00:00
Nick Hibma
1806e812ae
small oops on previous bug fix, it's late...
1998-12-13 23:53:42 +00:00
Steve Price
23ffc3a6b1
Fix a couple grammar and typographical errors.
...
PR: 8355
Submitted by: Bruce A. Mah <bmah@ca.sandia.gov>
1998-12-13 23:37:33 +00:00
Eivind Eklund
1c413ddaf0
Fix 3-byte buffer overflow.
...
Also, while I'm here, fix up some more after those that haven't
noticed #endif isn't a comment introducer.
1998-12-13 23:36:16 +00:00
Steve Price
4c1a815f94
Commit out caveat about hardlinks to directories since they are
...
no longer possible.
PR: 8337
1998-12-13 23:35:01 +00:00
Eivind Eklund
79f41b6df0
Fix typo - [0], [1], [2], not [0], [1], [3].
1998-12-13 23:32:44 +00:00
Steve Price
4a76413bf7
wcd_read_toc returns zero on success and EIO on failure, so change the
...
test in open to return EIO if non-zero.
PR: 8316
Submitted by: Masatoshi TAMURA <tamrin@shinzan.kuee.kyoto-u.ac.jp>
1998-12-13 23:30:15 +00:00
Nick Hibma
67aabdd8b7
small bug fix
1998-12-13 23:26:41 +00:00
Steve Price
5e6338f6e7
Cleanup usage string: -i takes an argument.
...
PR: 8315
Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-12-13 23:26:21 +00:00
Eivind Eklund
494dc6bbe2
Fix typo - sizeof(struct crtl *) -> sizeof(struct ctrl *).
...
XXX This still assume that bzero() over a field create null-pointers,
which seems a chancy proposition at best.
1998-12-13 23:25:29 +00:00
Nick Hibma
9501b6d6b8
Removed unneeded definition
1998-12-13 23:16:20 +00:00
Steve Price
4f3a383e26
Change the wording to reflect that only the first character of the two
...
arguments to changequote are significant.
PR: 8282
1998-12-13 23:15:50 +00:00
Nick Hibma
aee1b5a2c5
Added uhid again, sorting seems to work now
1998-12-13 23:14:03 +00:00
Steve Price
921543cf2f
Add support for another 3COM/USR PNP modem, USR3031.
1998-12-13 23:12:54 +00:00
Nick Hibma
1d33cf3da4
Added all the options to LINT with descriptions. Haven't tried to compile
...
the LINT kernel yet however...
1998-12-13 23:06:16 +00:00
Nick Hibma
eca58e5e00
dded the stubs for umodem and ucom (communications class driver). They are nothing other than
...
the ugen driver with different variable names.
1998-12-13 23:04:35 +00:00
Eivind Eklund
b3a941181e
Remove warning introduced by the last committer.
1998-12-13 23:00:48 +00:00
Eivind Eklund
b405a21dd1
Another extra pointer check.
1998-12-13 22:29:32 +00:00
Nick Hibma
3e041e6116
Updated USB kernel sources to NetBSD sources of 1998-12-09.
...
1 bug fix and several textual changes.
Preparing to feed back changes for port into NetBSD to create one source base.
1998-12-13 22:27:42 +00:00
Eivind Eklund
d284feaa7b
Block for buffer overflow.
1998-12-13 21:02:28 +00:00
Bruce Evans
27773683d1
Made this actually work when there is an obj dir.
...
Removed bogons, especially the include of bsd.subdir.mk.
Fixed style bugs.
1998-12-13 15:52:26 +00:00
Bruce Evans
b5d2ebcc28
Fixed disordering of cross references in previous commit.
1998-12-13 15:32:26 +00:00
Nick Hibma
6015b10bca
Unbreak make world. Sorry about that. I'll have to figure out the steps
...
to add those programs properly.
1998-12-13 14:56:19 +00:00
Don Lewis
2b648ac0a1
Add a generic flag, CTLFLAG_SECURE, which can be used to mark a sysctl
...
variable unwriteable when securelevel > 0.
Reviewed by: jdp, eivind
1998-12-13 07:19:13 +00:00
Matthew Dillon
9983067ebe
PR: bin/8624
...
Fixed intermediate calculation overflow when reporting users with > 2GB of
disk space.
1998-12-13 07:16:05 +00:00
Don Lewis
65de0c7a93
getpgid() and getsid() were doing a comparision rather than an assignment,
...
which is fortunate, because otherwise another bug would allow them to be
used to stomp on the syscall return value of another process.
1998-12-13 07:07:51 +00:00
Matthew Dillon
d6a2c91a12
PR: kern/8819
...
Trivial change of macro name from DEBUG to AWE_DEBUG to avoid conflict
with kernel DEBUG option.
1998-12-13 06:50:17 +00:00
Matthew Dillon
b001517f54
PR: bin/9016
...
Fix bug with od/hd/hexdump. "*" lines are supposed to indicate one or
duplicates of the previous line, but a small file with less then 16
characters of zeros in it will be falsy identified as a repeat of
the (non-existant) previous line. i.e. the first line of output winds
up being a "*". Added a bit of code to handle the degenerate 'there is
no previous line' case for the first line.
1998-12-13 06:40:18 +00:00
Matthew Dillon
4ef875d707
PR: bin/5572
...
Prevent cron from going crazy if the time steps. For example, if you
have a system with hundreds of users and lots of different crontabs
and your time steps back an hour, the old cron would then attempt to
run an hours worth of cron jobs in a few seconds.
1998-12-13 06:07:38 +00:00
Matthew Dillon
7015208878
Grr. removed. backed-out. sorry!
1998-12-13 04:39:01 +00:00
Matthew Dillon
86fba2f5a6
Grrr. removed. backed out. sorry.
1998-12-13 04:38:28 +00:00
Matthew Dillon
fed7770acd
This needs to be commited now to fix usbd for make world
1998-12-13 04:32:13 +00:00
Matthew Dillon
0c7b9cbdb0
This needs to be commited now to fix usbd for make world
1998-12-13 04:31:15 +00:00
Matthew Dillon
de7c546760
PR: bin/8680
...
Minor adjustments to rwall.c. Increased the size of a couple of char
arrays and replaced a potentially dangeerous strcpy/strcat with snprintf().
1998-12-13 03:44:19 +00:00
Matthew Dillon
98df703fe0
PR: bin/8680
...
Increase the size of a number of buffers and replace strcpy/strcat/sprintf
with snprintf(). There was a minor and possibly not exploitable security
hole related to one sprintf().
1998-12-13 03:42:51 +00:00
Matthew Dillon
4bb8e546c1
Add reference to login.conf(5)
1998-12-13 02:48:43 +00:00
Matthew Dillon
f4b12e0a08
PR: docs/9045
...
Update chpass(1) manual page. Change the definition of the class
field and also reorganize the field list to match that of the
/etc/master.passwd file, to avoid confusion.
1998-12-13 02:47:00 +00:00
Matthew Dillon
9a0d08d599
PR: docs/9050
...
Add reference to required include file #include <stdlib.h> for
getloadavg(3) function call.
1998-12-13 02:34:56 +00:00
Matthew Dillon
36058b68da
Add required #include references to manual page
1998-12-13 02:32:59 +00:00