aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate for updated syscalls.master.Robert Watson2005-05-285-13/+13
| | | | Notes: svn path=/head/; revision=146720
* Mark the following compatability system calls as MCOMPAT or MCOMPAT4 basedRobert Watson2005-05-281-8/+8
| | | | | | | | | | | | | | | | | | | | | on the their simply wrapping MPSAFE implementations of existing MPSAFE system calls: getfsstat() lseek() stat() lstat() truncate() ftruncate() statfs() fstatfs() Note that ogetdirentries() is not marked MPSAFE because it does not share the MPSAFE implementation used for getdirentries(), and requires separate locking to be implemented. Notes: svn path=/head/; revision=146719
* Fix use of uninitialized variable len in ngd_send.Bjoern A. Zeeb2005-05-281-3/+7
| | | | | | | | | | | | Note: len gets intialized to 0 for sap == NULL case only to make compiler on amd64 happy. This has nothing todo with the former uninitialized use of len in sap != NULL case. Reviewed by: glebius Approved by: pjd (mentor) Notes: svn path=/head/; revision=146718
* Regenerate from syscalls.master.Robert Watson2005-05-285-6/+6
| | | | Notes: svn path=/head/; revision=146717
* Mark quotactl() as MSTD.Robert Watson2005-05-281-1/+1
| | | | Notes: svn path=/head/; revision=146716
* Acquire Giant explicitly in quotactl() so that the syscalls.masterRobert Watson2005-05-282-4/+20
| | | | | | | entry can become MSTD. Notes: svn path=/head/; revision=146715
* Regenerate from updated syscalls.master.Robert Watson2005-05-285-6/+6
| | | | Notes: svn path=/head/; revision=146714
* Mark kenv(2) as MPSAFE, since it appears to be properly locked down.Robert Watson2005-05-281-1/+1
| | | | Notes: svn path=/head/; revision=146713
* Regenerate system call tables from syscalls.master.Robert Watson2005-05-285-9/+9
| | | | Notes: svn path=/head/; revision=146712
* Also mark the COMPAT4 version of fhstatfs() as MPSAFE.Robert Watson2005-05-281-1/+1
| | | | Notes: svn path=/head/; revision=146711
* Mark fhopen(), fhstat(), and fhstatfs() as MSTD, since they nowRobert Watson2005-05-281-3/+3
| | | | | | | acquire Giant themselves. Notes: svn path=/head/; revision=146710
* Acquire Giant explicitly in fhopen(), fhstat(), and kern_fhstatfs(),Robert Watson2005-05-282-20/+72
| | | | | | | | so that we can start to eliminate the presence of non-MPSAFE system call entries in syscalls.master. Notes: svn path=/head/; revision=146709
* Enable ReiserFS note on pc98.Yoshihiro Takahashi2005-05-282-2/+2
| | | | Notes: svn path=/head/; revision=146708
* Add 6300ESB, which should be treated as ICH4.Seigo Tanimura2005-05-281-1/+9
| | | | | | | | | PR: kern/81573 Submitted by: OOTOMO Hiroyuki <ootomo@za.wakwak.com> MFC after: 1 week Notes: svn path=/head/; revision=146705
* Let OSPFv3 go through ipfw. Some more additional checks would beSeigo Tanimura2005-05-281-0/+5
| | | | | | | desirable, though. Notes: svn path=/head/; revision=146704
* Update refrenced URL for SNMP list of ifTypes to refer to iana.orgBrooks Davis2005-05-281-1/+1
| | | | | | | instead of a dead location on ftp.isi.edu. Notes: svn path=/head/; revision=146702
* Move AVM USB Bluetooth-Adapter BlueFritz! from "broken" devices listMaksim Yevmenkin2005-05-281-4/+6
| | | | | | | | | | (where I incorrectly put it initially) to "ignored" devices list (where it should be). Pointy hat goes to me. MFC after: 3 days Notes: svn path=/head/; revision=146701
* reduce cast.Hajimu UMEMOTO2005-05-271-3/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=146700
* - Add support to the loader for multiple consoles.John Baldwin2005-05-275-53/+146
| | | | | | | | | | | | | | | | - Teach the i386 and pc98 loaders to honor multiple console requests from their respective boot2 binaries so that the same console(s) are used in both boot2 and the loader. - Since the kernel doesn't support multiple consoles, whichever console is listed first is treated as the "primary" console and is passed to the kernel in the boot_howto flags. PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week Notes: svn path=/head/; revision=146698
* Fix a warning by adding a missing 'const'.John Baldwin2005-05-272-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=146697
* Print out the commands from /boot.config after parsing them so that theyJohn Baldwin2005-05-273-3/+3
| | | | | | | | | | | output is sent to the correct console(s). PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week Notes: svn path=/head/; revision=146696
* Remove (now) unused argument 'td' from bsd_to_linux_statfs().Pawel Jakub Dawidek2005-05-271-4/+3
| | | | Notes: svn path=/head/; revision=146695
* Remove (now) unused argument 'td' from cvtstatfs().Pawel Jakub Dawidek2005-05-272-14/+12
| | | | Notes: svn path=/head/; revision=146694
* Sync locking in freebsd4_getfsstat() with getfsstat().Pawel Jakub Dawidek2005-05-272-0/+6
| | | | | | | Giant is probably also needed in kern_fhstatfs(). Notes: svn path=/head/; revision=146693
* Use consistent style in functions I want to modify in the near future.Pawel Jakub Dawidek2005-05-272-18/+30
| | | | Notes: svn path=/head/; revision=146692
* Do not tread 128-bit UUID as int128. Provide separate macros to get/putMaksim Yevmenkin2005-05-274-36/+117
| | | | | | | | | 128-bit UUID libsdp(3). Fix 128-bit UUID printing in sdpcontrol(8). MFC after: 3 days Notes: svn path=/head/; revision=146691
* disable defining NI_WITHSCOPEID. It was obsoleted, and was existHajimu UMEMOTO2005-05-271-1/+1
| | | | | | | only for backward compatibility since 5.2-RELEASE. Notes: svn path=/head/; revision=146690
* dd a '-n' option to ministat, which causes it to display only summaryRobert Watson2005-05-272-18/+34
| | | | | | | | statistics, not graph and statistical test output. Useful for automated processing. Notes: svn path=/head/; revision=146689
* In the current world order, each socket has two mutexes: a mutexRobert Watson2005-05-272-26/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that protects socket and receive socket buffer state, and a second mutex to protect send socket buffer state. In some places, the mutex shared between the socket and receive socket buffer will be acquired twice, once by each layer, resulting in some inconsistency, but providing the abstraction benefit of being able to more easily separate the two mutexes in the future if desired. When transitioning a socket to the SS_ISDISCONNECTING or SS_ISDISCONNECTED states, grab the socket/receive socket buffer lock once rather than grabbing it as the socket lock, modifying socket state, then grabbing a second time as the receive lock in order to modify the socket buffer state to indicate no further data can be read. This change is believed to close a race between the change in socket state and the change in socket buffer state, which for a remotely initiated close on a UNIX domain socket, resulted in soreceive() returning ENOTCONN rather than an EOF condition. A similar race still exists in the case of send, however, and is harder to fix as the socket and send socket buffer mutexes are not the same, and we would like to avoid holding combinations of socket mutexes over sb_upcall until we've finished clarifying the locking protocol for upcalls. This change has the side affect of reducing the number of mutex operations to initiate disconnect or perform disconnect on a socket by two. PR: 78824 Rerported by: Marc Olzheim <marcolz@stack.nl> MFC after: 2 weeks Notes: svn path=/head/; revision=146688
* Remove thread_upcall_check, it was used to avoid race bug in earlierDavid Xu2005-05-273-16/+1
| | | | | | | | day's sleep queue code, today the bug no longer exists. please see 04/25/2004 freebsd-threads@ mailing list archive. Notes: svn path=/head/; revision=146687
* Fix for 64-bit platforms. random() returns values between 0 and RAND_MAX,John Baldwin2005-05-271-3/+3
| | | | | | | | | | | | and RAND_MAX != LONG_MAX on 64-bit platforms. PR: amd64/81279 Submitted by: Vivek Khera vivek at khera dot org Submitted by: Adriaan de Groot groot at kde dot org MFC after: 1 week Notes: svn path=/head/; revision=146686
* Back out ipx.h:1.18, which introduced a Linux API compatibility field inRobert Watson2005-05-271-3/+0
| | | | | | | | | | | | | | | | | | | | | the ipx_net data structure. Doing so introduced a stronger alignment requirement for the address structure, which in turn propagated into other dependent data structures, which turns out not to be suported by the available IPX source code. As a result, a number of user space applications, such as IPX routing components, failed to operate correctly. RELENG_5_3 candidate? PRs: 74059, 80266 Pointy hat to: bms Fix by: bde Tested by: Keith White <Keith dot White at site dot uottawa dot ca> MFC after: 1 week Suffering: great Notes: svn path=/head/; revision=146679
* Fix long (and long long) to long double, unsigned to long double and unsignedStefan Farfeleder2005-05-272-10/+24
| | | | | | | | | | | | | | | | | | long (and unsigned long long) to long double conversions. - Add a parameter that specifies the position of the sign bit to the _QP_TTOQ macro, previously it always looked at bit 31. Pass a negative number to disable sign inspection for unsigned types. This fixes _Qp_xtoq(), _Qp_uitoq() and _Qp_uxtoq(). - In the functions __fpu_itof() and __fpu_xtof(), look at the sign bit to decide whether we're doing a conversion from an unsigned type. If so, don't negate the mantissa if the integer exceeds the biggest signed number. PR: 55773 Patch by: Stephen Paskaluk (based upon) MFC after: 2 weeks Notes: svn path=/head/; revision=146673
* Fixup of last commit: Use the name X instead of XFree86 for the server binary,Eivind Eklund2005-05-271-1/+1
| | | | | | | | | thus being compatible with both XFree86 and X.org. Noticed by: danfe Notes: svn path=/head/; revision=146672
* Document support for the 82573 chip.Christian Brueffer2005-05-271-3/+3
| | | | Notes: svn path=/head/; revision=146671
* Remove sleep queue hack, it is no longer needed with current sleep queue.David Xu2005-05-271-8/+0
| | | | | | | | | Actually, it causes process to hang when it is being debugged. PR: gnu/77818 Notes: svn path=/head/; revision=146670
* Since this is already off the vendor branch: Our kernel is now inEivind Eklund2005-05-271-1/+1
| | | | | | | /boot/kernel/kernel, not plain /kernel Notes: svn path=/head/; revision=146669
* Remove pmap_deactivate(), we do not use it.Olivier Houchard2005-05-271-6/+0
| | | | Notes: svn path=/head/; revision=146668
* Make the example for using xterm as a login manager to match the X of theEivind Eklund2005-05-271-1/+1
| | | | | | | noughties, not eighties. Notes: svn path=/head/; revision=146666
* Add cross-references to iostat, systat and vmstat.Giorgos Keramidas2005-05-271-1/+4
| | | | Notes: svn path=/head/; revision=146665
* Use clnt_create_timed() instead of clnt_create(). The former has anMaxime Henrion2005-05-271-6/+8
| | | | | | | | | | | additional argument that allows us to specify a timeout, like we do for the subsequent clnt_call() calls. Submitted by: Jeremie Le Hen <jeremie@le-hen.org> MFC after: 3 weeks Notes: svn path=/head/; revision=146664
* Latest README to correspond to latest Intel version 2.1.7Tony Ackerman2005-05-261-143/+124
| | | | Notes: svn path=/head/; revision=146663
* Changes to update driver with latest Intel driver version 2.1.7Tony Ackerman2005-05-265-529/+2504
| | | | | | | | | | | | | | - Changed from using explicit devices id to using descriptive labels. - Added support for 82573 and 82546 Quad adapters. - Corrected support for 82547EI and 82541ER (mac_type was not assigned) - Removed #ifdef DBG_STATS and extraneous code. if_em_hw.c/if_em_hw.h - Added support for 82573 and 82546 Quad adapters. - Brought forward Intel's most current mac and phy changes. Notes: svn path=/head/; revision=146662
* Baby, we are not in Kansas anymore. Nor are we in 1996 or FreeBSD 2.1.Eivind Eklund2005-05-261-6/+7
| | | | | | | | Note that these papers are mostly quite old, and add a pointer to more recent docs. Notes: svn path=/head/; revision=146661
* Remove an errno reset that became unnecessary.Eivind Eklund2005-05-261-1/+0
| | | | | | | Noticed by: juli Notes: svn path=/head/; revision=146659
* decode utimes, lutimes, futimes, chflags, lchflags.Alfred Perlstein2005-05-261-0/+10
| | | | Notes: svn path=/head/; revision=146658
* Document a couple of gotchas.Eivind Eklund2005-05-261-1/+7
| | | | Notes: svn path=/head/; revision=146657
* We are past 4.4BSD - use our new-found stat flags for pipes and fifos.Eivind Eklund2005-05-261-6/+1
| | | | Notes: svn path=/head/; revision=146656
* decode mkdir args.Alfred Perlstein2005-05-261-0/+2
| | | | Notes: svn path=/head/; revision=146652
* Interlink systat(1), iostat(8) and vmstat(8) through their SEE ALSOGiorgos Keramidas2005-05-263-0/+3
| | | | | | | sections, so that users of one can learn about the others easily. Notes: svn path=/head/; revision=146650