summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - The ai_addrlen of a struct addrinfo used to be a size_t, perume2005-05-157-30/+83
| | | | | | | | | | | | | | | | RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks
* Update ndiscvt to handle .INF files that specify multiple entries inwpaul2005-05-151-8/+56
| | | | their [Manufacturer] sections.
* Use \033 instead of \e because \e is not a standard.nyan2005-05-151-10/+10
| | | | | Noticed by: stefanf Reviewed by: diff(1)
* Remove old epson note support.nyan2005-05-151-21/+2
|
* - Add color tables for 16 colors mode and 8 colors mode, use a differentnyan2005-05-151-27/+16
| | | | | table on the pc98 console. - Remove old epson note support.
* - Mask an underline attribute on the pc98 console. It enables to use the samenyan2005-05-151-49/+28
| | | | | color on the pc98 and the others. - Remove old epson note support.
* A foreground color number on pc98 console is 7 not 15.nyan2005-05-151-6/+18
|
* Use \e for escape char instead of ^[ directly.nyan2005-05-151-10/+10
|
* Remove the ADJUST_CLOCK ioctl on pc98. It's not used at all.nyan2005-05-152-10/+0
|
* o -n option added.marcel2005-05-1510-2/+47
| | | | o -x option added.
* o Add option -n. The -n option takes a count and breaks the linemarcel2005-05-153-31/+90
| | | | | | | | | after that many values have been printed. The line length is not considered anymore. o Add option -x. The -x option will cause the byte values to be printed in hexadecimal instead of decimal. o Bump WARNS to 6. o Update the manpage accordingly.
* Add support for NdisMEthIndicateReceive() and MiniportTransferData().wpaul2005-05-154-10/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Ralink RT2500 driver uses this API instead of NdisMIndicateReceivePacket(). Drivers use NdisMEthIndicateReceive() when they know they support 802.3 media and expect to hand their packets only protocols that want to deal with that particular media type. With this API, the driver does not manage its own NDIS_PACKET/NDIS_BUFFER structures. Instead, it lets bound protocols have a peek at the data, and then they supply an NDIS_PACKET/NDIS_BUFFER combo to the miniport driver, into which it copies the packet data. Drivers use NdisMIndicateReceivePacket() to allow their packets to be read by any protocol, not just those bound to 802.3 media devices. To make this work, we need an internal pool of NDIS_PACKETS for receives. Currently, we check to see if the driver exports a MiniportTransferData() method in its characteristics structure, and only allocate the pool for drivers that have this method. This should allow the RT2500 driver to work correctly, though I still have to fix ndiscvt(8) to parse its .inf file properly. Also, change kern_ndis.c:ndis_halt_nic() to reap timers before acquiring NDIS_LOCK(), since the reaping process might entail sleeping briefly (and we can't sleep with a lock held).
* Enable IPFilter to correctly determine if BPF has been optioned into thedarrenr2005-05-151-2/+2
| | | | | kernel it is being compiled against and subsequently enable using BPF for packet matching in ipf rules.
* Fixes for various nits found by the Coverity tool.gnn2005-05-154-5/+8
| | | | | | | | | In particular 2 missed return values and an inappropriate bcopy from a possibly NULL pointer. Reviewed by: jake Approved by: rwatson MFC after: 1 week
* - Document net.inet.carp.suppress_preempt MIB.glebius2005-05-151-2/+12
| | | | - Xref pfsync(4)
* - When carp interface is destroyed, and it affects global preemptionglebius2005-05-151-1/+12
| | | | | | | | | suppresion counter, decrease the latter. [1] - Add sysctl to monitor preemption suppression. PR: kern/80972 [1] Submitted by: Frank Volf [1] MFC after: 1 week
* Reindent and improve style(9) comformance.marcel2005-05-151-26/+26
|
* Add an interface to the lchflags(2) syscall. The new -h option isdd2005-05-142-12/+35
| | | | | | | | analogous to chmod(1)'s -h. It allows setting flags on symbolic links, which *do* exist in 5.x+ despite a claim to the contrary in the chflags(1) man page. Suggested by: Chris Dillon
* Submitted by: Jinmei Tatuya, Hajimu Umemotognn2005-05-142-4/+4
| | | | | | | | | | Reviewed by: rwatson at freebsd dot org Approved by: rwatson at freebsd dot org MFC after: 1 week Fix the matchlen() function so that it handles the IPv4 (AF_INET) case correctly. Until now it has been treating IPv4 addresses as if they were IPv6 which could lead to corruption errors.
* Remove symblic link kernel->dev/null creation. We don't need it in 5.x/6.xpjd2005-05-141-2/+0
| | | | | | world (there is no /kernel file anymore). Reminded by: Isaac Levy presentation
* Revert to old ttyname_r behavior that when _ioctl() returns 0 (SUCCEEDED),delphij2005-05-141-1/+1
| | | | | | | | | return the buffer immediately. This will permit ssh and/or PAM logins broken by previous commit. The (potential) underlying problem is still under investigation. Point hat to: me
* Fix my copyright.nyan2005-05-144-4/+5
|
* cosmetic change.nyan2005-05-141-1/+1
|
* - Move bus dependent defines to {isa,cbus}_dmareg.h.nyan2005-05-1412-51/+107
| | | | | | - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* Move queue element routines upper, so that all relatedglebius2005-05-141-85/+85
| | | | | declarations are in one place, to improve readability. No functional changes.
* Use uma(9) for allocating netgraph items:glebius2005-05-142-109/+48
| | | | | | | | | | | - ng_getqblk() simply runs uma_zalloc(). - ng_free_item() simply frees. - ngq_mtx is pushed down under NETGRAPH_DEBUG. - NGQF_FREE is removed. Increase default maxalloc to 512. Reviewed by: julian
* - Move timerreg.h to <arch>/include and split i8253 specific defines intonyan2005-05-1427-370/+542
| | | | | | | | | i8253reg.h, and add some defines to control a speaker. - Move PPI related defines from i386/isa/spkr.c into ppireg.h and use them. - Move IO_{PPI,TIMER} defines into ppireg.h and timerreg.h respectively. - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* MFi386: revision 1.614.nyan2005-05-141-2/+2
|
* Add a note explaining what local modifications have been made to GNU grep,tjr2005-05-141-0/+37
| | | | and giving advice on importing future releases.
* Fixed -w handling for EGexecute.tjr2005-05-141-4/+83
| | | | Obtained from: Fedora (Tim Waugh)
* Automatically disable DFA when processing multibyte input. GREP_USE_DFAtjr2005-05-141-3/+28
| | | | | | environment variable overrides. Obtained from: Fedora (Tim Waugh)
* Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi fortjr2005-05-141-131/+525
| | | | | | multibyte input (RH bug #143079). Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
* Removed redundant (and incorrect) code in prline. Fixes grep -i --color "",tjr2005-05-141-27/+0
| | | | | | | among other things. PR: 79063 Obtained from: Fedora (Tim Waugh)
* Fix background colour problems with --color output (RH bug #138913).tjr2005-05-141-0/+1
| | | | Obtained from: Karsten Hopp via Fedora
* Revert revision 1.164: pmap_qremove() does not require protection byalc2005-05-141-2/+0
| | | | | | VM_LOCK_GIANT. Discussed with: jeff
* Fixed a bug in the fgrep patch, exposed by the dfa-optional patchtjr2005-05-141-27/+22
| | | | | | (RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch. Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
* Fix dfa multibyte character class matching when -i is used (RH bug #123363).tjr2005-05-141-0/+2
| | | | Obtained from: Fedora (Tim Waugh)
* Remove mb-caching hack.tjr2005-05-146-188/+74
| | | | Obtained from: Fedora (Tim Waugh)
* Remove incorrect configuration setting that limited the Kauai ATA controllergrehan2005-05-141-1/+1
| | | | to be master-only. The slave ATAPI drive on the Mac-Mini is now recognised.
* The header glue.h should provide just a declaration for the variablestefanf2005-05-131-1/+2
| | | | | | | | __sglue, not a definition. PR: 80378 Submitted by: John Engelhart <johne@zang.com> MFC after: 1 week
* NI_WITHSCOPEID cleanupume2005-05-131-1/+1
| | | | Reviewed by: des
* Fix the "only wrote -1 of 32768 bytes: Input/output error" error message.ru2005-05-131-2/+5
|
* Fix for a bug where the "nexthole" sack hint is out of sync with theps2005-05-131-0/+2
| | | | | | | | | real next hole to retransmit from the scoreboard, caused by a bug which did not update the "nexthole" hint in one case in tcp_sack_option(). Reported by: Daniel Eriksson Submitted by: Mohan Srinivasan
* raise readability bit.ume2005-05-131-7/+7
|
* Bump __FreeBSD_version for POSIX ttyname_r(3) changes.delphij2005-05-131-1/+1
| | | | | Forgotten by: me Reminded by: mezz
* free ypbuf only when yp_match() succeed.ume2005-05-131-1/+1
|
* NI_WITHSCOPEID cleanupume2005-05-132-5/+5
| | | | Reviewed by: gad
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-1317-138/+44
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Provide more POSIX-complaint ttyname_r(3) interface[1], which is slightlydelphij2005-05-134-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different from what has been offered in libc_r (the one spotted in the original PR which is found in libthr has already been removed by David's commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h): - Use POSIX standard prototype for ttyname_r, which is, int ttyname_r(int, char *, size_t); Instead of: char *ttyname_r(int, char *, size_t); This is to conform IEEE Std 1003.1, 2004 Edition [1]. - Since we need to use standard errno for return code, include errno.h in ttyname.c - Update ttyname(3) implementation according to reflect the API change. - Document new ttyname_r(3) behavior - Since we already make use of a thread local storage for ttyname(3), remove the BUGS section. - Remove conflicting ttyname_r related declarations found in libc_r. Hopefully this change should not have changed the API/ABI, as the ttyname_r symbol was never introduced before the last unistd.h change which happens a couple of days before. [1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html Requested by: Tom McLaughlin <tmclaugh sdf lonestar org> Through PR: threads/76938 Patched by: Craig Rodrigues <rodrigc crodrigues org> (with minor changes) Prompted by: mezz@
* Remove duplicate and attribute Weinbergs second law to the right weinberg.phk2005-05-131-3/+1
|
OpenPOWER on IntegriCloud