Commit Graph

822 Commits

Author SHA1 Message Date
jtc
95ded74f58 Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
1995-06-01 22:43:30 +00:00
cgd
4a04bbaa09 add a facility by which to register 'hooks' to be run at shutdown time. 1995-05-31 20:41:44 +00:00
mycroft
53eb79fc69 Preserve the ISWHITEOUT flag between cache_enter() and cache_lookup(). 1995-05-30 09:02:02 +00:00
mycroft
ce5fcc40af Remove gratuitous extra indirections. 1995-05-23 06:11:29 +00:00
cgd
7e68171a95 properly determine if send/rcv timeout values are out of range. 1995-05-23 00:19:30 +00:00
mycroft
bfd22ffde8 Generate the new ps_strings format. 1995-05-16 14:19:03 +00:00
christos
fb371ccef0 tty_tb.c: need to include ioctl_compat.h in order to compile.
sysv_shm.c: make shm_find_segment_by_shmid global so it can be used by
	    COMPAT_HPUX. There should be a better way...
rest: Add #ifdef COMPAT_HPUX where needed
1995-05-10 16:52:53 +00:00
mycroft
78356f06b3 Add two vprint()s, to give more informative panic messages. 1995-05-04 03:11:06 +00:00
cgd
3d9ffd41f3 make this work sanely on a 64-bit machine. Sacrifices a small bit of
error checking in the DIAGNOSTIC case.  These changes might be backed out,
if it's decided that MINBUCKET should be 5 (rather than 4) on the alpha.
However, doing that has its own set of nasty consequences.
1995-05-01 22:39:11 +00:00
cgd
2581c66077 remember first error code (if any) that's different than ENOEXEC.
Not perfect, but there's no perfect solution to the "multiple interesting
error codes" problem.
1995-05-01 22:36:45 +00:00
christos
2ca157b084 Make this compile again; from Ted Lemon 1995-04-25 21:10:01 +00:00
christos
1c1cf96baf makesyscalls.sh was changed 1995-04-22 19:43:50 +00:00
christos
3d1b06ab09 - new copyargs routine.
- use emul_xxx
- deprecate nsysent; use constant SYS_MAXSYSCALL instead.
- deprecate ep_setup
- call sendsig and setregs indirectly.
1995-04-22 19:42:47 +00:00
cgd
5fe7be7a26 be a little smarter when printing syscall names & args 1995-04-22 14:17:18 +00:00
mycroft
954487037b Rearrange vfs_shutdown() slightly. 1995-04-21 22:09:53 +00:00
mycroft
84f803aef6 Add a return type for vaccess(). 1995-04-21 22:03:24 +00:00
mycroft
f51cb8c974 Print a message for each file system that does not unmount cleanly. Add a
vfs_shutdown() routine that does the unmount and sync.
1995-04-21 21:55:11 +00:00
mycroft
b92e5976ff Rename pttty() to ptytty() to mimic ptyioctl(). 1995-04-19 22:33:56 +00:00
mycroft
cdd1a8eb54 Fix typo. 1995-04-19 18:58:14 +00:00
mycroft
7aaa443e99 Implement pttty(), and rename pt_ioctl to pt_softc. 1995-04-19 18:50:21 +00:00
mycroft
20b6b4f24d Change ttselect() to use a callback to get the tty structure. 1995-04-19 18:46:10 +00:00
mycroft
72adfee7f7 EMUL_IBCS2_ELF -> EMUL_SVR4; EMUL_IBCS2_{COFF,XOUT} -> EMUL_IBCS2 1995-04-13 20:48:14 +00:00
mycroft
6cabaea642 Define vfs_unmountall(), to unmount file systems at shutdown time. 1995-04-10 19:46:56 +00:00
mycroft
c75f9f2e07 Change fdclose' to fdrelease', to avoid confusion with device interfaces. 1995-04-10 18:27:59 +00:00
mycroft
04a0a9a518 Use the new d_type field. 1995-04-10 00:46:51 +00:00
fvdl
366ba9b889 Use sigcode fields in package structure. This seems to be the cleanest
way to deal with seperate trampoline code for emulation of other OSs,
it avoids having to clutter up kern_exec.c any further.
1995-04-07 22:33:23 +00:00
mycroft
bb85930bbe Add missing argument to closef(). 1995-04-05 21:26:40 +00:00
christos
9255f898e8 Added TIOCGSID for COMPAT_SVR4 [get session id] 1995-03-31 03:07:41 +00:00
mycroft
46b2bb599f Make definition of b_cylinder global. 1995-03-29 20:57:35 +00:00
cgd
a046d2374e don't default return types to ints; specify them.
ktrsyscall takes (vp, code, argsize, args), and stores argsize rather
than nargs.
1995-03-26 07:48:47 +00:00
cgd
0310dd8f78 add an 'INSECURE' option which makes securelevel default to -1 1995-03-26 00:01:08 +00:00
cgd
fd10fb94e5 make it reasonable for processes to not double-map it's user area and kstack 1995-03-25 22:05:15 +00:00
mycroft
f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
mycroft
7439778432 Use %p. 1995-03-19 23:44:44 +00:00
mycroft
20a403a292 Nuke startinit_verbose. 1995-03-19 23:27:03 +00:00
mycroft
fe62f9afca Actually, do the previous differently. 1995-03-19 23:23:11 +00:00
mycroft
feb5b4b126 Add a `%p' format. 1995-03-19 23:17:16 +00:00
mycroft
a1615c4d35 Clean up comments related to last change, and remove an unneeded
splclock/splx pair.
1995-03-18 14:35:14 +00:00
chopps
b3f539b09c add prototypes before each inline 1995-03-10 04:13:52 +00:00
mycroft
fab1d8444c Update to match syscalls.master. 1995-03-09 17:33:07 +00:00
mycroft
57e6889435 Make memory map syscalls consistently use size_t. 1995-03-09 17:28:28 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft
1f5c42f54c Update types. 1995-03-09 08:55:47 +00:00
mycroft
7f1e89164d Update types, and fill in missing debug switch entries. 1995-03-09 08:54:37 +00:00
cgd
6782442a8c use long for argc, envc, and u_long for len. 1995-03-08 01:23:00 +00:00
cgd
9c3af345b5 use NULL rather than casted zero 1995-03-08 01:21:30 +00:00
cgd
4f2d1996e7 needs systm.h 1995-03-08 01:20:50 +00:00
cgd
c771cb43cf need COMPAT_OSF1 for some things 1995-03-08 01:20:19 +00:00
fvdl
cb05b6a54b Two more "|| defined(COMPAT_LINUX)" that I somehow missed first time around. 1995-03-05 20:48:15 +00:00
fvdl
7b5bd63e35 Extended a couple of defines with "|| defined(COMPAT_LINUX)" to make
things compile without requiring COMPAT_43 and/or COMPAT_09.
1995-03-05 08:52:17 +00:00