aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Include 'sshd' to the lists of forbidden users.Maxim Konovalov2002-06-281-0/+1
| | | | | | | Reviewed by: cvs-committers Notes: svn path=/head/; revision=98978
* Mention that we're checking kernel log messages, even if there'sBrian Somers2002-06-281-2/+2
| | | | | | | | | | no output. PR: 39618 MFC after: 1 week Notes: svn path=/head/; revision=98972
* Revert previous delta, setting the system immutable flag on /var/emptySheldon Hearn2002-06-261-1/+1
| | | | | | | | instead of the user immutable flag, now that mergemaster handles schg directories in its /var/tmp/temproot. Notes: svn path=/head/; revision=98883
* Tone down the previous delta: don't set the system immutable flag onSheldon Hearn2002-06-261-1/+1
| | | | | | | | /var/empty, because it makes it difficult for mergemaster(8) to remove /var/tmp/temproot/var. Notes: svn path=/head/; revision=98873
* add default vmemoryuse (unlimited), and samplesMatthew Dillon2002-06-261-0/+3
| | | | Notes: svn path=/head/; revision=98853
* At long last, commit the zero copy sockets code.Kenneth D. Merry2002-06-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAKEDEV: Add MAKEDEV glue for the ti(4) device nodes. ti.4: Update the ti(4) man page to include information on the TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options, and also include information about the new character device interface and the associated ioctls. man9/Makefile: Add jumbo.9 and zero_copy.9 man pages and associated links. jumbo.9: New man page describing the jumbo buffer allocator interface and operation. zero_copy.9: New man page describing the general characteristics of the zero copy send and receive code, and what an application author should do to take advantage of the zero copy functionality. NOTES: Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS, TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT. conf/files: Add uipc_jumbo.c and uipc_cow.c. conf/options: Add the 5 options mentioned above. kern_subr.c: Receive side zero copy implementation. This takes "disposable" pages attached to an mbuf, gives them to a user process, and then recycles the user's page. This is only active when ZERO_COPY_SOCKETS is turned on and the kern.ipc.zero_copy.receive sysctl variable is set to 1. uipc_cow.c: Send side zero copy functions. Takes a page written by the user and maps it copy on write and assigns it kernel virtual address space. Removes copy on write mapping once the buffer has been freed by the network stack. uipc_jumbo.c: Jumbo disposable page allocator code. This allocates (optionally) disposable pages for network drivers that want to give the user the option of doing zero copy receive. uipc_socket.c: Add kern.ipc.zero_copy.{send,receive} sysctls that are enabled if ZERO_COPY_SOCKETS is turned on. Add zero copy send support to sosend() -- pages get mapped into the kernel instead of getting copied if they meet size and alignment restrictions. uipc_syscalls.c:Un-staticize some of the sf* functions so that they can be used elsewhere. (uipc_cow.c) if_media.c: In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid calling malloc() with M_WAITOK. Return an error if the M_NOWAIT malloc fails. The ti(4) driver and the wi(4) driver, at least, call this with a mutex held. This causes witness warnings for 'ifconfig -a' with a wi(4) or ti(4) board in the system. (I've only verified for ti(4)). ip_output.c: Fragment large datagrams so that each segment contains a multiple of PAGE_SIZE amount of data plus headers. This allows the receiver to potentially do page flipping on receives. if_ti.c: Add zero copy receive support to the ti(4) driver. If TI_PRIVATE_JUMBOS is not defined, it now uses the jumbo(9) buffer allocator for jumbo receive buffers. Add a new character device interface for the ti(4) driver for the new debugging interface. This allows (a patched version of) gdb to talk to the Tigon board and debug the firmware. There are also a few additional debugging ioctls available through this interface. Add header splitting support to the ti(4) driver. Tweak some of the default interrupt coalescing parameters to more useful defaults. Add hooks for supporting transmit flow control, but leave it turned off with a comment describing why it is turned off. if_tireg.h: Change the firmware rev to 12.4.11, since we're really at 12.4.11 plus fixes from 12.4.13. Add defines needed for debugging. Remove the ti_stats structure, it is now defined in sys/tiio.h. ti_fw.h: 12.4.11 firmware. ti_fw2.h: 12.4.11 firmware, plus selected fixes from 12.4.13, and my header splitting patches. Revision 12.4.13 doesn't handle 10/100 negotiation properly. (This firmware is the same as what was in the tree previously, with the addition of header splitting support.) sys/jumbo.h: Jumbo buffer allocator interface. sys/mbuf.h: Add a new external mbuf type, EXT_DISPOSABLE, to indicate that the payload buffer can be thrown away / flipped to a userland process. socketvar.h: Add prototype for socow_setup. tiio.h: ioctl interface to the character portion of the ti(4) driver, plus associated structure/type definitions. uio.h: Change prototype for uiomoveco() so that we'll know whether the source page is disposable. ufs_readwrite.c:Update for new prototype of uiomoveco(). vm_fault.c: In vm_fault(), check to see whether we need to do a page based copy on write fault. vm_object.c: Add a new function, vm_object_allocate_wait(). This does the same thing that vm_object allocate does, except that it gives the caller the opportunity to specify whether it should wait on the uma_zalloc() of the object structre. This allows vm objects to be allocated while holding a mutex. (Without generating WITNESS warnings.) vm_object_allocate() is implemented as a call to vm_object_allocate_wait() with the malloc flag set to M_WAITOK. vm_object.h: Add prototype for vm_object_allocate_wait(). vm_page.c: Add page-based copy on write setup, clear and fault routines. vm_page.h: Add page based COW function prototypes and variable in the vm_page structure. Many thanks to Drew Gallatin, who wrote the zero copy send and receive code, and to all the other folks who have tested and reviewed this code over the years. Notes: svn path=/head/; revision=98849
* Fix the amd invocation to honor the amd_flags setting.John Polstra2002-06-241-1/+1
| | | | | | | Submitted by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=98774
* The previous delta introduced /var/empty, for use by openssh-portable,Sheldon Hearn2002-06-241-1/+1
| | | | | | | | | | | | | which needs an empty directory into which to chroot(2). Hint to the operator that this directory really _should_ be empty by creating it with mode 0555 and the system immutable flag (schg) set. Reviewed by: des Notes: svn path=/head/; revision=98772
* Previous commit was just a tad too hasty, the sshd peudo-user's homeDag-Erling Smørgrav2002-06-231-1/+1
| | | | | | | directory should be /var/empty. Notes: svn path=/head/; revision=98700
* Add /var/empty for the OpenSSH privsep code.Dag-Erling Smørgrav2002-06-231-0/+2
| | | | Notes: svn path=/head/; revision=98699
* Add an sshd user and group for the OpenSSH privilege separation code.Dag-Erling Smørgrav2002-06-232-0/+2
| | | | Notes: svn path=/head/; revision=98696
* Create sendmail required directories if sendmail is enabled.Brian S. Dean2002-06-221-0/+7
| | | | Notes: svn path=/head/; revision=98634
* Hone the rpcbind dependency checking.Doug Barton2002-06-213-4/+4
| | | | | | | Submitted by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=98585
* This commit was generated by cvs2svn to compensate for changes in r98576,David E. O'Brien2002-06-215-0/+124
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=98577
| * Sync with NetBSD's mainline.David E. O'Brien2002-06-2176-296/+656
| | | | | | | | Notes: svn path=/vendor/NetBSD/dist/; revision=98576
| * Import the NetBSD 1.5 RC system on a vendor branch.David E. O'Brien2001-06-222-0/+81
| | | | | | | | Notes: svn path=/vendor/NetBSD/dist/; revision=78616
* | Make NO_OPENSSL actually imply NO_OPENSSH, as documented in make.conf(5).Ruslan Ermilov2002-06-211-5/+4
| | | | | | | | Notes: svn path=/head/; revision=98548
* | Anonymize the "portmap" program to get better compatibility withDoug Barton2002-06-203-4/+8
| | | | | | | | | | | | | | | | | | rpcbind in -current. Submitted by: Alexander Kabaev <ak03@gte.com> Notes: svn path=/head/; revision=98486
* | We don't use this any more.Dag-Erling Smørgrav2002-06-192-10/+1
| | | | | | | | | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98448
* | Enable OPIE for sshd and telnetd. I thought I'd done this a long timeDag-Erling Smørgrav2002-06-192-0/+4
| | | | | | | | | | | | | | | | | | ago... Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98447
* | Another good suggestion from Bruce, only create links if theDoug Barton2002-06-191-2/+2
| | | | | | | | | | | | | | file doesn't exist already. Notes: svn path=/head/; revision=98412
* | Fix a typo in the named startup optionsGordon Tetlow2002-06-181-1/+1
| | | | | | | | | | | | | | Submitted by: sheldonh@ Notes: svn path=/head/; revision=98399
* | Do vidcontrol -m on after starting moused for a usb mouse.Doug Barton2002-06-181-1/+1
| | | | | | | | | | | | | | | | | | PR: conf/39125 Submitted by: Mike Makonnen <makonnen@pacbell.net> Not objected to by: -current and -hackers Notes: svn path=/head/; revision=98386
* | Should have paid more attention to the PR. Update (improve?) the examplesDoug Barton2002-06-181-2/+19
| | | | | | | | | | | | | | | | | | by doing them in /dev/, and provide more than just the one example. Submitted by: bde (for the ideas, blame for mistakes is mine) Notes: svn path=/head/; revision=98384
* | Only create symlink if /dev/ttyv0 exists.Doug Barton2002-06-181-1/+3
| | | | | | | | | | | | | | | | PR: misc/39381 Submitted by: Dirk-Willem van Gulik <dirkx@covalent.net> Notes: svn path=/head/; revision=98383
* | Try handling lack of syscons (for diskless boot, or other) byDoug Barton2002-06-161-0/+6
| | | | | | | | | | | | | | | | | | | | testing for the presence of /dev/ttyv0. PR: misc/39351 Submitted by: Dirk-Willem van Gulik <dirkx@covalent.net> Notes: svn path=/head/; revision=98306
* | Make sendmail really not start when sendmail_enable="NONE"Gordon Tetlow2002-06-151-1/+1
| | | | | | | | | | | | | | | | Submitted by: Dennis Kristensen <snicki@snicki.dk> Reviewed by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=98261
* | Add the final bits that allow the use of rc.d. Note that you can toggleGordon Tetlow2002-06-132-2/+104
| | | | | | | | | | | | | | | | | | | | between rc.d and the classic boot scripts based on the rcng variable in your rc.conf. Defaults to classic boot scripts. Submitted by: Mike Makonnen Notes: svn path=/head/; revision=98189
* | Add a couple of variables for rc.dGordon Tetlow2002-06-131-0/+12
| | | | | | | | | | | | | | Submitted by: Mike Makonnen Notes: svn path=/head/; revision=98188
* | Hook rcorder and rc.d into the build.Gordon Tetlow2002-06-131-2/+3
| | | | | | | | | | | | | | Submitted by: Mike Makonnen Notes: svn path=/head/; revision=98187
* | Bring this up to date with the latest NetBSD bits. Also add some bits ofGordon Tetlow2002-06-131-145/+545
| | | | | | | | | | | | | | | | | | | | our own. Submitted by: Mike Makonnen Reviewed by: silence on -current and -hackers Notes: svn path=/head/; revision=98186
* | Merge in all the changes that Mike Makonnen has been maintaining for aGordon Tetlow2002-06-13112-354/+2913
| | | | | | | | | | | | | | | | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson Notes: svn path=/head/; revision=98184
* | Change our default XF86Config location from /etc/ to /etc/X11/,David E. O'Brien2002-06-101-0/+2
| | | | | | | | | | | | | | | | | | following the lead of The XFree86 Project's default. Approved by: Murray Notes: svn path=/head/; revision=98079
* | We want to play osterage and stick our heads in the sand and ignore things.David E. O'Brien2002-06-041-2/+2
| | | | | | | | | | | | | | Requested by: jhb Notes: svn path=/head/; revision=97838
* | ntpdate(1) is depreciated.David E. O'Brien2002-06-041-2/+2
| | | | | | | | Notes: svn path=/head/; revision=97835
* | Add new entry PLANEX GW-NS11H(PRISM3.0).Takeshi Shibagaki2002-05-291-0/+6
| | | | | | | | | | | | | | Submitted by [bsd-nomads:16322] Yasufumi Susuki <yasu@triaez.kaisei.org> Notes: svn path=/head/; revision=97518
* | Update g++ include subdirsPeter Wemm2002-05-291-1/+5
| | | | | | | | Notes: svn path=/head/; revision=97434
* | Correct US Robotics Wireless Card 2410 entryWarner Losh2002-05-241-1/+1
| | | | | | | | Notes: svn path=/head/; revision=97247
* | Add a new make.conf knob, SENDMAIL_MAP_PERMS, which specifies theGregory Neil Shapiro2002-05-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | permissions to use for alias and map database files built by /etc/mail/Makefile. The default is 0640 to assist users in avoiding a file locking local denial of service. MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97200
* | Change the default permissions for the sendmail statistics file to 0640Gregory Neil Shapiro2002-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | instead of 0644 to help protect users against a file locking local denial of service. MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97199
* | Add a warning regarding localhost-only listening daemons inside jails.Gregory Neil Shapiro2002-05-221-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Apparently binding only to 127.0.0.1 inside of a jail actually binds to the jail IP address as well (in effect, bind to all available interfaces in the jail). Submitted by: Helge Oldach <test-smtp@oldach.net> MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97131
* | Build sccs(1) docs.Ruslan Ermilov2002-05-221-0/+2
| | | | | | | | Notes: svn path=/head/; revision=97108
* | Added share/doc/[pu]sd entries.Ruslan Ermilov2002-05-221-0/+20
| | | | | | | | | | | | | | Reviewed by: grog Notes: svn path=/head/; revision=97098
* | There are still many broken nameservers out there in the wild. EvenGregory Neil Shapiro2002-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | though I would personally prefer to see the broken nameservers fixed instead of standards compliant applications work around them, I can't force FreeBSD users to help fight that battle. Submitted by: Damon Anton Permezel <dap@damon.com> MFC after: 2 days pending RE approval Notes: svn path=/head/; revision=97029
* | Explictly set kerberos_stash to NO instead of blank. While we are at it,Gordon Tetlow2002-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | fix a comment that suggested setting ipv6_ipv4mapping to blank. This will aid in merging with rcng which requires all veriables to be explicitly set. Submitted by: Mike Makonnen MFC after: 1 week Notes: svn path=/head/; revision=96971
* | Remove Perl and TCL/TK bits, neither of which are in the base systemMark Murray2002-05-181-2/+0
| | | | | | | | | | | | | | (anymore). Notes: svn path=/head/; revision=96860
* | Sigh, this README is not a shell script.Ruslan Ermilov2002-05-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=96856
* | Remind developers to update hier(7) if they make changes to these files.Ruslan Ermilov2002-05-181-0/+2
| | | | | | | | Notes: svn path=/head/; revision=96855
* | We haven't needed libg++ since 1999-04-04 (pre 4.0).David E. O'Brien2002-05-181-2/+0
| | | | | | | | Notes: svn path=/head/; revision=96838
* | Fix the order of shutdown scripts so it not only reverses the order of theGordon Tetlow2002-05-181-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | files in each ${local_startup} directory, it also reverses the order of the directories. Suggested by: jhb Reviewed by: jake Approved by: dougb MFC after: 1 week Notes: svn path=/head/; revision=96830