Commit Graph

81628 Commits

Author SHA1 Message Date
nyan
a61bdcb3db The ep and pccard modules build on pc98. 2002-10-14 10:15:01 +00:00
nyan
23f1ad6ad4 Merged from sys/dev/sio/sio.c revision 1.382. 2002-10-14 10:10:09 +00:00
phk
d855c32204 Implement the GEOMCONFIGGEOM ioctl which can be used to manually create
and configure an instance of a class on a give provider.

Sponsored by:	DARPA & NAI Labs
2002-10-14 10:05:23 +00:00
phk
8298a7f6ad Add more KASSERTS.
Sponsored by:	DARPA & NAI Labs.
2002-10-14 10:02:24 +00:00
ru
d9865aa4d5 Merge FSF changes onto mainline (-r option). 2002-10-14 09:15:17 +00:00
ru
ac54214516 This commit was generated by cvs2svn to compensate for changes in r105081,
which included commits to RCS files with non-trunk default branches.
2002-10-14 09:12:27 +00:00
ru
5c810fd127 From ChangeLog:
: 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	Add the new -r option to grotty.  It is similar to the -i option
: 	except it tells grotty(1) to use the "reverse video" attribute to
: 	render italic fonts.
2002-10-14 09:12:27 +00:00
phk
95d3ce583e Remove an unused variable. 2002-10-14 08:54:08 +00:00
marcel
7d6013f59f Allow kernel dumps to be aborted with ctrl-C. 2002-10-14 05:38:22 +00:00
cjc
af56ac88c7 Unconditionally restore the pointer to the saved Ethernet header after
going to bridge.c:bdg_forward(). The header can be munged even if the
mbuf does not /appear/ to change.

PR:		kern/42465
MFC after:	4 days
2002-10-14 05:27:00 +00:00
mckusick
25230d4c6a Regularize the vop_stdlock'ing protocol across all the filesystems
that use it. Specifically, vop_stdlock uses the lock pointed to by
vp->v_vnlock. By default, getnewvnode sets up vp->v_vnlock to
reference vp->v_lock. Filesystems that wish to use the default
do not need to allocate a lock at the front of their node structure
(as some still did) or do a lockinit. They can simply start using
vn_lock/VOP_UNLOCK. Filesystems that wish to manage their own locks,
but still use the vop_stdlock functions (such as nullfs) can simply
replace vp->v_vnlock with a pointer to the lock that they wish to
have used for the vnode. Such filesystems are responsible for
setting the vp->v_vnlock back to the default in their vop_reclaim
routine (e.g., vp->v_vnlock = &vp->v_lock).

In theory, this set of changes cleans up the existing filesystem
lock interface and should have no function change to the existing
locking scheme.

Sponsored by:	DARPA & NAI Labs.
2002-10-14 03:20:36 +00:00
imp
2cf51225e1 o Comment out the symbol download code for 4.x.
o Add hooks for doing power management of the output signal.
o Minor hacks to make flexlint happy wrt staticness of functions.
2002-10-14 01:59:57 +00:00
tjr
bfd4cfc4dc FA, FB and FC are lead bytes according to recent Microsoft documentation. 2002-10-14 01:50:45 +00:00
tjr
061d1d394f Style changes. Mainly removing excessive whitespace and parens. 2002-10-14 01:46:18 +00:00
alc
d7c3f24729 Eliminate the unnecessary clearing of flag bits that are already clear
in lio_listio(2).
2002-10-14 01:21:37 +00:00
tjr
f884e12d21 Add Big5, MSKanji and UTF-8 to the list of supported encodings.
Mark UTF2 as being deprecated.
2002-10-14 00:45:51 +00:00
grog
6d7a906aa2 Clarify that a number of incidents relate to Germany.
This file contains a number of incidents which do not related to
Germany.  It's not clear whether they should remain or not, so I have
left them.
2002-10-14 00:45:13 +00:00
obrien
b6ff61943b Take a guess at what WARNS level will make this compile on ia64. 2002-10-14 00:05:49 +00:00
phk
4dbebb44b1 Add in the GEOM control module.
Sponsored by:	DARPA & NAI Labs.
2002-10-13 20:36:47 +00:00
phk
1eafd1bc95 Add the outline of the "/dev/geom.ctl" handling code.
Sponsored by:	DARPA & NAI Labs.
2002-10-13 20:33:33 +00:00
jake
083845b5c0 Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot
that releases use.
2002-10-13 18:52:46 +00:00
cognet
c67390b43d Connect trm(4) to the build.
Reviewed by:	mux (mentor)
Approved by:	mux (mentor)
2002-10-13 18:44:26 +00:00
phk
a95c8cfb24 Give GEOM modules a chance to specify their own init routine, in case they
have special requirements.

Sponsored by:	DARPA & NAI Labs.
2002-10-13 18:42:35 +00:00
jake
521f97afae Add beginnings of sparc64 release magic. 2002-10-13 18:36:06 +00:00
cognet
20c51b1bbd Import of the trm(4) driver (for Tekram DC395U/UW/F and DC315U SCSI adapters).
Reviewed by:	mux, scottl
Approved by:	mux, scottl
2002-10-13 18:32:39 +00:00
jake
99f37adfdd MODINFO_SIZE metadata has type size_t, not unsigned. This makes preloaded
md root work on sparc64.
2002-10-13 18:19:22 +00:00
phk
c78ac11587 Correctly account for MAXPARTITIONS in the CTASSERT() which protects the
size of the disklabel structure.

