summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* if_mtu not ifp_mtu.mlaier2005-05-041-1/+1
|
* - add $FreeBSD$.ume2005-05-041-1/+2
| | | | - enable -r option for regress target.
* Change m_uiotombuf so it will accept offset at which data should be copiedemax2005-05-046-7/+10
| | | | | | | | | | to the mbuf. Offset cannot exceed MHLEN bytes. This is currently used to fix Ethernet header alignment problem on alpha and sparc64. Also change all users of m_uiotombuf to pass proper offset. Reviewed by: jmg, sam Tested by: Sten Spans "sten AT blinkenlights DOT nl" MFC after: 1 week
* Fix a bug in NFS/TCP where retransmissions would not reliably happenps2005-05-041-3/+11
| | | | | | | if the server rebooted or tore down the connection for any reason. Found by: Jonathan Noack. Submitted by: Mohan Srinivasan.
* 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-046-30/+39
| | | | PR:78110
* Add more technical terms to reduce false positives when spellcheckingmurray2005-05-041-0/+4
| | | | FreeBSD documentation.
* 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 now in HEAD. Do not confuseglebius2005-05-041-45/+0
| | | | | users of future releases with instructions about building IPFW2 on RELENG_4.
* 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.
* Build userland libalias using src/sys/netinet/libalias.glebius2005-05-0417-10259/+2
| | | | | Reviewed by: ru Repocopy by: peter
* Add -m option (find module using modfind() and stat it).fjoe2005-05-042-5/+31
|
* - add $FreeBSD$.ume2005-05-041-10/+128
| | | | | | | - do service lookup. - add options to use gethostbyname(3) or getipnodebyname(3) instead of getaddrinfo(3). - add option to do reverse lookup.
* This commit was generated by cvs2svn to compensate for changes in r145857,ume2005-05-043-0/+319
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * import of parallel name resolution test.ume2005-05-043-0/+319
| | | | | | | | Obtained from: NetBSD
* | Document the fact that accept(2) may return EINVAL when addrlen iskeramida2005-05-041-0/+4
| | | | | | | | | | | | | | | | negative (in addition to returning EINVAL when called on a descriptor that is not a socket). Submitted by: Arne H Juul <arnej@europe.yahoo-inc.com> PR: docs/80587
* | 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
* | Use libutil in DPADD as well.mlaier2005-05-041-1/+1
| | | | | | | | Submitted by: ru
* | The correct description for mode "w" isdes2005-05-041-1/+1
| | | | | | | | | | | | | | | | (((truncate to zero length) or (create)) (text file)) (for writing) and not ((truncate file to zero length) or (create text file)) (for writing) MFC after: 1 week
* | -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
* | do mutex lock for each yp calls. with this,ume2005-05-031-13/+65
| | | | | | | | | | http://cvsweb.netbsd.org/bsdweb.cgi/src/regress/lib/libpthread/resolv/ is working.
* | 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-032-1/+6
| |
* | Update ifconfig's pfsync module for 3.7 pfsync(4)mlaier2005-05-031-14/+80
| |
* | Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources.mlaier2005-05-032-7/+4
| |
* | Resolve conflicts created during the import of pf 3.7 Some features aremlaier2005-05-0318-1390/+2370
| | | | | | | | | | | | | | missing and will be implemented in a second step. This is functional as is. Tested by: freebsd-pf, pfsense.org Obtained from: OpenBSD
* | This commit was generated by cvs2svn to compensate for changes in r145837,mlaier2005-05-0312-181/+1839
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import pf userland from OpenBSD 3.7 (OPENBSD_3_7 as of today)mlaier2005-05-0329-1565/+4187
| | |
| * | Import pfctl_table.c#1.61 from OpenBSD into vendor branch.mlaier2004-08-221-1/+8
| | |
* | | 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
* | | Cleanup for getgrouplist(3):delphij2005-05-031-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Use /*- instead of /* for copyright section - Include unistd.h for prototype of it - Sort and separate includes as described in style(9) - ANSIfy the function defination - Use const for the traversing iterator
* | | fix signed/unsigned comparison warnings.ume2005-05-031-5/+5
| | | | | | | | | | | | Obtained from: NetBSD
* | | Include paths.h for prototype of getbootfile(3).delphij2005-05-031-0/+2
| | |
* | | - 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.
OpenPOWER on IntegriCloud