Commit Graph

39997 Commits

Author SHA1 Message Date
grog
f012261d29 Add note that a change needs backing out. 1999-08-15 02:31:19 +00:00
grog
50b4840bce Ensure that we can't create two different drives on the same
partition.

Reported-by:	Remy Nonnenmacher <remy@synx.com>
1999-08-15 02:30:34 +00:00
grog
1f6c52a059 Add 'initialized' state for subdisks. After initializing, the subdisk
goes into initialized state, not 'up'.  This makes it easier to ensure
consistency in multi-plex volumes.

update_plex_state: redo transitions from empty and initialized
subdisks to up or reviving, depending on the number of plexes.

Reported-by:	Bernd Walter <ticso@cicely.de>
		Remy Nonnenmacher <remy@synx.com>
1999-08-15 02:29:14 +00:00
mjacob
9c963d1884 Add back in old definitions if we're compiling for alpha. 1999-08-15 01:16:53 +00:00
obrien
a1e68e49d4 Sight addendum to previous comment. The `undefined' token initialization
bug was actually fixed in Bison 1.26.  My previous comment was in context
to our CVS repository.
1999-08-14 23:04:23 +00:00
obrien
8470008abd Use Bison with "--broken-undeftoken-init". 1999-08-14 22:44:36 +00:00
obrien
033405c257 Rather than deleting the grammer files during building, move them out of the
way.  This way they are available for inspection when debugging problems.
1999-08-14 22:40:01 +00:00
obrien
335166fc55 Document how I imported this. 1999-08-14 22:33:55 +00:00
obrien
d3366f3614 Due to brain damage on the FSF people, we can not longer pass "config.h"
type settings on the compiler command line.  FSF put their version of our
"__P()" macro in config.h, thus ``config.h'' required now.
1999-08-14 22:32:36 +00:00
obrien
9ab63a4a40 Fixes for Bison 1.25->1.28 upgrade. 1999-08-14 22:30:36 +00:00
chris
b35a17e3c9 Bad reference vidcontrol(4) -> vidcontrol(1) 1999-08-14 22:29:34 +00:00
chris
b3d60e9b90 Bad reference getsockname(8) -> getsockname(2) 1999-08-14 22:25:59 +00:00
obrien
200a54b299 Add "--broken-undeftoken-init" option. This makes Bison 1.28 bug compatable
with version 1.25.

Bison 1.28 fixed a bug in the initialization of the `undefined' symbol
table entry.  Unfortunately something about the way we are compiling
egcs-1.1.2's cc1plus breaks with this bugfix.

"--broken-undeftoken-init" is needed when compiling cc1plus.  Otherwise
/usr/libexec/cc1plus cannot compile libgcc.
1999-08-14 22:15:21 +00:00
obrien
7d5ea747d5 Fix conflicts. 1999-08-14 21:59:04 +00:00
obrien
adf7b839b5 Fix conflicts, ensure rev 1.2 changes are made to v1.28. 1999-08-14 21:56:35 +00:00
obrien
285f10de5e Use stock v1.28 bison.simple.
Bison 1.28 has our bison.simple rev 1.2 change, but due to code movement,
``cvs'' didn't realize this.
1999-08-14 21:53:50 +00:00
obrien
057567bdc8 This commit was generated by cvs2svn to compensate for changes in r49795,
which included commits to RCS files with non-trunk default branches.
1999-08-14 21:39:07 +00:00
obrien
99c1697229 Virgin import of GNU Bison 1.28 1999-08-14 21:39:07 +00:00
chris
5f7d8d250c Bad reference of uname(2) -> uname(3) 1999-08-14 21:37:28 +00:00
chris
0df89b4ce3 Fix bad references, remove some invalid ones such as sa(9). 1999-08-14 20:51:13 +00:00
alfred
bef9e7accb Fix potential overflow, remove unnecessary bzero.
Pointed out by: green

remove redundant strlen, sprintf returns the length.

Reviewed by: peter
1999-08-14 19:58:58 +00:00
iwasaki
424fc6d366 Change to continue process after calling `Get Resume TImer' APM
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0).

Reviewed by:	-mobile ML folks.
1999-08-14 18:45:19 +00:00
iwasaki
797b7ba450 - Add apm_check_function_supported() and call it from
apm_bioscall() to check requested BIOS is supported or not.

- Add workaround in apm_driver_version() for the buggy BIOSes which
  don't return the connection version in %ax.

PR:		i386/13028
Reviewed by:	sanpei@sanpei.org and Warner Losh.
1999-08-14 18:39:40 +00:00
marcel
538e4c7fd4 Implementation of the linux_getcwd syscall. 1999-08-14 18:20:44 +00:00
marcel
b3249a427e Extend the number of syscalls to include those present in Linux 2.2.10. These
are syscalls 183 to 190. Also implement syscall 183: linux_getcwd. This is
needed to support a RH 6.0 environment.
1999-08-14 18:19:00 +00:00
marcel
195c2867a7 Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. Both
functions use the new sigset_t and sigaction_t which allows support for more
than 32 signals. Only the lower 32 signals are supported for now.

linux_rt_sigaction, linux_sigaction and linux_signal use linux_do_sigaction
to do the actual work. That way unnecessary redundancy is avoided. The same
has been done for linux_rt_sigprocmask and linux_sigprocmask. They call
linux_do_sigprocmask to do the actual work.
1999-08-14 17:28:46 +00:00
obrien
ac3a4d6b97 s/Yes/YES/g. `tcp_extensions''s comment implied "Yes" was a valid value
for turning on the feature.  Which is wrong.

