summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a memory leak in __rpcb_findaddr(), avoid compiler warnings.iedowse2001-07-141-1/+4
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* This is a selection of essentially cosmetic changes:iedowse2001-07-142-38/+42
| | | | | | | | | | | | | | - Use '\0' for a char instead of NULL. - Explicitly compare against the global `nullstring' to determine if a non-NULL uaddr is not malloc'd. - Remove some unnecessary casting of the argument to free(). - In rpcbproc_callit_com(), move the freeing of m_uaddr to the cleanup code at the end of the function. - To avoid confusion and possible alignment problems, change netbufdup() to allocate the netbuf struct and the sockaddr buffer separately, and change netbuffree() accordingly. This makes it produce netbufs that are consistent with all other netbufs in rpcbind.
* Fix a memory leak in check_bound() by freeing the buffer area ofiedowse2001-07-141-0/+2
| | | | the netbuf before freeing the netbuf structure itself.
* Add missing #include <stdio.h>.iedowse2001-07-141-1/+2
| | | | | Fix an off-by-one error in logit() when determining if a procedure number has a known name.
* Simplify to bitmaskcmp() to use the obvious approach instead ofiedowse2001-07-141-22/+19
| | | | | | | | | | | | comparing bit by bit. Make the logic in in6_fillscopeid() match that in our ifconfig(8): only set the scope ID if there is one in the address and none in sin6_scope_id. Correct a comment in network_init() that didn't make sense; it was probably never updated after it was pasted from similar code in addrmerge().
* Use snprintf instead of sprintf.iedowse2001-07-141-4/+5
|
* Avoid a harmless compiler warning, and add a missing \n to aiedowse2001-07-141-1/+3
| | | | | | debugging fprintf. Submitted by: Martin Blapp <mb@imp.ch>
* Add OPIE examples.markm2001-07-141-3/+10
| | | | | | Tidy up columns. Fix pam_wheel options.
* Use a better method of getting user credentials to account formarkm2001-07-142-8/+8
| | | | | | (legal) UID duplication. Rename use_uid to auth_as_self for consistency with other modules.
* Use a better method to get user credentials to account for (legal)markm2001-07-142-2/+3
| | | | duplications of UID's in /etc/*passwd.
* Switch on SHA1 hashing.markm2001-07-141-1/+2
|
* Fix SHA1 hashing.markm2001-07-142-21/+17
|
* Usse a better method to get a user's credentials, as uid's may bemarkm2001-07-141-1/+3
| | | | | | legally duplicated. Requested by: ache
* Move the hints gunk to a seperate file. It isn't really part of thepeter2001-07-142-299/+1
| | | | newbus structure (no more than subr_rman.c is anyway).
* Fixed conflict with sys/dev/syscons/syscons.h.nyan2001-07-142-10/+0
| | | | Submitted by: yokota
* Move fxp to the miibus section where it belongs.dd2001-07-142-2/+2
|
* remember to set the return address in a message whenjulian2001-07-141-0/+1
| | | | | | | | | sending it along a hook. PR: 27906 Submitted by: Harti Brandt <brandt@fokus.gmd.de> no MFC as code is different in 4.x
* Put on my peril-sensitive sunglasses and remove the POLA-violatingpeter2001-07-141-0/+7
| | | | | | | stealth hints loading. 'make release' has been fixed to not need this now anyway. If you want static hints, specify it explicitly. Hey! Why did it suddenly get so dark??
* - Refine pc98 supports.nyan2001-07-145-90/+195
| | | | | - Use bus_space stuff. - Rename FDO_* -> FDC_* (obtained from NetBSD/pc98)
* Added epson_inw function.nyan2001-07-141-0/+11
|
* Merged from the following changes.nyan2001-07-147-58/+74
| | | | | | | | sys/dev/syscons/scvgarndr.c revision 1.11 sys/dev/syscons/scvtb.c revision 1.8 sys/dev/syscons/syscons.c revisions 1.361, 1.363, 1.364, 1.365 and 1.366 sys/isa/atkbd_isa.c revision 1.9 sys/isa/syscons_isa.c revision 1.17
* Merged from sys/i386/conf/GENERIC revision 1.313.nyan2001-07-141-1/+1
|
* Added (commented out) audio driver.nyan2001-07-141-0/+4
|
* Merged from sys/conf/options.i386 revision 1.150.nyan2001-07-141-0/+1
|
* Catch up with NetBSD/pc98.non2001-07-1426-3151/+7499
| | | | | | | | | | | | | | | | | | | | | | | o Much cleanly separate NetBSD(XS) / FreeBSD(CAM) codes. o Improve tagged queing support (full QTAG). o Improve quirk support. o Improve parity error retry. o Impliment wide negotheation. o Cmd link support. o Add copyright of CAM part. o Change for CAM_NEW_TRAN_CODE. o Work around for buggy KME UJDCD450. o stg: add disconnet condition. o nsp: use suspend I/O. and more. I thank Honda-san. conf/options.pc98: add CT_USE_RELOCATE_OFFSET and CT_BUS_WEIGHT dev/{ct,ncv,nsp,stg}/*_{pccard,isa}.c: add splcam() before calling attach/detach functions. Tested by: bsd-nomads Obtained from: NetBSD/pc98
* Go back to having either static OR dynamic hints, with fallbackpeter2001-07-142-32/+82
| | | | | | | | support. Trying to fix the merged set where dynamic overrode static was getting more and more complicated by the day. This should fix the duplicate atkbd, psm, fd* etc in GENERIC. (which paniced the alpha, but not the i386)
* Merge with latest version of the Mylex 6+ driver.msmith2001-07-148-1423/+1320
| | | | | | | | | | | | | | - All sources are built in a single object, reducing namespace pollution. - Kill the ready queue, and handle a busy response to mly_start in callers rather than deferring the command. - Improve our interaction with CAM: - Don't advertise physical channels as SCSI busses by default. - use the SIM queue freeze capability rather than queueing CDBs internally. - force bus reprobe at module load time. - Clean up more resources in mly_free. - Tidy up debugging levels. - Tidy up handling of events (mostly just code cleanliness). - Use explanatory macros for operations on bus/target/channel numbers.
* Remove the old machine symlink first.peter2001-07-141-3/+2
|
* MAPS is becoming a subscription (fee based) service, warn usersgshapiro2001-07-131-5/+5
| | | | | | ORBS is gone MFC after: 1 day
* Return a locked struct buf from ufsdirhash_lookup() to avoid oneiedowse2001-07-133-9/+9
| | | | | | | | | | extra getblk/brelse sequence for each lookup. We already had this buf in ufsdirhash_lookup(), so there was no point in brelse'ing it only to have the caller immediately reaquire the same buffer. This should make the case of sequential lookups marginally faster; in my tests, sequential lookups with dirhash enabled are now only around 1% slower than without dirhash.
* Markup fixes: Move <screen></screen> and <programlisting></programlisting>bmah2001-07-136-153/+147
| | | | | | | outside <para></para>. Some other minor adjustments around <screen></screen> tags. Discussed on: -doc (in the context of doc/)
* Fixed double word typo.schweikh2001-07-135-5/+4
| | | | MFC after: 7 days
* I really should have just commented out this intire file vs. removing allobrien2001-07-131-0/+25
| | | | | the contents. One may still want the contents as reference for creating /boot/device.hints.
* Bump net.inet.tcp.sendspace to 32k and net.inet.tcp.recvspace to 65k.obrien2001-07-131-2/+2
| | | | | | | | | | | | | This should help us in nieve benchmark "tests". It seems a wide number of people think 32k buffers would not cause major issues, and is in fact in use by many other OS's at this time. The receive buffers can be bumped higher as buffers are hardly used and several research papers indicate that receive buffers rarely use much space at all. Submitted by: Leo Bicknell <bicknell@ufp.org> <20010713101107.B9559@ussenterprise.ufp.org> Agreed to in principle by: dillon (at the 32k level)
* Add a few more manpages from Chad.ru2001-07-135-76/+188
| | | | Fold major.9, minor.9, umajor.9, and uminor.9 into a single device_ids.9.
* Bug fix: When the client connects to a server and Kerberosnectar2001-07-131-0/+1
| | | | | | | | | | | | | | authentication is enabled, the client effectively ignores any error from krb5_rd_rep due to a missing branch. In theory this could result in an ssh client using Kerberos 5 authentication accepting a spoofed AP-REP. I doubt this is a real possiblity, however, because the AP-REP is passed from the server to the client via the SSH encrypted channel. Any tampering should cause the decryption or MAC to fail. Approved by: green MFC after: 1 week
* Hints processing is FUBAR'ed right now.obrien2001-07-131-25/+0
| | | | | | | By default, we will end up with a duplicate set of hints if people have a properly populated /boot/device.hints. So for now, remove the hints here until Peter revisits the new hints processing from mid-June that broke Alpha booting.
* After some (long-standing ;-) critics from Bruce, throw away the oldjoerg2001-07-134-78/+130
| | | | | | | | | | | | | | device search code i introduce nearly six years ago in rev 1.8. Bruce suggested to rather use the device name of the root filesystem instead which is certainly the most sensible default. Since there are many possible cases for a root filesystem name (device with and without slices, consider /dev/vinum/root even though it currently could not work as such), there's some heuristic using a RE in order to find out the canonical device name from the mounted name. This probably won't quite fit for a NFS root (can't test that right now), but then, there's hard to find a good default for those machines anyway. ;-) This unbreaks the functionality of rev 1.2 i once broke in 1.8. :)
* Tweak the Alpha partition warning wording and comment a little.obrien2001-07-132-10/+10
|
* Rudamentary attempt to reconize when `a' is not the first partition on theobrien2001-07-132-2/+46
| | | | | | | Alpha. (the Alpha will not boot except from the first partition) PR: 23064 Submitted by: Kees Jan Koster <kjkoster@kjkoster.org>
* Repeat after me: "when reporting `file not found', perform a little bit ofobrien2001-07-131-1/+1
| | | | useful HCI consideration and tell which file was being looked for".
* - correct two typosalex2001-07-131-4/+4
| | | | | | | - Use NULL instead of 0 for pointers (style(9)!) Submitted by: Joel Wilsson <siigron@sii.linuxsweden.nu> MFC after: 37 days
* Print the month number properlybrian2001-07-131-1/+1
| | | | MFC after: 1 week
* Whine if we discover an unknown option. This program doesn't usedd2001-07-131-0/+2
| | | | | | getopt(3) (and can't be converted without breaking compatibility), and it's very irritating to have it silently DTWT if one combines options together (e.g., "-msS domain,server").
* Recognize the %s format.dd2001-07-131-0/+16
| | | | | | Submitted by: Thomas Zenker <thz@lennartz-electronic.de> and Maxim Konovalov <maxim@macomnet.ru>, respectively Reviewed by: -audit
* `pcn' supports AMD Am79C97x cards, not Am79C79x cards.dd2001-07-138-8/+8
| | | | | PR: 28946 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Unbroke kernel if I686_CPU is not defined.sobomax2001-07-132-0/+4
|
* mdoc(7) police: -xwidth has been fold into -width.ru2001-07-1341-54/+54
|
* mdoc(7) police: columnate sysctl(8) MIBs list (using the newru2001-07-131-19/+15
| | | | | feature of -column lists width specifiers) plus minor markup fixes.
* This commit was generated by cvs2svn to compensate for changes in r79655,ru2001-07-132-126/+169
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud