summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use the print_flags function to print the OP_ flags of a target.harti2005-05-134-41/+28
| | | | | Give the function one more argument to decide whether it should print the flags like a C-expression or just space-delimited.
* In div_output() explicitly set m->m_nextpkt to NULL. If divert socketglebius2005-05-131-0/+5
| | | | | is not userland, but ng_ksocket, then m->m_nextpkt may be non-NULL. In this case we would panic in sbappend.
* When used as divert socket we need to decouple stack when node is enteredglebius2005-05-131-1/+3
| | | | from socket side. Use ng_queue_fn() instead of ng_send_fn().
* Since there is no way to queue a function call to node, createglebius2005-05-132-3/+18
| | | | ng_queue_fn() - a queue version of ng_send_fn().
* lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recentpeadar2005-05-131-3/+2
| | | | | | | | | | | INVARIANTS dependent checks in userret() pinpointed a missing invocation here. Remove an unused variable while here. Reviewed By: bp@ Reported By: yongari@ MFC After: 3 days
* Cleanup commentssos2005-05-135-22/+11
|
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andharti2005-05-1316-81/+27
| | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD
* Fix more ATAPI breakage.sos2005-05-131-3/+9
| | | | Apparently some devices are very picky on details :)
* Make Shell_Init() static - it's only used here.harti2005-05-132-10/+9
| | | | | | | | | Make sure we don't end up with shellPath beeing non-zero, but shellName beeing zero in the error case - back out cleanly from the error. When executing a command for macro assignment in Cmd_Exec() stuff the path of the shell into argv[0], not the name. This makes no difference from the functionality point of view, but allows the regression tests to determine whether make executes the correct shell.
* Add libdata/pkgconfig. It is used under ${LOCALBASE} as much (if not more)marcus2005-05-131-0/+2
| | | | | | | than under ${X11BASE}. Discussed with: portmgr MFC after: 1 day
* Default hyperthreading on in -CURRENT. No seatbelts in CURRENT (^_^)nectar2005-05-132-2/+2
| | | | Requested by: peter, jhb
* Add a knob for disabling/enabling HTT, "machdep.hyperthreading_allowed".nectar2005-05-134-0/+218
| | | | | | | Default off due to information disclosure on multi-user systems. Submitted by: cperciva Reviewed by: jhb
* If there is a problem during probe, be sure to free up any resourcesnjl2005-05-121-2/+2
| | | | | | | | allocated for it. The normal exit case handles this correctly so we use it as well for errors. Submitted by: pjd Obtained from: Coverity Prevent
* Remove unimplemented ACL types.rwatson2005-05-121-4/+0
| | | | Reported by: Hervé Kergourlay <herve dot kergourlay at atempo dot com>
* Actually use the iterating variable in the for loop when trying to avoidjhb2005-05-121-1/+1
| | | | | | | | overflow. Reported by: Vladislav Shabanov vs at rambler-co dot ru MFC after: 1 week Glanced at: alfred
* Add a flag (-q) which prints no header for the file and which doesn't indent thejmallett2005-05-122-33/+61
| | | | | match text; it also doesn't warn() for files which can't be opened. Remove global variables. Use bool. fopen(3) the files instead of freopen(3)ing stdin.
* Include <err.h>. On my system CVS Make(1) has an implicit declaration ofjmallett2005-05-121-0/+1
| | | | warnc(3) without it.
* Wordsmithing.brueffer2005-05-121-1/+1
| | | | | | PR: 80133 Submitted by: Zheyu Shen <free.bsd@gmx.net> MFC after: 3 days
OpenPOWER on IntegriCloud