Ben Gras
2876d5c4ba
Optimization in searching for new zones to allocate contributed
...
by Jens de Smit.
2008-02-06 15:05:57 +00:00
Ben Gras
67d1b67805
exit prototype
2007-10-23 14:19:16 +00:00
Ben Gras
e8aec69c7b
tweak to panic functions of mfs and vfs.
...
. print newline
. when recursive panic detected, don't simply return, confusing
the caller, but print a diagnostic and exit
. don't call sys_exit as this may confuse PM; it should be OK
to call PM exit() nowadays.
2007-10-23 14:17:51 +00:00
Ben Gras
21ae963cf1
Fixes two wrong grant return checks and one 'grant leak'.
2007-10-17 10:46:20 +00:00
Ben Gras
b6e07e1835
close device if mount fails after device opened.
2007-09-26 15:06:41 +00:00
Ben Gras
38604e4e3a
Don't truncate read requests based on v_size; v_size can be stale in the
...
case of directories extended by subfilesystem. Rely on subfilesystem to
do read size truncating and return actual i/o size. This fixes bug 81 in
gforge, and unbreaks test 23.
2007-09-11 15:52:22 +00:00
Philip Homburg
ab3062c8c0
REQ_FSTATFS now operates on the root inode (the inode parameter has been
...
removed)
2007-08-17 11:20:59 +00:00
Philip Homburg
9c3f85d14f
Better interface for sys_times.
2007-08-16 13:16:26 +00:00
Philip Homburg
4b1cd8c0ec
Return EIO if a filedescriptor cannot be re-opened after a driver restart.
...
Select now returns such a filedescriptor as ready (instead of EBADF).
Reply before dev_up in FSSIGNON to avoid the problem that a DEV_OPEN
request is received by a driver that expects a reply from the FSSIGNON.
2007-08-15 12:53:52 +00:00
Philip Homburg
90fde6e97d
cleanup
2007-08-10 13:02:39 +00:00
Philip Homburg
06e1f0da61
Better recovery when req_readsuper fails.
2007-08-10 13:01:38 +00:00
Philip Homburg
57c6f099f2
Removed old debug code.
2007-08-08 15:27:07 +00:00
Philip Homburg
e2f06e7c89
Directory check before access check.
2007-08-08 15:26:47 +00:00
Philip Homburg
a116b3aa55
To return the right error, check first is an object is a directory (for
...
mkdir, rmdir/unlink, mknod), simply pipe code by using v_pipe_rd_pos and
v_pipe_wr_pos directly. Some cleanup work in open.c
2007-08-08 14:01:36 +00:00
Philip Homburg
c2bf536a55
Disable POSIX-required behavior wrt trailing slashes.
2007-08-08 11:40:47 +00:00
Philip Homburg
d232b2ef42
Removed invalid consistency check.
2007-08-07 14:27:19 +00:00
Philip Homburg
9c51f0b92a
O_EXCL check went missing.
2007-08-07 14:26:56 +00:00
Philip Homburg
d01d630727
include "../vfs/dmap.h".
2007-08-07 13:26:25 +00:00
Philip Homburg
1b883a3613
Removed references to stacktrace.
2007-08-07 13:21:55 +00:00
Philip Homburg
a318cd291f
Somehow request.c got garbled.
2007-08-07 13:12:27 +00:00
Philip Homburg
f46319037b
New VFS interface
2007-08-07 12:52:47 +00:00
Philip Homburg
2ca2b86a3a
Added new interface to VFS.
2007-08-07 12:38:35 +00:00
Philip Homburg
a81e82b3da
Tell the kernel about the new boottime and don't tell VFS.
...
Tell DS about all processes in the boot image. PM_STIME is removed.
Diagnostic for calls to do_getprocnr (DS should be used to get endpoints).
2007-08-07 12:28:42 +00:00
Philip Homburg
fd151245e9
Removed sigaction call. PM tries to talk to DS. DS should not talk to PM.
2007-08-07 12:25:21 +00:00
Philip Homburg
1f04287b3f
Removed dmap table. Publish endpoint in DS before calling mapdriver5.
2007-08-07 12:24:06 +00:00
Ben Gras
30ba1ec187
also allow vm_map.
2007-07-11 13:45:06 +00:00
Ben Gras
eb4609c108
Don't exit when rebooting.
2007-07-11 13:44:45 +00:00
Philip Homburg
56a68dc32b
Hack in service to use RS_START instead of RS_UP. RS reports the use of RS_UP.
2007-05-02 15:20:28 +00:00
Philip Homburg
33d31720a5
Use ds_retrieve_u32 to get the endpoint of inet and of the ethernet drivers.
2007-05-02 11:30:16 +00:00
Philip Homburg
02a229f14d
Publish endpoints in ds.
2007-04-27 13:03:33 +00:00
Philip Homburg
93f9bb4a57
Restrict access to rs to root's processes.
2007-04-27 12:27:40 +00:00
Philip Homburg
69ca935251
getpeuid implementation. Get the uid of a process (by endpoint)
2007-04-27 12:21:06 +00:00
Ben Gras
8eb09f6ddc
. readall: use lseek64() to read more than 4GB of a device
...
. vfs: 64-bit offset support for character device i/o
(also remove unused dev_bio function)
. memory: /dev/null and /dev/zero are infinitely large, don't stop
reading/writing at 4GB
2007-04-24 13:27:33 +00:00
Philip Homburg
0bd4c5ee7d
Initial convertion to asynchronous sends for communicating with ethernet
...
drivers.
2007-04-23 14:49:20 +00:00
Philip Homburg
b613f5cb4b
Report and detect exec failures using a pipe.
...
XXX Hardcoded values for s_ipc_to and s_ipc_sendrec.
2007-04-23 14:47:04 +00:00
Philip Homburg
727ce18aa8
Initialize exec_pipe.
2007-04-23 14:43:25 +00:00
Philip Homburg
849285f66d
Diagnostics from service go to standard error.
2007-04-23 14:42:58 +00:00
Philip Homburg
e68a2b4d6a
Extra flags RS_SIGNALED and RS_EXECFAILED. Pipe for detecting exec failures.
2007-04-23 14:42:08 +00:00
Philip Homburg
b4a88a3705
Removed ECHO from dump, added SENDA. Also dump s_ipc_sendrec.
2007-04-23 14:40:13 +00:00
Philip Homburg
77f5b40141
Round memory size up for VM.
2007-04-23 14:38:55 +00:00
Philip Homburg
b5e6319ae7
Removed some indentation.
2007-04-23 14:33:42 +00:00
Ben Gras
1d7cea10ed
str[] is too small - reported by Erik van der Kouwe <vdkouwe@cs.vu.nl>.
2007-04-23 13:36:13 +00:00
Ben Gras
dc67b37a10
more removing of warning and debug messages.
2007-04-13 14:00:31 +00:00
Ben Gras
6b2ad6fdfd
verbose message out
2007-04-12 17:01:54 +00:00
Ben Gras
a2b1a5134b
. leave out hardware-fp code from library
...
. minor packman usage tweaks
. kernel feature for printing version number
. removed some verbose debug messages from vfs/mfs
2007-04-12 16:45:00 +00:00
Ben Gras
2958815463
leave out debug message
2007-04-12 15:24:45 +00:00
Ben Gras
647d1496f3
fix for warning
2007-04-02 14:45:56 +00:00
Ben Gras
52b71b2396
Minor change to path lookup that fixes the bug that creating a file
...
as a first component of an absolute path failed (e.g. 'touch /file'),
due to leading slashes not being skipped in the processed path counter
in that case, causing create to fail.
2007-02-28 13:13:39 +00:00
Ben Gras
3b08825d85
. service tells you which device it couldn't stat
...
. bigger rs and ramdisk for drivers
. sanity check for pv_set macro for oversized arguments
2007-02-23 18:22:46 +00:00
Ben Gras
448376ee7e
. use library function to parse memory string
...
. remove unused variables and some other gcc warnings
2007-02-16 15:55:20 +00:00