Commit Graph

33833 Commits

Author SHA1 Message Date
n_hibma
db1a25dccb small oops on previous bug fix, it's late... 1998-12-13 23:53:42 +00:00
steve
9dee5ea855 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
a5951b43db 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
032c3c226a Commit out caveat about hardlinks to directories since they are
no longer possible.

PR:		8337
1998-12-13 23:35:01 +00:00
eivind
1c27a8c0e7 Fix typo - [0], [1], [2], not [0], [1], [3]. 1998-12-13 23:32:44 +00:00
steve
c5ff6e3473 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
n_hibma
067b9d6ac9 small bug fix 1998-12-13 23:26:41 +00:00
steve
a8cfc40f4d 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
544e5b8db6 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
n_hibma
d6b94b79c0 Removed unneeded definition 1998-12-13 23:16:20 +00:00
steve
0021e2b7af 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
n_hibma
77935f693b Added uhid again, sorting seems to work now 1998-12-13 23:14:03 +00:00
steve
f8cec29a5c Add support for another 3COM/USR PNP modem, USR3031. 1998-12-13 23:12:54 +00:00
n_hibma
42b911c298 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
n_hibma
4f19f2cec5 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
8fdbb602f1 Remove warning introduced by the last committer. 1998-12-13 23:00:48 +00:00
eivind
df90d2d83b Another extra pointer check. 1998-12-13 22:29:32 +00:00
n_hibma
7a761ba5fa 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
c07885f31e Block for buffer overflow. 1998-12-13 21:02:28 +00:00
bde
2a43681c84 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
bde
4e37d54d16 Fixed disordering of cross references in previous commit. 1998-12-13 15:32:26 +00:00
n_hibma
dadea18328 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
truckman
cd7e13cf0f 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
dillon
fd960d48d6 PR: bin/8624
Fixed intermediate calculation overflow when reporting users with > 2GB of
    disk space.
1998-12-13 07:16:05 +00:00
truckman
40ad5890f9 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
dillon
1d1d7ca777 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
dillon
a9cca9c815 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
dillon
d2013aefd0 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
dillon
7e32ff5f28 Grr. removed. backed-out. sorry! 1998-12-13 04:39:01 +00:00
dillon
74ef00d44a Grrr. removed. backed out. sorry. 1998-12-13 04:38:28 +00:00
dillon
ec1036956e This needs to be commited now to fix usbd for make world 1998-12-13 04:32:13 +00:00
dillon
251e21de00 This needs to be commited now to fix usbd for make world 1998-12-13 04:31:15 +00:00
dillon
eb1a8914ce 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
dillon
762deff9e1 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
dillon
776cf0ace3 Add reference to login.conf(5) 1998-12-13 02:48:43 +00:00
dillon
c3a1aa3df5 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
dillon
7c1aa7bf55 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
dillon
439b1a517e Add required #include references to manual page 1998-12-13 02:32:59 +00:00
dillon
4db40135ef 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
dillon
3fa521a2d2 oops. Fix indentation of the 'for' loop I just added. 1998-12-13 01:39:32 +00:00
dillon
99ae894df3 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
gibbs
9bdc2c6395 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
gibbs
2b1b554011 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
dillon
1f652fa610 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
dillon
e6ba67df5e Clarify rc's handling of rc.local 1998-12-12 23:08:34 +00:00
dillon
e4fe7ffa18 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
dillon
3d6f93c551 Reviewed by: cvs-current
Commit changes to rc and rc.local, removing the remaining minimal
    functionality of rc.local into rc and commenting it out of rc.local
    prior to the deletion of rc.local from the CVS tree.
1998-12-12 23:04:21 +00:00
jb
408b593e63 Back out revs 1.181 and 1.182 which upset a few people. I hope those
(3?) people will make an effort to help those who would have benefitted from
this change. And just telling them that they should read and understand
the significance of each message posted to -current is not really good
enough IMHO.
1998-12-12 22:00:49 +00:00
dillon
21b42c731e PR: kern/8990
If timer calculation results in degenerate value (0), force it to 1
    to avoid divide-by-zero panic later on in calls to IGMP_RANDOM_DELAY().
    I considered simply adding 1 to the timer calculation, but was unsure
    if the calculation was part of the IGMP standard or not so did not want
    to mess with it for all cases.
1998-12-12 21:45:49 +00:00
dillon
b9c991f486 sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
flag makes portal tcp operation work.
1998-12-12 21:30:17 +00:00