christos
62d7b4df25
PR/5458: Andrew Brown: acct(2) bug accounting to files marked sappnd
2003-04-20 03:20:18 +00:00
thorpej
e0d8d366df
Merge the nathanw_sa branch.
2003-01-18 10:06:22 +00:00
lukem
adc783d537
add RCSIDs
2001-11-12 15:25:01 +00:00
thorpej
f10e7dc65b
Don't reset file size limit to infinity on exit. Instead, temporarily
...
raise the limit to infinity when writing out the accounting file.
From Artur Grabowski <art@stacken.kth.se>.
2000-05-08 19:06:36 +00:00
enami
01a5f6c995
Create new kernel thread to issue statfs(2) system call to check free
...
disk space rather than doing it in timeout handler. This fixes long
standing bug that accounting file can't be put on NFS file system (so,
e.g, we couldn't turn on accounting on diskless system).
2000-03-10 01:13:18 +00:00
perry
275d1554aa
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
...
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
1998-08-04 04:03:10 +00:00
perry
730baa7431
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
1998-07-31 22:50:48 +00:00
thorpej
80e25bcca0
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:11:39 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
mycroft
04daee4f9c
Add const where appropriate.
1997-10-19 02:00:19 +00:00
christos
8a5b1b92e2
First pass at prototyping
1996-02-04 02:15:01 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00
cgd
d218233b36
various cleanups for -Wall. some inspired by James Jegers.
1994-12-24 15:07:22 +00:00
mycroft
080e194e58
Remove extra arg to vn_open().
1994-12-14 19:03:13 +00:00
mycroft
a18ec3cb1b
LEASE_CHECK -> VOP_LEASE
1994-12-13 21:52:35 +00:00
mycroft
f9e259e3ca
Use __timer{add,sub}(), not timeval{add,sub}(). Remove the latter completely.
1994-12-11 18:06:07 +00:00
christos
1a320dc9be
added extra argument in vn_open and VOP_OPEN to allow cloning devices
1994-11-14 06:01:16 +00:00
cgd
6b86130410
update for new syscall args description mechanism
1994-10-20 04:22:35 +00:00
mycroft
7f9b78dbbe
Revert most of the previous change.
1994-07-04 20:43:06 +00:00
cgd
34a7f2bbed
minor style nits, change VBAD handling
1994-07-04 20:27:06 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
cgd
975727e127
replace part of apparently-deleted line
1994-06-19 22:58:29 +00:00
mycroft
699bbb84b6
Update to 4.4-Lite fs code.
1994-06-08 11:28:29 +00:00
cgd
f472d92282
very obscure bug fix for acctwatch
1994-05-24 06:49:14 +00:00
mycroft
21a95abaca
Don't go berzerk if acctwatch() happens to be called during an
...
acct_process().
1994-05-21 09:00:22 +00:00
cgd
8faa0eadd2
oops; if in the wrong place. thanks charles.
1994-05-21 01:10:26 +00:00
cgd
b3fda1e8ec
update with merged versions
1994-05-20 10:05:02 +00:00
cgd
47d5757075
4.4-Lite versions
1994-05-20 10:04:05 +00:00
cgd
91cf0fbaf3
copyright foo
1994-05-17 04:21:49 +00:00
mycroft
62bf6a1578
Remove now-bogus casts.
1994-05-05 08:37:38 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
cgd
f50f031448
kill syscall name aliases. no user-visible changes
1994-04-29 04:41:02 +00:00
cgd
dc58832610
kill XXX's i marked long ago
1994-02-27 11:53:31 +00:00
mycroft
21edb9924e
Canonicalize all #includes.
1993-12-18 03:59:02 +00:00
cgd
a7c7f39bad
fix to keep acctwatch() from being called before the vnode is unlocked.
...
from Mark Tinguely <tinguely@plains.nodak.edu>.
1993-11-14 06:55:24 +00:00
cgd
8900ab37e3
clean up, move some XXX's around, and note that one or two things should be
...
replaced with timeval{add,sub}, and generally be made more sane.
1993-11-03 09:08:42 +00:00
cgd
9ceb615f82
add some timeout_t typedefs
1993-10-20 00:53:34 +00:00
cgd
fc8ee7437c
knf'ify, clean up some, move sysacct() args out of function declaration.
1993-10-20 00:45:34 +00:00
cgd
287eb9a50e
delete my '/dev/acct'-style accounting in favor of the version written by
...
Mark Tinguely (tinguely@plains.NoDak.edu ). It's the 'standard' way
of doing accounting, rather than a wacky one.
1993-10-20 00:16:40 +00:00
cgd
7b2afa7fe6
incorporate changes from 0-9-base to 0-9-ALPHA
1993-07-28 02:20:34 +00:00
cgd
c0334ef92c
break args structs out, into syscallname_args structs, so gcc2 doesn't
...
whine so much.
1993-07-13 22:13:15 +00:00
andrew
0e6cb953ea
ANSIfications - removed all implicit function return types and argument
...
definitions. Ensured that all files include "systm.h" to gain access to
general prototypes. Casts where necessary.
1993-06-27 06:01:27 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
e811352a74
oops, forgot a c!
1993-05-04 05:48:17 +00:00
cgd
501ba00c04
fix accidental 2dd, and fix comm handling for debug
1993-05-03 02:49:27 +00:00
cgd
a70911f1aa
add starting, elapsed, user, and system times, and clean up a bit
1993-05-02 20:40:31 +00:00