summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Install this SUID root. Heck, it is su, after all.markm2001-06-042-0/+4
|
* Extend the su(1) example to take into account recent options to givemarkm2001-06-041-3/+3
| | | | a more BSD flavour.
* Big module cleanup.markm2001-06-0418-267/+48
| | | | | | | | | | | Move common stuff into Makefile.inc, and tidy up all the Makefiles as a result. Build new modules. Put a commented-out dependancy on libpam for the (shared) modules. I can't bring this in just yet, as the dependancy (modules->libpam) is reversed for the static case (libpam->modules).
* Null file to bring back a file from the dead. This allows the real commitmarkm2001-06-041-0/+2
| | | | to happen remotely. Damn CVS bugs :-(
* Add the "nullok" option that causes this module to succeed if the Unixmarkm2001-06-041-3/+11
| | | | password is empty/null.
* Tidy up the options list (and make it more extendable), and add somemarkm2001-06-043-14/+23
| | | | extra "standard" options.
* New release notes: ti(4) and xl(4) VLAN fixes, RFC 1323/1644 workaroundbmah2001-06-043-0/+78
| | | | | for old terminal services, IP multicast on VLAN devices works, IPv4 fragmentation denial-of-service mitigation, diskcheckd(8).
* Add some new utility authenticators.markm2001-06-044-0/+354
| | | | | | | | pam_securetty silently succeeds if the user is on a secure tty as defined by /etc/ttys. pam_ftp does "anonymous ftp" style authentication with options for specifying the anonymous user(s).
* Use bitmasks of the KTR_* constants instead of hexidecimal values forjhb2001-06-042-4/+4
| | | | the KTR_COMPILE and KTR_MASK examples.
* Add a new psuedo-KTR trace level KTR_ALL which is a mask of all currentlyjhb2001-06-041-0/+1
| | | | used KTR levels.
* first blush at some FC path inquiry settingsmjacob2001-06-041-0/+20
|
* Do NOLUNS dance for oddball Exabyte. We *really* need to do this as hints.mjacob2001-06-041-1/+12
| | | | | | | Correct match for A5000 SES instance. PR: 19887 MFC after: 2 weeks
* first blush at some FC path inquiry settingsmjacob2001-06-041-0/+9
|
* If the chip isn't in power state D0, put it in power state D0. Iimp2001-06-041-10/+12
| | | | | | | | | | | elected to do this in the probe rather than the attach so that we don't disturb things which this might reset. different cards have different quirks, according to their datasheets. This should fix the "I booted in windows and rebooted to FreeBSD and now things don't work" problem. PR: 4847, 20670
* Recommend what to do in a single user boot.imp2001-06-041-0/+8
| | | | | PR: 25028 Submitted by: Mark Andrews <marka@nominum.com>
* Add sprog.7, the beginnings of the secure programming guide.eric2001-06-041-0/+180
| | | | Reviewed by: ru
* Fix the default number of virtual consoles in the usage.hlp file: thereolgeni2001-06-041-1/+1
| | | | | | were 3 virtual consoles in older releases, but now they are 8. MFC after: 1 week
* Add BSD-style copyright headersbrian2001-06-0418-34/+506
| | | | Approved by: Charles Mott <cmott@scientech.com>
* Remove configuration file for pim6[ds]d.ume2001-06-043-4/+1
| | | | Submitted by: sumikawa
* Change to a standard BSD-style copyrightbrian2001-06-042-26/+44
| | | | Approved by: Atsushi Murai <amurai@spec.co.jp>
* Renamed to README.natbrian2001-06-041-352/+0
|
* Add BSD style copyrights (with permission from Charles Mott where appropriate)brian2001-06-047-95/+254
| | | | Deprecate -alias further (after a repo-copy)
* When looking for an interface appropriate for the (new or changing)ru2001-06-041-1/+1
| | | | | | | | | route in ifa_ifwithroute(), as the last resort, look up the route to the gateway, not destination (to derive the interface from). PR: kern/27852 Submitted by: Iasen Kostoff <tbyte@tbyte.org> MFC after: 2 weeks
* mdoc(7) police: minor markup cleanup.ru2001-06-041-6/+3
|
* msdos -> msdosfsru2001-06-041-8/+8
| | | | | | | | null -> nullfs umap -> umapfs union -> unionfs Approved by: obrien
* Properly initialize a temporary FILE that is allocated off the stack.deischen2001-06-042-0/+10
| | | | | | | The change to reuse _up from FILE (to allow FILE to grow without changing size) overlooked FILE being allocated off the stack. Approved by: sobomax
* Correct a comment - the time service returns seconds since 1900 not 1970.dwmalone2001-06-041-1/+1
| | | | Submitted by: ru
* This patch cleans up the ident stuff in inetd. The code which hasdwmalone2001-06-043-123/+145
| | | | | | | | | | | | | | | | | | | been patched so many times it was a bit of a mess. There are style, code and man page cleanups. The following are the functional changes: The RFC only permits the returning of 4 possible error codes, make sure we only return these (PR 27636). Use MAXLOGNAME to determine the longest usernames. Add a -i flag, which returns the uid instead of the username (this is from a PR 25787, which also contained alot of the cleanups in this patch). PR: 25787, 27636 Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green MFC after: 3 weeks
* Resetting using COR bit 7 appears to be bad on pci based systems.imp2001-06-041-0/+2
| | | | #ifdef it out for now.
* Set up us the pccard bomb.imp2001-06-041-0/+6
|
* The CL-PD6832 support in the last commit was done by Takeshiimp2001-06-040-0/+0
| | | | Shibagaki-san (shiba@freebsd.org). I neglected to mention that.
* Add new pci attachment for pcic. This supports pci cards as well asimp2001-06-042-165/+288
| | | | | | | | | | | | card bus bridges. We now always use pci interrupts for pci cards. This will allow us to more easily configure things. You must change your IRQ lines in /etc/pccard.conf to match what we've probed. I'm not sure the right way to deal with this right now. Development of pci pcmcia has been funded by Monzoon Networks AG. I am grateful for their generosity.
* You can't free a string and then use it as the error message topaul2001-06-041-1/+2
| | | | | | | errx. Instead use warn to print the string, then cleanup and exit normally. This fixes a core dump if the executable to be run doesn't exist.
* The pipe_write() code was locking the pipe without busying it first indillon2001-06-041-5/+20
| | | | | | | certain cases, and a close() by another process could potentially rip the pipe out from under the (blocked) locking operation. Reported-by: Alexander Viro <viro@math.psu.edu>
* S_IFCHR is not a bit mask, it's just a value in a field. The correctpaul2001-06-041-1/+1
| | | | | | way to clear that field is to use S_IFMT. Pointed out by BDE.
* #defines for pci way interrupt routing.imp2001-06-041-0/+33
|
* Move the pcic interrupt from pcic.c to pcic_isa.c. The ISA handlingimp2001-06-043-128/+138
| | | | | | | | | | | | | | for card change interrupts is different than the pci stuff that's coming soon. Set the management irq in different ways. If pci_parallel interrutp routing, then use the PCI way of getting interrupts. Move polling mode into pcic_isa since when we're routing via pci polling doesn't work because many bridges (systems hang solid). If we're routing interrupts via pci, they can be shared, so flag them as such. Note, this doesn't actually change anything since the pci attachment isn't quite ready to be committed.
* Minor style(9) nit. a|b -> a | b.imp2001-06-041-1/+1
|
* Use correct flag in test whether this interrupt handler is fast or not.mjacob2001-06-041-1/+1
| | | | | PR: 27866 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* New release note: pim6dd(8) and pim6sd(8) removed.bmah2001-06-033-6/+21
| | | | MFCs noted: Ukranian console support, O_DIRECT.
* Prevent denial of service using bogus fragmented IPv4 packets.jesper2001-06-031-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | A attacker sending a lot of bogus fragmented packets to the target (with different IPv4 identification field - ip_id), may be able to put the target machine into mbuf starvation state. By setting a upper limit on the number of reassembly queues we prevent this situation. This upper limit is controlled by the new sysctl net.inet.ip.maxfragpackets which defaults to 200, as the IPv6 case, this should be sufficient for most systmes, but you might want to increase it if you have lots of TCP sessions. I'm working on making the default value dependent on nmbclusters. If you want old behaviour (no upper limit) set this sysctl to a negative value. If you don't want to accept any fragments (not recommended) set the sysctl to 0 (zero). Obtained from: NetBSD MFC after: 1 week
* Fix my email address. I accidentally cut'npasted the wrong (old)joerg2001-06-032-2/+2
| | | | hostname laste time.
* Add diskcheckd to /etc/rc with a knob in rc.conf.phk2001-06-032-0/+10
| | | | | | | Make the default setting YES for now to get some experience with it. Note: If people starts seeing disk errors because of this then it should not be backed.
* Add diskcheck-daemon.phk2001-06-036-0/+1046
| | | | | | | | | | | | | With a small disk being 20GB these days, chances are pretty good that an ailing sector will not be read while still being recoverable by the drive. Diskcheck daemon will read disks in the background at a low rate and that way give the diskdrive a chance to detect and correct soft read errors before they become hard errors. Idea by: phk Written by: ben
* Remove pim6[ds]d from the tree. The software had a restrictive licenseume2001-06-0393-34962/+0
| | | | than we can handle. pim6[ds]d are available as ports instead.
* First, wrap the if_up() call into splimp()/splx() becauseyar2001-06-031-2/+5
| | | | | | | | | | | if_up() must be called at splnet or higher. Second, set the IFF_RUNNING flag on an interface after its resources (i.e. tunnel source and destination addresses) have been set. Note that we don't set IFF_UP because it is if_up()'s job to do that. PR: kern/27851 Submitted by: Horacio J. PeÓa <horape@compendium.com.ar>
* Fix a grammar bogon and removed whitespace at EOL.schweikh2001-06-031-8/+8
| | | | MFC after: 1 week
* - Optimise current cursor position displaying routines, to avoid unnecessarysobomax2001-06-031-10/+8
| | | | | | | | cursor movements; - minor cleanups in cursor position displaying routines; - properly resent "file modified" flag when editing several files. MFC after: 1 week
* Move gif_interfaces from an IP6 option to a regular IP option.brian2001-06-0310-51/+166
| | | | | | PR: 26543 Submitted by: Brooks Davis <brooks@one-eyed-alien.net> MFC after: 3 weeks
* Fix reversed arguments to pci_write_config()peter2001-06-031-2/+2
| | | | | PR: kern/9408 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
OpenPOWER on IntegriCloud