Commit Graph

27535 Commits

Author SHA1 Message Date
msmith
c5d67e845e Fix a problem with the conversion of Unix filenames into the VFAT
namespace.
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-02-27 12:22:22 +00:00
itojun
674a989231 polish the code.
use tradictional decls.  tabify.  remove bogus #defines.  prototypes.
1998-02-27 11:10:18 +00:00
itojun
74e335fcf2 make sys/netkey/key{,_debug}.c compile. I believe it works but not tested.
I'll polish the code later on.
1998-02-27 10:02:49 +00:00
hosokawa
68d701fa42 Removed a confusing "#if 0 ... #endif". 1998-02-27 09:47:36 +00:00
hosokawa
d746039957 Removed "#define EXTERN" because this file doesn't have main(). 1998-02-27 08:40:53 +00:00
hosokawa
ffec1d6f3e Moved main() to a new file (pccardd.c). 1998-02-27 08:19:25 +00:00
hosokawa
7dc5b867a8 Removed unused #include and unneccesary comments. 1998-02-27 08:00:18 +00:00
hosokawa
43502abbcd "pccardc dumpcis" does not need write permission of /dev/card?. 1998-02-27 07:27:27 +00:00
msmith
e3c9e3f7a5 PCCARD-code related style nits, as requested.
Submitted by:	bde
1998-02-27 06:39:32 +00:00
jkh
b9bd84eca6 Move "geometry disk" device (not yet implemented) to major 95 to
eliminate conflict with /dev/pci.
1998-02-27 06:15:50 +00:00
bde
f2b0787aaf Moved include of <sys/cdefs.h> earlier for the same reasons as moving
it in <sys/types.h>.

PR:	5785
1998-02-27 06:12:47 +00:00
msmith
54cbf8c44a Fix some style nits and remove an unused header.
Submitted by:	bde
1998-02-27 05:38:32 +00:00
nate
1587a18c3e - <pccard/card.h> doesn't exist in -current, so use the include file
<pccard/cardinfo.h>.  I don't know if this will compile, but at least
  it's using an include file that exists.

Forgotten by:	hosokawa
1998-02-27 05:12:48 +00:00
steve
7759b26c4b Fix a core dump caused by negative numbers.
PR:		5858
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-02-26 21:13:17 +00:00
hosokawa
728f78d263 added "rdattr" (read attribute memory) function. 1998-02-26 14:36:01 +00:00
dima
e472abe28a NetBSD PR# 2772
Reviewed by:	David Greenman
1998-02-26 08:31:53 +00:00
ahasty
275db98936 Radio support for bt848 cards from Flemming Jacobsen <fj@trw.nl>
Amancio
1998-02-26 08:19:14 +00:00
msmith
4fc0ab87d7 Don't claim XMS isn't implemented (it is).
Attempt to explain the "X11 support not compiled in" diagnostic.
Submitted by:	philip@rmit.edu.au (Philip Musumeci)
1998-02-26 07:53:02 +00:00
msmith
4abe3410e6 Fixes for some bugs in the VFAT/FAT32 support:
- 'mv longnamedfile1 longnamedfile2' would cause longnamedfile2 to lose its
   long name.
 - Long names have trailing spaces/dots stripped for lookup as well as
   assignment.
 - A lockup when the mdsosfs was accessed from within the Linux emulator is fixed.
 - A bug whereby long filenames were recognised by Microsoft operating systems but
   not FreeBSD is fixed.

Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-02-26 06:45:46 +00:00
msmith
15e6194107 In the author's words:
These diffs implement the first stage of a VOP_{GET|PUT}PAGES pushdown
for local media FS's.

See ffs_putpages in /sys/ufs/ufs/ufs_readwrite.c for implementation
details for generic *_{get|put}pages for local media FS's.  Support
is trivial to add for any FS that formerly relied on the default
behaviour of the vnode_pager in in EOPNOTSUPP cases (just copy the
ffs_getpages() code for the FS in question's *_{get|put}pages).

Obviously, it would be better if each local media FS implemented a
more optimal method, instead of calling an exported interface from
the /sys/vm/vnode_pager.c, but this is a necessary first step in
getting the FS's to a point where they can be supplied with better
implementations on a case-by-case basis.

Obviously, the cd9660_putpages() can be rather trivial (since it
is a read-only FS type 8-)).

A slight (temporary) modification is made to print a diagnostic message
in the case where the underlying filesystem attempts to engage in the
previous behaviour.  Failure is likely to be ungraceful.

