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
Matthew Dillon
be648216c6
PR: bin/3478
...
Have pwd_mkdb lock the source file while rebuilding the database. When
called by programs such as vipw, the source file is a temporary file and
this does not conflict with the lock on /etc/master.passwd already held
by vipw. When run manually, however, master.passwd is typically specified
as the argument and the locking prevents other programs from messing with
master.passwd during the database rebuild.
Also pwd_mkdb uses a blocking exclusive lock as it may be called from
a script. The -N option was added to cause pwd_mkdb to get the lock
non-blocking and exit with an error if the attempt fails, again useful
for scripts.
1998-12-13 01:53:50 +00:00
Matthew Dillon
0e31b6b580
oops. Fix indentation of the 'for' loop I just added.
1998-12-13 01:39:32 +00:00
Matthew Dillon
f16d2ab2d3
Handle the race condition where vipw may lock a password file which has
...
just been replaced. After our lock succeeds we check if st_nlink is 0
and if it is we close the descriptor and retry our open/lock sequence.
1998-12-13 01:36:45 +00:00
Justin T. Gibbs
0aae7eb02e
Pull in fixes similar to those recently committed to the bt driver:
...
- For transactions of 0 length, us a non-residual checking CCB type.
- Preserve command status if our interrupt handler completes a command
while we are polling for completion in aha_cmd.
1998-12-13 00:05:04 +00:00
Justin T. Gibbs
10fc9d90ce
Return ENODEV instead of EINVAL when a particular exchange or move
...
operation exceeds the capabilities of the changer device.
1998-12-12 23:52:46 +00:00
Matthew Dillon
ab327a8284
Reviewed by: freebsd-current
...
Update manual pages for rc(8) and rc.conf(5) based on recent changes
to rc.local and rc.conf[.local].
1998-12-12 23:26:53 +00:00
Matthew Dillon
f633e4c98b
Clarify rc's handling of rc.local
1998-12-12 23:08:34 +00:00
Matthew Dillon
416db1f243
Reviewed by: cvs-current
...
Delete rc.local from CVS tree, its remaining functionality has been
moved to /etc/rc. /etc/rc still supports an rc.local but it is now
a 100% user-controlled file.
1998-12-12 23:05:22 +00:00