Submitted by:	bde
1999-08-14 17:15:19 +00:00
marcel
7fa44e257d Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. These
syscalls are needed to support a RH 6.0 environment.
1999-08-14 17:14:13 +00:00
obrien
61f4e46c6b Hopefully clarify "log_in_vain" knob's comment.
Reviewed by:	bde, sheldonh, andreas
1999-08-14 17:13:40 +00:00
jdp
0c79a3b760 Append the flags from the "boot" command to those which came from
the SRM environment.  This makes the traditional "boot [/kernel] -s"
and similar things work on the Alpha.  Since the flags are appended,
they augment and/or override those from the SRM environment.
1999-08-14 17:06:11 +00:00
wpaul
07238fa7c9 Minor glitch in ti_newbuf_jumbo(): m_adj() was being called on
m instead of m_new.

Submitted by: Kenneth D. Merry <ken@kdm.org>
1999-08-14 15:45:03 +00:00
sheldonh
6fa2e3ae68 Don't force compression in SUPFLAGS, since that effectively negates
the functionality of the compression option in the supfile.

Reported by:	Ben Rosengart <ben@skunk.org>
1999-08-14 14:05:40 +00:00
n_hibma
d6e14ff38e add debugging message in unregister_method 1999-08-14 13:32:25 +00:00
marcel
9e447c4d1a Fix LINUX_TIOC{S|G}SERIAL implementation. Both do not copy data in or out
of kernel space. Remove the ioctl supporting functions, and move the actual
code to the switch-statement. Now everybody can clearly see that the
implementation is really poor.

Also fix a typo in LINUX_TIOCGETD. The underlying function was given command
TIOCSETD instead op TIOCGETD...
1999-08-14 13:26:44 +00:00
n_hibma
723d911b2c Minor spelling glitch 1999-08-14 13:20:04 +00:00
pho
effd222c57 Reviewed by: phk
When fts_open is used with option FTS_NOCHDIR the full
path entry of type FTS_DP is returned with a trailing
'/' if the final directory is empty.
This fix coresponds to netbsd's __fts13.c v. 1.16
1999-08-14 12:19:40 +00:00
phk
5f45261e99 Spring cleaning around strategy and disklabels/slices:
Introduce BUF_STRATEGY(struct buf *, int flag) macro, and use it throughout.
please see comment in sys/conf.h about the flag argument.

Remove strategy argument from all the diskslice/label/bad144
implementations, it should be found from the dev_t.

Remove bogus and unused strategy1 routines.

Remove open/close arguments from dssize().  Pick them up from dev_t.

Remove unused and unfinished setgeom support from diskslice/label/bad144 code.
1999-08-14 11:40:51 +00:00
newton
5ff2615ae3 Avoid possible panic by checking for EFAULT from copyinstr() during
pathname translation.

Submitted by:	green
1999-08-14 10:52:33 +00:00
marcel
4437c70523 Fix the LINUX_TCSET{A|AW|AF} and LINUX_TCSET{S|SW|SF} ioctls. These all suffer
from the same bug in that the argument is not first copied from user space
before it is used. This is part 2 (of 2) of the termios fixes.
1999-08-14 10:30:38 +00:00
marcel
6fb5b99704 Fix a couple of termio/termios conversion bugs/typos/dupos/brainos and other
changes. This is part 1 of the complete termios ioctl fixes.

o  change type of c_{i|o|c|l}flag in struct termios from unsigned long to
   unsigned int. The type now matches the Linux definitions.
o  replaced constants by the corresponding defines in sptab[] for clarity.
   Since there's no define for 135 baud, its mapping has been dropped.

function bsd_to_linux_termios:
o  Fix typo IXON -> IXANY.
o  Remove bogus assignment to c_cc[LINUX_VSWTC].

function linux_to_bsd_termios:
o  Fix dupo LINUX_IXON -> LINUX_IXANY.
o  Add LINUX_CREAD mapping.
o  Fix typo IEXTEN -> LINUX_IEXTEN.

function linux_to_bsd_termio:
o  Small optimization: Don't preset the complete c_cc array when we next
   assign to the first LINUX_NCC entries.
1999-08-14 10:05:50 +00:00
mpp
84b333efb1 Document the AUTHORS section in mdoc(7). Expand the description
of the AUTHORS section in mdoc.samples(7) to document how the
authors name should be specified.

PR:		docs/13131
Pointed out by: Alexey M. Zelkin <phantom@cris.net>
1999-08-14 09:45:31 +00:00
grog
e8c163e370 Correct typo. 1999-08-14 09:15:43 +00:00
chris
21c150bd69 Bad reference to exit(2) changed to exit(3). 1999-08-14 08:13:35 +00:00
chris
e4023cb6fa Bad reference exit(2) changed to exit(3) 1999-08-14 08:05:46 +00:00
chris
c3d00b39ac Add $Id$ tag. 1999-08-14 07:59:58 +00:00
chris
0034fbf8b0 Bad reference time(2) changed to time(3) 1999-08-14 07:57:52 +00:00
chris
556e61a53e Bad reference of termios(3) changed to termios(4). 1999-08-14 07:52:29 +00:00
chris
8df87c6dd0 Bad reference of sysctl(1) changed to sysctl(8) 1999-08-14 07:46:50 +00:00
chris
188efc60cd Bad reference to lstat(3) changed to lstat(2) 1999-08-14 07:43:02 +00:00
chris
d680f15828 Fix .Xr line for `getpagesize' 1999-08-14 07:33:15 +00:00