summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove files no longer relevant after latest import.nectar2002-08-3028-3634/+0
|
* Resolve conflicts after import of Heimdal Kerberos circa 2002/08/29.nectar2002-08-302-28/+45
|
* This commit was generated by cvs2svn to compensate for changes in r102644,nectar2002-08-30513-21423/+130256
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Heimdal Kerberos from KTH repository circa 2002/08/29.nectar2002-08-30515-21451/+130301
| |
* | Add the 'restrict' type qualifier to the function prototyperobert2002-08-301-1/+1
| | | | | | | | | | of the swab(3) function in its manual page to match the standardization by POSIX.1-2001.
* | - Update the manual page of bcmp(3) by replacingrobert2002-08-302-7/+12
| | | | | | | | | | | | | | | | | | | | .In string.h with .In strings.h and adding a sentence to the HISTORY section. - Use an ANSI-C function definition. - Include <strings.h> instead of <string.h>. - Apply style(9): Put a space after return keywords.
* | Style fixache2002-08-301-3/+3
| |
* | Prepare for switching to unlimited chains formatache2002-08-301-15/+31
| |
* | - Convert the function definition to declare its argumentsrobert2002-08-301-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the ANSI-C format. - Change the code a bit to hopefully save some cycles. I.e. (simplified) change a = b + 1; while (--b & 0x7) /* ... */ to a = b; for (; b & 0x7; b--) /* ... */ and while (--a >= 0) /* ... */ to for (; a > 0; a--) /* ... */ - Equip two function arguments of swab() with the 'restrict' type qualifier in form of the '__restrict' macro. This is specified by POSIX.1-2001.
* | Prepare for switching to unlimited chains format.ache2002-08-302-23/+46
| | | | | | | | Optimize chains lookup a bit.
* | - Update the manual pages of index() and rindex() to showrobert2002-08-304-17/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <strings.h> as the associated header file. The prototypes have been moved there from <string.h> because POSIX.1-2001 said so. - Conditionally include either <strings.h> or <string.h> based on whether the [r]index() or str[r]chr() functions are compiled, respectively. - Style(9) tells us to - put a space after the return keyword - to check for a NUL character without using the ! operator. - use NULL instead of (type *)NULL where the compiler knows the type. Apply these rules. - Rather use ANSI-C function definitions than K&R ones. - For index(3), correct second function argument's type; it was declared to be a `const char' before and is now an `int'.
* | - Update the manual page to show that the associated header filerobert2002-08-302-4/+10
| | | | | | | | | | | | | | is <strings.h> and not <string.h> anymore. - Tell the reader about this change in the HISTORY section. - Switch to use an ANSI-C function definition. - Include <strings.h> instead of <string.h> in the source file.
* | Add IDs for upcoming LSI U320 products that use the MegaRAID interface.gibbs2002-08-301-1/+3
| | | | | | | | | | Adjust format of one comment so it doesn't wrap at 80 columns. Submitted by: "Moore, Eric Dean" <emoore@lsil.com>
* | Implement data, text, and vmem limit checking in the elf loader and svr4dillon2002-08-303-14/+36
| | | | | | | | | | | | | | compat code. Clean up accounting for multiple segments. Part 1/2. Submitted by: Andrey Alekseyev <uitm@zenon.net> (with some modifications) MFC after: 3 days
* | Reserve majors 171 and 172 for the "mide" (LSI MegaRAID IDE control device)gibbs2002-08-301-0/+2
| | | | | | | | | | | | and "mided" (LSI MegaRAID IDE disk device). Submitted by: "Moore, Eric Dean" <emoore@lsil.com>
* | - Update strcasecmp(3)/strncasecmp(3) to reflect the fact thatrobert2002-08-302-2/+9
| | | | | | | | | | | | | | | | the prototypes for both functions are now in the <strings.h> header, as required by IEEE Std 1003.1-2001. - Add one sentence about that in the HISTORY section. - Include <strings.h> in the source file to have the prototypes in scope when the _ANSI_SOURCE macro is defined.
* | Revert previous untested revision. The i386 loader consists of three parts:jhb2002-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the front is btxldr, in the middle is BTX itself (our mini-kernel), and then the 'client' (loader.bin) which is the actual loader itself. boot2 just executes a raw ELF or a.out binary with the only setup provided being that a bootinfo structure is passed on the stack. Now, since loader.bin is a BTX client, the loader needs to be able to locate a BTX kernel for the client to execute in the context. Thus, just like pxelder, btxldr uses the a.out header on the loader binary to find the BTX kernel stored in the loader and set it up. It does _not_ just reuse the BTX kernel that boot2 invoked it with. This is because it can't assume that it will _have_ a "spare" BTX kernel lying around. For example, when cdboot loads the loader there isn't an existing BTX kernel. In fact, cdboot will only work with an a.out loader as well since it also "borrows" the BTX kernel in the loader binary (which it finds by parsing the a.out header) just as pxeldr does. The only difference between cdboot and pxeldr is where they get /boot/loader from. If we wanted to make /boot/loader be an actual ELF binary we would need to change the following utilites to handle that (and they all have to be able to handle locating the BTX kernel inside of an ELF binary somehow): - btxldr - pxeldr - cdboot If we didn't want to require a flag day but make the transition smooth then we need to be able to support both a.out and ELF versions of /boot/loader which isn't exactly trivial since all three of these utilities are written in assembly. Pointy-hat to: peter
* | Whitespace-only: don't mix tabs and spaces for doing identation.sobomax2002-08-301-16/+16
| |
* | Fix a silly typo in user-setable promisc mode code.sobomax2002-08-301-1/+1
| | | | | | | | | | Pointed out by: Yann Berthier <yb@sainte-barbe.org> MFC after: 1 day
* | establish default values for /etc/rc.d/pcvt scripthm2002-08-301-0/+18
| |
* | document options for integrating pcvt configuration into the new /etc/rc.dhm2002-08-301-0/+114
| | | | | | | | startup system.
* | integrate pcvt configuration into the new /etc/rc.d startup systemhm2002-08-302-1/+227
| | | | | | | | | | PR: i386/7100 Reviewed by: Gordon Tetlow <gordon@FreeBSD.org>
* | s/hint.acpi.0.disable/hint.acpi.0.disabled/iwasaki2002-08-305-4/+9
| | | | | | | | | | | | | | | | | | Fix device hints entry for disabling acpi(4). This also should fix the arbitration with apm(4) when both drivers are enabled. Note that your /boot/device.hints needs to be updated if you want to stop auto-loading acpi.ko or disable acpi(4).
* | Use correct arguments to sysctl in code example.johan2002-08-301-1/+4
| | | | | | | | | | | | | | PR: 40038 Submitted by: perky Approved by: sheldonh (mentor) MFC after: 1 week
* | Correctly handle setting, getting and deleting EA's with zero length content.phk2002-08-301-12/+14
| | | | | | | | Sponsored by: DARPA & NAI Labs.
* | Add the new userland tool for manipulating extended attributes.phk2002-08-303-0/+369
| | | | | | | | | | | | | | | | | | | | This will replace the existing getextattr(8) and setextattr(8) with a single binary responding to the names getextattr, setextattr, rmextattr and lsextattr. This program is not yet connected to the build. Sponsored by: DARPA and NAI Labs.
* | Rewrite wargames(6) in C. A program in C in the public domain is better thanjmallett2002-08-303-46/+48
| | | | | | | | | | a shell script with a big copyright. Or maybe just a good way to spend an hour after watching a Matthew Broderick flick.
* | Was mising ftpchroot.5obrien2002-08-301-0/+1
| | | | | | | | | | PR: 40717 Submitted by: Andrew <andrew@ugh.net.au>
* | Unbreak kernel build by printing Maxmem using %ld instead of old (now changed)ache2002-08-304-4/+4
| | | | | | | | %u
* | The aac driver needs 256K of contiguous physical memory in order toscottl2002-08-301-3/+4
| | | | | | | | | | | | | | | | | | attach. If it can't get that (highly likely if loaded as a module on a system that's been up for a while), give a more descriptive error message. Also clean up some nearby style nits. MFC after: 2 days
* | Change hw.physmem and hw.usermem to unsigned long like they used to bepeter2002-08-3021-93/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | in the original hardwired sysctl implementation. The buf size calculator still overflows an integer on machines with large KVA (eg: ia64) where the number of pages does not fit into an int. Use 'long' there. Change Maxmem and physmem and related variables to 'long', mostly for completeness. Machines are not likely to overflow 'int' pages in the near term, but then again, 640K ought to be enough for anybody. This comes for free on 32 bit machines, so why not?
* | Sigh. Ken Merry convinced me that my attempts to DTRT were wrong.mjacob2002-08-3010-321/+220
| | | | | | | | | | | | | | | | Replace dual copyright with a plain BSD style copyright assigned to LSI Logic. This is still within the intents of express consent from LSI. MFC after: 2 days
* | New release note: XFree86-derived termcap(5) entry for xterm.bmah2002-08-302-0/+18
| |
* | Finish bringing support for the vendor attribute to the stylesheetsbmah2002-08-304-16/+36
| | | | | | | | used for the release documentation.
* | Add 909A PCI id.mjacob2002-08-301-1/+9
| | | | | | | | MFC after: 2 days
* | Add an additional copyright (with the express consent of LSI Logic) thatmjacob2002-08-3010-0/+310
| | | | | | | | | | | | | | | | | | specifically allows for (via 'BSD Style' licensing) source && binary redistribution. Pointy hat to: Matt, for not getting this done ahead of time. MFC after: 2 days
* | Hopefully unbreak world. ke_slptime is gone. It should really have beenpeter2002-08-301-1/+1
| | | | | | | | looking at p_ksegrp.kg_slptime anyway.
* | AARGH! btoc() is used in the MI buffer sizing routines to calculatepeter2002-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | the minimum of either physmem or KVA. But.. btoc() casts the address to (unsigned int). This is NOT GOOD on 64 bit machines and on alpha and ia64, this results in a buffer limit of around 500K (not megs). This causes extreme disk access problems on alpha and ia64. Since this cast is simply to ensure that it is unsigned, use 'vm_offset_t' instead. This is available because it is already defined in types.h. Alpha has been suffering from this for ages. It always felt like the caching wasn't working, and unfortunately it turned out that way. :-(
* | Rejig the code to figure out estcpu and work out how long a KSEGRP has beenjulian2002-08-303-18/+30
| | | | | | | | | | | | | | | | | | idle. What was there before was surprisingly ALMOST correct. Peter and I fried our brains on this for a couple of hours figuring out what this actually means in the context of multiple threads. Reviewed by: peter@freebsd.org
* | Try #2 at having /boot/loader default to ELF. Have pxeldr build itspeter2002-08-292-4/+19
| | | | | | | | | | own a.out version of loader.bin rather than depend on ../loader/loader being a.out.
* | Remove much of the dereferencing of the fd table entries to lookdeischen2002-08-2939-77/+115
| | | | | | | | | | | | | | | | | | | | | | at file flags and replace it with functions that will avoid null pointer checks. MFC to be done by archie ;-) PR: 42100 Reviewed by: archie, robert MFC after: 3 days
* | Actually remove the a.out kld loader. While I am not 100% sure, I believepeter2002-08-291-594/+0
| | | | | | | | | | it is broken. It certainly has been suffering neglect. It is not needed because we never shipped a.out kld's and they never really worked right.
* | Actually remove the stale a.out kld support. This is the stuff that waspeter2002-08-292-339/+0
| | | | | | | | never updated for the metadata infrastructure.
* | Our gnats sets Confidential to "no" by default.keramida2002-08-291-1/+1
| | | | | | | | | | | | PR: docs/41727 Submitted by: osgene@web.de Reviewed by: des
* | Make the libc_r version of select() set the readable or writablearchie2002-08-293-12/+18
| | | | | | | | | | | | | | | | | | | | file descriptor bit if poll() returns POLLERR, POLLHUP, or POLLNVAL. Othewise, it's possible for select() to return successfully but with no bits set. Reviewed by: deischen MFC after: 3 days PR: bin/42175
* | Cleanup grammer related to PR 40907 and add a section on TCP delayeddillon2002-08-291-15/+39
| | | | | | | | acks as suggested by Mike Harding <mvh@ix.netcom.com>
* | Fix crack-smoking code that was panicing on the quad xeon:julian2002-08-292-52/+46
| | | | | | | | | | | | | | | | | | | | | | | | - If either of proc or kse are NULL during thread_exit(), then the kernel is going to fault because parts of the function assume they aren't NULL. Instead, just assert they aren't NULL (as well as the kse group) and assume they are in all of the code. It doesn't make sense for them to be NULL here anyways. - Move the PROC_UNLOCK(p) up above clearing td_proc, etc. since otherwise we will panic if the proc's lock is contested. Submitted by: jhb@freebsd.org
* | Fix a silly off my one error that caused crashes on resume in certainscottl2002-08-291-2/+2
| | | | | | | | | | | | | | circumstances. The problem was only reported with -stable, but it's obviously wrong in -current also. MFC is forthcoming. Submitted by: doconnor@dsoft.com.au
* | Fix a warning of "possibly used before initialisation".keramida2002-08-291-2/+1
| | | | | | | | Reviewed by: tjr
* | Add <stdlib.h> to get a prototype for exit().keramida2002-08-291-0/+1
| | | | | | | | Reviewed by: tjr
OpenPOWER on IntegriCloud