jkh
91766440b7
MF22: pst's changes.
...
Submitted by: pst
1997-09-16 10:14:23 +00:00
bde
4bc66f9c1d
Reject attempts to set an in-core label which says that the "disk"
...
or a partition is larger than the slice.
Now `disklabel -Brw sdX auto' should fail properly on sliced disks
without partition of type 165, e.g., on zip disks with the factory
default formatting. Previously it set a bogus in-core label for
the compatibility slice and used this to corrupt the MBR (the slice
has offset 0 and size 0, but setting the label in effect corrupted
its size to nonzero).
`disklabel -Brw sdX auto' already failed properly on normally (not
dangerously dedicated) sliced disks _with_ partition of type 165,
because the compatibility slice has a nonzero offset so the MBR
remained inaccessible when the size was corrupted.
This bug only affected in-core labels. On-disk labels are checked
carefully when they read and written.
1997-09-16 10:11:49 +00:00
julian
c3f24c4194
devfs changes to allow old (better) and newer (braindamaged) behaviour.
...
I'm going to try migrate back, while keeping the newer code.
1997-09-16 09:10:18 +00:00
joerg
70d3e6bc27
Sigh, there's always one more buffer overflow. :-(
...
This one hinted to by the recently posted exploit (although not exploited by
it).
1997-09-16 08:33:52 +00:00
phk
8b7ef2274e
Don't leak memory, from sef.
...
Stylistic nits and a blunder, from bde.
1997-09-16 08:05:09 +00:00
joerg
b2dd66cbdb
Make FDC_DEBUG a supported option.
...
Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented
option, since people started to trust the bogus claim. Once we're going
to handle 2.88 MB controllers, we have to redo the chip detection, by
now just leave it hidden.
1997-09-16 07:45:45 +00:00
charnier
f463013615
Police from style.9 and Bruce.
1997-09-16 07:11:13 +00:00
peter
7d855d941e
Some adjustments for the resolver use of poll(). For some reason I thought
...
an unimplemented syscall returned ENOSYS, rather than EINVAL. I have run
statically linked code with this wrapper and it does appear to work fine
on 2.2-stable which doesn't have poll(). ktrace shows the poll syscall fail
once and the fallback to select() working.
1997-09-16 06:03:54 +00:00
peter
56e4db07df
Put a system call not present checking wrapper around the call to
...
__getcwd(). I've got this libc code running on one of my machines
at the moment without the __getcwd() syscall being present.
1997-09-16 06:00:50 +00:00
ache
57855fd0ea
Remove revoke privs, not needed
1997-09-16 01:22:47 +00:00
ache
14b8848e6d
Remove HIDEGAME, it is not a game
1997-09-16 01:19:26 +00:00
eivind
2c4d4104e8
Comment the UID games -> GID games change - mention the known problems with
...
it and ask for feedback on any unknown ones.
1997-09-16 00:26:24 +00:00
ache
e3ec52282b
Prevent overflow with fragmented packets
...
Reviewed by: wollman
1997-09-15 23:07:01 +00:00
wosch
3f5d3edf76
Fix yet a minor stylistic nit from Bruce.
...
(`cvs diff -ib' print one new char ;-).
1997-09-15 19:37:23 +00:00
wosch
1f1f27f863
Add a genclass.1 manpage.
1997-09-15 19:18:59 +00:00
phk
aa6314d4ec
Solve race-condition, return path in normal order.
...
A couple of stylistic nits from Bruce.
If your libc contains version 1.11 or 1.12 of getcwd.c, (ie: if
you recompiled libc one of the last couple of days):
>>> Recompile LIBC before you boot a new kernel <<<
A new libc will deal with both old and new kernels.
1997-09-15 19:11:07 +00:00
phk
66b5502202
Fix yet a minor stylistic nit from Bruce (Doesn't he have more
...
important things to do ?? :-)
Prepare for the likely case of a change in kernel algorithm.
1997-09-15 17:40:15 +00:00
wosch
8ebcad6b2f
Add a simple manpage.
1997-09-15 16:08:56 +00:00
jkh
5936a00188
revert: The warning was supposed to irritate someone into fixing this.
1997-09-15 11:02:10 +00:00
jkh
c690933a0d
Proper casting for clnt_broadcast() args.
1997-09-15 09:47:16 +00:00
jkh
7e556d5c0f
Silence a warning with a cast.
1997-09-15 09:46:42 +00:00
jkh
e5bfd4a0c7
unsigned char -> caddr_t for mmap's return value.
1997-09-15 08:31:20 +00:00
phk
e69b43c6b0
Deal more correctly with mountpoints.
1997-09-15 08:25:43 +00:00
phk
c1e019435a
Fix a buglet and a couple of stylistic nits from Bruce.
1997-09-15 08:25:14 +00:00
phk
2fe1db4a20
Fix a comment.
...
Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
jmg
5f16794571
remove redudant decls from this header file (used for 2.2.x compat)
1997-09-15 07:34:49 +00:00
charnier
f94097b8d7
Use err(3).
1997-09-15 06:41:09 +00:00
charnier
214510519d
Use err(3). Rewrote man page in mdoc format.
1997-09-15 06:39:25 +00:00
charnier
bce35eb1f9
Use err(3), add usage(). -Wall clean.
1997-09-15 06:37:10 +00:00
jmg
c5c297e79b
add some preprocessor lines to prevent both controler snd0 and
...
device pcm0 from being loaded into the kernel at the same time. As
this generates compilation errors, I just error out.
Requested-by: Jordan
1997-09-15 06:35:13 +00:00
charnier
62b2e66cf2
Put includes in alphabetical order. various cosmetics.
1997-09-15 06:33:52 +00:00
charnier
7b331acb34
Remove unused #include. Statisize usage().
1997-09-15 06:32:01 +00:00
rgrimes
a4f2286865
When calling the src/include Makefile use the shorthand ``all beforeinstall''
...
inplace of ``all installhdrs symlinks'' so those of us who run with
SHARED=copies get the right results.
1997-09-15 05:58:50 +00:00
rgrimes
2bab6f36d3
Now that this has been merged over to RELENG_2_2 remove
...
the #if FreeBSD >= 3 wart I added while debugging.
1997-09-15 05:08:05 +00:00
kato
42c4c8188c
Synchronize with sys/i386/conf/files.i386 revision 1.176.
1997-09-15 04:00:32 +00:00
peter
05c5ad611e
Regenerate _after_ the commit to syscalls.master
1997-09-15 02:03:45 +00:00
ache
22dd8cfe7b
Sense *.ISO_8859-1 and *.KOI8-R locales from environment
...
PR: 4290
Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
1997-09-15 02:03:13 +00:00
ache
3ad3d57009
Fix neqn building:
...
1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance
1997-09-15 01:56:29 +00:00
ache
2a41ac33fd
Change manual declarations of some functions to proper includes
...
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
ache
68edd5c44a
Allow backspace too
1997-09-15 00:42:04 +00:00
ache
d264c8b79c
disable upper controls and enable all other
...
8bit codes due to lack of locale knowledge in daemon
1997-09-15 00:27:49 +00:00
ache
e9758c8723
Oops, fix upper controls test
1997-09-15 00:17:38 +00:00
ache
2c85186533
Localize it. High controls disabled in any case.
...
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
wosch
426c96ab6c
Add a simple manpage.
1997-09-14 23:43:22 +00:00
jmg
8b35ccc03a
docment the new sound drivers in LINT and add the necessary files to
...
files.i386.
We aren't sure if this new code and the old sound code will co-exist in a
kernel, so the device pcm0 line is left commented out in LINT.
Submitted-by: Luigi Rizzo
1997-09-14 21:45:05 +00:00
jmg
970dfea8ea
This commit was generated by cvs2svn to compensate for changes in r29415,
...
which included commits to RCS files with non-trunk default branches.
1997-09-14 21:42:12 +00:00
jmg
beb1b01aeb
Import of Luigi Rizzo's sound code. For more information about the driver
...
check out the README that is included.
Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
jmg
d77c6d8be9
Import of Luigi Rizzo's sound code. For more information about the driver
...
check out the README that is included.
Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
wosch
0db75253f4
Install gencat.1 manpage.
...
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
phk
c083d9eff8
In these days, waiting one full second for more to appear is far too long.
...
Let's try 250ms.
1997-09-14 19:02:13 +00:00