Commit Graph

747 Commits

Author SHA1 Message Date
cgd
d218233b36 various cleanups for -Wall. some inspired by James Jegers. 1994-12-24 15:07:22 +00:00
cgd
8a8d0c16d8 make from latest syscalls.master. 1994-12-24 14:30:56 +00:00
cgd
596b9735bd make return type explicit, from James Jegers 1994-12-24 14:07:52 +00:00
cgd
9c6713415c as noted by James Jegers, crfree should return void. 1994-12-24 14:04:43 +00:00
cgd
da93322976 define lkm_nofunc, to be used instead of nosys (blech!) for unused load,
unload, and stat functions.  arguably could (should?) use NULL instead,
but this is a bit more descriptive.  also, unconditionally call the
load/unload/stat functions, as now they're known to work (because, at
worst, they're lkm_nofunc).
1994-12-24 13:25:48 +00:00
cgd
c39db8e1f2 make it reflect the current makesyscalls.sh, pointed out by
Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
1994-12-23 10:08:25 +00:00
cgd
e475f6d4f2 kill the #if 0 around SHM_*LOCK. makes no difference, though... 1994-12-22 13:30:40 +00:00
cgd
a2e9d6806f use ALIGNBYTES for calculating alignment. no reason not to, and good style
to do so.
1994-12-19 14:36:46 +00:00
mycroft
b4aa6d3a28 Call foo_statfs() from a common place when mounting. 1994-12-15 19:46:08 +00:00
mycroft
790aa66ac5 Remove extra arg to ptcopen(). 1994-12-14 19:45:30 +00:00
mycroft
70f25af085 Sync with CSRG. 1994-12-14 19:41:23 +00:00
mycroft
b903333935 Remove old declaration. 1994-12-14 19:38:48 +00:00
mycroft
12371eafc4 Revert open() completely. 1994-12-14 19:36:15 +00:00
mycroft
1b00f4cc4e Revert dup handling. Remove extra arg to vn_open(). 1994-12-14 19:08:07 +00:00
mycroft
080e194e58 Remove extra arg to vn_open(). 1994-12-14 19:03:13 +00:00
mycroft
9715f46125 Remove a_fp. 1994-12-14 18:58:43 +00:00
mycroft
ef575bdbc1 Revert dup handling. 1994-12-14 18:40:27 +00:00
mycroft
82ab4c687f Sync with CSRG. 1994-12-14 16:30:40 +00:00
mycroft
fcef736c87 Add undelete syscall, per CSRG. 1994-12-14 16:29:54 +00:00
mycroft
d67f9f7960 Add vop_whiteout, per CSRG. 1994-12-14 13:03:11 +00:00
mycroft
f76536baea LEASE_UPDATETIME -> lease_updatetime 1994-12-13 22:19:45 +00:00
mycroft
a18ec3cb1b LEASE_CHECK -> VOP_LEASE 1994-12-13 21:52:35 +00:00
mycroft
527b796ff5 Turn lease_check() into a vnode op, per CSRG. 1994-12-13 20:14:30 +00:00
mycroft
51d415bcfe Fix compiler warnings/bugs. 1994-12-13 20:03:13 +00:00
mycroft
d8d7490080 Fix compiler warning. 1994-12-13 19:59:25 +00:00
mycroft
23bd29ca27 Minor changes. 1994-12-13 09:49:13 +00:00
mycroft
8c24ba89ef Sync with CSRG. 1994-12-13 09:14:34 +00:00
mycroft
24c6860ee6 Fix bogus casting of return value from incore(). 1994-12-13 09:13:39 +00:00
mycroft
f9e259e3ca Use __timer{add,sub}(), not timeval{add,sub}(). Remove the latter completely. 1994-12-11 18:06:07 +00:00
mycroft
025723db2b Fix another bug pointed out by Daniel Boulet. 1994-12-10 17:14:42 +00:00
cgd
3035c3a3f3 make nosys() return ENOSYS, based on user requests and discussions with
mkm.  it still always signals.
1994-12-07 21:31:11 +00:00
mycroft
eb635d6e4f Make semlock_holder non-static. 1994-12-05 08:30:30 +00:00
mycroft
168a4388a5 Check for another error condition. 1994-12-05 08:28:53 +00:00
mycroft
69f600c8a2 Fix thinko in previous commit. 1994-12-05 07:54:48 +00:00
mycroft
861c8760a3 Add a comment to make this a little clearer... 1994-12-05 07:32:24 +00:00
mycroft
af33b8e0c6 Merge changes from Daniel Boulet to avoid waiting for the semaphore lock in
semexit() if there are no undo records to process.
1994-12-05 07:22:12 +00:00
mycroft
181155cde0 Minor style cleanup. 1994-12-05 06:53:13 +00:00
mycroft
225e113c5a Move the wait loop into a separate function. 1994-12-05 06:46:29 +00:00
mycroft
fc508faac1 Fix the locking mechanism that got broken with the new syscall interface. 1994-12-05 06:41:42 +00:00
mycroft
54b91ee78e Make this code a little more consistent with itself. 1994-12-04 14:06:36 +00:00
mycroft
90ef05a32c Use common fdclose() rather than a private version. 1994-12-04 03:10:40 +00:00
mycroft
b58324b77a Abstract out the code to maintain fd_lastfile. Remove the old dup() compatibility
kluge.  Rearrange fdopen() handling.  Make a common function to handle closing
a particular file descriptor in a process.  Some other cleanup.
1994-12-04 03:09:50 +00:00
cgd
3f94249a93 from 4.4-Lite. probably don't work yet. 1994-12-03 07:42:51 +00:00
mycroft
851fbeb2f3 Turn off doreallocblks until it is fixed. 1994-11-26 04:18:46 +00:00
dean
31d6b4be35 added defined(COMPAT_ULTRIX) for compat_09_getdomainname
(From Jonathan Stone)
1994-11-23 22:36:59 +00:00
mycroft
642eb11a86 Various code rearrangement. 1994-11-22 01:31:02 +00:00
christos
70e6f7edb8 Don't VOP_UNLOCK the vnode on a cloning operation. vput() will do it for
us.
1994-11-18 02:48:58 +00:00
christos
3e935d8a0d Added ifdef COMPAT_SVR4 to the kernel compat code needed. 1994-11-17 20:27:10 +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
mycroft
2f38797073 Trivial changes to make the code more consistent. 1994-11-06 20:39:50 +00:00