summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Updated generated files.Bruce Evans1998-06-096-34/+3
| | | | Notes: svn path=/head/; revision=36783
* Don't generate COMPAT_43 cruft if there are no COMPAT_43 syscalls.Bruce Evans1998-06-091-12/+18
| | | | | | | | | | | In particular, don't generate an include of "opt_compat.h" if it wouldn't affect anything we create. This will fix recent breakage of the ibcs2 LKM. The ibcs2 syscall files were not regenerated properly, so the LKM didn't break immediately when we started generating this extraneous include. Notes: svn path=/head/; revision=36782
* Include "opt_compat.h" explicitly instead of depending onBruce Evans1998-06-092-4/+4
| | | | | | | | | | makesyscalls.sh generating it as pollution. Don't attempt to separate the includes by newlines. makesyscalls.sh just ignores newlines. Notes: svn path=/head/; revision=36781
* Fixed `make depend', which I broke here about a month ago by movingBruce Evans1998-06-091-2/+3
| | | | | | | | | the null default for `depend' from bsd.dep.mk to bsd.obj.mk. bsd.kmod.mk included these files in a bad order, so it picked up the null default. Notes: svn path=/head/; revision=36780
* The version of the softdep changes in FreeBSD broke theJulian Elischer1998-06-081-4/+7
| | | | | | | | | | | (doingdirectory && !newparent) case of ufs_rename(). rename("D1/X/", "D2/Y/") gives a wrong link count for D2. Submitted by: Bruce Evans <bde@zeta.org.au> Reviewed by: Kirk McKusick <mckusick@McKusick.COM> Notes: svn path=/head/; revision=36779
* Don't let ifunit() modify the string passed as an argument.Julian Elischer1998-06-081-16/+26
| | | | | | | it may be in the text segment and write protected. Notes: svn path=/head/; revision=36775
* Remove some junk left over from a previous commit.John Dyson1998-06-082-12/+2
| | | | | | | Submitted by: phk Notes: svn path=/head/; revision=36773
* Updated generated files.Bruce Evans1998-06-088-807/+807
| | | | Notes: svn path=/head/; revision=36771
* Fixed some style bugs in output (missing tabs and unparenthesized macros).Bruce Evans1998-06-081-31/+30
| | | | | | | Fixed some style bugs in source (mostly, superfluous backslashes). Notes: svn path=/head/; revision=36770
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-06-0820-184/+184
| | | | | | | | | | 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)). Notes: svn path=/head/; revision=36767
* Fix more of my DDB breakage.Doug Rabson1998-06-082-6/+6
| | | | Notes: svn path=/head/; revision=36766
* Fix a typo which prevented i386 elf from working at all (including LinuxDoug Rabson1998-06-081-2/+2
| | | | | | | emulated elf binaries). Notes: svn path=/head/; revision=36765
* Correct even more ioctl breakage :(Søren Schmidt1998-06-089-9/+9
| | | | | | | | Doesn't people check their code before committing anymore, it could at least compile ???? Notes: svn path=/head/; revision=36764
* Sync with sys/i386/isa/clock.c revision 1.123.KATO Takenori1998-06-083-3/+9
| | | | Notes: svn path=/head/; revision=36763
* Merge 64bit portability fixes from sys/i386 stuff.KATO Takenori1998-06-0814-37/+37
| | | | Notes: svn path=/head/; revision=36762
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-06-081-39/+39
| | | | | | | | or unsigned int (don't do this in one case where it would change the object file)). Notes: svn path=/head/; revision=36761
* Make DDB work again after I broke it :-(.Doug Rabson1998-06-083-6/+6
| | | | Notes: svn path=/head/; revision=36760
* Fix spelling in printf().Joseph Koshy1998-06-082-4/+4
| | | | Notes: svn path=/head/; revision=36757
* Updated yet another ioctl, and put wst in LINT to inhibit further bitrot.Bruce Evans1998-06-085-7/+16
| | | | Notes: svn path=/head/; revision=36754
* ip_fil.h has 9 separate declarations of iplioctl() in a disgustingBruce Evans1998-06-082-5/+8
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=36752
* Disable attempted write combining support. This probablyJohn Dyson1998-06-081-1/+3
| | | | | | | causes more trouble than help (for now.) Notes: svn path=/head/; revision=36749
* Fixed an ioctl which grew overnight.Bruce Evans1998-06-081-2/+2
| | | | Notes: svn path=/head/; revision=36748
* Backed out previous commit, which just consisted of a 1-byte editingBruce Evans1998-06-081-2/+2
| | | | | | | error. Notes: svn path=/head/; revision=36747
* Fixed missing ifdefs and disordering in previous commit.Bruce Evans1998-06-081-2/+6
| | | | Notes: svn path=/head/; revision=36746
* Fixed ifdef bogotification in previous commit.Bruce Evans1998-06-081-7/+2
| | | | Notes: svn path=/head/; revision=36745
* Add a member function more to the timecounters, this one is for usePoul-Henning Kamp1998-06-0710-20/+89
| | | | | | | | with latch based PPS implementations. The client that uses it will be committed after more testing. Notes: svn path=/head/; revision=36741
* Fix another DEVFS/SLICE ioctl.Doug Rabson1998-06-071-2/+2
| | | | Notes: svn path=/head/; revision=36740
* This is a prototype implementation of the draft-mogul-pps-api-##.txtPoul-Henning Kamp1998-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. Notes: svn path=/head/; revision=36739
* Fix some more ioctls which I missed becausese they were hidden by optionsDoug Rabson1998-06-077-16/+16
| | | | | | | which were not in LINT. Notes: svn path=/head/; revision=36738
* Fix the retyping of the ioctl cmd parm from int to u_long.Søren Schmidt1998-06-071-2/+2
| | | | Notes: svn path=/head/; revision=36737
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-07247-1498/+1871
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=36735
* Sigh, all good words are reserved words these days...Poul-Henning Kamp1998-06-072-4/+4
| | | | | | | | | s/private/priv/ Noticed by: sos Notes: svn path=/head/; revision=36728
* Added a used include (in ifdefed code).Bruce Evans1998-06-071-1/+3
| | | | Notes: svn path=/head/; revision=36726
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-06-071-5/+5
| | | | | | | or unsigned int). Notes: svn path=/head/; revision=36725
* Fixed pedantic syntax errors caused by a trailing semicolon in a macroBruce Evans1998-06-071-2/+2
| | | | | | | definition. Notes: svn path=/head/; revision=36724
* Null change. Forgot to mention in previous log message that MNT_NOATIMEBruce Evans1998-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. Notes: svn path=/head/; revision=36723
* Fixed some longstanding timestamp bugs:Bruce Evans1998-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. Notes: svn path=/head/; revision=36721
* Sync with sys/i386/isa/clock.c revision 1.122.KATO Takenori1998-06-073-15/+15
| | | | Notes: svn path=/head/; revision=36720
* Add a "this" style argument and a "void *private" so timecounters canPoul-Henning Kamp1998-06-0711-51/+49
| | | | | | | figure out which instance to wount with. Notes: svn path=/head/; revision=36719
* Don't call PunchFWHole() ifdef NO_FW_PUNCHBrian Somers1998-06-063-0/+6
| | | | | | | Pointed out by: "Steve Sims" <SimsS@IBM.Net> Notes: svn path=/head/; revision=36711
* Make sure the default value of a dummy variable is 0Julian Elischer1998-06-062-4/+4
| | | | | | | so that it doesn't do anything. Notes: svn path=/head/; revision=36710
* Fix wrong data type for a pointer.Julian Elischer1998-06-065-16/+17
| | | | Notes: svn path=/head/; revision=36708
* clean up the changes made to ipfw over the last weeksJulian Elischer1998-06-066-101/+52
| | | | | | | (should make the ipfw lkm work again) Notes: svn path=/head/; revision=36707
* keymap -> key_map so that the kernel will compile withSteve Price1998-06-063-6/+6
| | | | | | | | | | -DESKEYMAP. PR: 6864 Submitted by: Javier Rueda <jmrueda@diatel.upm.es> Notes: svn path=/head/; revision=36704
* Spelling corrections.Joseph Koshy1998-06-061-11/+11
| | | | | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36692
* Make LINE30 a new style option.KATO Takenori1998-06-062-2/+4
| | | | Notes: svn path=/head/; revision=36691
* Make BS_TARG_SAFEMODE a new style option.KATO Takenori1998-06-062-2/+4
| | | | Notes: svn path=/head/; revision=36690
* Don't attempt to copy the whole slices "struct" for DIOCGSLICEINFO.Bruce Evans1998-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. Notes: svn path=/head/; revision=36685
* Removed dead code.Bruce Evans1998-06-061-35/+1
| | | | Notes: svn path=/head/; revision=36684
* Reviewed by: Kirk Mckusick (mckusick@mckusick.com)Julian Elischer1998-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) Notes: svn path=/head/; revision=36681