aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282815-2936/+2936
| | | | Notes: svn path=/head/; revision=50476
* gcc 2.6 is kinda obsolete now.Peter Wemm1999-08-278-1826/+0
| | | | Notes: svn path=/head/; revision=50475
* Correction: uid -> gid (comment)Brian Feldman1999-08-271-2/+2
| | | | Notes: svn path=/head/; revision=50474
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2764-67/+83
| | | | Notes: svn path=/head/; revision=50473
* $Id$ -> $FreeBSD$Peter Wemm1999-08-27727-753/+754
| | | | Notes: svn path=/head/; revision=50472
* $Id$ -> $FreeBSD$Peter Wemm1999-08-27275-277/+277
| | | | Notes: svn path=/head/; revision=50471
* Catch an extra X on DHCP.Jordan K. Hubbard1999-08-277-14/+14
| | | | | | | Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr> Notes: svn path=/head/; revision=50470
* Fix path for miibus_if.m (mii > dev/mii);Bill Paul1999-08-271-3/+3
| | | | Notes: svn path=/head/; revision=50469
* Make some cleanups related to miibus.Bill Paul1999-08-271-47/+21
| | | | Notes: svn path=/head/; revision=50468
* Remove some 4.3BSDish anacronisims that stated that it was anMike Pritchard1999-08-275-19/+5
| | | | | | | | | | error for a pathname to contain a character with the high-order bit set. Inspired by: joerg's previous commit Notes: svn path=/head/; revision=50466
* Add sysctl variables for the Linuxulator. These reside under `compat.linux' asMarcel Moolenaar1999-08-2713-16/+583
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | discussed on current. The following variables are defined (for now): osname (defaults to "Linux") Allow users to change the name of the OS as returned by uname(2), specially added for all those Linux Netscape users and statistics maniacs :-) We now have what we all wanted! osrelease (defaults to "2.2.5") Allow users to change the version of the OS as returned by uname(2). Since -current supports glibc2.1 now, change the default to 2.2.5 (was 2.0.36). oss_version (defaults to 198144 [0x030600]) This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I can commit now that we have the MIB. The default version number is the lowest version possible with the current 'encoding'. A note about imprisoned processes (see jail(2)): These variables are copy-on-write (as suggested by phk). This means that imprisoned processes will use the system wide value unless it is written/set by the process. From that moment on, a copy local to the prison will be used. A note about the implementation: I choose to add a single pointer to struct prison, because I didn't like the idea of changing struct prison every time I come up with a new variable. As a side effect, the extra storage is only needed when a variable is set from within the prison. This also minimizes kernel bloat when the Linuxulator is not used; both compiled in or as a module. Reviewed by: bde (first version only) and phk Notes: svn path=/head/; revision=50465
* Update these Makefiles; add mlphy and tlphy to the mii module, addBill Paul1999-08-272-2/+8
| | | | | | | miibus_if.h to tl module's dependencies. Notes: svn path=/head/; revision=50464
* Reference the correct gdt[] entry on SMP. Remove the `generation' flag,Jonathan Lemon1999-08-274-30/+26
| | | | | | | and always reload the selectors for every bios call. Notes: svn path=/head/; revision=50463
* Convert the ThunderLAN driver to miibus. This took me a while because IBill Paul1999-08-272-878/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | had to get the ML 6692 PHY driver working correctly, which is harder than it sounds. "Bitrate" ThunderLAN devices should still be supported (i.e the older 10Mbps Netflex 3/P, which use the TNETE110 chip that has no MII support). The ThunderLAN has an internal PHY which makes things a little complicated, but these are the basic rules: - For devices with just the ThunderLAN, the internal PHY is used to provide 10baseT, and 10base5/10baseT support. Autonegotiation will work, but only with 10baseT links. The only thing that really gets negotiated is whether the link is full or half duplex. - For devices with the ThunderLAN and an external 10/100 PHY (like the Compaq Netelligent 100Mbps cards, or the internal Netflex 3/P with 100Mbps upgrade daughter card), the external PHY is used for 10baseT and 100baseTX modes. The internal PHY is still used to support 10base5/10base2, though you have to select them manual with ifconfig. - For devices with the ThunderLAN and the ML6692 PHY, both the internal and external PHYs are used, though it will appear as though the 6692 PHY will be used to support 10baseT and 100baseTX modes. In reality, the internal PHY will be used for 10baseT, but this fact will be hidden from the user. The 10base5/10base2 modes can also be selected manually as with above. Notes: svn path=/head/; revision=50462
* Add miibus drivers for the ThunderLAN internal PHY and the Micro LinearBill Paul1999-08-275-1/+975
| | | | | | | | | | | | ML6692 PHY. The Micro Linear driver is my own; the ThunderLAN driver is a port of the NetBSD driver with various hacks. The ML driver is necessary to support the Olicom OC-2326 ThunderLAN-based NIC. Also regenerated miidevs.h to pick up the proper 'obtained from' revision string. Notes: svn path=/head/; revision=50461
* Use FIODTYPE to unbogosify much of the file type checking in dd.Brian Feldman1999-08-271-10/+15
| | | | Notes: svn path=/head/; revision=50460
* Add FIODTYPE ioctl for getting d_flags (type) info on a device.Brian Feldman1999-08-272-2/+9
| | | | | | | Okayed by: phk Notes: svn path=/head/; revision=50459
* Fix the child's return path from fork so that fork will return 0Andrew Gallatin1999-08-273-12/+12
| | | | | | | | | | | | in the child. This corrects a problem where linux/alpha binaries see the child's return value of fork as the parent's pid. This happens because linux/alpha binaries apparently check the return value directly, rather than looking for a non-zero value in a4, as *BSD & OSF/1 do. Reviewed by:dfr@nlsystems.com Notes: svn path=/head/; revision=50458
* Remove a 4.3BSDish anachronism that claimed EPERM for an attempt toJoerg Wunsch1999-08-271-3/+1
| | | | | | | | mknod() a pathname containg a ``character with the high-order bit set''. Notes: svn path=/head/; revision=50456
* Fix conflicts. This brings in rev 1.2 (FreeBSD native support -- do notDavid E. O'Brien1999-08-271-1860/+2228
| | | | | | | | search the multitude of extended include file paths that do not exist) into EGCS 1.1.2. Notes: svn path=/head/; revision=50455
* Small whitespace change to fix run-over lines introduced in the previousSheldon Hearn1999-08-272-6/+6
| | | | | | | | | commit. Reported by: bde Notes: svn path=/head/; revision=50454
* Fix conflicts. This brings the "printf0" addition into EGCS 1.1.2.David E. O'Brien1999-08-271-20/+53
| | | | Notes: svn path=/head/; revision=50453
* Add -m option to specify a creation mode whcih is not affected bySheldon Hearn1999-08-272-9/+59
| | | | | | | | | | | the umask of the calling process. PR: 13365 Reported by: James Howard <howardjp@wam.umd.edu> Reviewed by: bde Notes: svn path=/head/; revision=50452
* Don't accept %q length specifiers in the kernel (more precisely,David E. O'Brien1999-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | if compiling with -fformat-extensions). Gcc's format checker never actually supported %q length specifiers. It treats %q as an alias for %ll, which is correct if quad_t is long long (e.g., on i386's) and broken otherwise (e.g., on alphas). quad_t's currently should be printed in the same way that they already need to be printed to avoid compiler warnings on all supported systems: cast them to a standard type that is at least as large (long or long long) and use the length specifier for that (%l or %ll). This is problematic since long long isn't standard yet. C9x's intmax_t should be implemented soon. Don't accept %L length specifiers in the kernel either. The only legitimate ones are for long doubles, but the kernel doesn't even support plain doubles. (gcc bogusly accepts %Ld as an alias for %lld, and it sometimes prints "q" in error messages about "ll" and "L" length specifiers, becauses it represents all these specifiers as 'q'.) Submitted by: bde Notes: svn path=/head/; revision=50451
* Fixed kernel format checking:David E. O'Brien1999-08-271-3/+3
| | | | | | | | | | | | | | | - plain %r and %z were disallowed. The hard NULs in the warnings were hopefully caused by disallowing of plain formats being nonsense. - new formats for shortening to a byte were allowed, but even the libc printf doesn't support them. - old %hr and %hz formats were allowed, but the kernel printf doesn't support them. The kernel doesn't support %hd either, but this is harder to fix. Submitted by: bde Notes: svn path=/head/; revision=50450
* Fix conflicts.David E. O'Brien1999-08-271-260/+983
| | | | | | | | This brings revs 1.2 (-fformat-extensions) and 1.3 (printf0()) into EGCS 1.1.2. Notes: svn path=/head/; revision=50449
* Fix conflicts.David E. O'Brien1999-08-271-832/+1273
| | | | Notes: svn path=/head/; revision=50448
* - Retain the previous vty and history buffers when setting upKazutaka YOKOTA1999-08-271-8/+5
| | | | | | | | the graphics mode. This was the behavior prior to syscons.c rev 1.278, but broken in scvidctl.c rev 1.1. Notes: svn path=/head/; revision=50447
* - Set the correct value to va_line_width while in the ioctlKazutaka YOKOTA1999-08-271-6/+17
| | | | | | | FBIO_SETLINEWIDTH. Notes: svn path=/head/; revision=50446
* - Ouch! Do not assume the VESA BIOS will preserve the upper 16 bitsKazutaka YOKOTA1999-08-271-20/+20
| | | | | | | of EAX and EBX. Notes: svn path=/head/; revision=50445
* Add ``-i'' option, which is the same as ``-''. The -i option is theSheldon Hearn1999-08-272-8/+19
| | | | | | | | | | | | recommended option in the manpage, but the - option remains for backward compatibility and is documented as such. PR: 13363 Reported by: James Howard <howardjp@wam.umd.edu> Reviewed by: bde Notes: svn path=/head/; revision=50444
* Don't install /etc/manpath.config.sample.Ruslan Ermilov1999-08-271-4/+0
| | | | Notes: svn path=/head/; revision=50443
* A few style changes (fixes hopefully) and some more tidying up. Fix (?)Peter Wemm1999-08-272-202/+208
| | | | | | | the volatile cast warnings. Notes: svn path=/head/; revision=50442
* Remove some vestiges of devfs direct calls.Julian Elischer1999-08-273-18/+3
| | | | Notes: svn path=/head/; revision=50441
* I misunderstood the failure mode - revert BINMODE to 4554. I'm stillJordan K. Hubbard1999-08-271-2/+2
| | | | | | | | | | going to remove ppp from the installation options in 5 days if ppp is still broken, however, as it hasn't worked at installation time for several weeks now and it's only causing people to fill my mailbox with questions. Notes: svn path=/head/; revision=50438
* 'build' calls 'stage1'Roger Hardiman1999-08-271-2/+2
| | | | | | | | The check for the exit status of the 'stage1' script was broken. Change "X$?" != "X0" to "X?" != "X0" Notes: svn path=/head/; revision=50437
* Add PHK's make_dev() into more places where DEVFS used to beJulian Elischer1999-08-2719-368/+112
| | | | | | | | | | | | hooked in directly. Alpha change checked by: Matthew Jacob <mjacob@feral.com> i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de> and Hellmuth Michaelis <hm@hcs.de> PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org> Notes: svn path=/head/; revision=50436
* Don't return 0 for an unknown ioctl (!). This was breaking ppp(8).Peter Wemm1999-08-272-20/+18
| | | | | | | Slight tidy up while here. Notes: svn path=/head/; revision=50435
* Fix a typo.Jordan K. Hubbard1999-08-272-8/+8
| | | | | | | Reported by: Terry Jones <terry@cliffs.ucsd.edu> Notes: svn path=/head/; revision=50434
* I don't know who decided that an install mode of 4544 was correct, butJordan K. Hubbard1999-08-271-2/+2
| | | | | | | | for a binary it's far from it. This is why sysinstall is unable to run ppp at startup time and causing weirdies in -current. Notes: svn path=/head/; revision=50432
* Rebuild the list of interface numbers to names if we're tryingBrian Somers1999-08-261-3/+13
| | | | | | | to evaluate an interface number that didn't previously exist. Notes: svn path=/head/; revision=50427
* Add readonly OID ``net.inet.tcp.tcbhashsize'' so it is possible toJonathan Lemon1999-08-262-2/+12
| | | | | | | discover the size of the TCB hashtable on a running system. Notes: svn path=/head/; revision=50426
* Handle the new Makefile infrastructure in the doc/ repository.Nik Clayton1999-08-261-3/+3
| | | | | | | | | | | | | | | | Set ALLLANG to install all the languages, otherwise set DOC_LANG to just the languages (and encodings) you want to install. Default to building the html-split (lots of small HTML files, with links to go between them), html (one big honking HTML file), and plain text versions of the documentation. Does not compress any of the docs prior to doing the installation. Testing and feedback: Jack O'Neill <jack@germanium.xtalwind.net>, Cockups and typos: nik Notes: svn path=/head/; revision=50425
* Pull the FDP maintained documents (that's the FAQ, the Handbook, theNik Clayton1999-08-261-45/+1
| | | | | | | | | tutorials, and all the language translations thereof) out of here. They still install here, but the installation routine in doc/ sorts that out. Notes: svn path=/head/; revision=50424
* Sync with -stable versionRoger Hardiman1999-08-261-5/+6
| | | | Notes: svn path=/head/; revision=50421
* Comment out references to ssh to allow builds to complete.Roger Hardiman1999-08-261-3/+5
| | | | Notes: svn path=/head/; revision=50417
* Don't follow symlinks on coredumps.Dima Ruban1999-08-262-6/+6
| | | | | | | Reviewed by: dillon && security-officer Notes: svn path=/head/; revision=50415
* Don't suggest sysctl(8) as a means for discovering what filesystem typesSheldon Hearn1999-08-261-8/+5
| | | | | | | | | are available; suggest lsvfs(1) instead. Reported by: Neil Blakey-Milner <nbm@rucus.ru.ac.za> Notes: svn path=/head/; revision=50412
* 1. Add support for months and years in relative time spec (now + 1 year)Nick Sayer1999-08-262-52/+35
| | | | | | | | | | 2. Rip out dateadd() and re-do the plus operator handler to use mktime() instead (per wollman). Reviewed by: wollman Notes: svn path=/head/; revision=50411
* VALIASED doesn't exist any more.Poul-Henning Kamp1999-08-261-3/+1
| | | | Notes: svn path=/head/; revision=50409