summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prefer NULL to returning 0 cast to a pointer type.rwatson2005-02-202-6/+6
| | | | MFC after: 3 days
* In soreceive(), when considering delivery to a socket in SS_ISCONFIRMING,rwatson2005-02-201-1/+2
| | | | | | | | only call the protocol's pru_rcvd() if the protocol has the flag PR_WANTRCVD set. This brings that instance of pru_rcvd() into line with the rest, which do check the flag. MFC after: 3 days
* When creating a new FFS file system, the block size will indirectlydelphij2005-02-200-0/+0
| | | | | | | | | | | | | affect the largest file size that is allowed by the file system. On the other hand, when creating a snapshot, the snapshot file will appear as it is as big as the file system itself. Hence we will not be able to create a snapshot on large file systems with small block sizes. Add a warning about this, and gives some hints to correct the issue. Reviewed by: mckusick MFC After: 1 week
* The recomputation of file system summary at mount time can be adelphij2005-02-205-5/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | very slow process, especially for large file systems that is just recovered from a crash. Since the summary is already re-sync'ed every 30 second, we will not lag behind too much after a crash. With this consideration in mind, it is more reasonable to transfer the responsibility to background fsck, to reduce the delay after a crash. Add a new sysctl variable, vfs.ffs.compute_summary_at_mount, to control this behavior. When set to nonzero, we will get the "old" behavior, that the summary is computed immediately at mount time. Add five new sysctl variables to adjust ndir, nbfree, nifree, nffree and numclusters respectively. Teach fsck_ffs about these API, however, intentionally not to check the existence, since kernels without these sysctls must have recomputed the summary and hence no adjustments are necessary. This change has eliminated the usual tens of minutes of delay of mounting large dirty volumes. Reviewed by: mckusick MFC After: 1 week
* New release notes: ULE fixes, mpsafevfs, NDISulator for x86-64bmah2005-02-202-2/+124
| | | | | | | | | | | binaries, sk(4) ALTQ and jumbo frames on Yukons, cd9660 less chatty, burncd(8) fixate eject works, mknod(8) deprecated, NOFOO -> NO_FOO, ppp(8) echo, tcpdrop(8), whois(1) -k. Modified release note: In netcat note, provide cross-reference to nc(1) manpage. Just another random walk through the commit messages...
* When creating a new FFS file system, the block size will indirectlydelphij2005-02-201-0/+10
| | | | | | | | | | | | | affect the largest file size that is allowed by the file system. On the other hand, when creating a snapshot, the snapshot file will appear as it is as big as the file system itself. Hence we will not be able to create a file system on large file systems with small block sizes. Add a warning about this, and gives some hints to correct the issue. Reviewed by: mckusick MFC After: 1 week
* Move assignment of UNIX domain socket pcb during unp_attach() outsiderwatson2005-02-201-1/+1
| | | | | | | of the global UNIX domain socket mutex: no protection is needed that early in the setup of the UNIX domain socket and socket structures. MFC after: 3 days
* Add a note that all four HME chips on a SUNW,qfe card share the same PROM,marius2005-02-201-1/+2
| | | | | | making it a bit more clear why we can read four NAs from the VPD. MFC after: 1 day
* Removing the #endif as well sounds like a good idea.cognet2005-02-201-1/+0
|
* In cpufunc_control, uncomment the code responsible for returning the oldcognet2005-02-201-1/+0
| | | | state of the control register.
* Add the "freq_settings" sysctl to each device that registers with cpufreqnjl2005-02-201-0/+41
| | | | so their individual settings can be seen separately for debugging.
* Remove the note about em(4) not working with bridge(4) when hardwarebrueffer2005-02-201-5/+1
| | | | | assisted VLAN processing is enabled from the BUGS section. This is expected to work now.
* Fixate the hash bucket size to 4K. We were using the default,ru2005-02-191-3/+12
| | | | | | | | | which is stat.st_blksize (i.e., PAGE_SIZE). This change causes the .db files that were cross-compiled on another platform to be identical to the natively built ones. Tested on: alpha->amd64 build
* Fix the same problem that was fixed in rev. 1.6 and got reintroducedru2005-02-191-0/+5
| | | | | | in rev. 1.8 -- make btxld(8) a cross-tool for i386 and now amd64. Tested on: alpha (which has a different idea of __LDPGSZ)
* Use a common multi-inclusion protection, and add such aru2005-02-196-18/+28
| | | | protection to alpha/include/exec.h.
* New release notes: OLDCARD removed, ath(4) transmit rate controlbmah2005-02-192-2/+74
| | | | | | | | | | modules, wlan(4) overhaul with particular mention of the wlan_wep module, amr(4) PAE-safe (+MFC), matcd(4) removed, wd(4) removed for pc98, ifconfig(8) reorg and update. Culled from random skimming of HEAD commit messages. Somewhat belatedly bump copyright date while here.
* sendmail 8.13.3 has been mergedgshapiro2005-02-192-2/+2
|
* simply ignore unknown address family.ume2005-02-191-3/+1
| | | | MFC after: 1 week
* teach IPv6 to `systat -netstat'.ume2005-02-191-29/+122
| | | | | Tested by: kuriyama MFC after: 1 week
* Reimplement recursion protection, checking whether current thread holdsglebius2005-02-191-0/+6
| | | | | | sockbuf mutex. Reviewed by: rwatson
* Bump __FreeBSD_version for the Intel C/C++ compiler GCC-compatibilitymarius2005-02-191-1/+1
| | | | | fixes in src/include/stdbool.h rev. 1.7 and src/sys/i386/include/_types.h rev. 1.10, required by ports/lang/icc.
* The Intel C/C++ compiler doesn't require a typedef for _Bool when compilingmarius2005-02-191-1/+1
| | | | | | | | C source so don't declare one when using the GCC-compatibility (defaulting to GCC 2.95.0) of ICC. Submitted by: netchild MFC after: 1 week
* Together with the changes to compile kernels with the Intel C/C++ compilermarius2005-02-191-1/+1
| | | | | | | | | | preliminary support for using the GCC-compatibility of ICC was committed but couldn't be tested at that time due to problems with ICC itself. Since ICC 8.1 it's possible to use its GCC-compatibility under FreeBSD and it turned out that a typedef for __gnuc_va_list is required in that case. Revert the part of rev. 1.8 which #ifdef'ed out __gnuc_va_list for ICC. MFC after: 1 week
* Try to unbreak the vnode locking around vop_reclaim() (based mostly onphk2005-02-197-39/+40
| | | | | | | | | patch from kan@). Pull bufobj_invalbuf() out of vinvalbuf() and make g_vfs call it on close. This is not yet a generally safe function, but for this very specific use it is safe. This solves the problem with buffers not being flushed by unmount or after failed mount attempts.
* Add lorder(1) to the list of bootstrap-tools.ru2005-02-191-0/+1
|
* Allow to cross-build amd64 on non-i386.ru2005-02-191-1/+2
|
* Fix a small bug in firmcvt: outfile must be strdup()ed.wpaul2005-02-191-1/+11
| | | | | | Also, add conditional code to allow different invokations for objcopy depending on whether we're compiled on an i386 arch or amd64 arch, so that we can produce x86-64 object files on amd64.
* When clearing a fragment, it's possible that the length is zero.delphij2005-02-191-1/+1
| | | | | Reviewed by: mckusick MFC After: 1 week
* Add a new field to struct cf_setting for special values. These are driver-njl2005-02-192-1/+8
| | | | | specific values that other components may want to use. Add support to acpi_perf(4) to export the control and status values via this field.
* Don't restart a timeout wait in kern_sigtimedwait, also allow itdavidxu2005-02-191-11/+27
| | | | to wait longer than a single integer can represent.
* Fix for a potential NFS client race where shared data is updated fromps2005-02-181-0/+4
| | | | | | base context as well as the socket callback. Submitted by: Mohan Srinivasan
* Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate thatru2005-02-184-8/+12
| | | | | | | | | | | | | | | | a packet has VLAN mbuf tag attached. This is faster to check than m_tag_locate(), and allows us to use the tags in non-vlan(4) VLAN producers. The first argument to VLAN_OUTPUT_TAG() is now unused but retained for backward compatibility. While here, embellish a fix in rev. 1.174 of if_ethersubr.c -- it now checks for packets with VLAN (mbuf) tags, and it should now be possible to bridge(4) on vlan(4)'s whose parent interfaces support VLAN decapsulation in hardware. Reviewed by: sam
* Swap the arguments for CP so we copy the correct source andps2005-02-181-4/+4
| | | | destination.
* Support correct programming environment name for amd64.wollman2005-02-181-1/+1
| | | | MFC after: 3 days
* Remove now unused 'int s' from spl().rwatson2005-02-181-1/+1
| | | | MFC after: 3 days
* De-spl kern_connect().rwatson2005-02-181-2/+0
| | | | MFC after: 3 days
* Document the --null, --one-file-system, and -I options.kientzle2005-02-181-5/+34
| | | | Clarify that -T can be used in 'x' mode as well as 'c' mode.
* Correct a typo in the comment describing soreceive_rcvoob().rwatson2005-02-181-1/+1
| | | | MFC after: 3 days
* In soconnect(), when resetting so->so_error, the socket lock is notrwatson2005-02-181-2/+0
| | | | | required due to a straight integer write in which minor races are not a problem.
* Re-style do_setopt_accept_filter() to match uipc_accf.c style, and fixrwatson2005-02-181-8/+6
| | | | | | one other style nit in the file. MFC after: 3 days
* - Add a custom version of exec_copyin_args() to deal with the 32-bitjhb2005-02-181-219/+160
| | | | | | | | | | | | | | pointers in argv and envv in userland and use that together with kern_execve() and exec_free_args() to implement freebsd32_execve() without using the stackgap. - Fix freebsd32_adjtime() to call adjtime() rather than utimes(). Still uses stackgap for now. - Use kern_setitimer(), kern_getitimer(), kern_select(), kern_utimes(), kern_statfs(), kern_fstatfs(), kern_fhstatfs(), kern_stat(), kern_fstat(), and kern_lstat(). Tested by: cokane (amd64) Silence on: amd64, ia64
* Move do_setopt_accept_filter() from uipc_socket.c to uipc_accf.c, whererwatson2005-02-183-126/+121
| | | | | | the rest of the accept filter code currently lives. MFC after: 3 days
* - Add a custom version of exec_copyin_args() to deal with the 32-bitjhb2005-02-182-84/+118
| | | | | | | | | | | | pointers in argv and envv in userland and use that together with kern_execve() and exec_free_args() to implement linux_execve() for the amd64/linux32 ABI without using the stackgap. - Implement linux_nanosleep() using the recently added kern_nanosleep(). - Use linux_emul_convpath() instead of linux_emul_find() in exec_linux_imgact_try(). Tested by: cokane Silence on: amd64
* Minor style tweaks: line wrap comments and lines more consistently.rwatson2005-02-181-9/+9
| | | | MFC after: 3 days
* Re-order checks in socheckuid() so that we check all deny cases beforerwatson2005-02-181-3/+3
| | | | | | returning accept. MFC after: 3 days
* - Implement osf1_emul_find() using kern_alternate_path(). This changesjhb2005-02-183-309/+113
| | | | | | | | | | | | | | the semantics in that the returned filename to use is now a kernel pointer rather than a user space pointer. This required changing the arguments to the CHECKALT*() macros some and changing the various system calls that used pathnames to use the kern_foo() functions that can accept kernel space filename pointers instead of calling the system call directly. - Use kern_open(), kern_stat(), kern_lstat(), kern_fstat(), kern_access(), kern_truncate(), kern_pathconf(), kern_execve(), kern_select(), kern_setitimer(), kern_getitimer(), kern_statfs(), and kern_fstatfs(). Silence on: alpha@
* Use LCONVPATHEXIST() rather than CHECKALTEXIST() and usejhb2005-02-181-9/+14
| | | | | | | exec_copyin_args(), kern_execve(), and exec_free_args() rather than execve() to eliminate stackgap use from Alpha's linux_execve(). Silence on: alpha@
* For the I/O port case, we need to set ok to 1 if we have what looksimp2005-02-181-8/+15
| | | | | | | | | | | | | like a valid range. We already do this in the memory case (although the code there is somewhat different than the I/o case because we have to deal with different kinds of memory). Since most laptops don't have non-subtractive bridges, this wasn't seen in practice. Evidentally the Compaq R3000 hits this problem with PC Cards. Some minor style fixes while I'm here. Submitted by: Jung-uk Kim
* Support high vectors for arm9.cognet2005-02-181-0/+2
| | | | Obtained from: NetBSD
* Somewhere along the line, tick accumulation for SA threads wasdeischen2005-02-182-2/+2
| | | | | | | changed to use the statclock. Make sure we calculate the value of a tick correctly in userland. Noticed by: Kazuaki Oda <kaakun at highway dot ne dot jp>
OpenPOWER on IntegriCloud