Jorrit Herder
2b3961eb91
Fixed annoying compile warnings.
2005-07-08 12:25:13 +00:00
Ben Gras
1adcfcdf1c
Changed FD_* select() fd set manipulation functions to macros. Also
...
made FD_SETSIZE pre-#include-definable, with OPEN_MAX as default if unset.
2005-07-06 07:22:21 +00:00
Ben Gras
f0817fbd4c
complete, tick-resolution gettimeofday() implementation
2005-07-06 07:08:36 +00:00
Ben Gras
493ab97a8d
fixed small operator priority bug; ! has higher precedence than & in
...
(!flags & FLAGCHECK)
2005-07-05 11:08:15 +00:00
Ben Gras
904cf1f84d
A "fix" for bug no. 2 is to check if the process slot has disappeared.
...
Not a really good solution (as it might not catch situations in which this
is caused by another bug), but the forrest of checks necessary might be worse
than this quick fix - because when looking for the cause, I found some other
cases in which the PM would panic as well. See info in bug 2 for details.
Another fix is to delay notification of PM by SYSTASK of signals delivered
internally until after the reply (e.g. of exec()), because the reply would
be messed up otherwise (receiving the notify instead of reply). This caused
SIGTRAP not to be delivered properly with traced processes.
2005-07-04 15:20:46 +00:00
Ben Gras
5939b6a4d7
. fsck has A for yes-to-all response
...
. mkfs makes filesystems on devices >4GB, but truncates them at 4GB
2005-07-04 13:34:24 +00:00
Ben Gras
e17ced44ee
Guard /usr/adm/wtmp for shutdown -C check
2005-07-04 13:30:55 +00:00
Ben Gras
08f67dcef7
. Added printing of ppid to PM dump output
...
. made PM pid 0, own parent (so ppid 0) instead of -1
2005-07-04 09:36:16 +00:00
Ben Gras
af9465adbd
>4GB device detection; mkfs can make it, but FS can't use it...
2005-07-04 09:20:03 +00:00
Ben Gras
35c98cffdc
warning about <4GB filesystems
2005-07-04 09:19:31 +00:00
Ben Gras
8f07525484
format prettifictions; better task/server/user process detection logic
2005-07-04 09:19:15 +00:00
Ben Gras
3dcb2886ff
get/setpriority() and fsync() system calls
2005-07-01 18:01:33 +00:00
Ben Gras
7a31b9aa12
New nice utility, imported from FreeBSD, used to run processes at a different
...
priority.
2005-07-01 18:00:10 +00:00
Ben Gras
83bac1e6a5
Callnumbers and prototypes for get/setpriority() and fsync().
2005-07-01 17:58:57 +00:00
Ben Gras
9cf24c3233
Calls and functionality for get/setpriority() and fsync().
2005-07-01 17:58:29 +00:00
Ben Gras
bfc8f08ae7
Small select manpage update.
...
manpages for sync and getpriority/setpriority system calls.
manpage for nice utility.
2005-07-01 17:57:51 +00:00
Jorrit Herder
7f2e7461e6
Fix stupid assumption that caused headache.
...
Timers lib now seems to work fine again.
2005-07-01 17:17:13 +00:00
Ben Gras
83f0f501f8
Added <sys/resource.h> for [gs]etpriority() call.
2005-07-01 09:59:49 +00:00
Ben Gras
2ce80ece5c
Fix to check for RDTSC instruction (above 486), and call another timing
...
function instead if RDTSC is unavailable. This makes minix run on 486
again :) (presumably lower as well).
2005-07-01 09:39:47 +00:00
Ben Gras
d2018bb8ad
Little mkfs diagnostic help
2005-07-01 09:38:45 +00:00
Jorrit Herder
c349ef942a
Changes scheduling priorities for nice().
2005-07-01 09:08:41 +00:00
Jorrit Herder
4fda4bbcb6
*** empty log message ***
2005-06-30 15:56:19 +00:00
Jorrit Herder
bfa25ba41f
Changed debug dumps of kernel process table (F1)
2005-06-30 15:55:43 +00:00
Jorrit Herder
bac6068857
Rewrite of process scheduling:
...
- current and maximum priority per process;
- quantum size and current ticks left per process;
- max number of full quantums in a row allow
(otherwise current priority is decremented)
2005-06-30 15:55:19 +00:00
Ben Gras
ebd38d9a92
Added formatting fixes for larger numbers in fsck and df; made mkfs
...
test for devices larger than 4GB, so it won't try to test them (and print
a warning message), but it will write the FS.
2005-06-30 13:04:57 +00:00
Ben Gras
037d5ffb26
Basic fixes to make de start to read v3 filesystems. (Not complete.)
2005-06-30 12:59:49 +00:00
Philip Homburg
f5c56f3f24
changed ash to use pid_t
2005-06-30 12:58:26 +00:00
Philip Homburg
3e5276eff7
changed max pid back to 30000
2005-06-30 12:56:34 +00:00
Ben Gras
af27dc0cf7
Added fchdir() system call, with corresponding manpage, Changelog and
...
system include modifications.
2005-06-29 19:28:26 +00:00
Philip Homburg
62f7f9e6d2
Added mkstemp function. Should use a secure random number generator.
2005-06-29 15:29:08 +00:00
Philip Homburg
eb3d5f2a54
More stack for chown
2005-06-29 15:27:12 +00:00
Philip Homburg
6133970316
Use relative paths for make depend
2005-06-29 15:26:10 +00:00
Philip Homburg
d4b02eae4f
Disabled assertion
2005-06-29 15:25:21 +00:00
Ben Gras
afcfd1871d
Added some diagnostic
2005-06-29 12:04:10 +00:00
Ben Gras
ca0d035146
Fix by Joren l'Ami <jwlami@cs.vu.nl> to make block devices work beyond
...
2GB (e.g. for 'large' mkfs).
2005-06-29 11:56:56 +00:00
Ben Gras
906690eb55
Last inet change incomplete
2005-06-29 11:47:40 +00:00
Ben Gras
03e2560d81
Disabled funny broadcast address complaint from inet
2005-06-29 11:42:53 +00:00
Jorrit Herder
a5ac07400d
Fixed bug in AT driver: don't receive from HARDWARE, but use ANY.
...
Timeouts are sent by the CLOCK.
2005-06-29 10:27:23 +00:00
Ben Gras
6be8c4d8a3
Import of dpeth 3c501/3c509b/.. ethernet driver by
...
Giovanni Falzoni <fgalzoni@inwind.it>.
2005-06-29 10:16:46 +00:00
Ben Gras
81081a4063
_POSIX_SOURCE doesn't make sense in <sys/select.h>
2005-06-28 16:02:58 +00:00
Philip Homburg
0f26898f82
New inet with partial select implementation
2005-06-28 15:19:58 +00:00
Philip Homburg
013f484525
select.h should include <sys.time.h>. Added struct svrqueryparam to svrctl.h.
2005-06-28 15:01:55 +00:00
Philip Homburg
18458079f8
quick hacks for select
2005-06-28 14:59:00 +00:00
Philip Homburg
a467c43c01
use relative directories in makefiles.
2005-06-28 14:56:30 +00:00
Philip Homburg
8f99754d43
more stack for /bin/sh.
2005-06-28 14:53:38 +00:00
Ben Gras
bca51699a9
Removed debug statement
2005-06-28 13:08:52 +00:00
Ben Gras
850d6611eb
Removed max-inode check from mkfs because of 32-bit inode numbers in V3
...
FS. Tested by mkfs -i 200000, fsck, file system creating with 200000
inodes, fsck again.
2005-06-28 11:58:17 +00:00
Ben Gras
db2d114d06
Fixed bug that caused /dev/null to be created as file before being created
...
as special file
2005-06-27 16:31:27 +00:00
Ben Gras
2abe246e5c
(Im)port of zlib-1.2.2
...
Ran configure with minix-friendly args and committed makefile. It's
a compromise to make zlib fit nicely into the current build system.
2005-06-27 13:05:04 +00:00
Ben Gras
7697700802
Made src belong to bin in release cp.
...
Made /usr/include belong to bin in mtree.
Fixed compiler warning in fs/pipe.c.
Added mdb (minix debugger) manual page.
Added ethernet config function in setup script.
2005-06-27 11:59:36 +00:00