summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Return EBUSY if we try to attach to a tty that is already beingdd2001-11-241-0/+2
| | | | | | | | snooped on. This causes all kinds of Bad Things(tm) to happen since closing one session will clobber state that's needed for the other one. This could theoretically be supported if the code was careful, but until somebody implements that, preventing this will stop people from unknowingly shooting themselves in the foot.
* Create a snpbasedev variable which holds a reference to the first snpdd2001-11-241-3/+9
| | | | | | | | | | | | | | | | device cloned, and assign all further devices to depend on it. This allows us to call dev_depends() on it at module unload time to get rid of /dev/snp* (in the devfs case, anyway). For this to work, we must not destroy the device at close time. [Idea stolen from if_tun.] The above has the following sideaffects: (a) The snp device used by watch(8) will remain after watch(8) exits. This is probably how it should have been all along, and how it was before devfs came along. (b) Module unload doesn't panic if there are any /dev/snp* devices which haven't been used (and thus previously destroyed). Thus, we can reenable the unload functionality disabled in rev. 1.65. PR: 32012
* Revert incorrect KSEfication: realitexpire expects a struct proc *, not ades2001-11-241-1/+1
| | | | struct thread *.
* Resolve all the ipfilter startup issues in rc.network with one big patchdarrenr2001-11-247-413/+497
| | | | | | | | | to get it all right, allowing ipnat to be enabled independantly of ipfilter in rc.conf (among other things). PR: multiple Submitted by: Arjan de Vet <devet@devet.org> Reviewed by: Giorgos Keramidas <keramida@FreeBSD.org>
* Submitted by:David E. O'Briengroudier2001-11-241-4/+4
| | | | | | | | MFC after:3 days - Add memory barrier definition for sparc64. Patch sent by David E. O'Brien, approved by maintainer. - Fix an endianization error of a bus physical address used from SCRIPTS that made the driver fail on big endian machines as sparc64.
* Allow an ``at now'' specification.brian2001-11-241-1/+5
| | | | | | PR: 32242 Submitted by: Alan E <alane@geeksrus.net> MFC after: 3 weeks
* Since we used '#ifdef __i386__', don't close with '#endif /* !__alpha__ */'dfr2001-11-241-1/+1
|
* PC98 boxes cannot boot from CD-ROM.nyan2001-11-241-0/+2
|
* Be more explicit about the fact that realloc() might return akeramida2001-11-241-0/+4
| | | | | | | different pointer than the one passed to it. PR: docs/31925 Submitted by: Andrew <andrew@ugh.net.au>
* Whitespace change - replace leading spaces with tabs.luigi2001-11-241-6/+6
|
* Remove the use of _PATH_DEV in the example.obrien2001-11-242-4/+4
| | | | | | | | | | | | The kernel certainly doesn't use _PATH_DEV or even /dev/ to find the device. It cannot, since "/" has not been mounted. Maybe the only affect of using /dev/ is that it gets put in the mounted-from name for "/", so that mount(8), etc., display an absolute path before "/" has been remounted. Many have never bothered typing the full path, and code that constructs a path in rootdevnames[] never bothered to construct a full path, so the example shouldn't have it. Submitted by: bde
* Fix decode tableache2001-11-231-5/+5
| | | | | PR: 32233 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Remove the hack that ensures that rt_Update() works on FreeBSD. Nowbrian2001-11-231-23/+5
| | | | | that the ncpaddr code doesn't create default routes with non-zero masks, everything works as it should.
* The Olympus C-1 digital camera uses a non-standard BBB command-statusiedowse2001-11-231-0/+17
| | | | | | | | | signature, but otherwise behaves just like a normal USB mass-storage device. Add a new quirk to cover this case, and enable it for C-1 cameras. The quirk enables translation from the C-1 signature to the normal CSWSIGNATURE value. Reviewed by: n_hibma
* When writing messages to the routing socket, round sockaddr sizesbrian2001-11-231-12/+19
| | | | | | | up in the same way that we expect them to be when we read them. This is a no-op on i386 and probably on alphas, as we currently only support AF_INET and AF_INET6.
* Be paranoid about non-zero netmasks being associated with INET addressesbrian2001-11-232-5/+20
| | | | | | | | | | | | | of 0.0.0.0. The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes (with an address family of zero). ppp was getting confused by this and ending up interpreting it as a 0.0.0.0/32 routing table destination and subsequently failing to do anything with the route. Specifically, after this fix, ppp under OpenBSD can successfully change and delete the default route again !
* Regen.iedowse2001-11-232-2/+9
|
* Add Olympus C-1.iedowse2001-11-231-0/+1
|
* Remove an unused variable (oops)brian2001-11-231-1/+1
|
* The RETURN VALUES section is not appropriate for section 1 manualdd2001-11-231-3/+2
| | | | | pages; rename it to DIAGNOSTICS. Also use the .Ex macro while I'm here.
* Fix grammar in AUTHORS section.dd2001-11-231-2/+2
|
* Add suspend/resume code mostly merged from fxp driver.iwasaki2001-11-232-0/+79
|
* Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.nyan2001-11-231-3/+3
| | | | The previous commit is not completely.
* Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr orbrian2001-11-233-10/+18
| | | | | | | | | | | | | ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms.
* Fixed a buffer overrun. In my kernel configuration, tcp_syncache happensbde2001-11-231-1/+1
| | | | | | to be followed by nfsnodehashtbl, so bzeroing callouts beyond the end of tcp_syncache soon caused a null pointer panic when nfsnodehashtbl was accessed.
* Regen.sheldonh2001-11-231-1446/+1815
| | | | | | | | | | | | This file is now generated using src/tools/tools/pciid/mk_pci_vendors.pl, which merges the Boemler and Heckenbach lists used for rev 1.2. For now, mk_pci_vendors.pl is called with the -l option, which uses the entry with the longer description where the same device or vendor is found in both lists. If it turns out that this causes to much "back-and-forth" in future deltas, we can drop the use of the -l option.
* Remove a bogus log_Id() declbrian2001-11-231-1/+0
|
* Add us-ascii_to_cp437 screenmapache2001-11-234-5/+46
|
* Fix usage for the log commandbrian2001-11-231-1/+1
|
* Whitespace tweakbrian2001-11-231-1/+1
|
* Add fonts,screenmaps,console typesache2001-11-232-24/+50
|
* Add support for the `restrict' type qualifier, new in C99.mike2001-11-231-0/+14
| | | | Reviewed by: wollman
* Validate requested sleep state in acpi_SetSleepState() to avoid reentryiwasaki2001-11-231-0/+3
| | | | during wakeup procedure.
* Add table for iso-8859-4 vga9 fontsache2001-11-232-1/+69
|
* 1) Map all unused characters into 'space'.ache2001-11-236-107/+43
| | | | 2) iso-8859-4_to_cp437 not do what its name tells at all, remove it
* Standard conformance cleanupache2001-11-233-36/+36
|
* Expand the comment on the layout of softc, arpcom and ifnet structures,luigi2001-11-221-0/+15
| | | | and list the places where the assumption is used.
* Standards conformance cleanupache2001-11-2234-603/+609
|
* Fix typo introduced with last commit.orion2001-11-221-5/+3
|
* Sync with mainache2001-11-221-1/+2
|
* Back out part of prev. commit for CP437 case, there are lower controlsache2001-11-221-1/+2
| | | | graphics defined in codepage
* Copy from main termcapache2001-11-221-5/+5
|
* Don't use lower controls for console ACS. It makes screen or cut copy charsetache2001-11-221-5/+5
| | | | adequate.
* Merge with main variantache2001-11-221-2/+24
|
* Add Greek console family (PR)ache2001-11-221-2/+24
| | | | | | | Add more ACS chars to l1/l2 PR: 32193 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Fix Latin1/Latin2 ac= to not use non-standard 8bit charactersache2001-11-221-2/+2
|
* Add disabling code via the debug.acpi.disable environment variable.iwasaki2001-11-221-0/+1
|
* Add #include <net/route.h> in order to get this to compile.jlemon2001-11-221-0/+2
| | | | | Spotted by: David Wolfskill Forgotten by: me
* mdoc(7) police: minor spelling, markup and style fixes.ru2001-11-221-18/+21
|
* When mkdir()-ing, the parent dir gets is linkcount increased.guido2001-11-221-1/+1
| | | | | | | Fix VN_KNOTE to reflect that. Found by: tobez@freebsd.org MFC after: 2 days
OpenPOWER on IntegriCloud