summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New release note: Wide character C library functions.bmah2002-10-192-2/+16
| | | | Modified release note: Use manpage entity for pst(4).
* Use manpage entity for pst(4).bmah2002-10-192-2/+2
|
* Clarify that the UFS1 extended attribute configuration steps do not applyrwatson2002-10-191-2/+2
| | | | | | | to UFS2 file systems. Submitted by: jedgar Obtained from: TrustedBSD Project
* Explicitely specify an alignment for struct pcb. While all regular pcb'stmm2002-10-191-1/+1
| | | | | are positioned and aligned by md code, dumppcb is just a static variable and requires this.
* The argument to the DIOCGMEDIASIZE ioctl() is an off_t, not an u_int.tmm2002-10-191-1/+1
| | | | Reviewed by: phk
* Since NEWCARD is the default pccard subsystem, pccard[cd] is nomatusita2002-10-192-2/+2
| | | | | | | longer needed. Note that pc98 uses OLDCARD so this is only for i386 (thanks nyan-san). OKed by: imp
* Indent code example with one tab, not two, for consistency with the rest.tjr2002-10-191-8/+8
|
* C89 does not specifiy strsep(), so our strsep() implementation cannottjr2002-10-191-1/+0
| | | | | | conform to it. Obtained from: OpenBSD
* The ftok() function has not been in libcompat for quite a while.tjr2002-10-191-3/+0
|
* Add sr_YU localesache2002-10-1913-2/+334
| | | | Submitted by: Toni Andjelkovic <toni@soth.at>
* Add sr_YU localesache2002-10-192-1/+41
| | | | Submitted by: Toni Andjelkovic <toni@soth.at>
* Add sr_YU locale directoriesache2002-10-192-0/+12
| | | | Submitted by: Toni Andjelkovic <toni@soth.at>
* Style(9). Make some function declarations consistent with the rest,markm2002-10-193-24/+10
| | | | and remove some nearby extraneous {}'s.
* Several malloc() calls were passing the M_DONTWAIT flagmux2002-10-191-3/+3
| | | | | | which is an mbuf allocation flag. Use the correct M_NOWAIT malloc() flag. Fortunately, both were defined to 1, so this commit is a no-op.
* Fix a problem with RTLD_TRACE flag to dlopen(3), which sometimes can returnsobomax2002-10-192-11/+12
| | | | | | | | | | | | | even if there was no error occured (when trying to dlopen(3) object that already linked into executable which does dlopen(3) call). This is more proper fix for `ldd /usr/lib/libc.so' problem, because the new behaviour conforms to documentation. Remove workaround from ldd.c (rev.1.32). PR: 35099 Submitted by: Nathan Hawkins <utsl@quic.net> MFC after: 1 week
* Fix security bug in contains_dot_dot routine.sobomax2002-10-192-1/+17
| | | | | | | PR: 43575 Submitted by: Brett Glass <brett@lariat.org> X-MFC after: immediately
* Clear the pending counts in the superblock after a successful runmckusick2002-10-191-1/+4
| | | | | | | of fsck so that the kernel does not complain about them being non-zero when the filesystem is mounted. Sponsored by: DARPA & NAI Labs.
* In link_elf_load_file(), when SPARSE_MAPPING is defined and wemarcel2002-10-192-2/+0
| | | | | | | cannot allocate ef->object, we freed ef before bailing out with an error. This is wrong because ef=lf and when we have an error and lf is non-NULL (which holds if we try to alloc ef->object), we free lf and thus ef as part of the bailing-out.
* So a positive time zone offset is west, right? or is it east? Um.fanf2002-10-191-0/+9
| | | | | | | What is the standard for this, anyway? Ah, we get to choose. I see. This commit is brought to you by the numbers 2001 and 2822 and the letters P, O, S, I, X and R, F, C.
* Make this compile when DDB is not defined by conditionally compilingmarcel2002-10-191-1/+6
| | | | all references to ksym_start and ksym_end.
* Make the unwind functions standard and not optional on ddb. Theymarcel2002-10-191-1/+1
| | | | will eventually be used for ktrace(2) too.
* Add the libz derived files, added in the previous commit, tomarcel2002-10-191-0/+2
| | | | CLEANFILES. We were not cleaning up after ourselves.
* Don't leak memory in semop(2). (Fix a bug I introduced in rev 1.55.)alfred2002-10-191-1/+2
| | | | Detective work by: jake
* Update the documentation for kthread_create to include the pages argument.benno2002-10-191-1/+5
| | | | | Reviewed by: sheldonh Forgotten by: scottl
* Pass the right number of tlb slots to the kernel. The allocation schemetmm2002-10-181-10/+4
| | | | | | | was changed in r1.4, but I neglected to update most of the code in metadata.c. Pointy hat to: tmm
* Add sab driver to serial interfaces section.bmah2002-10-182-0/+6
|
* New release notes: P1003_1B gone, CPU_DISABLE_CMPXCHG, FAST_IPSEC,bmah2002-10-182-2/+114
| | | | | | | ifconfig(8) monitor, ofwdump(8), ping(8) -o, quota(1) -l, tunefs(8) -a/-l, ugidfw(8). Modified release notes: se driver replaced by sab driver.
* Bound the size of the superblock to SBLOCKSIZE.mckusick2002-10-181-0/+2
| | | | | Submitted by: BOUWSMA Beery <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs.
* Fix a file-rewrite performance case for UFS[2]. When rewriting portionsdillon2002-10-183-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a file in chunks that are less then the filesystem block size, if the data is not already cached the system will perform a read-before-write. The problem is that it does this on a block-by-block basis, breaking up the I/Os and making clustering impossible for the writes. Programs such as INN using cyclic file buffers suffer greatly. This problem is only going to get worse as we use larger and larger filesystem block sizes. The solution is to extend the sequential heuristic so UFS[2] can perform a far larger read and readahead when dealing with this case. (note: maximum disk write bandwidth is 27MB/sec thru filesystem) (note: filesystem blocksize in test is 8K (1K frag)) dd if=/dev/zero of=test.dat bs=1k count=2m conv=notrunc Before: (note half of these are reads) tty da0 da1 acd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 76 14.21 598 8.30 0.00 0 0.00 0.00 0 0.00 0 0 7 1 92 0 76 14.09 813 11.19 0.00 0 0.00 0.00 0 0.00 0 0 9 5 86 0 76 14.28 821 11.45 0.00 0 0.00 0.00 0 0.00 0 0 8 1 91 After: (note half of these are reads) tty da0 da1 acd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 76 63.62 434 26.99 0.00 0 0.00 0.00 0 0.00 0 0 18 1 80 0 76 63.58 424 26.30 0.00 0 0.00 0.00 0 0.00 0 0 17 2 82 0 76 63.82 438 27.32 0.00 0 0.00 0.00 0 0.00 1 0 19 2 79 Reviewed by: mckusick Approved by: re X-MFC after: immediately (was heavily tested in -stable for 4 months)
* * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.njl2002-10-188-10/+74
| | | | | | | | | | | | | | | * Change atapi-cd ioctls to use the same units. * Change burncd, cdcontrol to convert CDROM speed to KB/sec before calling the ioctl. Add a "max" speed option for their command lines. This change does not break ABI but does change the units passed through the ioctl so 3rd party software that uses cdrio.h will have to convert (most likely by multiplying CDROM speed by 177 to get KB/s). PR: kern/36845 Submitted by: Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls) Reviewed by: sos, ken MFC after: 1 month
* MFufs 1.33:bde2002-10-182-2/+2
| | | | | | | | | | | | | In the 'found' case for ext2_lookup() the underlying bp's data was being accessed after the bp had been releaed. A simple move of the brelse() solves the problem. The PR reports that this caused panics running the GDB testsuite unless NO_GEOM is configured. PR: 44060 Reported by: Mark Kettenis <kettenis@chello.nl> MFC after: 3 days
* (1) added LSI Logic copyright, and legal line 3 in license, and stringemoore2002-10-1811-72/+216
| | | | | | | | | | | | | | | | | | | | | changes for "LSILogic" (2) enabled non-disk support through CAM interface (3) HA_INQ (a) enabled tagged queuing (b) disable reset during driver loading (b) renamed BSDi string to LSI (4) disabled detecting disk devices during SCSI INQUIRY (5) changed dcdb single element sglist to send one entire buffer chunk (6) nsgelem not set in sglist (7) ap_data_transfer_length not set for dcdb (8) changed "struct thread" to "d_thread_t" for compatibliity { xxx_open, xxx_close, xxx_ioctl } (9) miscellaneous compatiblity fixes (10) bug fix for 0x0409/0x1000 card (11) added compiling amr_cam.c in sys/conf/files (12) added compiling amr_cam.c in sys/modules/amr/Makefile Reviewed by:ps MFC after:1 week 1 week
* Update extended attribute readme file to note that no special configurationrwatson2002-10-181-1/+6
| | | | | | | | is required to use EAs with UFS2, and that UFS2 is recommend for EA use for a variety of reasons. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Update instructions for ACLs given recent tunefs, mount changes. Alsorwatson2002-10-181-5/+33
| | | | | | | | note that UFS2 doesn't require explicit extended attribute configuration, and is recommends for this and other reasons if you plan to use ACLs. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Use 'size_t' instead of 'int' for the result of sizeof().rwatson2002-10-181-1/+1
|
* Modified release note: New commands for lpc(1).bmah2002-10-182-4/+18
| | | | | PR: 44070 Submitted by: gad
* Oops. xargs -J is in fact not deprecated.bmah2002-10-182-4/+2
| | | | | | PR: 44070 Submitted by: gad Reviewed by: jmallett
* Add myself as da(4) maintainer. This is mostly so I can review and commitnjl2002-10-181-0/+1
| | | | quirks.
* Do not lock the process when calling fdfree() (this would have recursed onjhb2002-10-181-4/+0
| | | | | a non-recursive lock, the proc lock, before) since we don't need it to change p_fd.
* fdfree() clears p_fd for us, no need to do it again.jhb2002-10-181-1/+0
|
* Don't lock the proc lock to clear p_fd. p_fd isn't protected by the procjhb2002-10-181-2/+0
| | | | lock.
* Replace the vm_page hash table with a per-vmobject splay tree. There shoulddillon2002-10-184-59/+96
| | | | | | | | | | | | | | | | be no major change in performance from this change at this time but this will allow other work to progress: Giant lock removal around VM system in favor of per-object mutexes, ranged fsyncs, more optimal COMMIT rpc's for NFS, partial filesystem syncs by the syncer, more optimal object flushing, etc. Note that the buffer cache is already using a similar splay tree mechanism. Note that a good chunk of the old hash table code is still in the tree. Alan or I will remove it prior to the release if the new code does not introduce unsolvable bugs, else we can revert more easily. Submitted by: alc (this is Alan's code) Approved by: re
* Oops. Also provide a lint-compatible unused argument warning killer.markm2002-10-181-0/+4
|
* ISOfy functions, sort headers and mark unused arguments.markm2002-10-181-13/+6
|
* Correct the headers needed to use dbopen(3) and friends.markm2002-10-181-1/+2
|
* Connect ofwdump to the sparc64 build.tmm2002-10-181-0/+4
|
* Add a utility to examine the OpenFirmware device tree (on sparc64). Thistmm2002-10-186-0/+555
| | | | | | allows access to detailed machine configuration information, and should be especially useful to gather information for driver-related bug reports.
* Install the include files in sys/dev/ofw.tmm2002-10-182-1/+3
|
* Build openfirmio on sparc64.tmm2002-10-181-0/+1
|
* Add a pseudo device which allows to access the OpenFirmware device treetmm2002-10-182-0/+389
| | | | | via ioctl()s. This was ported from NetBSD and adapted a bit to better match our OpenFirmware support code.
OpenPOWER on IntegriCloud