Commit Graph

24395 Commits

Author SHA1 Message Date
joerg
c65e27777e Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
bde
ad20ab755c Drop temporary source-level compatibility for old mount(2) interface. 1997-09-16 14:44:24 +00:00
bde
ecd71a0a41 Removed a stray backslash-newline. 1997-09-16 14:37:55 +00:00
bde
d3cdbaf4f6 Fixed syntax errors in `#if 0' code. 1997-09-16 14:31:44 +00:00
bde
e89d929bc3 Cleaned up. 1997-09-16 14:23:35 +00:00
bde
e87717888a Removed declaration of nonexistent function fuibyte().
Sorted some declarations.

Fixed missing __P(())'s.

Removed `timeout_func_t (pointer to timeout function) typedef.  It was
mainly used in bogus casts.  The more useful `timeout_t' (timeout function)
typedef should be used instead.

Cleaned up callout declarations and comments.
1997-09-16 14:19:46 +00:00
bde
64d0bec2a8 Fixed staticization. buckets[] was staticized but was still declared
extern in <sys/malloc.h> and it should not have been staticized for
the !(KMEMSTATS || DIAGNOSTIC) case.

Fixed the !(KMEMSTATS || DIAGNOSTIC) case.  The MALLOC() and FREE()
macros are evil, but code generally doesn't allow for this and some code
involving else clauses did not compile.

Finished staticization.
1997-09-16 13:52:04 +00:00
bde
1062c10a86 Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
bde
6c065dd935 Removed installhdrs target. It was an unnecessary complication. 1997-09-16 10:52:59 +00:00
bde
fb7c748153 Backed out rev.1.136 and rev.1.144. Force SHARED=symlinks in a different
way - for buildworld only.

Rev.1.136 broke the (deprecated) external includes target.  Rev.1.144 was
a half-baked backout of rev.1.136.  It broke SHARED=symlinks for the
buildworld target and installation of subdirs of src/include for the
includes target.
1997-09-16 10:45:41 +00:00
jkh
d387f3a0a9 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
bde
1bd32b987b 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
35b575df34 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
7d18d9665b 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
9a01d27563 Don't leak memory, from sef.
Stylistic nits and a blunder, from bde.
1997-09-16 08:05:09 +00:00
joerg
79f6661f76 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
28c97c8eb6 Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
peter
d9fa5d1fa2 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
d96eb92b4f 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
93105e4a32 Remove revoke privs, not needed 1997-09-16 01:22:47 +00:00
ache
1525d264ab Remove HIDEGAME, it is not a game 1997-09-16 01:19:26 +00:00
eivind
f0e03a4ca4 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
768bb3cf2d Prevent overflow with fragmented packets
Reviewed by: wollman
1997-09-15 23:07:01 +00:00
wosch
bfe383d033 Fix yet a minor stylistic nit from Bruce.
(`cvs diff -ib' print one new char ;-).
1997-09-15 19:37:23 +00:00
wosch
b599049058 Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
phk
869c60f487 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
e9ff6fa415 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
2e5c4c37e1 Add a simple manpage. 1997-09-15 16:08:56 +00:00
jkh
ec064bd139 revert: The warning was supposed to irritate someone into fixing this. 1997-09-15 11:02:10 +00:00
jkh
77b0abb48b Proper casting for clnt_broadcast() args. 1997-09-15 09:47:16 +00:00
jkh
b699439ba5 Silence a warning with a cast. 1997-09-15 09:46:42 +00:00
jkh
75fe7a4d61 unsigned char -> caddr_t for mmap's return value. 1997-09-15 08:31:20 +00:00
phk
950d92dde6 Deal more correctly with mountpoints. 1997-09-15 08:25:43 +00:00
phk
6df69d4086 Fix a buglet and a couple of stylistic nits from Bruce. 1997-09-15 08:25:14 +00:00
phk
a44ef51975 Fix a comment.
Submitted by:		Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
jmg
463ee6273f remove redudant decls from this header file (used for 2.2.x compat) 1997-09-15 07:34:49 +00:00
charnier
99550d450c Use err(3). 1997-09-15 06:41:09 +00:00
charnier
bdee4a3e4b Use err(3). Rewrote man page in mdoc format. 1997-09-15 06:39:25 +00:00
charnier
b8c46235c5 Use err(3), add usage(). -Wall clean. 1997-09-15 06:37:10 +00:00
jmg
130c7bee5c 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
3e054bd532 Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
charnier
0976cf0f14 Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
rgrimes
4e83d999c4 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
23d5613e63 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
198e82b23d Synchronize with sys/i386/conf/files.i386 revision 1.176. 1997-09-15 04:00:32 +00:00
peter
5798229b34 Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
ache
9f3f97929e 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
2738d4da18 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
be830b8d98 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
2b00c45114 Allow backspace too 1997-09-15 00:42:04 +00:00