summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change all SYSCTLS which are readonly and have a related TUNABLEsilby2003-10-2127-50/+51
| | | | | from CTLFLAG_RD to CTLFLAG_RDTUN so that sysctl(8) can provide more useful error messages.
* Have sysctl print out a more useful error message when it detects that thesilby2003-10-211-1/+6
| | | | user has attempted to write to a read only, tunable value.
* Add another sysctl flag, CTLFLAG_TUN, which is a hint to the userlandsilby2003-10-211-0/+2
| | | | | | | | sysctl that a given variable is tunable. Also added is CTLFLAG_RDTUN, which is CTLFLAG_RD|CTLFLAG_TUN; TUN does not always imply read-only, so RDTUN should be used where RD was used before.
* Line-break sync to the MAC development branch.rwatson2003-10-211-1/+2
|
* We need to initialize bp->b_offset and bp->b_iooffsetsimokawa2003-10-211-0/+2
| | | | becuase bp->b_blkno is ignored now.
* Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16();tjr2003-10-212-2/+2
| | | | | stops users being able to cause setgroups to clobber the kernel stack by copying in data past the end of the linux_gidset array.
* Up the alignment requirement of the SC1100 to 16 bytes, it has all the bugs ↵sos2003-10-211-2/+4
| | | | | | and then some of its Cyrix inheritance. Set the max_iosize for the Cyrix to 63K as the SC1100.
* Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)phk2003-10-219-47/+15
| | | | Remove trailing whitespace.
* Remove "register" keywords.phk2003-10-216-60/+35
| | | | Use newspeak functions definitions.
* Don peril-sensitive sunglasses and mark pipe(2) as MPSAFE. I've beaten upscottl2003-10-216-7/+7
| | | | | on it for the last 15 hours with no signs of problems. It gives a small (1%) gain on buildworld since pipe_read/pipe_write are already free of Giant.
* Retire bio_caller2 (alias for b_io.bio_caller2), this field is reservedphk2003-10-211-4/+1
| | | | | | | | for dev_strategy() use. Retire bio_driver[12] (aliases for b_io.bio_driver[12]) these fields are reserved for device driver use and can as such never have any interest in the buf end of things.
* Remove KASSERTS on B_PHYS for vmapbuf() and vunmapbuf(), B_PHYS is goingphk2003-10-211-3/+0
| | | | away.
* baud rate and bit rate were horribly confused in this document. Baudimp2003-10-211-5/+12
| | | | | | | | | | | | rate is how fast modems exchange symbols. Bit rate is how many bits per second the serial port nominally communicates at. Try to use bit rate consistently where that's what is ment. The default data rate is now 9600 baud. 300 baud being default pre-dates 4.4-LITE1. Document that tip doesn't respect the system default rate for a given channel. Sorry guys, but no ucbvax, kremvax or kgbvax added to the example. Noted by: bde
* Remove md_bspstore from the MD fields of struct thread. Now thatmarcel2003-10-213-4/+2
| | | | | the backing store is at a fixed address, there's no need for a per-thread variable.
* Addition.phk2003-10-201-0/+3
|
* revert default for idle polling to zero until we can resolve thesam2003-10-201-1/+1
| | | | livelock problem
* When a numeric field overflows its width, try formatting the number inphk2003-10-202-6/+5
| | | | | 'kilo' or 'mega' with appropriate suffix instead of filling the field with stars.
* - If a thread is not bound to a kse return 0 from sched_pctcpu().jeff2003-10-201-0/+2
| | | | Reported by: pawel.worach@nordea.com
* Spelling, grammar fixes.gsutter2003-10-201-5/+4
| | | | Reviewed by: imp
* - Remove some long unused code.alc2003-10-202-11/+0
|
* Initialize the buf's b_object in pbgetvp(). Clear it in pbrelvp(). (Thisalc2003-10-202-1/+2
| | | | | | | facilitates synchronization of the vm page's valid field using the vm object's lock.) Suggested by: tegge
* fix build: linux_to_bsd_msf_lba is no longer used because of previous commitsam2003-10-201-12/+0
|
* enclose IPv6 part with ifdef INET6.ume2003-10-202-4/+6
| | | | Obtained from: KAME
* Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looksdwmalone2003-10-206-7/+7
| | | | | | like it was missed in syscalls.master. Spotted by: alc
* correct linkmtu handling.ume2003-10-2010-111/+142
| | | | Obtained from: KAME
* Fix typo: s/dev_db/dev_mkdb/bmah2003-10-202-2/+2
| | | | Pointed out by: Michel Lavondes <fox@vader.aacc.cc.md.us>
* Remember to check the DE_WHITEOUT flag in the case where a clonedphk2003-10-201-4/+9
| | | | | | device is hidden by a devfs(8) rule. Spotted by: Adam Nowacki <ptnowak@bsk.vectranet.pl>
* If just gcc could make up its mind...sos2003-10-201-1/+1
|
* Bring the description of st_[cma]time modification conditions a bitdds2003-10-201-6/+18
| | | | | | closer to reality. More work remains to be done. st_mtime should be the most complete based on IEEE Std 1003.1, 2003 Edition, a review of ufs_vnops.c, and some experimentation.
* Only return valid DMA error bits.sos2003-10-201-1/+1
|
* Up delay from 10 to 100ms after reset, this helps some slow devicessos2003-10-201-1/+2
| | | | get their act together before we start probing.
* Only announce ECC errors when its only that.sos2003-10-201-2/+2
|
* Fix some security bugs in the SVR4 emulator:tjr2003-10-206-20/+78
| | | | | | | | | | | | | | | | | | | - Return NULL instead of returning memory outside of the stackgap in stackgap_alloc() (FreeBSD-SA-00:42.linux) - Check for stackgap_alloc() returning NULL in svr4_emul_find(), and clean_pipe(). - Avoid integer overflow on large nfds argument in svr4_sys_poll() - Reject negative nbytes argument in svr4_sys_getdents() - Don't copy out past the end of the struct componentname pathname buffer in svr4_sys_resolvepath() - Reject out-of-range signal numbers in svr4_sys_sigaction(), svr4_sys_signal(), and svr4_sys_kill(). - Don't malloc() user-specified lengths in show_ioc() and show_strbuf(), place arbitrary limits instead. - Range-check lengths in si_listen(), ti_getinfo(), ti_bind(), svr4_do_putmsg(), svr4_do_getmsg(), svr4_stream_ti_ioctl(). Some fixes obtain from OpenBSD.
* Update to using a 56k modem connection, plus add some verbage aboutimp2003-10-201-6/+13
| | | | | | | what the entry does for people that are not used to reading /etc/remote files every day. Keep arpavax, because it is a cool name, but remove the phone number listed. arpavax hasn't been answering that number for a while :-)
* White space only changes. Put each sentence on a line by itself, perimp2003-10-201-36/+33
| | | | our normal practice. In anticipation of bigger changes to this file.
* We dont support CDROMREADAUDIO anymore.sos2003-10-201-18/+1
|
* Remove no longer existant CDIOCREADAUDIO ioctl.sos2003-10-201-9/+0
|
* When a driver successfully created a device on demand, we can directlyphk2003-10-201-7/+6
| | | | | | | | | pick up the DEVFS inode number from the dev_t and find our directory entry from that, we don't need to scan the directory to find it. This also solves an issue with on-demand devices in subdirectories. Submitted by: cognet
* - Synchronize access to a vm page's valid field using the containingalc2003-10-201-4/+10
| | | | vm object's lock.
* Put the RSE backing store at a fixed address. This change is triggeredmarcel2003-10-202-1/+3
| | | | | | | | | | | | | by libguile that needs to know the base of the RSE backing store. We currently do not export the fixed address to userland by means of a sysctl so user code needs to hardcode it for now. This will be revisited later. The RSE backing store is now at the bottom of region 4. The memory stack is at the top of region 4. This means that the whole region is usable for the stacks, giving a 61-bit stack space. Port: lang/guile (depended of x11/gnome2)
* - Remove comments referring to functions that no longer exist.alc2003-10-201-2/+0
|
* This test relies on the concurrency level being 1; make it so.deischen2003-10-202-0/+6
|
* Various style and type fixes in my last commit.cognet2003-10-201-16/+12
| | | | Suggested by: mux
* - Hold the vm object's lock around calls to vm_page_set_validclean().alc2003-10-201-0/+4
|
* document the fact that kqueue will immediately return and not timeout whenjmg2003-10-201-0/+8
| | | | | | nevents is 0. PR: kern/45291
* Fix m_head handling in sis_encap so that the correct mbuf is always handedsilby2003-10-191-9/+8
| | | | to BPF_MTAP.
* Fix a problem where m_defrag would allocate a new mbuf to replace thesilby2003-10-192-16/+16
| | | | | | | chain passed into dc_encap, which dc_start was unaware of. This caused the old (now invalid) mbuf to be passed to BPF_MTAP. Spotted by: Kenjiro Cho <kjc@csl.sony.co.jp>
* Add a new macro M_ASSERTVALID which ensures that the mbuf in questionsilby2003-10-192-0/+8
| | | | | | | | | is non-free. (More checks can/should be added in the future.) Use M_ASSERTVALID in BPF_MTAP so that we catch when freed mbufs are passed in, even if no bpf listeners are active. Inspired by a bug in if_dc caught by Kenjiro Cho.
* Add a testcase which validates that the same buffer can be passed tophk2003-10-192-0/+87
| | | | | | | | | | rijndael_blockDecrypt() as both input and output. This property is important because inside rijndael we can get away with allocating just a 16 byte "work" buffer on the stack (which is very cheap), whereas the calling code would need to allocate the full sized buffer, and in all likelyhood would have to do so with an expensive malloc(9).
* Change the default mode for lost+found from 01777 to 0700. Theiedowse2003-10-191-1/+1
| | | | | | | | | | original intention of the less restrictive permissions was to allow users to move or delete recovered files that they own. However, it is better to not create world-writable directories by default; the administrator can always pre-create lost+found if different permissions are desired. Reviewed by: mckusick
OpenPOWER on IntegriCloud