summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Constify, de-register-ify, __unused-ify, and set WARNS=2.dd2001-07-152-10/+12
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Constify and set WARNS=2.dd2001-07-152-1/+3
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Fix a prototype and set WARNS=2.dd2001-07-152-2/+9
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Change lpd to perform sanity and safety checks on control files as itgad2001-07-154-6/+931
| | | | | | | | | | | | receives them from other hosts. This is meant to protect from both nefarious users (which maybe broke into some remote host that we accept print jobs from), and broken implementations of lpr on other platforms. This is done by changing recvjob.c to call the new ctl_renametf() routine in the new common_source/ctlinfo.[ch] files. This will not affect jobs coming via lpr on the local machine. Reviewed by: freebsd-print@bostonradio.org & freebsd-audit MFC after: 16 days
* Put module directories one per line so adding new modules creates readablebrooks2001-07-152-14/+137
| | | | diffs and produces less conflicts with local source trees.
* The i386-specific includes in this file were "fixed" by bracketing them withbenno2001-07-151-3/+3
| | | | | | | #ifndef __alpha__. Fix this for the rest of the world by turning it into #ifdef __i386__. Reviewed by: obrien
* Replace a call to 'alloca', thus avoiding an error when compiling ongad2001-07-151-8/+14
| | | | | | | freebsd/alpha with -ansi (and on some non-fbsd platforms). This change can only affect the access checking of 'lpr -r'. MFC after: 1 week
* Get rid of one compile-time warning by changing an 'int' to a 'size_t'.gad2001-07-151-6/+10
| | | | MFC after: 1 week
* Get lpr/pac.c to compile without warnings with BDECFLAGSgad2001-07-151-15/+15
| | | | MFC after: 1 week
* Replace three subtly-wrong calls to strncpy with calls to strlcpy, andgad2001-07-152-15/+13
| | | | | | use (size_t) in a few places to avoid compile-time warnings on alpha. MFC after: 1 week
* Fix most of the warnings generated by compiling lpr with -Wnon-const-format,gad2001-07-157-21/+27
| | | | | | | | | often by just telling gcc that some internal routine is "__printflike" (work done by Kris Kennaway <kris@FreeBSD.org>). Also fix the new warnings which show up once gcc starts checking the "printf-like parameters" passed to those routines. MFC after: 1 week
* Turn off preemption on the Alpha for the time being. Peter and JHB aren'tobrien2001-07-151-1/+1
| | | | | | | | | | | | sure when things got so bad (JHB says preemption worked just fine for months before the AlbertVM commit). Even post DillionVM locking commit, Miatas (DEC Personal Workstations) are very fragile -- not making it thru a world build. With this patch it does. Those hacking on SMPng will want to locally back out this commit. The rest of us will want to run with it until the SMPng guys figure out the problem(s). Submitted by: peter
* Fix assorted typos.dannyboy2001-07-141-5/+5
|
* add -a to usage()billf2001-07-141-1/+1
| | | | | Submitted by: Ashley Penney <ashp@unloved.org> MFC after: 3 days
* Change signal-handling to reset SIGCHLD to SIGDFLT instead of SIG_IGN.gad2001-07-142-6/+40
| | | | | | | | | | This fixes a problem with using print filters (if=, of=, etc) that showed up in -current around June 20th. That problem initially reported by Georg-W Koltermann <gwk@sgi.com>, while most of the investigation that led to this fix was done by Anton Berezin <tobez@FreeBSD.org>. Reviewed by: freebsd-print@bostonradio.org MFC after: 1 week
* Fix MCOUNT_ENTER() so it actually compiles in the profiling case.jhb2001-07-142-2/+2
| | | | | Pointy hat to: me Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
* Fix reboot hangs that have happened with multiple processorsmjacob2001-07-144-3/+26
| | | | | | | | | | | | | on Alpha 4100s. Basically, if you're halting or you're rebooting, you should tell all other processors to halt first. Define IPI_HALT- IPI_STOP is not what we want for this purpose, which will call prom_halt(0) on receipt. The processor running the halt or reboot wil send an IPI_HALT to all other processors, delay a bit, then continue to do what what it was planning on doing (prom_halt({0|1})).
* Mention the new behaviour of fdisk(8) (i386 only) to select the defaultjoerg2001-07-142-0/+10
| | | | device.
* Mention new support for Cisco Aironet 350 series adaptors.brooks2001-07-142-0/+6
|
* Hrmpf. nyan's rev 1.25 commit to fdc.h crossed with my removal of it.joerg2001-07-142-0/+34
| | | | Back-integrate his (PC98) changes into fd.c.
* Yet another large non-function change.joerg2001-07-143-434/+542
| | | | | | | | | | | | | | | | | | | | . Integrate fdc.h into fd.c, with the removal of ft(4) there's no longer a reason to scatter things across two files. . Sanitize comments. Convert them into the style(9)-recommended multi-line form, make them sentences where apprpriate, etc. . Declare all functions on top, and declare them in the order they appear in the file. This order is totally chaotic, but Bruce convinced me that reordering the file wouldn't make it better either. . Kill a `possibly uninitialized' warning (only seen with -O2) in fd_read_status(). . Make the comments at return (0|1) statements in fdstate() consistent. . Nuke a ``keep the compiler happy'' dummy return at the end of fdstate(), gcc is smart enough to detect that it would never be reached anyway.
* Removed whitespace at end-of-line; no content changes. I simply didschweikh2001-07-14264-1570/+1570
| | | | | | | | | | cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//' BTW, what editors are the culprits? I'm using vim and it shows me whitespace at EOL in troff files with a thick blue block... Reviewed by: Silence from cvs diff -b MFC after: 7 days
* 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
|
OpenPOWER on IntegriCloud