summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* repair type 0 routing header support. it was caused by RFC2292/2292bisitojun2000-09-031-1/+2
| | | | difference. from: jinmei@kame.net
* Add:ache2000-09-031-0/+3
| | | | The implementation will behave as if no library function calls strtok().
* PR: kern/20895groudier2000-09-032-26/+46
| | | | | | | | | | | | | | | | | | | | | | | PR kern/20895: - Add FE_DAC new feature flag to distinguish between 64 bit PCI addressing (DAC cycles) and 64 bit PCI interface (64 bit Memory BARs). - Properly deal with chips that have a 32 bit PCI interface but support and may generate DAC. (Only SYM53C895A for now). PR misc/17584 (at least partially addressed): - Try detecting hardware combinations that trigger spurious PCI master parity error detections by the PCI chip. This work-around is implemented in the `snooptest' routine and consists in retrying with PCI master parity checking disabled if such an error is reported by the PCI chip during this test. Other: - Fix a tiny bug in WIDE negotiation that was very unlikely to be triggerred. The BUS width was wrongly compared against chip's max. offset.
* Add device list supported by `sym'groudier2000-09-032-0/+8
|
* sys/systm.h is incompatable with sys/types.h in userland.peter2000-09-031-0/+2
| | | | | | (#define major() in sys/types.h for example.) Reported by: Nickolay Dudorov <nnd@mail.nsk.ru>
* Make libstand compilepeter2000-09-032-2/+4
|
* Fix pci-pci bridges (I hope).peter2000-09-031-9/+4
| | | | | | | | | | | In the nexus case, there are no ivars for children of nexus devices, and we were passing data in from before the device existed, hence ivars are convenient as the softc doesn't really exist yet. However, for pci->pci bridges, the pcib occupies a pci device itself, which *does* already have ivars. However, softc is available and stable at this point since we've been identified and are locating the bus during attach. So, use softc for this version of pcib devices for storing the physical bus number in.
* bzero() the struct timeval for paranoiakris2000-09-031-0/+1
| | | | Submitted by: gshapiro
* Merged from sys/dev/syscons/syscons.c revision 1.346.kato2000-09-031-1/+1
|
* I'm not sure what changed to cause this, but using 'dirname' as a variablepeter2000-09-031-8/+8
| | | | | was colliding with dirname() in libc.a and causing a Sig 10/bus error. Just change dirname to savedir and be done with it.
* kern_shutdown.c was more ANSI-C than K&R - remove the remnants of K&Rpeter2000-09-031-21/+12
| | | | support with extreme prejudice.
* gcc knows that savectx() is potentially a setjmp style dual-returnpeter2000-09-031-6/+5
| | | | | | | function which may lead to stack lossage and clobbered variables. This isn't the case here, but there is no way to tell gcc that. Work around this in a kinda bizzare way, but it shuts gcc up.
* libkern.h now internally uses the bzero() definition from sys/systm.h.peter2000-09-031-0/+1
| | | | | | | This is kinda important since the bzero symbol on i386 is not a function but a function pointer.. If memset() tried to call it as though it were a function, things would be less than satisfactory. In reality though this was not an actual problem and just caused compile warnings.
* Replace previous change by a move of a #include since something elsepeter2000-09-031-5/+3
| | | | | | #includes "smbus.h". There is still some bogus (but harmless) stuff here surrounding the #include <sys/bus.h> includes here and elsewhere in the bktr code.
* If we are going to test NSMBUS, we had better #include the file thatpeter2000-09-031-0/+1
| | | | | defines it. This creates more warnings rather than less though. These had gone undetected until now. :-(
* Fix warnings by moving static functions before they are used.peter2000-09-031-39/+39
|
* Complain if we cannot find loader(8) metadata.peter2000-09-033-0/+6
|
* Find the module metadata before the console init rather than after.peter2000-09-031-2/+4
| | | | This should repair consoles on the Alpha when using dynamic hints.
* Allow one to specify what the installed kernel's name is by settingobrien2000-09-031-3/+11
| | | | | | "INSTKERNNAME". Reviewed by: marcel
* This is real released software, let people think that.obrien2000-09-031-0/+1
|
* Clean up now that setproctitle() is in libc.grog2000-09-033-3/+1
| | | | Submitted by: brian
* remove opt_devfs.hcg2000-09-022-2/+2
|
* update for phk's last devfs commitcg2000-09-021-10/+1
|
* Move `NOPROFILE' and `NOPERL' to be with the reset of their "NO" brethren.obrien2000-09-022-12/+4
|
* Move the kernel's "cflags" to be next to the world ones.obrien2000-09-022-10/+10
|
* Don't use libutil now that setproctitle() is in libcbrian2000-09-024-6/+0
|
* Remove libutil - setproctitle() is now in libcbrian2000-09-022-5/+0
|
* Modify extended attribute protection model to authorize based onrwatson2000-09-024-119/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute namespace and DAC protection on file: - Attribute names beginning with '$' are in the system namespace - The attribute name "$" is reserved - System namespace attributes may only be read/set by suser() or by kernel (cred == NULL) - Other attribute names are in the application namespace - The attribute name "" is reserved - Application namespace attributes are protected in the manner of the target file permission o Kernel changes - Add ufs_extattr_valid_attrname() to check whether the requested attribute "set" or "enable" is appropriate (i.e., non-reserved) - Modify ufs_extattr_credcheck() to accept target file vnode, not to take inode uid - Modify ufs_extattr_credcheck() to check namespace, then enforce either kernel/suser for system namespace, or vaccess() for application namespace o EA backing file format changes - Remove permission fields from extended attribute backing file header - Bump extended attribute backing file header version to 3 o Update extattrctl.c and extattrctl.8 - Remove now deprecated -r and -w arguments to initattr, as permissions are now implicit - (unrelated) fix error reporting and unlinking during failed initattr to remove duplicate/inaccurate error messages, and to only unlink if the failure wasn't in the backing file open() Obtained from: TrustedBSD Project
* Fix wordingwilko2000-09-021-1/+1
| | | | Submitted by: obrien
* Avoid the modules madness I inadvertently introduced by making thephk2000-09-0245-417/+104
| | | | | | | | | | | | | | | | | | cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h> Remove all #includes of opt_devfs.h they no longer matter.
* add a missing return statement, doh.cg2000-09-021-0/+1
|
* Add ACPI_BUS_SPACE stuff definitions in acpi_machdep.h.iwasaki2000-09-024-3/+39
| | | | | Change to include this file rather than acpica_osd.h to use only ACPI_BUS_SPACE stuff.
* Bite the bullet and provde memcmp() and memset(), this will be cheaperphk2000-09-023-25/+20
| | | | than all the copy&paste versions we already have :-(
* Oops, only memset() is unsupported.phk2000-09-021-1/+0
|
* Purposely break kernel code which uses memset and memcpy to prevent peoplephk2000-09-021-0/+9
| | | | | from not noticing this is wrong just because they can't be bothered to testcompile LINT.
* Move svr4 here as well...phk2000-09-021-17/+17
|
* access() shouldn't diddle with the contents of a potentially sharedtruckman2000-09-022-16/+36
| | | | | | | credential. Create a temporary copy of the current credential and modify the copy. Submitted by: tegge
* - Add AS1200/Tincup descriptionwilko2000-09-021-31/+87
| | | | | | | - Add a bunch of new machine codenames - Cleanup Miata a bit - Update AS[56]00 description - fix typos
* Don't check for ohci/uhci to be loaded, check for the usb module.n_hibma2000-09-022-6/+4
|
* Document AS1200 ("Tincup") as tested successfully.wilko2000-09-021-0/+3
|
* Don't try to set the mtime of the output file if it's not a regular file.des2000-09-021-1/+2
| | | | Pointed out by: cwt
* Err, we weren't even compiling auth1.c with LOGIN_CAP at all. Guess nobodykris2000-09-023-2/+2
| | | | was using this feature.
* Repair a broken conflict resolution in r1.2 which had the effect of nullifyingkris2000-09-021-23/+23
| | | | | | | | the login_cap and login.access checks for whether a user/host is allowed access to the system for users other than root. But since we currently don't have a similar check in the ssh2 code path anyway, it's um, "okay". Submitted by: gshapiro
* Repair my dyslexia: s/opt/otp/ in the OPIE challenge. D'oh!kris2000-09-021-2/+2
| | | | Submitted by: gshapiro
* Re-add missing "break" which was lost during a previous patchkris2000-09-021-0/+1
| | | | | | integration. This currently has no effect. Submitted by: gshapiro
* Turn on X11Forwarding by default on the server. Any risk is to the client,kris2000-09-022-2/+2
| | | | | | where it is already disabled by default. Reminded by: peter
* setproctitle() requires unistd.h and not libutil.h/-lutilbrian2000-09-021-3/+1
|
* libutil.h is no longer required for setproctitle()brian2000-09-021-5/+0
|
* libutil is no longer required as setproctitle() has moved to libcbrian2000-09-022-5/+2
|
* Move setproctitle() from libutil to libc (after a repo-copy)brian2000-09-028-257/+12
| | | | | | | | | and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter
OpenPOWER on IntegriCloud