summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-0821-187/+187
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* Fix more of my DDB breakage.dfr1998-06-082-6/+6
|
* Fix a typo which prevented i386 elf from working at all (including Linuxdfr1998-06-081-2/+2
| | | | emulated elf binaries).
* Correct even more ioctl breakage :(sos1998-06-089-9/+9
| | | | | Doesn't people check their code before committing anymore, it could at least compile ????
* Sync with sys/i386/isa/clock.c revision 1.123.kato1998-06-083-3/+9
|
* Merge 64bit portability fixes from sys/i386 stuff.kato1998-06-0814-37/+37
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-39/+39
| | | | | or unsigned int (don't do this in one case where it would change the object file)).
* Make DDB work again after I broke it :-(.dfr1998-06-083-6/+6
|
* Fix spelling in printf().jkoshy1998-06-082-4/+4
|
* Updated yet another ioctl, and put wst in LINT to inhibit further bitrot.bde1998-06-085-7/+16
|
* ip_fil.h has 9 separate declarations of iplioctl() in a disgustingbde1998-06-084-10/+16
| | | | | | | | ifdef tangle. The previous commit to ip_fil.h didn't change the one that actually applies to the current FreeBSD kernel, of course. Fixed. Fixed style bugs in previous commit to ip_fil.h.
* Disable attempted write combining support. This probablydyson1998-06-081-1/+3
| | | | causes more trouble than help (for now.)
* Fixed an ioctl which grew overnight.bde1998-06-081-2/+2
|
* Backed out previous commit, which just consisted of a 1-byte editingbde1998-06-081-2/+2
| | | | error.
* Fixed missing ifdefs and disordering in previous commit.bde1998-06-081-2/+6
|
* Fixed ifdef bogotification in previous commit.bde1998-06-081-7/+2
|
* Add a member function more to the timecounters, this one is for usephk1998-06-0710-20/+89
| | | | | with latch based PPS implementations. The client that uses it will be committed after more testing.
* Fix another DEVFS/SLICE ioctl.dfr1998-06-071-2/+2
|
* This is a prototype implementation of the draft-mogul-pps-api-##.txtphk1998-06-073-50/+129
| | | | | | | | | paper. It will be updated along with the draft and possible subsequent standard. The ppbus based pps driver is updated to implement this API.
* Fix some more ioctls which I missed becausese they were hidden by optionsdfr1998-06-077-16/+16
| | | | which were not in LINT.
* Fix the retyping of the ioctl cmd parm from int to u_long.sos1998-06-071-2/+2
|
* This commit fixes various 64bit portability problems required fordfr1998-06-07248-1500/+1873
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Sigh, all good words are reserved words these days...phk1998-06-072-4/+4
| | | | | | s/private/priv/ Noticed by: sos
* Added a used include (in ifdefed code).bde1998-06-071-1/+3
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-071-5/+5
| | | | or unsigned int).
* Fixed pedantic syntax errors caused by a trailing semicolon in a macrobde1998-06-071-2/+2
| | | | definition.
* Null change. Forgot to mention in previous log message that MNT_NOATIMEbde1998-06-071-1/+1
| | | | | | | | | | is now ignored for special files, so that mounting root with option noatime doesn't break reporting of idle times in programs like `w'. The problem of execessive disk updates just to stamp atimes will be handled for special files by only writing atimes to disk when inodes become active. This works well because special files are relatively uncommon and their atimes are even more disposable at panic time than regular files' atimes.
* Fixed some longstanding timestamp bugs:bde1998-06-071-59/+72
| | | | | | | | | | | | | | | | 1. mark atimes and mtimes of special files and fifos for update upon successful completion of non-null i/o, not at the beginning of the syscall. 2. never update file times for readonly filesystems. They were updated for stats and closes but not for syncs. The updates were of course only in-core and were thrown away when the inode was uncached, so the times sometimes appeared to go backwards. Improved comments in code related to (1) (mostly by removing them). Unmacroized ITIMES(). The test in (2) bloated it even more. Don't call getmicrotime() in the function version of it when we only need the time in seconds.
* Sync with sys/i386/isa/clock.c revision 1.122.kato1998-06-073-15/+15
|
* Add a "this" style argument and a "void *private" so timecounters canphk1998-06-0711-51/+49
| | | | figure out which instance to wount with.
* Don't call PunchFWHole() ifdef NO_FW_PUNCHbrian1998-06-063-0/+6
| | | | Pointed out by: "Steve Sims" <SimsS@IBM.Net>
* Make sure the default value of a dummy variable is 0julian1998-06-062-4/+4
| | | | so that it doesn't do anything.
* Fix wrong data type for a pointer.julian1998-06-065-16/+17
|
* clean up the changes made to ipfw over the last weeksjulian1998-06-066-101/+52
| | | | (should make the ipfw lkm work again)
* keymap -> key_map so that the kernel will compile withsteve1998-06-063-6/+6
| | | | | | | -DESKEYMAP. PR: 6864 Submitted by: Javier Rueda <jmrueda@diatel.upm.es>
* Spelling corrections.jkoshy1998-06-061-11/+11
| | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net>
* Make LINE30 a new style option.kato1998-06-062-2/+4
|
* Make BS_TARG_SAFEMODE a new style option.kato1998-06-062-2/+4
|
* Don't attempt to copy the whole slices "struct" for DIOCGSLICEINFO.bde1998-06-061-2/+3
| | | | | | | | | The slices "struct" isn't really a struct; we allocate only part of it in the fully dangerously dedicated case. Since the "struct" is malloced, the page beyond it may not be mapped, so attempts to copy it would crash. This problem became larger when the full struct was bloated from < 1K to > 3K by the addition of (mostly unused) DEVFS tokens some time before 2.2.0 was released.
* Removed dead code.bde1998-06-061-35/+1
|
* Reviewed by: Kirk Mckusick (mckusick@mckusick.com)julian1998-06-051-1/+6
| | | | | | Submitted by: luoqi Chen fix a type in fsck. (also add a comment that got picked up by mistake but is worth adding)
* Reverse the default sense of the IPFW/DIVERT reinjection codejulian1998-06-059-47/+50
| | | | | | | | | so that the new behaviour is now default. Solves the "infinite loop in diversion" problem when more than one diversion is active. Man page changes follow. The new code is in -stable as the NON default option.
* Changed the log() of "Out of mbuf clusters - increase maxusers" to adg1998-06-051-2/+2
| | | | | | printf() of "Out of mbuf clusters - adjust NMBCLUSTERS or increase maxusers" so that the message is more informative and so that it will appear in the kernel message buffer.
* Moved limit frobbing (and the resulting limcopy()) that occurs fordg1998-06-052-9/+13
| | | | | | accounting to the accounting function so that this isn't needlessly done for some process exits. Reviewed by: bde,phk
* If we are out of mb_map space and we failed to m_reclaim() anything anddg1998-06-051-7/+15
| | | | | | | the alloc is not M_DONTWAIT, then panic with "Out of mbuf clusters". Callers that specify M_WAIT can't deal with getting a NULL buffer, so this is a more graceful failure than randomly page faulting in the socket code or elsewhere.
* Reviewed by: hasty@star-gate.comahasty1998-06-052-0/+4
| | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> I left out a line of code from Roger's last patch :(
* Sync with sys/i386/isa/sio.c revision up to 1.205.kato1998-06-052-20/+20
|
* Sync with sys/i386/conf/GENERIC revision 1.110.kato1998-06-052-2/+16
|
* spurious ntohs calls were stopping some packets from being recognisedjulian1998-06-051-6/+6
| | | | | for what they are.. Taken from the netatalk mailing list. from a NetBSD user.
* Use size_t instead of u_int for sizes.dfr1998-06-041-3/+3
|
OpenPOWER on IntegriCloud