Hit by:	schweikh
2002-10-13 17:28:14 +00:00
rwatson
e503981b22 Remove root from the kmem, sys, tty, and staff groups in the default
configuration.  Root privileges override DAC on local file systems and
therefore root does not generally need to be a member of a group to
access files owned by that group.  In the NFS case, require explicit
authorization for root to have these privileges.

Leave root in operator for dump/restore broadcast reasons; leave root
in wheel until discrepencies in the "no users in wheel means any user
can su" policy are resolved (possibly indefinitely).
2002-10-13 17:00:37 +00:00
mike
274818ff2c Remove the P1003_1B kernel option; it is no longer used. 2002-10-13 16:29:17 +00:00
rwatson
3f24148d9c For consistency with other entries in group, don't put the daemon or
xten users in their groups explicitly--we pick that up from the gid
field in master.passwd.
2002-10-13 16:26:26 +00:00
mux
fc294fdaf0 - Remove a useless initialization for 'ronly', if it hadn't been
there, we would have noticed that 'ronly' was uninitialized :-).
- Kill a nearby 'register' keyword.
2002-10-13 16:13:11 +00:00
phk
7753ea4ce0 Pass flags to VOP_CLOSE() corresponding to what was passed to VOP_OPEN().
Submitted by:	"Peter Edwards" <pmedwards@eircom.net>
2002-10-13 16:04:46 +00:00
mike
289d041ef1 struct ia64_fpreg needs to be available outside of the kernel for
struct sigcontext.

Pointy hat to: mike
2002-10-13 15:30:17 +00:00
mike
e20d2b8d8d Remove <sys/_posix.h>; nothing uses it anymore. 2002-10-13 15:05:56 +00:00
mike
2a56301cd0 Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more. 2002-10-13 14:29:04 +00:00
mike
ca4781fcfe Update a sysctl to use _POSIX_VERSION from <sys/unistd.h>, instead of
the kernel option _KPOSIX_VERSION.
2002-10-13 14:26:29 +00:00
mike
652e37b5de Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, so
that it can be used in-kernel for a sysctl.
2002-10-13 14:25:01 +00:00
mike
ca337b355f #ifdef _KERNEL not #if _KERNEL.
Pointy hat to:	mike
2002-10-13 12:33:38 +00:00
ru
5af69de216 Oops, missed that in rev. 1.35.
Spotted by:	make release
2002-10-13 12:22:57 +00:00
mike
86f382153e Include <sys/_posix.h> directly instead of depending on <sys/proc.h>
to include <sys/signal.h> to include <sys/_posix.h>.
2002-10-13 11:54:16 +00:00
kris
10962700eb Don't call report() without a format string.
MFC after:	3 days
2002-10-13 11:27:36 +00:00
kris
2e6c3a2849 Mark the logerr() function __printflike().
MFC after:	3 days
2002-10-13 11:26:37 +00:00
kris
5b0c1af47d Use strlcpy instead of incorrectly using strncpy.
MFC after:	2 weeks
2002-10-13 11:25:31 +00:00
kris
12bba2e84c Dump in $TMPDIR if !setugid, and use mode 0644 instead of 0666.
MFC after:	2 weeks
2002-10-13 11:23:31 +00:00
kris
71c7a4a40e Ignore TMPDIR if the application is setugid.
MFC after:	2 weeks
2002-10-13 11:22:16 +00:00
tjr
a803330bc2 FreeBSD's libedit does not include NetBSD's readline emulation code.
Remove references to it from the Authors and History sections.
2002-10-13 08:46:57 +00:00
ru
dfc02b315d Support FreeBSD versions starting from 4.0-RELEASE.
Reminded by:	imp
2002-10-13 08:36:16 +00:00
marcel
4e38a7aca1 Build the kernel with -mconstant-gp. This means that function calls,
with the exception of indirect function calls, are assumed to be
intra load module and thus that GP will be the same. This avoids
saving, setting and restoring GP for each function call and
reduces the kernel with ~320KB. There's obviously a performance
benefit as well.

Note that since we generally don't know if calls will be intra or
inter load module when we're compiling kernel modules, -mconstant-gp
cannot be used for modules.
2002-10-13 07:07:51 +00:00
jeff
ec9727e8a4 - Remove the do { } while(0) from the VOP lock assert macros. This was
not optimized away by the compiler in time for it to still leave the VOP
   functions as inlines.

Submitted by:	bde
2002-10-13 04:19:44 +00:00
marcel
c6eea350fc ia64 specific CFLAGS change:
Fix the "@gprel relocation against dynamic symbol xxx" linker error.

Variables defined in the link unit and small enough to be put in the
short data section will have a gp-relative access sequence (using the
@gprel relocation). It is invalid to have @gprel relocations in shared
libraries, because they are to be resolved by the static linker and
not the dynamic linker. The -fpic option will cause @ltoff relocations
for @gprel relocations, but the side-effects are untested (if any).
Instead, disable/eliminate the short data section to achieve the same.
2002-10-13 02:52:22 +00:00