Commit Graph

797 Commits

Author SHA1 Message Date
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
mycroft 878839c40d Simplify the code to expand the dev array slightly, and make sure the size is
a power of 2.
1994-10-07 09:07:56 +00:00
cgd 7545c52d98 fix ndqb bug handling flags other than TTY_QUOTE. 1994-10-02 04:11:53 +00:00
deraadt 9d7bdbb0c4 don't play with CLBYTES in cpp 1994-09-28 00:44:30 +00:00
mycroft 3cc6cbc0e6 Correct test for already being traced. 1994-09-24 07:17:18 +00:00
mycroft 22bdb84b17 Allow unloading of vfs's if the refcount is 0. 1994-09-22 02:22:42 +00:00
mycroft 480c10c23a Maintain vfs reference counts. 1994-09-22 02:17:00 +00:00
mycroft 0874e14c94 m_adj() returns void. 1994-09-19 08:07:17 +00:00
mycroft 87ed5fd67b Require at least one group. 1994-09-19 07:52:57 +00:00
mycroft 3b83040b88 Add tickadj to clockinfo. 1994-09-18 21:55:43 +00:00
mycroft 61101c8fa5 Remove extern of tickadj. 1994-09-18 21:49:07 +00:00
deraadt 1ec7a8fcbe fix PR#484 relating to backspacing over a tab. 1994-09-18 18:32:51 +00:00
mycroft 868c94ff7c Fix space change in last commit. 1994-09-18 04:40:47 +00:00
deraadt 42ea7aa818 sparc is not special anymore 1994-09-16 23:57:22 +00:00
cgd b690c315ff ugly (#ifdef) hack to fix m68k alignment differences, etc. Eventually,
should be done with a 'natual alignment' macro, or some such.
1994-09-14 16:40:29 +00:00
cgd 575d44884b from Kirk McKusick: release old ctty if acquiring a new one.
also: prettiness police!
1994-09-14 00:35:29 +00:00
mycroft 1435172b90 Nuke the silly `--' hack when there are no flags. 1994-09-10 04:44:23 +00:00
mycroft faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
mycroft c996edc7e1 Display emulation type. 1994-08-30 06:22:10 +00:00
mycroft 227e4cb85c Make sure p_emul is copied on fork. 1994-08-30 06:16:25 +00:00
mycroft 016425e503 Clean up some debugging code. 1994-08-30 05:37:14 +00:00
mycroft 2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
mycroft f5232de492 Patch to fix `reassignbuf: NULL' messages, from cgd. 1994-08-29 01:47:02 +00:00
deraadt 2558d359af emulate setreuid/setregid better. 1994-08-25 07:13:55 +00:00
cgd ec29b60850 gwr's slightly cleaner way to do that last... 1994-08-25 03:04:28 +00:00
deraadt 280592c6a7 replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE"
(cvs dumped core during previous commit...)
1994-08-23 22:13:59 +00:00
deraadt 72b3d408b9 replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE" 1994-08-23 22:07:42 +00:00
deraadt 3938d6ba02 initialize shmmax to `# of pages' at compile time; multiply by NBPG at
boot time (in shminit). This supports architecture families with varying
values for NBPG, and does not break ipcs.
1994-08-22 23:37:03 +00:00
cgd 94109335b3 kill errant spaces 1994-08-21 21:24:33 +00:00
cgd c141eabf16 handle another "too much memory in buffer" boundary case 1994-08-21 06:38:42 +00:00
cgd 92da9d2f33 can't do ptr math on void * 1994-08-18 22:09:35 +00:00
mycroft 77dee53b00 Move the SVR4 dispatch here. 1994-08-15 22:36:40 +00:00
mycroft ace234dade Add iBCS2 COFF loader. (Eventually there should be a sys/exec_coff.h.) 1994-08-15 22:17:16 +00:00
mycroft 9c4c84c97e Need ofstat() for iBCS2 syscall conversion. 1994-08-15 22:08:55 +00:00
mycroft 4566d7f5ba Need ostat() and olstat() for iBCS2 syscall conversion. 1994-08-15 22:06:47 +00:00
mycroft 77fe78350b Minor update to a comment. 1994-08-15 16:45:14 +00:00
cgd 97bdeab31e replace with a completely rewritten version, based around the 4.4BSD
procfs.  Now the author of the old version will stop complaining that
we're using his code.
1994-08-15 16:32:41 +00:00
cgd b48d84b629 replce with virgin copy from 4.4-Lite 1994-08-15 16:29:22 +00:00
mycroft 4a8bf3976b Fix a problem in sync() where we might keep a stale pointer to the next mount
entry.
1994-08-13 07:05:53 +00:00
cgd 5009183daf make output a bit cleaner, to satisfy mckusick. 1994-08-11 21:57:38 +00:00
mycroft d4a420650a Make sure CS8 is set if RAW is on. 1994-08-03 03:41:34 +00:00
mycroft 078c594c69 Fix this numerous bugs, including loss of OPOST mode. 1994-08-02 08:47:54 +00:00
mycroft 743c8ea38e Clear t_flags on first open. 1994-08-02 08:45:46 +00:00
pk 6c9ba984e5 See to it that `vm_tsize' and `vm_dsize' get set up properly for
OMAGIC binaries, so obreak(2) doesn't get confused.
1994-08-01 18:49:49 +00:00
glass a3cc8f5e8d fix for obreak problem from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:04:47 +00:00
mycroft 5ee1370fe1 Clean this up a bit, and separate parts of vfs_opv_init() into separate
functions.
1994-07-24 07:15:19 +00:00
cgd 54165a4169 only use variables which are defined. 1994-07-24 02:38:20 +00:00
deraadt d8a9dcab90 ndqb() was broken for full ring buffers! fix from paulus. 1994-07-18 03:38:31 +00:00
cgd be81092ac3 fix RCS ID. *sigh* 1994-07-17 23:52:09 +00:00
cgd d7fc64af84 don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc 1994-07-15 22:29:22 +00:00
ws 2db64ab48d Try to pick myself up from the floor where I fell laughing. 1994-07-12 22:20:46 +00:00
cgd f3dc337d8a fix done in rev. 1.23 over again. it was clobbered, and problem masked 1994-07-10 05:53:25 +00:00
cgd c5bedb0aa6 fix for kern/322, pointed out by osymh@gemini.oscs.montana.edu. Neither
suggested fix was correct: the suggested change to cache_lookup would cause
the counters to be incremented when doingcache was zero, and the suggested
change to cache_enter was prone to a race condition (e.g. if doingcache
became 1 between the cache_lookup and cache_enter).
1994-07-05 19:09:32 +00:00
glass a957351354 multiple include of exec.h 1994-07-05 03:26:34 +00:00
glass fdbee87708 returning a gift 1994-07-04 23:25:12 +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
mycroft 3673f99efd No more HP copyright. 1994-07-03 11:45:41 +00:00
cgd ea01579f35 light clean up, use some macros 1994-07-03 07:57:32 +00:00
cgd ea1b26b17b kill a relic 1994-07-03 00:19:54 +00:00
chopps 344d199647 we like cache. 1994-07-02 20:26:19 +00:00
deraadt 318b9c6b63 limit st_dev to 15 bits set for nfs filesystems 1994-07-02 04:51:18 +00:00
deraadt cc7bf234c6 exec_aout.h not needed 1994-07-01 02:57:52 +00:00
cgd d8d1a3037b fix warning 1994-06-30 19:00:49 +00:00
cgd a2e313bd42 gen syscall fiels from new syscalls.master 1994-06-30 17:01:45 +00:00
cgd bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
cgd e692ddd378 fix some lossage 1994-06-30 15:57:05 +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
mycroft 6c5092484b Eliminate use of b_bufsize, and instead pass an extra arg to v(un)mapbuf(),
to be consistent with vs)un)lock().
1994-06-28 22:21:16 +00:00
mycroft ff2e6e12a2 Set b_bufsize after the minphys routine is called. 1994-06-26 06:08:11 +00:00
mycroft 58595682af shm map is pageable. 1994-06-25 04:10:18 +00:00
mycroft 1e92bdf540 Make ogetdirentries() if COMPAT_HPUX. 1994-06-22 03:01:16 +00:00
mycroft ea88fee18e Make ogetdtablesize if COMPAT_HPUX. 1994-06-22 03:00:21 +00:00
paulus 6ea2395cde fix compilation warning 1994-06-20 00:32:31 +00:00
cgd 975727e127 replace part of apparently-deleted line 1994-06-19 22:58:29 +00:00
mycroft 917feef86b Compatibility with old code that uses NTTYDISC, if COMPAT_43. 1994-06-16 17:54:52 +00:00
mycroft e916c8d15f Update to union mount code from JSP. 1994-06-16 14:14:57 +00:00
glass 6b9c16ace1 compat_ultrix 1994-06-16 05:07:32 +00:00
mycroft 507802da61 Set b_bufsize, for use by v{,un}mapbuf(). 1994-06-16 00:54:18 +00:00
mycroft 0d8affb278 Turn P_NOSWAP and P_PHYSIO into a hold count, as suggested by a comment. 1994-06-15 19:59:21 +00:00
gwr 2ce572b18e Get rid if 'set -f' (at Adam's request). It is unnecessary,
and not supported by sh on some systems (i.e. Ultrix).
1994-06-15 18:13:31 +00:00
gwr e52b4481b3 No longer requires GNU awk (plain "nawk" is OK).
New AWK parser is simpler and makes better use of arrays.
1994-06-15 15:49:03 +00:00
mycroft 11884bb842 Minor cleanup. 1994-06-14 19:36:14 +00:00
chopps 25d43e1bab getdtabledsize used by sunos compat code. 1994-06-14 10:52:20 +00:00
cgd eea64debf1 make getdtablesize COMPAT_43; should be COMPAT_44 or _09, but that has probs 1994-06-14 05:18:03 +00:00
mycroft 33d82e8a8b Move definition of prtactive. 1994-06-13 15:37:55 +00:00
mycroft 699bbb84b6 Update to 4.4-Lite fs code. 1994-06-08 11:28:29 +00:00
cgd ffde2d4a28 minor type pointed out by Onno van der Linden 1994-06-05 13:00:49 +00:00
mycroft 2267a8c5fc Use the same algorithm as mmap() with MAP_ANON for placing the segment. 1994-06-03 21:17:09 +00:00
mycroft 919b9c0f72 Get rid of unneeded bzero(). 1994-06-03 21:06:53 +00:00
cgd ebf0357409 sane initialization. fix bug kern/274 1994-06-03 20:53:38 +00:00
cgd 5337d9fb95 kill old init-starting code 1994-06-03 04:26:06 +00:00
phil 0ca1daa954 pc532 now does new init process 1994-05-31 21:56:06 +00:00
mycroft 766c830cb5 Clear more flags in brelse(). 1994-05-29 22:50:50 +00:00
gwr 7b95dc1e1b Now the sun3 stars init the new way. 1994-05-29 05:20:11 +00:00
glass af77c1caf2 more likely to work now, probably less knf...thats the next project 1994-05-28 20:21:30 +00:00
deraadt 2936fcf647 ufs/ufs/quote.h? no.. not yet.. 1994-05-27 23:01:02 +00:00
hpeyerl 33030898d2 Copyright foo 1994-05-27 19:15:36 +00:00
mycroft 9140aa53a3 hp300 port is blessed. 1994-05-27 12:49:52 +00:00
mycroft 63b45d5a21 The i386 port is now blessed. 1994-05-27 11:25:00 +00:00
mycroft facfcdd2ef Cluster routines want 0-sized bufs. 1994-05-27 11:05:54 +00:00
chopps 1e9889f1c5 amiga now included in list of new init bootstrap users 1994-05-27 10:33:23 +00:00
glass 7890c5a8cd preliminary ecoff support, initially to support COMPAT_ULTRIX 1994-05-27 09:19:40 +00:00
mycroft fecf7cf468 Fix thinko in last change. 1994-05-27 08:51:21 +00:00
mycroft d337b80b79 Get the arguments to vm_allocate() right in new init code. 1994-05-27 08:46:50 +00:00
mycroft d1f36d3007 fname --> path 1994-05-27 08:44:12 +00:00
deraadt d0f39cffd9 return 0 on success 1994-05-27 07:58:37 +00:00
glass 12765858aa pmax and sparc take the 4.4-lite path 1994-05-27 07:54:34 +00:00
cgd 7181a3603b minor updage from ws 1994-05-25 21:35:49 +00:00
pk 7672b8b95b New style core dumps. 1994-05-25 10:56:56 +00:00
mycroft 820102bd99 Update copyright. 1994-05-25 10:15:23 +00:00
deraadt 7f3946f0ec use u_char's instead of char's; else the TTY_QUOTE bit can get accidentally
be set. Also fix copyright.
1994-05-25 10:00:26 +00:00
deraadt 2070652356 use u_char's instead of char's; else the TTY_QUOTE bit can get accidentally
be set.
1994-05-25 09:58:53 +00:00
mycroft 176f74d111 If we try to create a key that's already being created, wait. 1994-05-25 09:55:32 +00:00
mycroft 319c49b218 And finally, some optimization. 1994-05-25 09:07:43 +00:00
mycroft b77e8e88ee Fix this up some more. (I just read SVID again.) 1994-05-25 08:59:48 +00:00
mycroft 4de9515d54 Fix typo. 1994-05-25 08:17:01 +00:00
mycroft 30cbcb7e80 Generalize ipcperm() a little. 1994-05-25 08:15:45 +00:00
mycroft ab0a415c77 Clean this up a bit, and fix several bugs. 1994-05-25 07:36:53 +00:00
hpeyerl 2d7c7416dd sysv_shm.c from Adam.
sysv_ipc.c from me.
and various sundry changes to make sysv_ipc.c fit in.
(somewhat untested and not very pleasant reading material)
1994-05-25 02:14:24 +00:00
cgd f472d92282 very obscure bug fix for acctwatch 1994-05-24 06:49:14 +00:00
cgd 549467984e fresh copy from Wolfgang Solfrank 1994-05-24 02:49:29 +00:00