summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Bring back fix from rev. 1.28 which was lost during the import.mlaier2005-05-041-2/+2
|
* Combine rev. 1.29 and 1.30 to something that will make sense for futuremlaier2005-05-041-1/+6
| | | | imports.
* Make LINT happy.mlaier2005-05-042-9/+9
|
* Make smbfs capable to use 16bit char set in filenames.takawata2005-05-043-11/+31
| | | | PR:78110
* If we don't get a suggested MTU during path MTU discoveryandre2005-05-042-18/+40
| | | | | | | | look up the packet size of the packet that generated the response, step down the MTU by one step through ip_next_mtu() and try again. Suggested by: dwmalone
* Cleanup IPFW2 ifdefs.glebius2005-05-041-58/+0
|
* Makefile is not needed here.glebius2005-05-041-14/+0
|
* Add another step of 1280 (gif(4) tunnels) to ip_next_mtu().andre2005-05-041-2/+2
|
* IPFW version 2 is the only option in HEAD and RELENG_5.glebius2005-05-043-24/+0
| | | | Thus, cleanup unnecessary now ifdefs.
* Pass icmp_error() the MTU argument directly instead ofandre2005-05-045-35/+21
| | | | | an interface pointer. This simplifies a couple of uses and removes some XXX workarounds.
* Introduce MAC Framework and MAC Policy entry points to label and controlrwatson2005-05-0414-10/+564
| | | | | | | | | | | | | | | | | | | | | | access to POSIX Semaphores: mac_init_posix_sem() Initialize label for POSIX semaphore mac_create_posix_sem() Create POSIX semaphore mac_destroy_posix_sem() Destroy POSIX semaphore mac_check_posix_sem_destroy() Check whether semaphore may be destroyed mac_check_posix_sem_getvalue() Check whether semaphore may be queried mac_check_possix_sem_open() Check whether semaphore may be opened mac_check_posix_sem_post() Check whether semaphore may be posted to mac_check_posix_sem_unlink() Check whether semaphore may be unlinked mac_check_posix_sem_wait() Check whether may wait on semaphore Update Biba, MLS, Stub, and Test policies to implement these entry points. For information flow policies, most semaphore operations are effectively read/write. Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Sponsored by: DARPA, McAfee, SPARTA Obtained from: TrustedBSD Project
* -introduce net.bpf sysctl instead of the less intuitive debug.*csjp2005-05-041-8/+10
| | | | | | | | | | | debug.bpf_bufsize is now net.bpf.bufsize debug.bpf_maxbufsize is now net.bpf.maxbufsize -move function prototypes for bpf_drvinit and bpf_clone up to the top of the file with the others -assert bpfd lock in catchpacket() and bpf_wakeup() MFC after: 2 weeks
* A patch to support Palm Tungsten T via USB-Cradle.julian2005-05-041-17/+76
| | | | | | not suer where it comes from but suspect kimoto at ohnolab.org MFC after: 1 week
* Move definitions of 'struct kuser' and 'struct ksem' from uipc_sem.crwatson2005-05-033-19/+111
| | | | | | | | | | | to ksem.h so that they are accessible from the MAC Framework for the purposes of labeling and enforcing additional protections. #error if these are included without _KERNEL, since they are not intended (nor installed) for user application use. Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net> Sponsored by: DARPA, SPARTA Obtained from: TrustedBSD Project
* Bump __FreeBSD_version for pf 3.7 and inform about user visible changes.mlaier2005-05-031-1/+1
|
* Resolve conflicts created during the import of pf 3.7 Some features aremlaier2005-05-0311-1333/+2541
| | | | | | | | missing and will be implemented in a second step. This is functional as is. Tested by: freebsd-pf, pfsense.org Obtained from: OpenBSD X-MFC after: never (breaks API/ABI)
* - Initialize vfslocked correctly early enough for MAC to compile.jeff2005-05-031-5/+4
| | | | | | | | - Fix one place where we explicitly drop Giant! Pointy hat to: me Submitted by: Max Laier Warned by: Tinderbox
* - move to SCHED_4BSD per jeffr's comments on SCHED_ULE's stategrehan2005-05-031-5/+4
| | | | | | - enable MSDOSFS - ehci is stable on the powerbook - modules have been working for a long time.
* - Add a new object flag "OBJ_NEEDSGIANT". We set this flag if thejeff2005-05-034-4/+14
| | | | | | | underlying vnode requires Giant. - In vm_fault only acquire Giant if the underlying object has NEEDSGIANT set. - In vm_object_shadow inherit the NEEDSGIANT flag from the backing object.
* - Set the v_object pointer after a successful VOP_OPEN(). This isn't ajeff2005-05-031-1/+2
| | | | | | | perfect solution as the lower vm object can change at unpredictable times if our lower vp happens to be on another unionfs, etc. Submitted by: Oleg Sharoiko <os@rsu.ru>
* - Don't restrict the softdep stats to DEBUG kernels, they cost nothing tojeff2005-05-031-11/+7
| | | | | | | | | export. This was happening anyway since this file manually sets DEBUG. - Add a sysctl for the number of items on the worklist. - Use a more canonical loop restart in softdep_fsync_mountdev, it saves some code at the expense of a goto and makes me worry less about modifying a variable that should be private to the TAILQ_FOREACH_SAFE macro.
* - Remove two mtx_asserts that can incorrectly trigger ifjeff2005-05-031-4/+0
| | | | | | | | devstat_end_transaction is called from a fast interrupt. Presently there is no way for mtx_assert to determine that we're not executing in a real thread context. Submitted by: jhusted@isilon.com
* - A vnode may have made its way onto the free list while it was beingjeff2005-05-031-0/+2
| | | | | | | vgone'd. We must remove it from the freelist before returning in vtryrecycle() or we may get a duplicate free. Reported by: kkenn
* - Use namei to acquire Giant for VFS if it is necessary. Drop the explicitjeff2005-05-031-9/+7
| | | | | | Giant acquisition. - Remove GIANT_REQUIRED in the few remaining cases; the vm and vfs have both been locked.
* - Use NAMEI to pickup Giant if we need it in fpcheckstd().jeff2005-05-031-4/+5
|
* - Neither of our image formats require Giant now that the vm and vfs havejeff2005-05-032-4/+0
| | | | been locked.
* Reshape the dma code to be a bit more flexible so it can cope withsos2005-05-038-329/+289
| | | | | | | new HW that has new and different demands. Fix a few nits in former commit in this cleanup crusade. Sponsored by: pair.com
* Properly mask off the status bits when checking to see if the ccb is stillscottl2005-05-031-1/+1
| | | | | | | valid to process. This was causing deferred commands to be rejected due to their extra status flag. MFC After: 3 days
* The driver looks like it can create valid 64-bit scatter-gather lists, soscottl2005-05-031-4/+4
| | | | | | | don't restrict it to a 32-bit address space. Also use the correct busdma flags for the SRB memory area. MFC After: 3 days
* The kthread is disabled at this time, so don't try to wake it up onscottl2005-05-031-0/+2
| | | | | | shutdown. This fixes a panic on reboot. MFC After: 3 days
* Fix some busdma API violations in the dumpsys handler.scottl2005-05-021-2/+7
| | | | MFC After: 3 days
* Don't copy the NFSMNT_* flags into struct statfs's f_flags field,iedowse2005-05-021-1/+0
| | | | | | | | | | | as they have no connection with the expected MNT_* flags. This bug was exposed 18 months ago when the assignments to f_flags in vfs_syscalls.c were moved to before the VFS_STATFS() call. It was fixed in the CSRG source 10 years ago, but we never picked up that change. PR: kern/80390 MFC after: 1 week
* Always attach a subdisk even if no valid metadata found.sos2005-05-021-1/+2
| | | | This allows the disks to be used later in a raid create.
* Remove GIANT_REQUIRED from vmspace_exec().alc2005-05-021-1/+0
| | | | Prodded by: jeff
* Since it is not possible for curthread to be NULL in this context,csjp2005-05-021-4/+2
| | | | | | | | drop the check+initialization for a straight initialization. Also assert that curthread will never be NULL just to be sure. Discussed with: rwatson, peter MFC after: 1 week
* Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc.jkoshy2005-05-017-333/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have pmcstat(8) and pmccontrol(8) use these APIs. Return PMC class-related constants (PMC widths and capabilities) with the OP GETCPUINFO call leaving OP PMCINFO to return only the dynamic information associated with a PMC (i.e., whether enabled, owner pid, reload count etc.). Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to get upto-date values from hardware since we can guarantee that the hardware is running the correct PMC at the time of the call. Bug fixes: - (x86 class processors) Fix a bug that prevented an RDPMC instruction from being recognized as permitted till after the attached process had context switched out and back in again after a pmc_start() call. Tighten the rules for using RDPMC class instructions: a GETMSR OP is now allowed only after an OP ATTACH has been done by the PMC's owner to itself. OP GETMSR is not allowed for PMCs that track descendants, for PMCs attached to processes other than their owner processes. - (P4/HTT processors only) Fix a bug that caused the MI and MD layers to get out of sync. Add a new MD operation 'get_config()' as part of this fix. - Allow multiple system-mode PMCs at the same row-index but on different CPUs to be allocated. - Reject allocation of an administratively disabled PMC. Misc. code cleanups and refactoring. Improve a few comments.
* Remove now unused inirw variable from previous use of COMMON_END().rwatson2005-05-011-1/+0
| | | | Reported by: csjp
* Catch up with latest ATA newbus commits.grehan2005-05-012-4/+4
|
* Fix typo in last commit.grehan2005-05-011-1/+1
| | | | Approved by: rwatson
* Update on the last commit, the dma* funciton needs to be called withsos2005-05-014-19/+19
| | | | | a channel device, not an ata device, or we'll be out of luck in reset/timeout where we dont have a device.
* - All buffers should either be clean or dirty. If neither of these flagsjeff2005-05-011-0/+4
| | | | | | | are set when we attempt to remove a buffer from a queue we should panic. Hopefully this will catch the source of the wrong bufobj panics. Sponsored by: Isilon Systems, Inc.
* Slide unlocking of the tcbinfo lock earlier in tcp_usr_send(), as it'srwatson2005-05-011-2/+13
| | | | | | | | | | | needed only for implicit connect cases. Under load, especially on SMP, this can greatly reduce contention on the tcbinfo lock. NB: Ambiguities about the state of so_pcb need to be resolved so that all use of the tcbinfo lock in non-implicit connection cases can be eliminated. Submited by: Kazuaki Oda <kaakun at highway dot ne dot jp>
* Add some convenience defines.nyan2005-05-011-1/+5
|
* Fix signed vs unsigned warning.nyan2005-05-011-2/+2
|
* Go back to the old way of finding the Promise metadata, the new way wassos2005-05-011-1/+1
| | | | too simple causing older controllers metadata to get lost.
* MFi386: revision 1.1198 (add KDB_STOP_NMI option).nyan2005-05-011-0/+5
|
* MFi386: revision 1.220 (add KDB_STOP_NMI option).nyan2005-05-011-0/+3
|
* - Remove spls and comments relating to them.jeff2005-05-011-26/+2
|
* - Remove an old splcam hack.jeff2005-05-011-4/+0
|
* - Remove unnecessary spls.jeff2005-05-011-10/+2
|
OpenPOWER on IntegriCloud