summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-02-08.Nm packet tags -> .Nm mbuf_tagsAngelos D. Keromytis
2002-02-08new grep, smaller, makes for better floppies, i hope?Theo de Raadt
2002-02-08preadvArtur Grabowski
2002-02-08Guess what? Trivial test for preadv.Artur Grabowski
2002-02-08Require a FREFd file in dofilewrite{,v}.Artur Grabowski
2002-02-08syncTodd T. Fries
2002-02-08require a FREFd fp in dofilereadv. Fix some comments.Artur Grabowski
2002-02-08floppy) st0 tty00 tty01 .. bye!Todd T. Fries
2002-02-08Opps. unbreak.Artur Grabowski
2002-02-08preadArtur Grabowski
2002-02-08Better tx interrupt handling; don't call bestart() from betint() unlessJason Wright
we're OACTIVE and cleared at least one slot
2002-02-08Simple test for pread.Artur Grabowski
2002-02-08since we're checking, avoid an unnecessary writeJason Wright
2002-02-08simplify sys_pread a bit.Artur Grabowski
2002-02-08Better IFF_OACTIVE handling; don't bother calling qestart() unlessJason Wright
we were IFF_OACTIVE and we freed at least one slot.
2002-02-08simplify qec_put a bitJason Wright
2002-02-08dup2_selfArtur Grabowski
2002-02-08Test an obscure case of dup2 behavior.Artur Grabowski
2002-02-08Document that close-on-exec is not touched in dup2 when oldd == newd.Artur Grabowski
2002-02-08Add a comment about an obscure behavior in dup2(2).Artur Grabowski
2002-02-08Add a slightly redundant arg to finishdup that's the struct file *Artur Grabowski
present on the 'old' descriptor. It's not really necessary because we can easily find it with 'fp = p->p_fd->fd_ofiles[old];', but this allows us to require that the fp is FREFed without violating all rules of good taste and all callers have to do fd_getfile on it anyway (to detect larval and closing files. FREF the fp in all callers.
2002-02-08syncTheo de Raadt
2002-02-08do not rely on u_int being availabelMichael Shalayeff
2002-02-08Add fcntl_dup.Artur Grabowski
2002-02-08Try to confuse /dev/fd (might crash the kernel on other systems or if ↵Artur Grabowski
someone screws up in the kernel).
2002-02-08Check that we get the right errno.Artur Grabowski
2002-02-08Simple test for fcntl(F_DUPFD).Artur Grabowski
2002-02-08public domain this file.Artur Grabowski
2002-02-08vagfb_setcolor() needs to enter entries into the software copy of theJason Wright
palette so that it can be restored correctly.
2002-02-08required piece to compile the libMichael Shalayeff
2002-02-08fix typo, and put back stack frame opsMichael Shalayeff
2002-02-08No more need for ffree. Since it's hard to use it safely, remove it.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
the same semantics as NetBSD anyway, so it's good to avoid name collissions. - Always fdremove before freeing the file, not the other way around. - falloc FREFs the file. - have FILE_SET_MATURE FRELE the file (It feels like a good ortogonality to falloc FREFing the file). - Use closef as much as possible instead of ffree in error paths of falloc:ing functions. closef is much more careful with the fd and can deal with the fd being forcibly closed by dup2. Also try to avoid manually calling *fo_close when closef can do that for us (this makes some error paths mroe complicated (sys_socketpair and sys_pipe), but others become simpler (sys_open)).
2002-02-08There are NFS servers where it's possible to modify a symbolic link. Remove ↵Constantine Sapuntzakis
aggressive optimization
2002-02-08Partial sync with FreeBSD, mostly bugfixes from Luigi Rizzo (ok jason@)Chris Cappuccio
-Remove m_devget on non-STRICT_ALIGNMENT architectures, supposedly a 50-70% performance increase for peak packet forwarding on the Soekris 486/133 on fbsd -Fix a bug in the driver -- under load, the receive unit could become idle and the driver would not detect the event, requiring userland to cycle the interface to bring it up again. The fix consists in adding SIS_IMR_RX_IDLE to the interrupt mask and add a command in sis_intr() to restart the receiver when this happens. -While at it, make the test of status bits more efficient -Slightly simplify the code to initialize the ring buffers -Add VLAN support (Accept Long Packets)
2002-02-08fix example usage of SUBPACKAGE.Brad Smith
-- Based on suggestion from PR# 2381
2002-02-08do not set any bits in pmap_enter, let the handlers take care of it;Michael Shalayeff
only need clear_va if changing the prot, since otherwise we are clear. flush the cache and tlb for the page being removed in kremove.
2002-02-08when doing the autoconf in verbose mode print the devpathMichael Shalayeff
2002-02-08fix some japanese...Theo de Raadt
2002-02-08more docs...Theo de Raadt
2002-02-08syncTheo de Raadt
2002-02-08Remove some commented out FILE_UNUSE (incorrect)Artur Grabowski
2002-02-07bridge_output() needs a forcibly aligned copy just like bridge_broadcast()Jason Wright
because of calls it makes to altq; thanks to art for testing and kjc for pointing that I forgot this case.
2002-02-07Quiet down an annoying message in altq_etherclassify.Artur Grabowski
2002-02-07add cbq.ssh_tosArtur Grabowski
2002-02-07Install altq config samples.Artur Grabowski
2002-02-07Add a directory for altq config examples.Artur Grabowski
2002-02-07device -> decide; fixes PR#2382.Aaron Campbell
2002-02-07reverse condition in the sp botchness check, we need to nullifyMichael Shalayeff
if we are ok not if we are bad. fix a pasto in branch w/in longjmps.
2002-02-07fix copyright; chris@Jason Wright