summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Implement support for mixed case passwords.bp2002-09-162-7/+77
| | | | | Obtained from: Darwin MFC after: 2 weeks
* Add support for large readx and writex functions if server supports them.bp2002-09-162-0/+178
| | | | | Obtained from: Darwin MFC after: 2 weeks
* Include include "opt_atalk.h" so that the NETATALK support can work.bde2002-09-161-17/+1
| | | | | | | | | Removed unused includes. Removed used includes of <sys/queue.h> and <sys/time.h>, since these are standard pollution (especially the latter). Reviewed by: sobomax
* Enable browsing of NetApp servers (use ascii mode).bp2002-09-161-1/+4
| | | | | Obtained from: Darwin (PR-3002667) MFC after: 2 weeks
* Fix the clockprobe test on the Sil 680sos2002-09-161-1/+1
|
* Add more constants for future use in kernel and userland.bp2002-09-161-8/+64
| | | | Obtained from: Darwin
* Don't build unneeded modules for pc98.nyan2002-09-161-7/+45
|
* Merged from sys/isa/fd.c revisions 1.234, 1.235 and 1.236.nyan2002-09-162-18/+10
|
* MFi386: revision 1.178.nyan2002-09-161-0/+1
|
* MFi386: revisions 1.417 and 1.418.nyan2002-09-161-1/+3
|
* Merged from sys/dev/sio/sio.c revision 1.378.nyan2002-09-162-2/+12
|
* Merged from sys/isa/syscons_isa.c revision 1.18.nyan2002-09-162-0/+70
|
* geom_aes.c requires rijndael cryptogrehan2002-09-161-0/+2
| | | | Approved by: phk, benno
* Reformat an overly-wide comment.wollman2002-09-161-3/+3
|
* fcntl(..., F_SETLKW, ...) takes a pointer to a struct flock just liketmm2002-09-161-0/+1
| | | | | F_SETLK does, so it also needs this structure copied in in fnctl() before calling kern_fcntl().
* Allocate KSEs and KSEGRPs separatly and remove them from the proc structure.julian2002-09-1519-138/+232
| | | | | | | | | next step is to allow > 1 to be allocated per process. This would give multi-processor threads. (when the rest of the infrastructure is in place) While doing this I noticed libkvm and sys/kern/kern_proc.c:fill_kinfo_proc are diverging more than they should.. corrective action needed soon.
* Deprecate the USB_SETDEBUG IOCTL as debug levels can now be setjoe2002-09-151-13/+0
| | | | using sysctl.
* Garbage-collected __ELF__ ifdefs.bde2002-09-151-10/+2
| | | | Fixed some style bugs (mainly unused includes).
* Don't use the ELF symbol type to summarily reject symbols inbde2002-09-151-4/+0
| | | | | | | | | | | | | | | X_db_search_symbol(). Otherwise we don't see important symbols in non-verbosely written assembler code. NetBSD already has this. The kld version already has a stronger form of it without really trying -- linker_ddb_search_symbol() doesn't support ddb's symbol search strategy parameter, so the kld X_db_search_symbol() doesn't pass the parameter to linker_ddb...() and linker_ddb...() doesn't make distinctions based on the symbol type. db_elf.c now works better than db_kld.c when it works (which is essentially when there are no modules except the kernel). It works after booting with -d. db_kld.c doesn't work until lots of SYSINIT()s have run.
* Made this work on i386's at least. It wants ELF section headers forbde2002-09-151-2/+34
| | | | | | | | | | | | | | | | | symbol table sections. Reconstruct the necessary section headers from (ksym_start, ksym_end). This was much easier than converting to use module metadata, and just works for static symbols, unlike db_kld when there is no module metadata. Initialize (ksym_start, ksym_end) from bootinfo on i386's only. The boot loader should load section headers for all sections that it loads, and apparently did this for at least the symbol table sections when this file last worked under FreeBSD (on alphas only) and always did this under NetBSD (where this file was obtained from). At least on i386's, boot2 discards the section headers (except for converting them to (bootinfo.bi_symtab, bootinfo.bi_esymtab), and as far as I can tell, loader(8) discards them apart from converting them to the bootinfo values and module metadata.
* Suitably shrink a comment so it applies again.phk2002-09-152-10/+4
| | | | Submitted by: bde
* Made this compile (but not work). This involved mainly const poisoningbde2002-09-151-8/+18
| | | | | | | | | | | and renaming ALIGNED_POINTER() to _ALIGNED_POINTER() plus the following hacks for i386's: - define _ALIGNED_POINTER() if it is not already defined. Most non-i386 arches define it <machine/param.h> define it in <machine/param.h>, although none actually used it in the kernel. - define ksym_start and ksym_end. Most non-i386 arches still define and initialize these in machdep.c although they didn't used them. Here is a better place to define them but not to initialize them.
* makeLINT.sed replaced makeLINT.sh about 4 months ago.mike2002-09-151-19/+0
|
* s/Danglish/English/phk2002-09-151-4/+5
| | | | | | | Some style issues. Change the timeout to be hz/10 instead of hz. Brucification by: bde.
* Removed unused includes. Sorted includes. This is part of removingbde2002-09-151-5/+1
| | | | | includes of <sys/user.h> for its pollution only. <sys/user.h> wasn't even used for its pollution here.
* Garbage-collected splmem.bde2002-09-151-7/+5
| | | | | | | Moved the declaration of malloc_mtx to be with the other extern declarations and not exposed to userland. Fixed some minor style bugs.
* Removed most namespace pollution in this header: don't include <vm/uma.h>;bde2002-09-151-3/+3
| | | | | include <sys/_mutex.h> and its prerequisites instead of <sys/mutex.h> and its prerequisite.
* Some BIOSs are using MTRR values that are only documented under NDAdwmalone2002-09-154-1/+24
| | | | | | | | | | | | | | | | | | | to control the mapping of things like the ACPI and APM into memory. The problem is that starting X changes these values, so if something was using the bits of BIOS mapped into memory (say ACPI or APM), then next time they access this memory the machine would hang. This patch refuse to change MTRR values it doesn't understand, unless a new "force" option is given. This means X doesn't change them by accident but someone can override that if they really want to. PR: 28418 Tested by: Christopher Masto <chris@netmonger.net>, David Bushong <david@bushong.net>, Santos <casd@myrealbox.com> MFC after: 1 week
* Define __LONG_LONG_SUPPORTED if the compiler claims to support C99.bde2002-09-151-2/+1
| | | | | | | | | | Don't set __LONG_LONG_SUPPORTED for gcc-1. I didn't check exactly when gcc started to support long long, but it was in the version of gcc in FreeBSD-1.0 (gcc-2.4.5). Other C99 features should be ifdefed similarly, but the ifdefs for old versions of gcc will be more complicated since the features weren't in all versions of gcc-2.
* Include <sys/systm.h> instead of depending on namespace pollution 2bde2002-09-151-0/+1
| | | | layers deep in <sys/malloc.h> or 1 layer deep in <net/if_var.h>.
* Remove the unused _bio_buf field. I can't even remember if this ever gotphk2002-09-151-1/+0
| | | | | | to be used in the first place. Spotted by: bde
* Fix i810 after i830 commit.anholt2002-09-152-0/+4
| | | | Submitted by: David Dawes <dawes@XFree86.Org>
* Fixed breakage from removing the used include of <sys/buf.h> in thebde2002-09-151-0/+3
| | | | | | | | previous commit: Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of depending on namespace pollution in <sys/buf.h>. Only do this in the __FreeBSD_version > 500000 case although the __FreeBSD_version < 500000 case has already rotted.
* Make a comment reflect less of a lie, NOCPU is used to generally mean that wejmallett2002-09-151-1/+1
| | | | | are not on a specific CPU in a distributed system, certainly not just for <struct proc>.p_oncpu, which is of course now <struct kse>.ke_oncpu.
* Un-inline the non-trivial "trivial" bio* functions.phk2002-09-143-57/+45
| | | | Untangle devstat_end_transaction_bio()
* Add additional information returned to userland by the device queryingimp2002-09-142-10/+23
| | | | | | | | | | | | | functions. We add pnpinfo, locationinfo, devflags (the newbus flags on the device), flags (the flags that device_get_flags returns) and state to the list of things we return. pnpinfo and locationinfo are place holders at the moment that will be filled in by the device's parent (optionally). Userland programs will likely use this information from time to time and take appropriate actions. Improvements to devinfo to follow.
* remove #includes of <sys/bio.h> where not needed.phk2002-09-144-4/+0
|
* FreeBSD -current doesn't need <sys/buf.h> or <sys/bio.h>.phk2002-09-141-3/+2
|
* Move setugidsafety() call outside of process lock. This prevents a locknjl2002-09-141-3/+5
| | | | | | | recursion when closef() calls pfind() which also wants the proc lock. This case only occurred when setugidsafety() needed to close unsafe files. Reviewed by: truckman
* Use the definitions in machine/fsr.h instead of duplicating these magictmm2002-09-141-9/+11
| | | | | numbers here (the values need to correspond to the %fsr ones for some libc functions to work right).
* Clean up a bit, and add some more macros to access %fsr fields.tmm2002-09-141-14/+17
|
* kthread.h is not neededscottl2002-09-141-1/+0
|
* Remove a conditional #include <sys/kernel.h>, it is alreadymux2002-09-141-1/+0
| | | | | | included unconditionally before. Submitted by: Olivier Houchard <cognet@ci0.org>
* Remove all use of vnode->v_tag, replacing with appropriate substitutes.njl2002-09-1455-125/+133
| | | | | | | | | | | | v_tag is now const char * and should only be used for debugging. Additionally: 1. All users of VT_NTS now check vfsconf->vf_type VFCF_NETWORK 2. The user of VT_PROCFS now checks for the new flag VV_PROCDEP, which is propagated by pseudofs to all child vnodes if the fs sets PFS_PROCDEP. Suggested by: phk Reviewed by: bde, rwatson (earlier version)
* Reference the socket we're accepting.benno2002-09-141-0/+2
|
* Apparently something down in the guts of vm/uvm still needs giantjulian2002-09-142-0/+4
| | | | Obtained from: mini via P4 KSE tree.
* Put firewire under architectures it actually might conceivablymjacob2002-09-141-1/+2
| | | | | | | build on, let alone actually do some useful work on real hardware. Namely, put it in i386/pc98. There is no bus_dma.h on the other architecures, tra la.
* Relax checking of incoming PPTP GRE packets a bit: ignore a bogus payloadarchie2002-09-141-1/+1
| | | | | length field when there's no payload indicated by the header 'S' bit. This works around semi-brokenness in the Mac OS X PPTP client.
* The nfsroot code should be conditional on NFSCLIENT, not NFS (which nopeter2002-09-131-1/+1
| | | | longer exists as an option)
* mlockall() and munlockall() are unimplemented; remove their prototypes.mike2002-09-131-8/+2
|
OpenPOWER on IntegriCloud