bde
d1358702bf
Made some disgusting ifdefs even more disgusting to enable the support
...
for `u_long cmd' ioctl args if __FreeBSD_version >= 300003. Some ioctls
were broken on machines with 32-bit ints and 64-bit longs.
1998-08-15 21:51:53 +00:00
julian
4c11bd9897
Handle the case of moving a directory onto the top of a sibling's
...
child of the same name.
Submitted by: Kirk Mckusick with fixes from luoqi Chen
Obtained from: Whistle test tree.
1998-08-12 20:46:47 +00:00
peter
595e4ae373
Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline.
1998-06-20 18:37:51 +00:00
peter
58a6b13b40
Import ipfilter 3.2.7 kernel components
1998-06-20 18:18:05 +00:00
peter
dc2ce9cb96
This commit was generated by cvs2svn to compensate for changes in r37071,
...
which included commits to RCS files with non-trunk default branches.
1998-06-20 18:18:05 +00:00
julian
e30abc2a08
Note which version of Kirk's sources this corresponds to.
1998-06-12 21:21:26 +00:00
julian
6b27bc7737
Fix the case when renaming to a file that you've just created and deleted,
...
that had an inode that has not yet been written to disk, when the inode of the
new file is also not yet written to disk, and your old directory entry is not
yet on disk but you need to remove it and the new name exists in memory
but has been deleted but the transaction to write the deleted name to disk
exists and has not yet been cancelled by the request to delete the non
existant name. I don't know how kirk could have missed such a glaring
problem for so long. :-) Especially since the inconsitency survived on
the disk for a whole 4 second on average before being fixed by other code.
This was not a crashing bug but just led to filesystem inconsitencies
if you crashed.
Submitted by: Kirk McKusick (mckusick@mckusick.com )
1998-06-12 20:48:30 +00:00
julian
19e664debc
Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.
...
Change worked out by john and kirk in consort.
1998-06-11 17:44:32 +00:00
julian
21ee11979f
Fix for "live inode" panic.
...
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Reviewed by: yeah right...
1998-06-10 20:45:46 +00:00
julian
ab4debc1cf
Remove buggy debugging code.
1998-06-10 20:03:16 +00:00
bde
566ee5c323
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
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)).
1998-06-08 09:47:47 +00:00
bde
0801d7c827
ip_fil.h has 9 separate declarations of iplioctl() in a disgusting
...
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.
1998-06-08 06:04:12 +00:00
dfr
1d5f38ac22
This commit fixes various 64bit portability problems required for
...
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.
1998-06-07 17:13:14 +00:00
julian
3fd4b55938
Add a reference to the Ganger/Patt paper
1998-06-02 01:27:27 +00:00
julian
0086b00b30
A fix to a debug test from Kirk.
1998-05-27 03:32:23 +00:00
julian
44ee923017
Bring up-to-date with Whistle's current version
...
Includes some debugging code.
1998-05-19 23:07:25 +00:00
julian
988e3e4a34
Merge with Kirk's version as of Feb 20
...
His version 9.23 == our version 1.5 of ffs_softdep.c
His version 9.5 == our version 1.4 of softdep.c
1998-05-19 22:54:53 +00:00
julian
0cc808ba0d
Merge in Kirk's changes to stop softupdates from hogging all of memory.
1998-05-19 21:45:53 +00:00
julian
99669d2e37
Change to stop a silly panic. This should be understood better.
...
Change a buffer swizzle trick to a bcopy. It would be nice if the efficient
trick could be used in the future.
1998-05-19 20:50:41 +00:00
julian
ad8fcbb0ce
First published FreeBSD version of soft updates Feb 5.
1998-05-19 20:18:42 +00:00
julian
9ae1fc57cc
This commit was generated by cvs2svn to compensate for changes in r36206,
...
which included commits to RCS files with non-trunk default branches.
1998-05-19 20:03:29 +00:00
julian
cf933b4671
Import the next version received from kirk after some
...
FreeBSD feedback.
1998-05-19 20:03:29 +00:00
julian
26ab4eddcb
This commit was generated by cvs2svn to compensate for changes in r36201,
...
which included commits to RCS files with non-trunk default branches.
1998-05-19 19:47:22 +00:00
julian
49095e88f1
Import the earliest version of the soft update code that I have.
1998-05-19 19:47:22 +00:00
phk
4b6dfe92bd
Use read_random()
1998-04-06 11:40:42 +00:00
peter
817278db3e
allow open on all minors
1998-03-27 18:03:13 +00:00
peter
e34da97453
Make it compile.. missing "opt_ipfilter.h" and missing <sys/malloc.h>
1998-03-21 14:42:45 +00:00
peter
6858636bc2
Some patchups for when this code is compiled in userland (!).
1998-03-21 13:37:44 +00:00
peter
f3fab3424a
Make this compile.. There are some unpleasing hacks in here.
...
A major unifdef session is sorely tempting but would destroy any remaining
chance of tracking the original sources.
1998-03-21 11:34:28 +00:00
peter
d0b95c10ff
Import kernel parts of ipfilter v3.2.3
1998-03-21 10:11:54 +00:00
peter
4b965aa581
Import kernel parts of ipfilter-3.2.1
1997-11-16 05:55:52 +00:00
darrenr
31b14cdfce
Import version 3.2alpha7
1997-05-25 15:50:46 +00:00
darrenr
021f0bfee7
Really import sys/netinet changes for IP Filter 3.2alpha4 this time.
1997-04-03 10:39:35 +00:00
peter
4c6cc15963
Import ipfilter 3.1.8 kernel components
1997-03-02 15:50:35 +00:00
peter
89e688499d
Replacement import of ipfilter 3.1.7 components used in kernel.
...
(This is to repair the vendor branching)
1997-03-02 15:49:41 +00:00