summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use m_length() instead of home-rolled versions.phk2002-09-188-81/+30
|
* Use m_fixhdr() rather than roll our own.phk2002-09-181-6/+2
|
* Make m_length() and m_fixhdr() return unsigned.phk2002-09-182-6/+6
| | | | Suggested by: arr
* Update the usage string in the limits(1) manpage to include -b forgreen2002-09-182-5/+6
| | | | | | sbsize. Also, correct the format string in getopt(3) usage to reflect that -b takes an argument, and correct another case of RLIMIT_SBSIZE having been forgotten.
* Fix GNU coding violations.obrien2002-09-182-2/+2
|
* Basic stubbed-out support for building on sparc64 slipped in w/rev 1.41.obrien2002-09-180-0/+0
|
* Stop using 3 distinct and far varied coding styles in a single file.obrien2002-09-181-280/+277
| | | | Pretend to actually adhere to the GNU coding standards.
* Make the DEBUGF() macro portable by (ugh) adding a Debug() function, whichjmallett2002-09-1814-141/+163
| | | | | is merely printf() but to stderr. This takes care of the caveat which lead to the use of a vararg macro -- getting everything to stderr.
* Introduce the m_length() function which will return the accumulatedphk2002-09-182-6/+20
| | | | length of an mbuf-chain and optionally a pointer to the last mbuf.
* Add missing #include <sys/mbuf.h>phk2002-09-181-0/+1
|
* These RFCs and internet-drafts are not really needed in the basenectar2002-09-1860-103705/+0
| | | | | | | system, and I've not been importing them lately. cvs rm them now so they can be cleaned out of the attic later. Requested by: obrien
* Move m_fixhdr() from "mbchain" to "mbuf" where it belongs.phk2002-09-184-16/+15
|
* Optimise the common case where no special encoding is in use (LC_CTYPE is "C"tjr2002-09-182-8/+48
| | | | | | or "POSIX", other European locales). Use __sgetc() and __sputc() where possible to avoid a wasteful lock and unlock for each byte and to avoid function call overhead.
* Logic error in previous: don't exit the loop when an incomplete multibytetjr2002-09-181-1/+1
| | | | sequence is detected.
* Always open file in the DENYNONE mode and let the server to decide what isbp2002-09-181-5/+15
| | | | | good for this file. This should allow read only access to file which is already opened on server.
* Update supported chipset list.sos2002-09-181-5/+22
|
* Add support for the VIA 8235.sos2002-09-182-2/+5
| | | | Submitted by: Jason Dambrosio <jason@wiz.cx>
* Style and markup changes only.truckman2002-09-1813-28/+29
| | | | | Capitalize the first letter of the descriptions for the entries in the ERRORS section if they are complete sentences and end the sentences with periods.
* Implement additional SMB calls to allow proper update of file size as somebp2002-09-184-3/+239
| | | | | | | | | | file servers fail to do it in the right way. New NFLUSHWIRE flag marks pending flush request(s). NB: not all cases covered by this commit. Obtained from: Darwin
* Fix implementation of rc variables $amd_flags and $amd_map_program inrse2002-09-181-2/+2
| | | | | | | rcNG. The $amd_flags variable was already taken over into $rc_flags by run_rc_command() when amd_precmd() is executed, so changing $amd_flags there no longer effects the actual execution of amd. Hence in amd_precmd() the $rc_flags have to be adjusted instead.
* - Split UMA_ZFLAG_OFFPAGE into UMA_ZFLAG_OFFPAGE and UMA_ZFLAG_HASH.jeff2002-09-186-125/+110
| | | | | | | - Remove all instances of the mallochash. - Stash the slab pointer in the vm page's object pointer when allocating from the kmem_obj. - Use the overloaded object pointer to find slabs for malloced memory.
* ARIN has annoyingly started using caps when referencingmike2002-09-181-1/+3
| | | | | | | | | whois.apnic.net. To properly receive hints for recursive IP searches, we convert a buffer to lowercase before searching for magic words. PR: 42834 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> (mostly) X-MFC-After: re approval
* Permit an empty username which is useful for browsing.bp2002-09-181-0/+4
|
* Increase send/receive queue to accomodate large readx/writex requests.bp2002-09-182-22/+78
| | | | | | | Receive packets in a small pieces (NB_SORECEIVE_CHUNK), so TCP slowstart will get its ACKs faster. Obtained from: Darwin
* Restore status register A of RTC at resume time.iwasaki2002-09-185-0/+5
| | | | | | | This should fix the 'too many RTC interrupts and statclock seems broken after resume' problem. MFC after: 1 week
* Implement C99's va_copy() macro.mike2002-09-188-2/+43
|
* Deprecate the rest of the rune interface.tjr2002-09-182-0/+22
|
* Mark mbmb(), mbrune(), and mbrrune() as deprecated functions. We want totjr2002-09-182-0/+19
| | | | | | get applications to move to the ISO C interfaces as well as have the freedom to replace the rune interfaces with ones that support stateful conversions some time in the future.
* Reimplement the functionality of fgetrune(), fputrune(), and fungetrune()tjr2002-09-185-25/+61
| | | | | | here in terms of mbrtowc(), wcrtomb(), and the single-byte I/O functions. The rune I/O functions are about to become deprecated in favour of the ones provided by ISO C90 Amd. 1 and C99.
* o Don't include <nl_types.h>, instead provide a typedef for nl_item.mike2002-09-181-1/+11
| | | | | o Use relatively new visibility primitives to conditionalize some constants.
* Move definition of nl_item type to <sys/_types.h>, so that it can bemike2002-09-182-1/+6
| | | | shared.
* Mostly rewrite the flag handling of uname(1) to be overridable, such as:jmallett2002-09-182-70/+171
| | | | | | | | | freefall% uname -s FreeBSD freefall% env UNAME_s=Linnex ./uname -s Linnex MFC after: 1 month
* Make obrien happy. Add a bad awk script which emulates as much ofwollman2002-09-181-0/+57
| | | | | | | gperf's behavior as we ever actually needed here. This generates a much-less-efficient keyword recognizer, but it's not like that matters in this application. Makefile changes coming once this passes the world test.
* Use relatively new visibility primitives for conditionals. Documentmike2002-09-181-6/+13
| | | | unimplemented functions.
* Add a toggle to disable VM enforcement.rwatson2002-09-189-0/+63
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* At the cost of seeming a little gauche, make use of more traditionalrwatson2002-09-189-36/+36
| | | | | | | alphabetization for mac_enforce_pipe sysctl. Obtained from: TrustedBSD Project Sponsored by: DAPRA, NAI Labs
* Don't call VOP_LEASE() while holding the accounting mutex.rwatson2002-09-181-1/+1
|
* MFC: Elan support;sam2002-09-171-0/+6
| | | | | | | | | | o Recognize AMD Elan SC520 hostbridge. o Add initialization code for the AMD Elan sc520 which maps the MMCR into KVM and sets the i8254 frequency to the correct value. o MAKEDEV entry for elan-mmcr device Reviewed by: phk, jhb Approved by: re(jhb)
* style(9): line up function namesmike2002-09-171-8/+8
|
* Move common use of if (DEBUG(FOO)) printf... to DEBUGF(FOO, ...), usingjmallett2002-09-1713-431/+172
| | | | | | | | | variable length arguments to a macro. Bump version as this makes DEBUG statements *always* go to stderr rather than sometimes stdout. There are a few stragglers, which I will take care of as soon as I can. Mostly these relate to the need-for-death-of some of the remote job code. Nearby stylistic nits and XXX added/fixed where appropriate.
* Use the relatively new visibility primitives for conditionals.mike2002-09-171-3/+3
|
* o Add typedefs for mode_t, off_t, pid_t rather than includingmike2002-09-171-13/+37
| | | | | | | | <sys/types.h>. o Use the relatively new visibility primitives for conditionals. o Make O_SYNC an alias for O_FSYNC. o Mark the F* names as deprecated. o Add some comments to note missing POSIX requirements or options.
* Guido reported an interesting bug where an FTP connection between adillon2002-09-172-10/+46
| | | | | | | | | | | | | | | | | | | Windows 2000 box and a FreeBSD box could stall. The problem turned out to be a timestamp reply bug in the W2K TCP stack. FreeBSD sends a timestamp with the SYN, W2K returns a timestamp of 0 in the SYN+ACK causing FreeBSD to calculate an insane SRTT and RTT, resulting in a maximal retransmit timeout (60 seconds). If there is any packet loss on the connection for the first six or so packets the retransmit case may be hit (the window will still be too small for fast-retransmit), causing a 60+ second pause. The W2K box gives up and closes the connection. This commit works around the W2K bug. 15:04:59.374588 FREEBSD.20 > W2K.1036: S 1420807004:1420807004(0) win 65535 <mss 1460,nop,wscale 2,nop,nop,timestamp 188297344 0> (DF) [tos 0x8] 15:04:59.377558 W2K.1036 > FREEBSD.20: S 4134611565:4134611565(0) ack 1420807005 win 17520 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0> (DF) Bug reported by: Guido van Rooij <guido@gvr.org>
* #define<space> -> #define<tab>jmallett2002-09-1719-155/+155
|
* Print debugging from DEBUG(VAR) level to stderr. About to macroise this.jmallett2002-09-171-6/+6
| | | | | | (Read: More commits to come). MFC in: 4 days.
* Fixed editing error in previous commit (*blush*).bde2002-09-172-2/+2
|
* Use consistent terminology in the usage message, the man pagejdp2002-09-172-10/+10
| | | | | | | | synopsis, and the man page description ("selector" vs. "sel" and "addr" vs. "reg"). Fix the usage message and man page synopsis to show that the "value" argument is not optional.
* Don't depend on <sys/types.h> pollution in <sys/fcntl.h>.mike2002-09-172-0/+2
|
* Rename new PLONG type to PGTOK as the conversion is more important than thejmallett2002-09-173-4/+4
| | | | | | size (which is mostly undefined anyway). Submitted by: bde
* Fix standard kse breakge of non-x86 platforms. sigh.jake2002-09-172-18/+2
| | | | Pointy hat to: kse
OpenPOWER on IntegriCloud