summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Regularize the vop_stdlock'ing protocol across all the filesystemsmckusick2002-10-1433-158/+30
| | | | | | | | | | | | | | | | | | | | 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.
* o Comment out the symbol download code for 4.x.imp2002-10-144-6/+42
| | | | | o Add hooks for doing power management of the output signal. o Minor hacks to make flexlint happy wrt staticness of functions.
* FA, FB and FC are lead bytes according to recent Microsoft documentation.tjr2002-10-141-1/+1
|
* Style changes. Mainly removing excessive whitespace and parens.tjr2002-10-141-24/+29
|
* Eliminate the unnecessary clearing of flag bits that are already clearalc2002-10-141-4/+1
| | | | in lio_listio(2).
* Add Big5, MSKanji and UTF-8 to the list of supported encodings.tjr2002-10-141-10/+29
| | | | Mark UTF2 as being deprecated.
* Clarify that a number of incidents relate to Germany.grog2002-10-141-15/+14
| | | | | | 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.
* Take a guess at what WARNS level will make this compile on ia64.obrien2002-10-141-1/+1
|
* Add in the GEOM control module.phk2002-10-131-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Add the outline of the "/dev/geom.ctl" handling code.phk2002-10-132-1/+201
| | | | Sponsored by: DARPA & NAI Labs.
* Compile in support for zipfs and bzipfs so we can load the gzipped mfsrootjake2002-10-132-0/+14
| | | | that releases use.
* Connect trm(4) to the build.cognet2002-10-134-0/+16
| | | | | Reviewed by: mux (mentor) Approved by: mux (mentor)
* Give GEOM modules a chance to specify their own init routine, in case theyphk2002-10-131-1/+4
| | | | | | have special requirements. Sponsored by: DARPA & NAI Labs.
* Add beginnings of sparc64 release magic.jake2002-10-133-0/+105
|
* Import of the trm(4) driver (for Tekram DC395U/UW/F and DC315U SCSI adapters).cognet2002-10-132-0/+4352
| | | | | Reviewed by: mux, scottl Approved by: mux, scottl
* MODINFO_SIZE metadata has type size_t, not unsigned. This makes preloadedjake2002-10-131-1/+1
| | | | md root work on sparc64.
* Correctly account for MAXPARTITIONS in the CTASSERT() which protects thephk2002-10-131-1/+1
| | | | | | size of the disklabel structure. Hit by: schweikh
* Remove root from the kmem, sys, tty, and staff groups in the defaultrwatson2002-10-131-4/+4
| | | | | | | | | | | 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).
* Remove the P1003_1B kernel option; it is no longer used.mike2002-10-1311-21/+9
|
* For consistency with other entries in group, don't put the daemon orrwatson2002-10-131-2/+2
| | | | | xten users in their groups explicitly--we pick that up from the gid field in master.passwd.
* - Remove a useless initialization for 'ronly', if it hadn't beenmux2002-10-131-2/+2
| | | | | there, we would have noticed that 'ronly' was uninitialized :-). - Kill a nearby 'register' keyword.
* Pass flags to VOP_CLOSE() corresponding to what was passed to VOP_OPEN().phk2002-10-131-0/+1
| | | | Submitted by: "Peter Edwards" <pmedwards@eircom.net>
* struct ia64_fpreg needs to be available outside of the kernel formike2002-10-131-2/+4
| | | | | | struct sigcontext. Pointy hat to: mike
* Remove <sys/_posix.h>; nothing uses it anymore.mike2002-10-131-84/+0
|
* Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more.mike2002-10-133-10/+0
|
* Update a sysctl to use _POSIX_VERSION from <sys/unistd.h>, instead ofmike2002-10-131-2/+2
| | | | the kernel option _KPOSIX_VERSION.
* Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, somike2002-10-132-2/+4
| | | | that it can be used in-kernel for a sysctl.
* #ifdef _KERNEL not #if _KERNEL.mike2002-10-131-1/+1
| | | | Pointy hat to: mike
* Oops, missed that in rev. 1.35.ru2002-10-131-1/+0
| | | | Spotted by: make release
* Include <sys/_posix.h> directly instead of depending on <sys/proc.h>mike2002-10-131-0/+1
| | | | to include <sys/signal.h> to include <sys/_posix.h>.
* Don't call report() without a format string.kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Mark the logerr() function __printflike().kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Use strlcpy instead of incorrectly using strncpy.kris2002-10-131-1/+1
| | | | MFC after: 2 weeks
* Dump in $TMPDIR if !setugid, and use mode 0644 instead of 0666.kris2002-10-131-7/+11
| | | | MFC after: 2 weeks
* Ignore TMPDIR if the application is setugid.kris2002-10-131-1/+2
| | | | MFC after: 2 weeks
* FreeBSD's libedit does not include NetBSD's readline emulation code.tjr2002-10-131-4/+3
| | | | Remove references to it from the Authors and History sections.
* Support FreeBSD versions starting from 4.0-RELEASE.ru2002-10-131-0/+10
| | | | Reminded by: imp
* Build the kernel with -mconstant-gp. This means that function calls,marcel2002-10-131-0/+2
| | | | | | | | | | | | 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.
* - Remove the do { } while(0) from the VOP lock assert macros. This wasjeff2002-10-131-7/+7
| | | | | | | not optimized away by the compiler in time for it to still leave the VOP functions as inlines. Submitted by: bde
* ia64 specific CFLAGS change:marcel2002-10-132-2/+2
| | | | | | | | | | | | 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.
* Prevent stack-smashing buffer overflows in -D and -r options by usingkris2002-10-132-6/+10
| | | | | | | buffer-safe string functions. The rest of the code is still probably unsafe. MFC after: 1 week
* MFS: Fix smrsh bypass bug.gshapiro2002-10-131-0/+35
|
* o Fix a silly requirement for <machine/signal.h> to be included in themike2002-10-131-49/+70
| | | | | | | | | | | | middle of this header. o Remove unneeded conditionals to hide SIG* in the POSIX case. (C allows implementations to define additional SIG* constants.) o Add comments about missing features. o Move the location of the sigset_t typedef. o Update standards visibility conditionals. o Fix some assumptions about what pid_t and uid_t are defined as. o Remove size_t typedef and use __size_t in struct sigaltstack instead.
* Add standards visibility conditionals. Change any uses of sigset_t tomike2002-10-137-30/+69
| | | | struct __sigset to avoid depending on objects from <sys/signal.h>.
* Assume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix amike2002-10-131-5/+8
| | | | mix-up with siginterrupt().
* Removed unused tl0_syscall.jake2002-10-121-84/+0
|
* o Fix typo in previous commit: s/sc-nsect/sc->nsect/marcel2002-10-121-2/+2
| | | | o Fix printf format error for %d format with long argument.
* Plug two holes where we returned to userland without restoringmarcel2002-10-122-0/+4
| | | | | | | | | | the predicate registers. Even though the ITLB and DTLB interrupts happen often enough, this bug didn't do much harm. The reason is that the interrupt handlers only modify p1 and since this is a preserved (callee-saved) register it is hardly used in code generated by the compiler. Compilers use scratch registers by default. Changing the interrupt handlers to use p6 (ie a scratch register) proved that the bug was in fact fatal.
* whitespace fixes.alfred2002-10-121-2/+2
|
* Have the linker collect and combine all unwind_info and unwindmarcel2002-10-121-2/+2
| | | | | sections so that the resulting load module has a single unwind table. This matches the behaviour in userland.
OpenPOWER on IntegriCloud