summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos.ale2004-03-081-2/+2
| | | | Approved by: blackend (mentor/implicitly)
* Bump __FreeBSD_version for the pf install and write comments to UPDATING.mlaier2004-03-082-1/+12
| | | | Approved by: bms(mentor)
* Link pf to the build and install:mlaier2004-03-0813-3/+681
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Mark loadaverage callout as CALLOUT_MPSAFE.rwatson2004-03-081-1/+1
| | | | Reviewed by: jhb
* Add two new sysctls:pjd2004-03-082-4/+92
| | | | | | | | | | | - security.bsd.hardlink_check_uid, when set, means, that unprivileged users are not permitted to create hard links to files not owned by them, - security.bsd.hardlink_check_gid, when set, means, that unprivileged users are not permitted to create hard links to files owned by group they don't belong to. OK'ed by: rwatson
* Shift file locking to source file instead of temp file. This fixeskensmith2004-03-082-8/+5
| | | | | | | | | | | data buffering issue that corrupts files if two pw(8)'s run at the same time as well as changing pw(8) so it uses the same locking mechanism as PAM, vipw(8), pwd_mkdb(8), etc. PR: bin/23501 Submitted by: Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su> Approved by: rwatson (mentor) MFC after: 5 days
* Add a check for wtmp records which have invalid values for ut_time. Wtmpgad2004-03-081-12/+64
| | | | | | | | | | | | | | | records with time==0 get "the time of the last valid record", while records where time goes backwards (compared to the previous record) are skipped. Also prints a message saying how many records were changed or skipped due to these checks. Check was inspired by a simpler check in OpenBSD's version. This is all meant to sidestep problems that Tillman Hodgson noticed with 'ac' when running sparc64 with 64-bit time_t's. The real problem is whatever is creating wtmp records with ut_time==0, of course, but I have not yet figured out what is doing that. Reviewed by: no screams from freebsd-sparc64 or bde MFC after: 2 weeks
* Compile 'ac' with DEBUG when arch==sparc64.gad2004-03-081-0/+5
|
* Add a debug-statement from NetBSD, and then rework all debug-statementsgad2004-03-081-9/+82
| | | | | | | | | | so the program compiles without errors or warnings when DEBUG is defined on sparc64 with 64-bit time_t's. Also have debug statements include the year when printing records from a different year than 'now'. Also print out a special timestamp in debug statements when ut_time==0. Reviewed by: freebsd-sparc, bde MFC after: 2 weeks
* Remove a.out at the end of 'make test'ache2004-03-081-1/+1
|
* String the consumers into the list of the provider they are attached to.phk2004-03-081-1/+5
| | | | Noticed by: jhb
* Fix two instances of improper NULL/0 use idetified by the changes lately.mlaier2004-03-082-2/+2
| | | | | Submitted by: Patrick Marie Approved by: bms(mentor)
* Update pmap_pinit(9) to reflect pmap_pinit2() removal by alc.bms2004-03-081-21/+1
|
* Manual page for the ng_atmllc node type.benno2004-03-082-0/+94
| | | | Currently missing a history section.
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.pjd2004-03-0884-84/+84
| | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
* Fix skipping scripts with given keywords.pjd2004-03-081-3/+3
| | | | Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'.
* Add a netgraph node to handle ATM LLC encapsulation. This currently handlesbenno2004-03-086-0/+332
| | | | | | | | | | ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or other ATM) connections where bridged ethernet is used, PPPoE being a prime example. There is no manual page as yet, I will write one shortly. Reviewed by: harti
* To comply with the spec, do not copy the TOS from the outer IPhsu2004-03-081-6/+6
| | | | | | | header to the inner IP header of the PIM Register if this is a PIM Null-Register message. Submitted by: Pavlin Radoslavov <pavlin@icir.org>
* Include <sys/types.h> for autoconf/automake detection.hsu2004-03-081-0/+2
| | | | Submitted by: Pavlin Radoslavov <pavlin@icir.org>
* Implement a work around for the deadlock avoidance case inalc2004-03-081-0/+7
| | | | | | vm_object_deallocate() so that it doesn't spin forever either. Submitted by: bde
* Add back Giant locks around kmem_free() call from user_ldt cleanup pathpeter2004-03-081-0/+2
| | | | | | during exit. Apparently it isn't safe after all. See uma_large_free(). Pointed out by: alc
* Move a vref call outside of proc locks and Giant. By virtue of the factpeter2004-03-081-5/+4
| | | | | | | that we (p1) are currently running, we hold a reference on p_textvp which means the vnode cannot go away. p2 cannot run yet (and hence cannot exit) so this should be safe to do at this point. As a bonus, it removes a block of under-Giant code that was there to support the vref.
* Other parts of the tree do not protect calls to kmem_free() with Giant,peter2004-03-081-2/+0
| | | | | so remove it from here. The most notable examples include vm_mmap(). This removes one more Giant event from exit(2).
* Stop depending on #include pollution from cpufunc.hpeter2004-03-081-0/+1
|
* MFi386: re-sort non-gcc function prototypes, trim includespeter2004-03-081-44/+30
|
* MFi386: curpcb is no longer null anymore, so do not test for it.peter2004-03-081-3/+1
|
* MFi386: set initial curpcb pcpu variable at startup time rather thanpeter2004-03-081-0/+1
| | | | waiting for a context switch
* MFi386: wait for local apic to become free before using itpeter2004-03-081-4/+2
|
* Implemented the "getifindex" control message.ru2004-03-072-0/+17
| | | | | PR: kern/63864 Submitted by: Gleb Smirnoff
* Make it possible for the %[eEfgG] formats to not result in an errorcperciva2004-03-071-1/+1
| | | | | | | | | | being reported by /usr/bin/printf. This bug has been around for 22 months... either nobody uses printf with floating-point values, or people are forgetting to check their return codes. Approved by: rwatson (mentor)
* Retire pmap_pinit2(). Alpha was the last platform that used it. However,alc2004-03-0711-79/+0
| | | | | | | | | | | | | | ever since alpha/alpha/pmap.c revision 1.81 introduced the list allpmaps, there has been no reason for having this function on Alpha. Briefly, when pmap_growkernel() relied upon the list of all processes to find and update the various pmaps to reflect a growth in the kernel's valid address space, pmap_init2() served to avoid a race between pmap initialization and pmap_growkernel(). Specifically, pmap_pinit2() was responsible for initializing the kernel portions of the pmap and pmap_pinit2() was called after the process structure contained a pointer to the new pmap for use by pmap_growkernel(). Thus, an update to the kernel's address space might be applied to the new pmap unnecessarily, but an update would never be lost.
* Rearrange (centralize) initialization of mallocs internals to always bephk2004-03-071-19/+13
| | | | | | done before the first call, even if this is a malloc(0) call. PR: 62859
* Don't panic on providers already withered when we wither a geom.phk2004-03-071-1/+2
|
* Use one bus_dma_tag_t for all pSRB instead of creating one for each.cognet2004-03-072-25/+50
| | | | | Free what is allocated for pSRBs at unload time or if something bad happens, thanks to scottl for spotting this out.
* Add final version of BSD/OS, BSD/OS 5.1 ISE.wosch2004-03-071-10/+11
|
* Convert from timeout to callout API.kan2004-03-073-4/+5
| | | | Submitted by: rwatson
* Convert from timeout to callout API.kan2004-03-071-4/+4
|
* Add manpages for the gctl API.phk2004-03-072-4/+118
| | | | | Submitted by: le Tweaks by: phk
* Document kernel functions securelevel_gt and securelevel_ge.josef2004-03-072-0/+73
| | | | | | | Approved by: simon(mentor) Submitted by: Christian S.J. Peron <maneo@bsdpro.com> PR: docs/62331 mdoc(7) cleanup by: ru
* Restore CDIOCREADAUDIO ioctl.nyan2004-03-071-0/+9
| | | | Pointed out by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
* In the case where /etc/rc.d/ is empty, do not bogusly ask the user ifdougb2004-03-071-1/+1
| | | | | | | they want to delete '*'. It turns out that there is one valid case where this might happen, installing to an empty DESTDIR. Patch submitted by: schweikh
* Integrate the code from pmap_pinit2() into pmap_pinit(), leavingalc2004-03-071-5/+1
| | | | | | pmap_pinit2() empty. Approved by: marcel
* Remove unused declarations. (Some time ago, these variables became fieldsalc2004-03-074-8/+0
| | | | of vm/vm.h's struct kva_md_info.)
* Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE.rwatson2004-03-071-1/+1
| | | | Reviewed by: jeff
* Remove '#include <machine/bus_pio.h>'. This is meaningless.nyan2004-03-072-2/+0
|
* Remove unneeded devices.nyan2004-03-072-115/+0
|
* Sync to 1.166 of usbdevssanpei2004-03-072-2/+16
|
* Add support 2 devices(USB-DVD-R drives)sanpei2004-03-072-0/+10
| | | | | | | | | - Logitec LDR-H443SU2 - IO-DATA DVR-UEH8 PR: kern/63793 Submitted by: Ryuji MATSUMOTO <matumoto@pluto.ai.kyutech.ac.jp> MFC after: 1 week
* Const-poison ip_stf_ttl to make it clear that the variable is notrwatson2004-03-071-1/+1
| | | | modified at run-time.
* MFi386: revisions from 1.1127 to 1.1131.nyan2004-03-071-16/+15
|
OpenPOWER on IntegriCloud