summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add strerror_r function per Posix prototype.wes2001-11-273-23/+108
| | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks
* Add lomac.c.green2001-11-271-1/+1
| | | | Found by: ken
* Fix mounting root from a ISO9660 filesystem on a SCSI CDROM.ken2001-11-272-0/+20
| | | | | | | | | | | | | | | | | | | | | The problem was that the ISO9660 code wasn't opening the device prior to issuing ioctl calls. In particular, the device must be open before iso_get_ssector() is called in iso_mountroot(). If the device isn't opened first, the disk layer blows up due to an uninitialized variable. The solution was to open the device, call iso_get_ssector() and then close it again. The ATAPI CDROM driver doesn't have this problem because it doesn't use the disk layer, and evidently doesn't mind if someone issues an ioctl without first issuing an open call. Thanks to phk for pointing me at the source of this problem. Tested by: dirk MFC after: 1 week
* Bring the probe inquiry code in line with the SCSI spec.ken2001-11-271-43/+35
| | | | | | | | | | It is legal to have a device with device type 0x1f, that just means that the device is of unknown type. Instead, only check the peripheral qualifier when deciding whether or not to reject a device based on its inquiry information. Tested by: julian MFC after: 3 weeks
* Change the recently-added 'o'-processing so it maps to 'l' instead of 'f'.gad2001-11-272-10/+15
| | | | | | | | 'l' ("plain text which includes control characters") is somewhat more appropriate for 'o' ("postscript files"), and in fact some printers treat 'l' as a request to print a postscript file. MFC after: 1 week
* Have security add a To: root@host line; the lack of a To: line is causingsilby2001-11-271-0/+1
| | | | spambouncer to think my security logs are spam.
* Create a pam_ssh(8) man page, based on a repo-copy of pam_unix(8).des2001-11-271-85/+55
| | | | | | License modified with original author's permission. Sponsored by: DARPA, NAI Labs
* Document the local_pass and nis_pass options, add a few xrefs, and reorderdes2001-11-271-5/+29
| | | | | | the SEE ALSO section. License modified with original author's permission. Sponsored by: DARPA, NAI Labs
* Replace 'p' with 'td' as appropriate.jhb2001-11-272-25/+25
|
* GC compat macros HASHINIT, VOP__LOCK, VOP__UNLOCK, VGET, and VN_LOCK.jhb2001-11-278-38/+25
|
* Expand LOCKMGR() compat macro.jhb2001-11-276-15/+17
|
* GC some KSE compatiblity macros that were somehow still here.jhb2001-11-262-33/+23
|
* GC non-FreeBSD code that didn't work anyways.jhb2001-11-269-821/+6
|
* Some CVS surgery has been done to tip(1) to clean out a commit that Imarkm2001-11-261-0/+1
| | | | | | | should have done differently. Restore tip(1) to the build. I will return to this with a clean import to tip in due course.
* Grammar police (system console terminal type menu).bmah2001-11-262-8/+8
|
* After some CVS surgery to remove an unwise commit, restore somemarkm2001-11-261-2/+7
| | | | | | | | post-UUCP-removal stuff: 1) Link cu(1) to tip(1). 2) Force removal of system immutable bit. (Was needed by UUCP's insecure cu(1).
* Temporarily remove tip/cu from the build while repo-surgery is done.markm2001-11-261-1/+0
|
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-2616-17/+429
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* MFS: I was confused. This code wasn't in -current after all.imp2001-11-263-15/+42
| | | | | | | Merge in the irq 0 detection. Add comment about why. If we have irq 0, ignore it like we do irq 255. Some BIOS writers aren't careful like they should be.
* New release note: TCP syncache.bmah2001-11-262-0/+18
|
* Bring the ucred(9) manpage in sync with the source.ru2001-11-262-19/+25
| | | | | | | | | | Specifically, document the crshared() function and fix the prototype and description of the crcopy() function. PR: docs/32275 Submitted by: Chad David <davidc@acns.ab.ca> Reviewed by: jhb
* - Fix some poor signal handler usage.arr2001-11-261-12/+49
| | | | Reviewed by: -audit (and their silence), jhb, maintainer's silence
* Add entries for GDM (GNOME Display Manager).sobomax2001-11-261-0/+15
| | | | MFC after: 3 days
* Back out 1.88 (NO_SYNC_CACHE quirk for Infortrend IFT-3102). Sinceiedowse2001-11-261-8/+0
| | | | | | | | this device properly reports that the sync cache command is unsupported, the bug is that we still complain about it on the console. Noticed by: gibbs
* Split the sio driver for pc98 into bus front end and back end.nyan2001-11-269-554/+362
| | | | (merged from the files in sys/dev/sio)
* Restore the ability to use IP_FW_ADD with setsockopt(2) that gotru2001-11-261-0/+1
| | | | | | | broken in revision 1.86. This broke natd(8)'s -punch_fw option. Reported by: Daniel Rock <D.Rock@t-online.de>, setantae <setantae@submonkey.net>
* bde suggests that sio really wants to manage its own softc. Thisimp2001-11-265-126/+152
| | | | | | | | | allows us to move the sio softc data structure back into sio.c and reduce the complexity of the non sio.c sio files. Submitted by: bde # I didn't fix the locking issues that bruce also submitted.
* Make the start memory address that we use configurable via a bootimp2001-11-261-5/+16
| | | | | | | | | loader parameter. This allows us to more easily boot on big memory configuration machines. hw.pccbb.start_mem. Reflect this in a sysctl so we can read it from userland. # Note: we need a TUNABLE_ULONG to do this right. I'll add that to # kernel.h soon.
* Only call pccard_function_disable when we have a configured configimp2001-11-261-3/+6
| | | | | entry. Otherwise we panic on boot for cards that we can't allocate a config entry for (my 3.3V wavelan card currently fails thusly).
* Experimental patch to try to properly clip the range of the memoryimp2001-11-261-0/+4
| | | | | | | | | | | | request to one that's supported by the bridge. I'm not 100% sure this is correct, but it makes it easier for the cardbus bridge to allocate its memory. Similar code is needed for the I/O range. Also, I'm not sure if I should be doing this based on memory or pmemory (but likely should do it based on some flag that tells us to prefetch or not). Talked about a long time ago with: msmith
* New release note: sh(1) now implements test as a built-in command, alsobmah2001-11-262-0/+14
| | | | | | no longer has printf as a built-in. Submitted by: knu
* style(9) fixes:imp2001-11-261-162/+148
| | | | | | | o declare variables at the start of the function, not the start of a block. o return (retval); o minor {} tweaks.
* o Add #include <sys/systm.h> to fix a warning about printf() beingrwatson2001-11-261-0/+1
| | | | used without a prototype.
* o Add 'kern.maxusers' to the list of commented out sample tunablerwatson2001-11-261-0/+1
| | | | | variables, since that can now be tuned at boot-time without a recompile.
* peter pointed out that I missed a hard coded location for the memory.imp2001-11-261-4/+5
| | | | Also add a define for I/O stuff (for cardbus).
* First part of patches to make sio grok 16-bit serial cards underimp2001-11-263-3/+33
| | | | | | | | NEWCARD. Other patches may be reqiured to sio to prevent a hang on eject. Also add commented out entries for sio_pccard.c in files.pc98 to match other architectures. Submitted by: yamamoto shigeru-san
* Make the address we kludily allocate in pccbb be a #define for easierimp2001-11-261-3/+5
| | | | | | | | changing. Also change it from 0x44000000 to 0x84000000 for large memory machines. # the PCI bus code should do this for us. This is a bandaide, not a # solution.
* Lose the line listing CD-{R,RW} drives. Listing these few devices isbmah2001-11-262-4/+0
| | | | | | | not particularly helpful, since there are many drives that work with FreeBSD. Submitted by: wilko
* First alpha cleanup-patch to try to reduce the amount of hardwarebmah2001-11-262-168/+196
| | | | | | | | | | that shows up on non-i386 hardware lists "by default" (because no set of hardware platforms was explicitly listed). Reviewed by: -alpha Contributions from: Rolf Neugebauer <neugebar@dcs.gla.ac.uk>, wilko, jhb
* Add attribution for lomac(4) feature.bmah2001-11-262-2/+4
| | | | Requested by: rwatson
* Fix POLA - when selecting line into syscons' cut'n'paste buffer (doublesobomax2001-11-251-0/+4
| | | | | | click) do not include newline into the buffer. This is exacly how things worked before my recent changes to the cut'n'paste code and how they work in 4-STABLE.
* DEVFS has resurfaced.dd2001-11-252-8/+0
|
* Address two minor issues: implement the _PC_NAME_MAX and _PC_PATH_MAXdd2001-11-251-2/+29
| | | | | | | | | pathconf() variables for directories, and set st_size and st_blocks (of struct stat) for directories as appropriate. Note that st_size is always set to DEV_BSIZE, since the size of the directories is not currently kept. Reviewed by: phk, bde
* Since kqueue support was added to tail, the "-F" option (check foriedowse2001-11-251-30/+34
| | | | | | | | | | | | | | renames/rotations) only detected cases where the file itself was moved or deleted. If part of the path to the file (or a symlink in the path) was changed instead, tail would not notice. Fix this by ensuring that we stat the path at least once every second in the -F case to check for changes. We still use kqueue when possible to inform us quickly when the file has changed. PR: bin/24955 Submitted by: Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
* Set a BOOTABLE variable to "-b" if MACHINE is not pc98, and use it fornyan2001-11-251-6/+9
| | | | | | mkisoimages.sh instead of "-b" directly. MFC after: 1 week
* Style clean-up.sheldonh2001-11-251-29/+31
| | | | Submitted by: bde
* Context:bmilekic2001-11-251-1/+2
| | | | | | | | | | | | | | | | | | For an object type, we maintain a variable mb_mapfull. It is 0 by default and is only raised to 1 in one place: when an mb_pop_cont() fails for the first time, on the assumption that the reason for the failure is due to the underlying map for the object (e.g. clust_map, mbuf_map) being exhausted. Problem and Changes: Change how we define "mb_mapfull." It now means: "set to 1 when the first mb_pop_cont() fails only in the kmem_malloc()-ing of the object, and only if the call was with the M_TRYWAIT flag." This is a more conservative definition and should avoid odd [but theoretically possible] situations from occuring. i.e. we had set mb_mapfull to 1 thinking the map for the object was actually exhausted when we _actually_ failed in malloc()ing the space for the bucket structure managing the objects in the page we're allocating.
* Use 'GET' method instaed of 'HEAD', since some proxy server doesn't workmatusita2001-11-251-1/+30
| | | | | | | | | | | | | | | | | | with 'HEAD' method. Actually, when http.c was born, it used 'GET' method. This was changed with revision 1.4 (which was submitted as PR: 21449). I've confirmed to Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>, the submitter of PR: 21449, and it's absolutely OK that we can use GET method. Add missing 'FreeBSD' tag, and copyright notice. This file is originally submitted by PR: 11316; I've contacted to the PR originator to submit it. PR: 32238 Submitted by: Christoph Weber-Fahr <christoph.weber-fahr@arcor.de> (patch), and Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> (copyright) MFC after: 1 week
* Spelling police: sucessful -> successful.dd2001-11-2410-10/+10
|
* Spelling police: sucessful -> successful.dd2001-11-241-1/+1
| | | | Submitted by: Anders Andersson <anders@codefactory.se>
OpenPOWER on IntegriCloud