summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the new DA_OLD_QUIRKS option for normal and module compiles.njl2003-07-293-3/+4
| | | | Pointed out by: bde
* Fix error in commentache2003-07-291-3/+2
|
* Process events from the ATM drivers. Carrier change and PVC changeharti2003-07-292-49/+126
| | | | | | | | | messages are forwarded as netgraph control messages to the node that is connected to the manage hook. If that hook is not connected, the event is lost. Flow control events are converted to netgraph flow control messages and send along the hook that is connected to the flow controlled VC. ACR change events are converted to control messages and sent along the hook for the given VC.
* Add GB18030 localeache2003-07-2910-12/+7257
| | | | | PR: 51729 Submitted by: Kang Liu <liukang@bjpu.edu.cn>
* New release notes: da(4) no-6-byte-commands, GNOME 2.2.2, KDE 3.1.3.bmah2003-07-292-2/+22
|
* Cleanup useless break.ume2003-07-291-3/+0
| | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* Generate events for carrier state, PVC state changes and flow controlharti2003-07-293-16/+13
| | | | changes. Still have to figure out, how to get at the ABR information.
* Remove the rather bogus statistics sysctl and merge it into theharti2003-07-292-17/+8
| | | | internal driver statistics sysctl.
* Generate events when the interface state or a PVC state changes.harti2003-07-291-18/+10
|
* Correct a cut'n'paste error in a comment.harti2003-07-291-1/+1
|
* Make a local static string const.harti2003-07-291-4/+4
|
* The number of prefixes can never be negative so use an u_int for this.harti2003-07-291-1/+1
|
* Use a size_t for variables that need to hold buffer lengths.harti2003-07-294-18/+20
|
* Use size_t for buffer sizes. Improve error handling in some places.harti2003-07-298-148/+117
| | | | Remove a __DECONST() that was needed before this interface cleanup.
* Use the appropriate [s]size_t type where a buffer size is meant.harti2003-07-296-78/+50
| | | | Add const specifiers to constant function arguments.
* Use a size_t where a buffer length is meant.harti2003-07-292-4/+8
|
* Make the ioctl() interface cleaner with regard to types: use size_tharti2003-07-2911-46/+54
| | | | | | instead of int where the variable has to hold buffer lengths, use u_int for things like number of network interfaces which in principle can never be negative.
* Minor grammar, punctuation, and wording fixesyar2003-07-291-8/+8
| | | | for the paragraph on the -e option.
* Send events for VCC state changes, ACR rate changes and interface stateharti2003-07-293-9/+12
| | | | changes.
* Implement a mechanism by which ATM drivers can inform interestedharti2003-07-292-1/+85
| | | | | | | parts of the system about certain kinds of events, like changes in the ABR rate, changes in the carrier state, PVC changes. The main consumers of these events are the harp(4) pseudo-driver and the ILMI daemon via ng_atm(4).
* Use PSL_KERNEL as upcall thread's initial rflags, don't usedavidxu2003-07-291-1/+1
| | | | scratch user rflags.
* Don't hide the name of tmpstk, since there is no need to do so and thebde2003-07-291-3/+2
| | | | | | | | | | | | | | | | HIDENAME() macro seems to be unimplementable in C. (HIDENAME() used to use invalid token pasting using ## for the STDC case until gcc started rejecting that; now it uses unportable token pasting using juxtaposition in all cases.) This reduces use of HIDENAME() in the kernel to only i386 and amd64 profiling code so that it doesn't bite most kernels whenever gcc becomes stricter. Problems with HIDENAME() in userland are smaller because userland mostly doesn't use strict flags yet. There are some advantages to hiding the name of mcount, but newer arches shouldn't do it; only amd64 does. MFC after: 3 days On second thoughts hide tmpstk better by staticizing it.
* Minor constification.phk2003-07-291-2/+2
|
* Implement DOSPTYP_EXTLBA more completely: loop until we find no morephk2003-07-291-1/+2
| | | | | | | partitions. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> PR: 53719
* Try to make 'uname -a' look more like it does on Linux:des2003-07-291-0/+30
| | | | | | | | | | - cut the version string at the newline, suppressing information about who built the kernel and in what directory. Most of this information was already lost to truncation. - on i386, return the precise CPU class (if known) rather than just "i386". Linux software which uses this information to select which binary to run often does not know what to make of "i386".
* Add GB18030 dirsache2003-07-292-0/+6
| | | | | PR: 51729 Submitted by: Kang Liu <liukang@bjpu.edu.cn>
* Allow GB18030 localeache2003-07-291-0/+1
|
* Add support for gb18030 encodingache2003-07-293-1/+170
| | | | | PR: 51729 Submitted by: Kang Liu <liukang@bjpu.edu.cn>
* New release notes:hrs2003-07-293-4/+14
| | | | | | | | wi(4) suspend/resume bug fix smbfs off-by-one error fix Update hardware notes: The 386SX is no longer supported.
* Revision 1.51 of vm/uma_core.c modified uma_large_free() to acquire Giantalc2003-07-291-6/+0
| | | | when needed. So, don't do it here.
* fix another bus_dma leak due to not having a size param for our bus_dmajmg2003-07-291-0/+2
| | | | | | | allocation function. With this patch, it prevents continous growth of the devbuf memory pool. Tested with ssh <host> dd of=/dev/null < /dev/zero and vmstat -m | grep devbuf
* Note da(4) quirks being deprecated and the procedure for re-enabling them.njl2003-07-291-0/+7
|
* Deprecate USB and Firewire quirks. We should now never send 6 byte commandsnjl2003-07-293-18/+32
| | | | | | | to such devices. If a device fails due to this commit, add: options DA_OLD_QUIRKS to the kernel config and recompile. Then send the output of "camcontrol inquiry da0" to scsi@freebsd.org so the quirk can be re-enabled.
* returned length can exceed the limits of type charjwd2003-07-291-1/+1
| | | | | | Submitted by: blc@bsdwins.com Approved by: gad MFC after: 1 week
* Fix a problem that occurs when truncating files on NFSv3 mounts: we needtjr2003-07-291-1/+7
| | | | | | | | | | | | to set np->n_size back to the desired size again after calling nfs_meta_setsize(), since it could end up in nfs_loadattrcache() getting called, which would change n_size back to the value it had before the truncate request was issued. The result of this bug is that the size info cached in the nfsnode becomes incorrect, lseek(fd, ofs, SEEK_END) seeks past the end of the file, stat() returns the wrong size, etc. PR: 41792 MFC after: 2 weeks
* * Merge index(3) and rindex(3) to index(3) since the two functions aresimon2003-07-285-216/+61
| | | | | | | | | | | | | almost identical. * Merge strchr(3) and strrchr(3) to strchr(3) since the two functions are almost identical. * Make the wording of index(3) and strchr(3) more similar. * mdoc(7) cleanup. Submitted by: SUZUKI Koichi <metal@gc5.so-net.ne.jp>, keramida, myself PR: docs/32054 Reviewed by: ru Approved by: ceri (mentor)
* Fix dhclient infinite loop on ro /etc/resolv.confmbr2003-07-281-5/+11
| | | | | | | Submitted by: C J Michaels <cjm2@earthling.net> Reviewed by: David W. Hankins PR: 38778 ISC-Bug: 5754
* Move the rescue manpage, documenting the new rescue utilities insimon2003-07-285-4/+5
| | | | | | | | | | | | /rescue, from section 7 to section 8. The old rescue.7 file has been simply subjected to "cvs rm", as there is no history to preserve. Update the release documentation accordingly. Requested by: njl, ru Most text by: Tim Kientzle <kientzle@acm.org> Reviewed by: ru, doc@ Approved by: ceri (mentor)
* Rename VOP_RMEXTATTR() to VOP_DELETEEXTATTR() for consistency with therwatson2003-07-288-56/+176
| | | | | | | | | | | | kernel ACL interfaces and system call names. Break out UFS2 and FFS extattr delete and list vnode operations from setextattr and getextattr to deleteextattr and listextattr, which cleans up the implementations, and makes the results more readable, and makes the APIs more clear. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Pacify src/tools/tools/release/chk_dokern.sh_and_drivers.conf.ru2003-07-282-6/+0
|
* A simple tool to sanity check the contents of release/*/dokern.shru2003-07-281-0/+55
| | | | and release/*/drivers.conf.
* Allow sleep states to be specified as S1, S2, ...njl2003-07-282-1/+5
| | | | This is used by zzz(8).
* When exporting file descriptor data for threads invoking therwatson2003-07-281-0/+11
| | | | | | | | | | | | | | | | | | | kern.file sysctl, don't return information about processes that fail p_cansee(td, p). This prevents sockstat and related programs from seeing file descriptors owned by processes not in the same jail as the thread, as well as having implications for MAC, etc. This is a partial solution: it permits an information leak about the number of descriptors in the sizing calculation (but this is not new information, you can also get it from kern.openfiles), and doesn't attempt to mask file descriptors based on the properties of the descriptor, only the process referencing it. However, it provides most of what you want under most circumstances, without complicating the locking. PR: 54211 Based on a patch submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* Add support for CBR and VBR PVCs. Enhance the error handling forharti2003-07-283-39/+159
| | | | | | | the 'add pvc' command. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Dhclient can't block anymore during startup. Documentmbr2003-07-281-4/+4
| | | | the 'background_dhclient' better.
* Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add supportharti2003-07-287-215/+110
| | | | | | | | | | | | | | for the harp(4) pseudo driver and for loadable native HARP drivers (like hfa_pci). To use harp(4) the rc variable natm_interfaces must be set to the list of NATM interfaces to be used for HARP. These interfaces will be brought up with ifconfig and the harp(4) will be loaded. To use loadable native HARP drivers atm_load must be set to the list of drivers to load. Reviewed by: mtm, gordon (partly)
* Don't wait forever if there is no link, go to backgroundmbr2003-07-281-0/+2
| | | | after 2 x polling time.
* Change the default for background_dhclient back to NO. It canmbr2003-07-281-1/+1
| | | | cause to much troubles with applications.
* Define $FreeBSD$ at the right place.mbr2003-07-282-5/+3
|
* Make this compile on 64 bit systems again. You cannot just cast a 32 bitpeter2003-07-281-1/+1
| | | | int to a 64 bit pointer. This file is already off the vendor branch.
OpenPOWER on IntegriCloud