Commit Graph

719 Commits

Author SHA1 Message Date
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
mycroft
1948fcb3fa Add a new function config_scan(), which just calls a particular function
with each plausibly cfdata, ignoring the priority mechanism completely.
1994-11-04 06:40:11 +00:00
mycroft
9fdc2ecb99 Export struct matchinfo and mapply(). 1994-11-04 03:12:20 +00:00
mycroft
52a27c59d6 Calculate indirectness earlier, and stor it in the struct matchinfo. 1994-11-04 03:07:17 +00:00
mycroft
893b0e1f83 config_make_softc() needs pointer to parent; and fix a couple of other bogons. 1994-11-04 00:14:04 +00:00
mycroft
4afbef1f16 If cd_indirect is set in the parent, create a softc early and pass it to the
probe routine.
1994-11-03 22:01:09 +00:00
deraadt
84ff6c006a you cannot ALIGN() backwards 1994-11-03 05:58:44 +00:00
mycroft
6e84d8d039 Add a couple of casts to calm GCC. 1994-10-31 21:26:13 +00:00
mycroft
7c29d675ec Change argument list of ttioctl() to match other ioctl functions. 1994-10-30 22:11:05 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd
4eaa98b365 cleanliness, type sizes, casts. 1994-10-30 19:15:46 +00:00
cgd
64d07daf4f kill space. 1994-10-28 23:17:22 +00:00
cgd
cf92049b53 minor cleanup; get output format right. 1994-10-28 23:14:46 +00:00
cgd
aa9eacdd59 new RCS ID format. 1994-10-26 06:39:02 +00:00
mycroft
4bad1511b7 Fix a bug I introduced in the last commit, regarding a VTIME timeout causing
EWOULDBLOCK to be returned rather than looping again to see if any characters
are pending.  Also, fix another bug in the original code; if someone changed
VMIN behind our back, last_cc might be uninitialized when we reference it.
1994-10-24 09:09:06 +00:00
deraadt
dc7de949e9 change exec_setup_fcn() to be more useful (from christos) 1994-10-24 05:32:19 +00:00
cgd
2623b287e6 fix for numerous cut & paste errors in the last changes, from Christos. 1994-10-23 23:11:27 +00:00
mycroft
abc582b6d2 Return ppid and euid for COMPAT_IBCS2, too. 1994-10-21 01:12:13 +00:00
mycroft
f19afe34cb Reran makesyscalls.sh. 1994-10-21 00:15:36 +00:00
mycroft
452508f874 Fix typos. 1994-10-21 00:14:36 +00:00
mycroft
be01ae1904 Fix typo in description of syscallarg.h. 1994-10-20 23:22:38 +00:00
mycroft
97c2b52714 Minor change; use proc_reparent(). 1994-10-20 22:54:35 +00:00
cgd
f59b086d9c one minor mod... 1994-10-20 04:37:09 +00:00
cgd
0da612d076 update rcsid 1994-10-20 04:32:39 +00:00
cgd
6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd
90f2c4f70a DEBUG and/or DIAGNOSTIC shouldn't cause thing to be printed for "normal"
cases, unless the user explicitly requests it.  add variable
startinit_verbose to control init-starting messages.
1994-10-18 06:28:06 +00:00
mycroft
8f5b447fb2 Remove the need for some untimeouts. 1994-10-12 13:38:16 +00:00
mycroft
98e70587d5 Avoid GCC generating a call to memset(). 1994-10-11 09:26:01 +00:00
mycroft
9085601009 Clean up #includes. 1994-10-09 08:29:55 +00:00