Submitted by:	terry@freebsd.org (Terry Lambert)
1998-02-26 06:39:59 +00:00
dg
abb797303f Changes to support the addition of a new sysctl variable:
net.inet.tcp.delack_enabled
Which defaults to 1 and can be set to 0 to disable TCP delayed-ack
processing (i.e. all acks are immediate).
1998-02-26 05:25:39 +00:00
kato
0712ea24bf Deleted KLOCK-hack. 1998-02-26 03:23:56 +00:00
kato
d8d81bef89 Sync with sys/i386/conf/majors.i386 revision 1.35. 1998-02-26 03:22:05 +00:00
kato
45b2a4d4cc Sync with sys/i386/conf/files.i386 revision 1.193. 1998-02-26 03:21:41 +00:00
kato
910f862178 Fixed syntax error by recent changes to the queue macros. 1998-02-26 03:20:41 +00:00
jkh
d12528aaff Update man page to reflect reality.
PR:		5828
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-02-26 02:44:17 +00:00
jkh
09726f2920 isofs -> cd9660
PR:		5849
Submitted by:	Benjamin Lewis <bhlewis@gte.net>
1998-02-26 02:17:42 +00:00
jmb
bfdee87d0d added two new files: allowed_domains.txt and allowed_ips.txt.
domains/ips listed in these files are *NOT* filtered,
	even if listed in domains.txt or ips.txt.

	someone added netcom.com to the domains.txt file,
	resulting in all mail from netcom.com being blocked.
1998-02-25 22:06:34 +00:00
bde
bd35cc6b95 Removed unused #includes. 1998-02-25 13:08:07 +00:00
bde
e6fd98e05b Fixed a syntax error. Strange but correct code was broken by recent
changes to the queue macros.
1998-02-25 11:56:37 +00:00
ache
0398ae2bf7 Minimize clock drift between getting and setting time
Submitted by: bde
1998-02-25 09:40:21 +00:00
bde
dd04474345 Added missing #include of "opt_devfs.h".
Fixed pedantic semantics errors (in ANSI C, static arrays must have
a size, and static objects should be consistently declared as static
unless you know more than anyone should have to know about the
linkage rules).
1998-02-25 07:12:17 +00:00
danny
b58c846db6 PR: 5812
Pointed-in-the-right-driection-by: Mike Smith and Steve Price

Close syslogging before calling ls_main()
1998-02-25 07:10:57 +00:00
bde
aac1570b6f Added a used #include.
"options KEY" is not in LINT, and consequently doesn't actually compile,
even with this change.
1998-02-25 06:41:47 +00:00
bde
e15b8a8b3a Removed a stale comment and staler code. 1998-02-25 06:30:15 +00:00
bde
df1db50d54 Don't depend on "implicit int" or bloat the data section in the
declaration of ptc_devsw_installed.

Fixed a spelling error.
1998-02-25 06:19:15 +00:00
bde
6c18b55140 Don't depend on "implicit int". 1998-02-25 06:16:37 +00:00
bde
cd90b66afc Declare function pointer args as pointers, not as functions. 1998-02-25 06:13:32 +00:00
bde
59d87ac480 Fixed a missing newline in a debugging printf.
Fixed punctuation in some comments.
1998-02-25 06:04:46 +00:00
bde
d185d33240 Removed unused #includes. 1998-02-25 05:58:50 +00:00
bde
86cc5c493b Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1998-02-25 05:33:06 +00:00
bde
94737e39bf Fixed missing permissions checking for mounting by non-root.
There is now less need for the vfs.usermount sysctl.  msdosfs already
has this change, modulo a missing LK_RETRY, via NetBSD.  At least
ext2fs is missing this and many other changes from Lite2.

Obtained from:	Lite2
1998-02-25 04:47:04 +00:00
hanai
e10f8b4cf6 To commit japanese online manuals into doc/ja/man.
Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
1998-02-25 04:19:09 +00:00
bde
6898166010 Fixed the calculation of `delta' in settime(). We once set all
times consistently wrong (up to 1 tick too late), but recent changes
fixed the setting of the main clock, making other times inconsistent.
The inconsistencies tended to show up as a negative resource usage
for the process that set the time.

Fixed the check for setting the clock backwards.  A stale timestamp
(`time') was checked, so it was possible to set the clock backwards
by up to almost 1 tick.  Until recently, this bug was compensated
for by setting the clock consistently wrong.

Merged the comment about setting the clock backwards from Lite2.

Removed latency micro-optimizations/speed pessimizations in settime().
microtime() and set_timecounter() are relatively expensive, and
they must be called together with clock updates blocked to get a
consistent `delta', so significant latency optimizations are not
possible.

Removed some stale comments.
1998-02-25 04:10:32 +00:00
dyson
014146c040 Fix page prezeroing for SMP, and fix some potential paging-in-progress
hangs.  The paging-in-progress diagnosis was a result of Tor Egge's
excellent detective work.
Submitted by:	Partially from Tor Egge.
1998-02-25 03:56:15 +00:00
bde
ff694902b3 Removed clean target. Simply add to CLEANFILES so that the default target
in bsd.obj.mk works.
1998-02-25 02:56:58 +00:00
bde
4c126f13e8 Remove ${CLEANDIRS} in the default clean rule, so that bsd.prog.mk can
use the default without losing any (currently unused) features.
(CLEANDIRS is only used by for libgmp and libmp via bsd.lib.mk, and
only documented everywhere it is supported except of course where it
is actually used.)
1998-02-25 02:48:28 +00:00
julian
586efaf85d OOPs typo TCF, not TCP.... 1998-02-25 02:35:35 +00:00
bde
9c834cd509 Added a prototype for a qsort comparision function and fixed the usual
type mismatch uncovered by this.
1998-02-25 02:29:58 +00:00
bde
bd4014b7c0 Fixed the usual type mismatch for a qsort comparison function. 1998-02-25 02:25:50 +00:00