summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give struct socket structures a ref counting interface similar todillon2001-11-1723-182/+223
| | | | | | | vnodes. This will hopefully serve as a base from which we can expand the MP code. We currently do not attempt to obtain any mutex or SX locks, but the door is open to add them when we nail down exactly how that part of it is going to work.
* Fix the non-KSTACK_GUARD case.. It has been broken since the KSEpeter2001-11-172-0/+2
| | | | commit. ptek was not been initialized.
* Start bringing i386/pmap.c into line with cleanups that were done topeter2001-11-177-515/+385
| | | | | | | | | | | | | | | alpha pmap. In particular - - pd_entry_t and pt_entry_t are now u_int32_t instead of a pointer. This is to enable cleaner PAE and x86-64 support down the track sor that we can change the pd_entry_t/pt_entry_t types to 64 bit entities. - Terminate "unsigned *ptep, pte" with extreme prejudice and use the correct pt_entry_t/pd_entry_t types. - Various other cosmetic changes to match cleanups elsewhere. - This eliminates a boatload of casts. - use VM_MAXUSER_ADDRESS in place of UPT_MIN_ADDRESS in a couple of places where we're testing user address space limits. Assuming the page tables start directly after the end of user space is not a safe assumption. There is still more to go.
* Forward declare struct ifnet - this fixes a warning in tdfx_pci.cpeter2001-11-171-0/+1
|
* Fix printf warnings (int/long)peter2001-11-171-2/+4
| | | | #if 0 around unused ifname_bsd_to_linux() function
* Fix warning in debug printf. This is a long on alpha, and int on i386,peter2001-11-171-1/+1
| | | | but printed with %ld always.
* Missing KSE s/curproc/curthread/peter2001-11-171-1/+1
|
* Return EOPNOTSUPP for unknown module events.iedowse2001-11-172-2/+8
| | | | | PR: kern/18473 Submitted by: "Jeroen C. van Gelderen" <gelderen@systemics.com>
* New release notes: timezone database update, Linux emulation updatebmah2001-11-172-14/+16
| | | | for linux_base-7 port.
* Fix some warnings on 64 bit platforms.peter2001-11-171-1/+4
|
* When laying out objects in a ZONE_INTERRUPT zone, allow them to crossjlemon2001-11-171-2/+4
| | | | | | | | a page boundary, since we've already allocated all our contiguous kva space up front. This eliminates some memory wastage, and allows us to actually reach the # of objects were specified in the zinit() call. Reviewed by: peter, dillon
* utime/stime.tv_sec are elapsed times, not relative to 1970. We canpeter2001-11-171-4/+4
| | | | | safely print them as longs. Even if ^T overflows after a process has accumulated 68 years of user or system time, it is no big deal.
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-177-102/+53
| | | | keywords.
* You cannot cast a time_t to quad_t and printf it with %lld. quad_t ispeter2001-11-161-2/+2
| | | | 64 bits, not long long.
* Give a sensible error message when the filesystem to be dumped isiedowse2001-11-161-4/+7
| | | | | | | | | not listed in /etc/fstab. Previously, the user would be greeted with "DUMP: bad sblock magic number" when dump tried to parse the directory contents as an FFS filesystem. PR: bin/12789 Submitted by: Bob Willcox <bob@pmr.com>
* Fix a number of misspellings of "dependency" and "dependencies" iniedowse2001-11-166-21/+21
| | | | | | | comments and function names. PR: kern/8589 Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
* Handle the IBCS2 FIONREAD ioctl. I have only tested that thisiedowse2001-11-161-0/+1
| | | | | | | compiles, but the patch looks reasonable. PR: i386/5784 Submitted by: Remy NONNENMACHER <remy@synx.com>
* Axe SMP support, the ses device, and the atapifd device from the kern.flpjhb2001-11-161-0/+3
| | | | | | boot kernel so it fits again. This actually gives us quite a bit of breathing room, so some more ethernet drivers might be turned on now in a later commit.
* Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.phk2001-11-161-0/+2
| | | | Pointed out by: knu
* Except for a comment in zone.tab (about the location of the ISO 3166 table),wollman2001-11-168-16/+3
| | | | we are now using the vendor files verbatim.
* Back out the previous fix to the leading zero problem, I hadn'tphk2001-11-161-2/+0
| | | | | noticed it in there already. That should teach me to check exit code from cvsup.
* Reject leading zeros in dev_stdclone().phk2001-11-161-0/+2
| | | | | PR: 32019 Submitted by: fenner
* o Allow rarpd to accept an additional '-t directory' argument, specifyingrwatson2001-11-162-1/+17
| | | | | | | | | an alternative to /tftpboot. This is useful it you're using tftpd with an alternative root (using -s), and would like rarpd to respond selectively to RARP requests using the same criteria as tftp. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* o Update licenses, comments.rwatson2001-11-162-1/+8
| | | | Obtained from: TrustedBSD Project
* Create link from directory.3 to readdir_r.3.dd2001-11-161-2/+2
| | | | | PR: 32028 Submitted by: andrew@ugh.net.au
* Regenerate with 1.19 of pccarddevsimp2001-11-161-8/+77
|
* Merge in most (hopefully all) of the devices that OpenBSD has thatimp2001-11-161-3/+40
| | | | NetBSD/FreeBSD doesn't have listed.
* o Reflect moving of extattr_namespace calls to libc from libutil; norwatson2001-11-163-9/+0
| | | | | | | longer need to link libutil into command-line extended attribute utilities. Obtained from: TrustedBSD Project
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingrwatson2001-11-164-183/+7
| | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project
* o Document 'nocheckmail' login capability.rwatson2001-11-161-0/+1
|
* o Add support for a 'nocheckmail' capability, which (if true) preventsrwatson2001-11-161-9/+12
| | | | | | | | | the 'You have mail.' check. This is useful for sites that rely on remote mail access, rather than a local mail spool. Due to the behavior of login_getcapbool(), the negated form is required so as to have appropriate results. o This behavior may have to be independently added to sshd due to redundant implementation.
* Don't cleandir also if MODULES_WITH_WORLD.matusita2001-11-161-1/+1
| | | | MFC after: 3 days
* Use the md device not olny a version of the system is 5 but 5 and over.nyan2001-11-161-3/+3
| | | | | Requested by: matusita MFC after: 1 day
* Cosmetic tweak to eliminate some diffspeter2001-11-161-2/+0
|
* Merge another missing part of i386/pmap.c rev 1.220. Dont blindly clearpeter2001-11-161-1/+2
| | | | | the PG_BUSY flag without using the code that wakes up something else that may be sleeping on it.
* Although the 'bool' type is referenced in the list of capabilities, itrwatson2001-11-161-0/+3
| | | | | | | is not defined in the capability type list. Provide a definition for 'bool', if a slightly less than elegant one. Note that this definition does not include the complete scope of available behavior defined in cgetcap(3), and could probably be improved.
* Oops, I accidently merged a whitespace error from the original commit.peter2001-11-164-4/+4
| | | | (whitespace at end of line in rev 1.264 pmap.c). Fix them all.
* Merge rev 1.264 from i386/pmap.c (tegge via alfred):peter2001-11-162-2/+8
| | | | | | | Protect against an infinite loop when prefaulting pages. This can happen when the vm system maps past the end of an object or tries to map a zero length object, the pmap layer misses the fact that offsets wrap into negative numbers and we get stuck.
* Merge rev 1.202 from i386/pmap.c (back in 1998 by John Dyson):peter2001-11-162-0/+6
| | | | | | | Make flushing dirty pages work correctly on filesystems that unexpectedly do not complete writes even with sync I/O requests. This should help the behavior of mmaped files when using softupdates (and perhaps in other circumstances also.)
* Merge rev 1.293 of i386/pmap.c - skip PG_UNMANAGED in pmap_collect()peter2001-11-162-2/+2
|
* Converge/fix some debug code (#if 0'ed on alpha, but whatever)peter2001-11-163-43/+33
| | | | | | - use NPTEPG/NPDEPG instead of magic 1024 (important for PAE) - use pt_entry_t instead of unsigned (important for PAE) - use vm_offset_t instead of unsigned for va's (important for x86-64)
* Converge with i386/pmap.c - dont refer to curproc, use curthread.peter2001-11-162-4/+4
|
* Switch warnings and strict back on again in a way that's compatiblejoe2001-11-161-3/+3
| | | | | | with -stable as well as -current. Reviewed by: imp
* Merge part of i386/pmap.c rev 1.220 that got missed in alpha/pmap.cpeter2001-11-161-5/+1
| | | | rev 1.10
* As part of a general cleanup and reconvergence of related pmap code,peter2001-11-162-46/+1
| | | | | start tidying up some loose ends. The DEBUG_VA stuff has long since passed its use-by date. It wasn't used on ia64 but got cut/pasted there.
* New release notes: IPFilter supports IPv6, ipfs(8).bmah2001-11-162-6/+32
| | | | Reminded by: devet@devet.org (Arjan de Vet)
* Fix a leftover client comment, long line fix.peter2001-11-151-6/+4
|
* Do not allow leading zeros on device names in dev_stdclone().fenner2001-11-151-0/+2
| | | | | PR: kern/32019 Reviewed by: phk
* Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode withoutsobomax2001-11-152-2/+2
| | | | | | | | | | ill effects. This should fix problems threaded programs are having with auto-detecting CPU type. Reported by: Joe Clarke <marcus@marcuscom.com> Tested by: Joe Clarke <marcus@marcuscom.com> Reviewed by: jhb MFC after: 1 week
* o Update copyright dates, comments...rwatson2001-11-152-3/+11
| | | | Obtained from: TrustedBSD Project
OpenPOWER on IntegriCloud