summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finish cleanup in chroot.c CSRG revision 5.6 by Keith Bosticru2002-01-221-4/+0
| | | | | | (never installed setuid, so don't need to reset the uid). PR: bin/34159
* Finish cleanup in kvm.c revisions 1.10 and 1.11 -- mark sf (swapfile)ru2002-01-222-6/+4
| | | | | | | | | argument to kvm_open() and kvm_openfiles() as unused. BSD didn't read swap since kvm.c CSRG revision 5.21 (u-area is pageable under new VM. no need to read from swap.) The old !NEWVM code was removed in CSRG revision 5.23 (~ten years ago).
* This patch fixes a long standing complaint with soft updates inmckusick2002-01-223-10/+64
| | | | | | | | | | | | | | | | which small and/or nearly full filesystems would fail with `file system full' messages when trying to replace a number of existing files (for example during a system installation). When the allocation routines are about to fail with a file system full condition, they make a call to softdep_request_cleanup() which attempts to accelerate the flushing of pending deletion requests in an effort to free up space. In the face of filesystem I/O requests that exceed the available disk transfer capacity, the cleanup request could take an unbounded amount of time. Thus, the softdep_request_cleanup() routine will only try for tickdelay seconds (default 2 seconds) before giving up and returning a filesystem full error. Under typical conditions, the softdep_request_cleanup() routine is able to free up space in under fifty milliseconds.
* MFen (1.263 --> 1.264).kuriyama2002-01-221-3/+3
| | | | Fix typo.
* hw.physmem is more properly a loader tunable, not an environmentbmah2002-01-222-2/+2
| | | | | | variable (which is ambiguous). Submitted by: dwhite
* o Remove the -V [version number] option, since our version of at(1) nomike2002-01-223-43/+26
| | | | | | | longer resembles the original. o Remove references to `you' in the manual. Submitted by: Joe Halpin <joe.halpin@attbi.com>
* Don't read the sigcontext pointer directly from userspace. If the processgallatin2002-01-221-6/+14
| | | | | | is swapped out, this can cause a system panic. Copy it in, instead tested by: Bernd Walter <ticso@cicely8.cicely.de>
* List bit 18 (reserved, apparently present on thunderbird cpus)peter2002-01-222-4/+4
| | | | | | and bit 19 (athlon XP/MP rev 0x662 and later) for amd_features. Submitted by: dwcjr
* The idea of mapping non-existen characters to space (0x20) was nice alone,ache2002-01-215-58/+58
| | | | | | | | | | but those maps also used as backward maps for Paste, so space becomes mapped to last non-existen character on Paste as result. Fix it by mapping non-existen characters to another non-existen one, i.e. to 0x00, so unused 0x00 can be backward-mapped to some junk without real harm. Pointed by: Alexander Kabaev <ak03@gte.com>
* Gah! last commit botched indentation, fix indentation and some otherphk2002-01-211-122/+122
| | | | white-space nits while at it.
* Restructure slightly, eliminating some repetitive source lines andphk2002-01-211-77/+34
| | | | making GEOM patches simpler and more readable at the same time.
* Link pam_opieaccess, pam_self and pam_ssh into the static library.des2002-01-211-0/+3
| | | | Sponsored by: DARPA, NAI Labs
* Add the necessary dependencies and linker flags for linking with ades2002-01-211-3/+6
| | | | | | static PAM library that includes pam_ssh. Sponsored by: DARPA, NAI Labs
* Correct typos and macro usage.roberto2002-01-213-52/+52
| | | | | | | PR: 33179, 33181, 33295 Submitted by: Norihiro Kumagai <kumagai@attbi.com> Reviewed by: sheldonh (MAINTAINER) MFC after: 2 days
* - Check the address family of the destination cached in a PCB.ume2002-01-212-4/+12
| | | | | | | | - Clear the cached destination before getting another cached route. Otherwise, garbage in the padding space (which might be filled in if it was used for IPv4) could annoy rtalloc. Obtained from: KAME
* - Check the address family of a cached destination, in case ofume2002-01-211-1/+4
| | | | | | | sharing the cache with IPv4. - Check if the cached route is up in in6_selectsrc(). Obtained from: KAME
* Remove my workaround fallback since PAM now do it properly.ache2002-01-211-10/+9
|
* On second thought, getpwnam() failure should be treated just as if the userdes2002-01-211-4/+1
| | | | | | | existed, but had no OPIE key, i.e. PAM_IGNORE. Pointed out by: ache Sponsored by: DARPA, NAI Labs
* Return PAM_SERVICE_ERR rather than PAM_USER_UNKNOWN if getpwnam() fails, asdes2002-01-211-1/+1
| | | | | | | PAM_USER_UNKNOWN will break the chain, revealing to an attacker that the user does not exist. Sponsored by: DARPA, NAI Labs
* Enable OPIE by default, using the no_fake_prompts option to hide it fromdes2002-01-219-23/+40
| | | | | | | | | | | | | | users who don't wish to use it. If the admin is worried about leaking information about which users exist and which have OPIE enabled, the no_fake_prompts option can simply be removed. Also insert the appropriate pam_opieaccess lines after pam_opie to break the chain in case the user is logging in from an untrusted host, or has a .opiealways file. The entire opieaccess / opiealways concept is slightly unpammish, but admins familiar with OPIE will expect it to work. Reviewed by: ache, markm Sponsored by: DARPA, NAI Labs
* Further changes to allow enabling pam_opie(8) by default:des2002-01-212-12/+38
| | | | | | | | | | | | | | | - Ignore the {try,use}_first_pass options by clearing PAM_AUTHTOK before challenging the user. These options are meaningless for pam_opie(8) since the user can't possibly know the right response before she sees the challenge. - Introduce the no_fake_prompts option. If this option is set, pam_opie(8) will fail - rather than present a bogus challenge - if the target user does not have an OPIE key. With this option, users who haven't set up OPIE won't have to wonder what that "weird otp-md5 s**t" means :) Reviewed by: ache, markm Sponsored by: DARPA, NAI Labs
* When running on a local terminal, set PAM_RHOST to the local hostname.des2002-01-211-2/+10
| | | | Sponsored by: DARPA, NAI Labs
* RFC1122 requires that addresses of the form { 127, <any> } MUST NOTru2002-01-211-1/+11
| | | | | | | | appear outside a host. PR: 30792, 33996 Obtained from: ip_input.c MFC after: 1 week
* Add a new module, pam_opieaccess(8), which is responsible for checkingdes2002-01-215-0/+300
| | | | | | | | /etc/opieaccess and ~/.opiealways so we can decide what to do after pam_opie(8) fails. Sponsored by: DARPA, NAI Labs Reviewed by: ache, markm
* Ispell sweep of share/man/man4/man4.i386.mpp2002-01-2117-24/+24
|
* Ispell sweep of share/man/man4.mpp2002-01-2139-68/+68
|
* Fix a typo in a comment field.mpp2002-01-211-1/+1
|
* Fix spelling errors.mpp2002-01-212-6/+6
|
* Merge from NetBSD:joe2002-01-212-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | ohci.c: -r1.69 to 1.71 ohcireg.h: -r1.14 Some of these deltas are based upon patches that we submitted back to NetBSD. They got manifested slightly differently though, so I've brought back those differences to bring our code bases closer together. The logs from the NetBSD version of ohci.c: revision 1.71 date: 2000/02/01 05:42:52; author: augustss; state: Exp; lines: +13 -2 Put some #ifdefs around power and shutdown hooks. ---------------------------- revision 1.70 date: 2000/01/31 22:35:13; author: augustss; state: Exp; lines: +7 -7 Rename TAILMASK to HEADMASK, since it really masks the head pointer. From FreeBSD. ---------------------------- revision 1.69 date: 2000/01/31 22:09:13; author: augustss; state: Exp; lines: +18 -14 Change where the has table for physical-to-virtual address translation is handled. Partly from FreeBSD.
* Merge from NetBSD:joe2002-01-212-4/+12
| | | | | | | | | ohci.c: -r1.68 ohcireg.h: -r1.13 date: 2000/01/31 20:17:25; author: augustss; state: Exp; Fiddle with over-current protect when turning on port power to make things work for some OHCI controllers.
* Merge from NetBSD:joe2002-01-211-2/+10
| | | | | | revision 1.65 date: 2000/01/25 12:06:21; author: augustss; state: Exp; lines: +10 -2 Add done method for root control transfers.
* Merge from NetBSD:joe2002-01-211-2/+8
| | | | | | revision 1.84 date: 2000/01/28 00:44:27; author: augustss; state: Exp; lines: +9 -2 Add uhci_root_ctrl_done() method.
* Merge from NetBSD:joe2002-01-212-2/+25
| | | | | | | | uhci.c: -r1.82 uhcivar.h: -r1.22 date: 2000/01/26 10:04:39; author: augustss; state: Exp; Try to avoid accessing the HC if it is dead. Suggested by mycroft.
* Allow dump device be configured as early as possible using loader(8) tunable.sobomax2002-01-214-6/+30
| | | | | | | This allows obtaining crash dumps from the panics occured during late stages of kernel initialisation before system enters into single-user mode. MFC after: 2 weeks
* Add support for Linksys WDT11 PCI adaptors.brooks2002-01-211-0/+1
| | | | Submitted by: Eric Liedtke <eliedtke@apogeetelecom.com>
* Remove some unused code, in line with NetBSD's version.joe2002-01-201-18/+0
|
* Merge from NetBSD:joe2002-01-201-1/+16
| | | | | | | revision 1.125 date: 2000/09/23 21:00:10; author: augustss; state: Exp; lines: +19 -3 Avoid "bandwidth reclamation" for control transfers. The kue device chokes on it.
* Merge from NetBSD:joe2002-01-202-2/+41
| | | | | | | | | | uhci.c: -r1.124 uhcireg.h: -r1.13 date: 2000/08/13 18:20:14; author: augustss; state: Exp; Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix. Fixes PR 10662.
* MFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).matusita2002-01-201-0/+4
| | | | | | | | | | 5.0-CURRENT-20020121-JPSNAP was failed to build since kern.flp has no space. There is already a hack to kgzip loader, and it makes: -r-xr-xr-x 1 root wheel 163840 Jan 21 07:40 loader* -r-xr-xr-x 1 root wheel 90121 Jan 21 08:06 loader.kgz* 73719 bytes of free spaces to us.
* use mutex pools for "struct file" locking.alfred2002-01-202-7/+6
| | | | fix indentation of FILE_LOCK/UNLOCK macros while I'm here.
* use mutex pool mutexes for uidinfo locking.alfred2002-01-202-16/+19
| | | | | | | replace mutex_lock calls on uidinfo with macro calls: mtx_lock(&uidp->ui_mtx) -> UIDINFO_LOCK(uidp) Terry Lambert <tlambert2@mindspring.com> helped with this.
* snprintf bloat -> strlcpyache2002-01-201-2/+3
| | | | | | Add getpwnam return check Approved by: des, markm
* Merge from NetBSD:joe2002-01-202-49/+162
| | | | | | | | | | | | uhci.c: -r1.123 (and a tiny bit of -r1.92) uhcivar.h: -r1.32 date: 2000/08/13 16:18:09; author: augustss; state: Exp; Implement what in Intel-speech is known as "bandwidth reclamation". It means that we continously poll USB devices that have a pending transfer instead of polling just once every ms. This speeds up some transfers at the expense of using more PCI bandwidth.
* Check the return value from read() when reading the CR/LF at the end of ades2002-01-201-2/+4
| | | | | | | chunk. PR: bin/33608 MFC after: 2 weeks
* Mark uploads as O_WRONLY, not O_RDONLY.des2002-01-201-2/+6
| | | | | PR: misc/34043 MFC after: 2 weeks
* o Remove the unused vestiges of JOBST_JOBQPROC andalc2002-01-201-15/+1
| | | | | the per-thread jobtorun queue. o Use TAILQ_EMPTY() instead of TAILQ_FIRST(...) == NULL.
* WARNS=4 fixes.markm2002-01-208-19/+22
| | | | OK'ed by: des
* Add `-h' to the chown command so that symbolic links copied fromiedowse2002-01-201-1/+1
| | | | | | | | the skeleton directory are chown'd to the new user. PR: bin/10601 Submitted by: Adrian Filipi-Martin <adrian2ubergeeks.com@gosub.cstone.net> MFC after: 1 month
* Minor typo fix: uquad_t -> u_quad_t.yar2002-01-201-1/+1
|
* Remove very outdated comment from the Bugs section that states thatscottl2002-01-201-3/+0
| | | | | | | the driver cannot do U160. Submitted by: ladisalv.kostal@fem.uniag.sk MFC after: 1 day
OpenPOWER on IntegriCloud