summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't leak pipe descriptor to daemons on execv().sheldonh1999-07-221-4/+6
|
* Fix a small mind-o: one instance of SYS_RES_IOPORT should have beenwpaul1999-07-222-6/+6
| | | | SYS_RES_MEMOTY in sk_detatch().
* Signal handlers should use _exit(2) and not exit(3).sheldonh1999-07-221-2/+2
|
* Add braces to make if-else statement clearer.iwasaki1999-07-222-8/+12
| | | | | PR: 12663 Submitted by: Adam Wight <adamw@holonet.net>
* Correct some style issues in my previous commit.kris1999-07-222-4/+4
| | | | Submitted by: bde
* - Add new argument `off' to the `-b' option. This will turn offyokota1999-07-222-4/+8
| | | | | | | | the bell. - Document it in the man page. - Fix a couple of typo in the man page. Submitted by: cpiazza
* Move code for all builtin services from inetd.c to builtins.c, includingsheldonh1999-07-224-583/+648
| | | | | | | the Green Piece. :-) In future, new builtin services are less likely to need to touch the already tangled inetd.c .
* Deal with new linux compat package naming.jkh1999-07-223-6/+6
| | | | Submitted by: Marcel Moolenaar <marcel@scc.nl>
* Intentionally do the wrong thing in using the initial DHCP values forjkh1999-07-222-2/+6
| | | | | | | | | | | | | ifconfig, essentially stealing the lease until the user goes and changes it. The alternative, sadly, is total dysfunction since bpf isn't in GENERIC and network connectivity would otherwise fail completely on first bootup when DHCP configuration was attempted again. The ultimate answer here is to make either bpf a loadable kernel module (which security conscious admins will be able to simply remove from /modules) or come up with a lighter weight mechanism just for dhcp and other apps that need to see broadcast packets but not otherwise sniff the wire in full bpf glory.
* Modify device numbering method to work with latest -CURRENT. Briefly,grog1999-07-223-15/+19
| | | | | | | | | the device numbers are now minor number only, so that we can still compare them after dev_t has turned into a blob. Broken-by: dev_t changes Reported-by: Vallo Kallaste <vallo@matti.ee> "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* Reduce the number of "magic constants" used for page coloringalc1999-07-226-17/+11
| | | | | by one: PQ_PRIME2 and PQ_PRIME3 are used to accomplish the same thing at different places in the kernel. Drop PQ_PRIME3.
* Convert the SysKonnect gigabit ethernet driver to newbus.wpaul1999-07-224-154/+262
|
* Small tweak to newbus changes: return error status on failure correctlywpaul1999-07-221-2/+2
| | | | | in xl_attach() (not a problem if the attach never fails, but if it does the function would still return 0, which is wrong).
* Vastly improve the speed of the file command by makingwes1999-07-222-6/+7
| | | | | | | | | the expected size of the magic(5) database agree with the real world. Also, improve the behavior of the realloc mechanism when the magic database does exceed expectations. Reviewed by: Peter Jeremy, Matt Dillon Obtained from: Peter Edwards <peter.edwards@isocor.ie>
* Make mountroot work again (change makedev to makebdev).dfr1999-07-211-3/+4
|
* Add ``cvsup''.obrien1999-07-211-1/+2
|
* Fix the following problem:alc1999-07-217-16/+55
| | | | | | | | | | | | | | | | When creating new processes (or performing exec), the new page directory is initialized too early. The kernel might grow before p_vmspace is initialized for the new process. Since pmap_growkernel doesn't yet know about the new page directory, it isn't updated, and subsequent use causes a failure. The fix is (1) to clear p_vmspace early, to stop pmap_growkernel from stomping on memory, and (2) to defer part of the initialization of new page directories until p_vmspace is initialized. PR: kern/12378 Submitted by: tegge Reviewed by: dfr
* Fix for the hosts_options(5) spawn option.sheldonh1999-07-211-5/+9
| | | | | | | | | | | | | | | Restore default SIGHUP, SIGCHLD and SIGALRM handlers in forked inetd processes. This happens to work around the fact that hosts_access() doesn't (but should) set SIG_IGN as the handler for SIGCHLD while it handles the spawn option, but it would make sense even if that were not true. This does not address the leaking descriptors issue discussed on the same PR. PR: 12731 Reviewed by: des Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Fixed missing changes from sys/pc98/pc98/pc98.c when new-bus was integrated.nyan1999-07-212-2/+44
| | | | | | | - In isa_dmastart() and isa_dmadone(), cache flush. - Correct current word register address. Submitted by (partial): Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
* Remove the RCS "Log" and all the verbiage it has generated.phk1999-07-2120-2608/+24
|
* Hack to work around a NULL pointer dereferencation that can be triggeredjoerg1999-07-212-2/+10
| | | | | | | | by removing a floppy that as being operated on. The spagghetti is hardly understandable at all anymore, so i can't 100 % ascertain this is really the Right Thing to do, maybe our new floppy driver maintainer, Jesus Monroy Jr can do this. :-))
* Fix horribly broken comment. The submitter of the associated code sentsheldonh1999-07-211-3/+4
| | | | me the right comment and I bastardized it. :-(
* Fix a gcc stupidity where it thought a variable was being used uninitializedbillf1999-07-212-4/+10
| | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically.
* Avoid ambigious if/elsebillf1999-07-212-4/+6
|
* Hopefully make the CMD640B workaround actually work.peter1999-07-211-9/+6
|
* Avoid ambigious if-elsebillf1999-07-211-4/+7
|
* Since we are using strlen() let's assign it to the correct type andbillf1999-07-211-2/+3
| | | | include the proper header.
* Walk around the end of all the silly guessing of device types and unitmsmith1999-07-216-9/+108
| | | | | | | numbers that we have been doing in the past, and read /etc/fstab off the proposed root filesystem to determine the actual device name and vfs type for the root filesystem. These are then exported to the kernel via the environment variable vfs.root.mountfrom.
* Slight cleanups of the Cyrix 5530 UDMA code.julian1999-07-201-100/+125
| | | | | | Also includes a workaround fro an apparent chip bug where UDMA mode 2 can overpower the UDMA engine enough that it will hog the PCI bus to the exclusion of the processor.
* Fix a REALLY embarrassing mistake. Don't look; I warned you.green1999-07-201-2/+2
|
* Make a dev2budev() function, and use it. This refixes pstat (working, broken,green1999-07-204-9/+16
| | | | | | | working, broken, working) and savecore (working, working, broken, working, working). Sorta Reviewed by: phk
* Convert the xl driver to newbus. It is now possible to make this driverwpaul1999-07-202-88/+127
| | | | | | | | | | into a loadable module, and all of the platform dependencies are gone (except for the alpha_XXX_dmamap() thing, which is another issue -- I still don't know how to use the busdma stuff with a network driver). Also increase the delay in xl_reset(); testing on a 486/66 with a 3c905C shows that reading the EEPROM fails immediately after a reset. Waiting a little longer after the reset completes seems to fix it.
* XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tooljkh1999-07-203-3/+6
| | | | to work (fnark).
* dev2udev() returns a CDEV udev_t, but we use block io in savecore. Savecoregreen1999-07-201-2/+5
| | | | | | | also gets the device by st_rdev, which is alright except for the fact that the sysctl kern.dumpdev passed out a char device. This is a workaround. Sorry for not committing the fix earlier, before people started having problems.
* Correct the information about the return value when no device matchesnik1999-07-201-6/+4
| | | | | | | (or no information is available). PR: docs/12707 Submitted by: Chris Costello <chris@calldei.com>
* Correct some grammar and style problems with this page.nik1999-07-201-16/+16
| | | | Submitted by: Kris Kennaway <root@rebel.net.au>
* Correct the alignment of some of the members in the wi_frame structure.wpaul1999-07-202-6/+10
| | | | | | The structure is the right length, but some of the members (notably wi_q_info) were off a bit. This causes the received signal strength values to appear bogus.
* Make bcd2int work (resume time reporting now works.)green1999-07-201-3/+5
| | | | | PR: 12613 Submitted by: Michael Constant <mconst@not.there.com>
* Make wall_cmos do something.green1999-07-201-4/+13
| | | | PR: 12614
* I missed a not. Also, remove invltlb(), since it's "unncessary [sic] becausegreen1999-07-201-4/+2
| | | | wbinvd already flushes the the TLB."
* Now a dev_t is a pointer to struct specinfo which is shared by all specdevphk1999-07-2013-194/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vnodes referencing this device. Details: cdevsw->d_parms has been removed, the specinfo is available now (== dev_t) and the driver should modify it directly when applicable, and the only driver doing so, does so: vn.c. I am not sure the logic in checking for "<" was right before, and it looks even less so now. An intial pool of 50 struct specinfo are depleted during early boot, after that malloc had better work. It is likely that fewer than 50 would do. Hashing is done from udev_t to dev_t with a prime number remainder hash, experiments show no better hash available for decent cost (MD5 is only marginally better) The prime number used should not be close to a power of two, we use 83 for now. Add new checkalias2() to get around the loss of info from dev2udev() in bdevvp(); The aliased vnodes are hung on a list straight of the dev_t, and speclisth[SPECSZ] is unused. The sharing of struct specinfo means that the v_specnext moves into the vnode which grows by 4 bytes. Don't use a VBLK dev_t which doesn't make sense in MFS, now we hang a dummy cdevsw on B/Cmaj 253 so that things look sane. Storage overhead from all of this is O(50k). Bump __FreeBSD_version to 400009 The next step will add the stuff needed so device-drivers can start to hang things from struct specinfo
* Also check against chardevs when looking for root.phk1999-07-204-4/+12
|
* The matcd driver is acting strange (returning a successful open evenjkh1999-07-203-3/+9
| | | | when it fails). Disable it in sysinstall for now.
* Fix a bad dhcp keyword; it's host-name not server-name.jkh1999-07-202-6/+6
|
* Add slovakian ftp mirror.jkh1999-07-203-3/+9
| | | | Submitted by: "Tomas TPS Ulej" <tps@ti.sk>
* More Alpha ifdefage.jkh1999-07-206-6/+42
|
* use vp->v_rdev;phk1999-07-201-2/+2
| | | | OK'ed by: grog
* add debug.sizeof.specinfophk1999-07-201-1/+5
|
* Don't access the device with vp->v_specinfo->si_rdev, use vp->v_rdev.phk1999-07-202-4/+56
|
* Update of the i686 MTRR/memory range support.msmith1999-07-202-90/+92
| | | | | | | | | | | | | - Support for setting memory range attributes on SMP systems using the new SMP rendezvous function - Don't print the confusing default memory type message. - Allow legal overlapping range types. - Turn interrupts back on after setting MTRRs in UP mode (whoops) - Don't waste time calling invltlb() after wbinvd(); it's not SMP-compatible (interrupts are off) and unncessary because wbinvd already flushes the TLB. This code is now essentially feature-complete.
OpenPOWER on IntegriCloud