summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* socket()s first argument should be a protocol family rather than anbrian2002-01-1611-15/+15
| | | | address family.
* socket's first argument is an address family, not a protocol family.brian2002-01-167-10/+10
|
* Added this makefile. This is not attached to the build yet. I oftenbde2002-01-161-0/+8
| | | | | install parts of /etc manually and it helps to have a makefile for each subdir even if the main makefile doesn't invoke it.
* Make `options NETATALK' compile after the -fno-common changes.iedowse2002-01-163-2/+6
| | | | Tested by: Emiel Kollof <coolvibe@hackerheaven.org>
* Don't print out 0xaa55 at the end of a vnconfig disk and use thejhb2002-01-161-4/+1
| | | | "canonical" disk name when calling disklabel so that disklabel auto works.
* - Attempt to help declutter kern. sysctl by moving security out fromarr2002-01-168-29/+30
| | | | | | beneath it. Reviewed by: rwatson
* Put write on read-only filesystem panic after we have weeded outmckusick2002-01-161-2/+2
| | | | | | block and character devices, fifo's, etc. Submitted by: Bruce Evans <bde@zeta.org.au>
* Change <b28> to HTT (Hyperthreading technology). If this flag is set thenpeter2002-01-162-6/+6
| | | | | | | cpuid with %eax=1 will return a logical cpu count in bits 16-23 of %ebx. Bit 29 is actually 'TM' according to AP-485. This signifies the presence of the thermal control circuit (which I believe can slow the clock down to reduce core temperature).
* fix typo, there's uap, just fdalfred2002-01-161-1/+1
|
* Ensure that we set all the %cr0 bits to a known state for the AP's beforepeter2002-01-166-0/+60
| | | | | | they make it through to userland. This should fix the p5-smp problem without affecting the other cpus (eg: cyrix, see initcpu.c and the special cache handling for these cpu types).
* Revise the nfsiod auto tuning code. Now both the upper and lower limitspeter2002-01-153-22/+87
| | | | | | are specifyable by sysctl and are respected. Submitted by: Maxime Henrion <mux@sneakerz.org>
* better namespsace of static functionsimp2002-01-151-5/+9
|
* o Sync the device list with OLDCARD.imp2002-01-151-51/+46
| | | | | | | | o Remove bogus flags that aren't used (if we need them in the future, we can add them back). o Add support for the TI-1031. This is the only YENTA compatible PCI-PCMCIA bridge that I'm aware of (all the others are PCIC on a PCI bus, which is different).
* This commit was generated by cvs2svn to compensate for changes in r89402,nectar2002-01-151-6/+7
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Don't use getlogin() to determine whether we are root.nectar2002-01-151-6/+7
| | | | | | | | (Import of vendor fix.)
* | Add a few cleanups from rev 1.1:mike2002-01-151-10/+12
| | | | | | | | | | | | | | | | o Restore vendor ID. o Order variable types by size. o Remove a gratuitous temporary variable. Submitted by: bde
* | This commit was generated by cvs2svn to compensate for changes in r89397,ru2002-01-151-7/+12
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Satisfy pedantic readers.ru2002-01-151-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: docs/31260 From ChangeLog: : 2002-01-14 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/groff_mdoc.man: Minor fixes.
* | | Back out part of the revision 1.2 changes -- sendto(2) canru2002-01-151-73/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not return ENOBUFS for unreliable protocols like divert. This should fix an issue when natd(8) keeps spamming already full dummynet(4) queues with the same packet forever. Spotted by: chkno@dork.com Explained by: luigi Reviewed by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 2 weeks
* | | Add entries for the DEC VT400 and and VT420 terminals.sheldonh2002-01-151-0/+35
| | | | | | | | | | | | | | | Obtained from: comp.terminals Reported by: tedm
* | | First ping after a preload (-l) was sent undelayed.ru2002-01-151-1/+2
| | | | | | | | | | | | | | | PR: bin/32354 Obtained from: ping.c,v 1.61
* | | Add pkg_update to the SEE_ALSO manpage of pkg_create.keramida2002-01-151-0/+1
| | | | | | | | | | | | | | | PR: docs/33666 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* | | Bump the limits for determining if we've held a spinlock too long as theyjhb2002-01-152-4/+4
| | | | | | | | | | | | | | | | | | | | | seem to be too short for the 500 Mhz DS20 I'm testing on. The rather arbitrary numbers are rather bogus anyways. We should probably have variables for these limits that are calibrated in the MD startup code somehow.
* | | - Catch up printtrap() to KSE by using curthread and testing it againstjhb2002-01-151-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | NULL rather than curproc. Without this, if we trap early before curthread is set, we recursively panic. - In an SMP kernel, if we trap before curthread is set, then trap is going to recursively panic trying to bump td->td_md.md_kernnest. The trap is fatal anyways, so to make debugging easier just call printtrap() to dump the trap info to the console and then halt.
* | | Do not install man(1) setuid ``man''.ru2002-01-156-83/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The catpaging and setuidness features of man(1) combined make it vulnerable to a number of security attacks. Specifically, it was possible to overwrite system catpages with arbitrarily contents by either setting up a symlink to a directory holding system catpages, or by writing custom -mdoc or -man groff(1) macro packages and setting up GROFF_TMAC_PATH in environment to point to them. (See PR below for details). This means man(1) can no longer create system catpages on a regular user's behalf. (It is still able to if the user has write permissions to the directory holding catpages, e.g., user's own manpages, or if the running user is ``root''.) To create and install catpages during ``make world'', please set MANBUILDCAT=YES in /etc/make.conf. To rebuild catpages on a weekly basis, please set weekly_catman_enable="YES" in /etc/periodic.conf. PR: bin/32791
* | | Add missed includes.sobomax2002-01-153-0/+3
| | | | | | | | | | | | Reviewed by: md5
* | | o Add prototype for printf(3).mike2002-01-151-9/+12
| | | | | | | | | | | | | | | | | | | | | style(9): o Order variables in declarations. o Move initialization out of declaration. o Fix over-indents in previous delta.
* | | Merge the changes in the English version (1.253 --> 1.254).kuriyama2002-01-151-49/+54
| | |
* | | style(9)mike2002-01-151-95/+63
| | | | | | | | | | | | | | | Submitted by: Joseph Mallett <jmallett@xmach.org> Reviewed by: md5(1)
* | | When downgrading a filesystem from read-write to read-only, operationsmckusick2002-01-155-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | involving file removal or file update were not always being fully committed to disk. The result was lost files or corrupted file data. This change ensures that the filesystem is properly synced to disk before the filesystem is down-graded. This delta also fixes a long standing bug in which a file open for reading has been unlinked. When the last open reference to the file is closed, the inode is reclaimed by the filesystem. Previously, if the filesystem had been down-graded to read-only, the inode could not be reclaimed, and thus was lost and had to be later recovered by fsck. With this change, such files are found at the time of the down-grade. Normally they will result in the filesystem down-grade failing with `device busy'. If a forcible down-grade is done, then the affected files will be revoked causing the inode to be released and the open file descriptors to begin failing on attempts to read. Submitted by: "Sam Leffler" <sam@errno.com>
* | | Make PCI_ALLOW_UNSUPPORTED_IO_RANGE an option until the ISA addressimp2002-01-152-0/+6
| | | | | | | | | | | | | | | problem is fixed at the bridge level. This is needed for some newer laptops that have the cardbus bridge not on pci0.
* | | Sync to GENERIC: add UFS_DIRHASHimp2002-01-151-0/+1
| | | | | | | | | | | | Submitted by: Anders Andersson <anders@hack.org>
* | | Compilers are very picky about matching opeining and closing brackets.jhay2002-01-151-1/+0
| | |
* | | Make man page and usage statement match reality submitted by Ruslan,ambrisko2002-01-152-29/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up "n to m" type options with "n-m" and some other improvements suggested by Ruslan. Change -C option to report the transmit key "4" if in "Home" mode. Submitted by: ru Approved by: imp, ru
* | | Reinstate linux_ifname. Although the Linuxulator doesn't use itmarcel2002-01-151-0/+27
| | | | | | | | | | | | | | | | | | itself, it's used outside the Linuxulator. Reimplement the function so that its behaviour matches the current renaming scheme. It's probably better to formalize these interdependencies.
* | | Push down Giant in dup(2) and dup2(2), Giant is only needed whenalfred2002-01-151-16/+17
| | | | | | | | | | | | | | | calling closef() in the case of dup2(2) duping over a descriptor and when fdalloc must grow or free a filedesc.
* | | Fix select on fifos.alfred2002-01-143-13/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backout revision 1.56 and 1.57 of fifo_vnops.c. Introduce a new poll op "POLLINIGNEOF" that can be used to ignore EOF on a fifo, POLLIN/POLLRDNORM is converted to POLLINIGNEOF within the FIFO implementation to effect the correct behavior. This should allow one to view a fifo pretty much as a data source rather than worry about connections coming and going. Reviewed by: bde
* | | Fix mind-o: compare sc->sis_rev instead of 'command' when trying towpaul2002-01-141-1/+1
| | | | | | | | | | | | decide how to read the station address.
* | | fix MLINKS for timeradd.3fjoe2002-01-141-1/+2
| | |
* | | Commit a know fix for hpfs to use vop_defaultop plug instead of wrongsemenu2002-01-141-13/+1
| | | | | | | | | | | | | | | | | | hpfs_bypass() routine. MFC after: 1 day
* | | Remove a bogus FILEDESC_UNLOCK.alfred2002-01-141-1/+0
| | | | | | | | | | | | Submitted by: tanimura
* | | Unbreak installation for the CD-ROM and possiblhy other media types.green2002-01-143-5/+18
| | | | | | | | | | | | | | | Obtained from: LOMAC project Sponsored by: DARPA, NAI Labs
* | | Make the i386 boot2 fully blocksize-agnostic, as has already beeniedowse2002-01-142-96/+92
| | | | | | | | | | | | | | | | | | | | | done with boot1 on the alpha. We use 4k buffers regardless of the actual filesystem block size. Remove the simple malloc() implementation, as it is no longer used.
* | | The vnode was not being vput()'d in the EEXIST mknod case on the nfsdillon2002-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | server side. This can lead to a system deadlock. Reviewed by: iedowse Tested by: Alexey G Misurenko <mag@caravan.ru>, iedowse Bug found with help by: Alexey G Misurenko <mag@caravan.ru> MFC at: earliest convenience
* | | Move bootloader-related changes into a new sect3-level sectionbmah2002-01-142-86/+98
| | | | | | | | | | | | underneath the Kernel Changes.
* | | Everybody (for suitable values of "everybody") seems to think pam.conf shoulddes2002-01-142-7/+1
| | | | | | | | | | | | | | | | | | be removed outright. Sponsored by: DARPA, NAI Labs
* | | yp(4) -> yp(8).ru2002-01-1430-601/+38
| | | | | | | | | | | | PR: docs/30797
* | | Convert to man4/Makefile style.ru2002-01-141-4/+10
| | |
* | | Re-add pam.conf so it will get installed so people who don't know aboutdes2002-01-141-1/+1
| | | | | | | | | | | | | | | | | | pam.d will find out about it by reading pam.conf. Sponsored by: DARPA, NAI Labs
* | | mdoc(7) police: tidy up the markup.ru2002-01-142-118/+158
| | |
OpenPOWER on IntegriCloud