5cd673c5ba
Nit in compress about filenames; backup patched to use opendir() and readdir() (old dir format didn't work)
Ben Gras
2005-07-18 09:33:27 +00:00
dfc51728b7
Made dirent filename len a macro; corrected comment bug in bios.h reported by Andrew Schilt <aschilt@cox.net>.
Ben Gras
2005-07-18 09:11:48 +00:00
c69ed2c4b1
Verbose tar option was for debugging, shouldn't have been commited. Undone.
Ben Gras
2005-07-15 11:49:34 +00:00
eba45510a9
New alarm(2) timers mechanism. Kernel no longer keeps track of user alarms on behalf of the PM. Instead, the PM maintains its own list of watchdog timers, and uses one synchronous alarm (at the kernel) to get notifications for expired user timers.
Jorrit Herder
2005-07-14 15:30:12 +00:00
570eac1f53
Renamed system library functionality. Updated debug dumps of IS server.
Jorrit Herder
2005-07-14 15:16:12 +00:00
279250889f
Renamed some system library functionality.
Jorrit Herder
2005-07-14 15:15:18 +00:00
272a8496ac
Updated system call library. Updated various header files for consistency. Remove some unused stuff ... better check to be done.
Jorrit Herder
2005-07-14 15:14:44 +00:00
654722493b
Renamed various system calls. Cleaned up system call library. Added new alert() trap to replace notify() --- current notify will be removed and alert() will be called notify() later.
Jorrit Herder
2005-07-14 15:13:33 +00:00
42ab148155
Reorganized system call library; uses separate file per call now. New configuration header file to include/ exclude functionality. Extracted privileged features from struct proc and create new struct priv. Renamed various system calls for readability.
Jorrit Herder
2005-07-14 15:12:12 +00:00
0348b8d0ca
Minor improvements for autopart and setupcd
Ben Gras
2005-07-13 14:59:43 +00:00
e2a0ddf863
Makefile fixes.
Ben Gras
2005-07-13 14:59:04 +00:00
c389801a5f
Made timeout and no. of errors in at_wini dynamically settable by ioctl; made catch-all function in driver table also called when unrecognized ioctl called, so drivers can add their own ioctl codes.
Ben Gras
2005-07-13 14:58:21 +00:00
f96645a4eb
Fixed a bug in kstrncpy() that caused mayhem whenever the buffer to be copied into was the same size as the source string - it will keep on filling with zeroes forever. This was a signed/unsigned bug, fixed by making the kstrncpy argument ssize_t instead of size_t. This bug was triggered by Chris Young <teddga@earthlink.net>, by dazzling coincedence - changing OS_VERSION into something with one more character (exactly the same size as the buffer in the kinfo struct).
Ben Gras
2005-07-13 14:46:11 +00:00
0f746219fc
setup -> setupcd
Ben Gras
2005-07-13 13:04:56 +00:00
e0e5e62230
Increased timeout to avoid 'CU does not accept command' panic..
Ben Gras
2005-07-13 11:50:30 +00:00
5dd4862b7e
Fixed some warnings in dosread.c; initial version of autopart (don't try it yet ;))
Ben Gras
2005-07-13 10:02:14 +00:00
d4b173ee50
Misc fixes and additions
Ben Gras
2005-07-12 13:10:06 +00:00
5c13385e40
Added sync() after logfile i/o to reduce risk of losing log entries after e.g. crashes.
Ben Gras
2005-07-11 13:19:29 +00:00
ed66b0ff02
Increased mii_read timeout.
Philip Homburg
2005-07-11 13:09:44 +00:00
0cabfc76ee
Usleep implementation based on select.
Philip Homburg
2005-07-11 13:08:00 +00:00
b5809b6a81
Added random, strdup, and strtok_r.
Philip Homburg
2005-07-11 13:06:27 +00:00
c60f3ff846
Select patches for TCP read and write. TCP support for FIONREAD.
Philip Homburg
2005-07-11 13:02:59 +00:00
11cbb6faae
Many changes to simplify porting applications.
Philip Homburg
2005-07-11 13:00:43 +00:00
054e68baf6
Flex-2.5.4.
Philip Homburg
2005-07-11 12:54:10 +00:00
d21c2c2229
Enable debug output
Philip Homburg
2005-07-11 12:49:24 +00:00
9bb373331c
More stack for tar
Philip Homburg
2005-07-11 12:47:43 +00:00
77f1301ae9
More stack for make
Philip Homburg
2005-07-11 12:46:27 +00:00
ef795796bf
More stack for acd.
Philip Homburg
2005-07-11 12:45:57 +00:00
c45ee629ee
More stack for aal.
Philip Homburg
2005-07-11 12:44:39 +00:00
42050e39f8
kernel and servers send diagnostic messages to IS; IS sends them to TTY and the new log driver if enabled.
Ben Gras
2005-07-08 17:30:01 +00:00
dd31785aa6
Added some data for the new log device.
Ben Gras
2005-07-08 17:24:49 +00:00
640eb73ca2
New log driver; buffers messages and makes them available to userland. Added some fields in the generic device table to support this driver using libdriver. Updated other drivers to fill these fields with nops and NULLs.
Ben Gras
2005-07-08 17:23:44 +00:00
c021dafe27
usyslogd - microsyslogd that has a hard-coded configuration (read from /dev/klog and write to /var/log/messages). It's written so that more sources and outputs could be added easily though.
Ben Gras
2005-07-08 17:21:50 +00:00
1adcfcdf1c
Changed FD_* select() fd set manipulation functions to macros. Also made FD_SETSIZE pre-#include-definable, with OPEN_MAX as default if unset.
Ben Gras
2005-07-06 07:22:21 +00:00
f0817fbd4c
complete, tick-resolution gettimeofday() implementation
Ben Gras
2005-07-06 07:08:36 +00:00
493ab97a8d
fixed small operator priority bug; ! has higher precedence than & in (!flags & FLAGCHECK)
Ben Gras
2005-07-05 11:08:15 +00:00
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.
Ben Gras
2005-07-04 15:20:46 +00:00
5939b6a4d7
. fsck has A for yes-to-all response . mkfs makes filesystems on devices >4GB, but truncates them at 4GB
Ben Gras
2005-07-04 13:34:24 +00:00
e17ced44ee
Guard /usr/adm/wtmp for shutdown -C check
Ben Gras
2005-07-04 13:30:55 +00:00
08f67dcef7
. Added printing of ppid to PM dump output . made PM pid 0, own parent (so ppid 0) instead of -1
Ben Gras
2005-07-04 09:36:16 +00:00
af9465adbd
>4GB device detection; mkfs can make it, but FS can't use it...
Ben Gras
2005-07-04 09:20:03 +00:00
35c98cffdc
warning about <4GB filesystems
Ben Gras
2005-07-04 09:19:31 +00:00
8f07525484
format prettifictions; better task/server/user process detection logic
Ben Gras
2005-07-04 09:19:15 +00:00
3dcb2886ff
get/setpriority() and fsync() system calls
Ben Gras
2005-07-01 18:01:33 +00:00
7a31b9aa12
New nice utility, imported from FreeBSD, used to run processes at a different priority.
Ben Gras
2005-07-01 18:00:10 +00:00
83bac1e6a5
Callnumbers and prototypes for get/setpriority() and fsync().
Ben Gras
2005-07-01 17:58:57 +00:00
9cf24c3233
Calls and functionality for get/setpriority() and fsync().
Ben Gras
2005-07-01 17:58:29 +00:00
bfc8f08ae7
Small select manpage update. manpages for sync and getpriority/setpriority system calls. manpage for nice utility.
Ben Gras
2005-07-01 17:57:51 +00:00
7f2e7461e6
Fix stupid assumption that caused headache. Timers lib now seems to work fine again.
Jorrit Herder
2005-07-01 17:17:13 +00:00
83f0f501f8
Added <sys/resource.h> for [gs]etpriority() call.
Ben Gras
2005-07-01 09:59:49 +00:00
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).
Ben Gras
2005-07-01 09:39:47 +00:00
d2018bb8ad
Little mkfs diagnostic help
Ben Gras
2005-07-01 09:38:45 +00:00
bfa25ba41f
Changed debug dumps of kernel process table (F1)
Jorrit Herder
2005-06-30 15:55:43 +00:00
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)
Jorrit Herder
2005-06-30 15:55:19 +00:00
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.
Ben Gras
2005-06-30 13:04:57 +00:00
037d5ffb26
Basic fixes to make de start to read v3 filesystems. (Not complete.)
Ben Gras
2005-06-30 12:59:49 +00:00
f5c56f3f24
changed ash to use pid_t
Philip Homburg
2005-06-30 12:58:26 +00:00
3e5276eff7
changed max pid back to 30000
Philip Homburg
2005-06-30 12:56:34 +00:00
af27dc0cf7
Added fchdir() system call, with corresponding manpage, Changelog and system include modifications.
Ben Gras
2005-06-29 19:28:26 +00:00
62f7f9e6d2
Added mkstemp function. Should use a secure random number generator.
Philip Homburg
2005-06-29 15:29:08 +00:00
eb3d5f2a54
More stack for chown
Philip Homburg
2005-06-29 15:27:12 +00:00
6133970316
Use relative paths for make depend
Philip Homburg
2005-06-29 15:26:10 +00:00
d4b02eae4f
Disabled assertion
Philip Homburg
2005-06-29 15:25:21 +00:00
afcfd1871d
Added some diagnostic
Ben Gras
2005-06-29 12:04:10 +00:00
ca0d035146
Fix by Joren l'Ami <jwlami@cs.vu.nl> to make block devices work beyond 2GB (e.g. for 'large' mkfs).
Ben Gras
2005-06-29 11:56:56 +00:00
906690eb55
Last inet change incomplete
Ben Gras
2005-06-29 11:47:40 +00:00
03e2560d81
Disabled funny broadcast address complaint from inet
Ben Gras
2005-06-29 11:42:53 +00:00
a5ac07400d
Fixed bug in AT driver: don't receive from HARDWARE, but use ANY. Timeouts are sent by the CLOCK.
Jorrit Herder
2005-06-29 10:27:23 +00:00
6be8c4d8a3
Import of dpeth 3c501/3c509b/.. ethernet driver by Giovanni Falzoni <fgalzoni@inwind.it>.
Ben Gras
2005-06-29 10:16:46 +00:00
81081a4063
_POSIX_SOURCE doesn't make sense in <sys/select.h>
Ben Gras
2005-06-28 16:02:58 +00:00
0f26898f82
New inet with partial select implementation
Philip Homburg
2005-06-28 15:19:58 +00:00
013f484525
select.h should include <sys.time.h>. Added struct svrqueryparam to svrctl.h.
Philip Homburg
2005-06-28 15:01:55 +00:00
18458079f8
quick hacks for select
Philip Homburg
2005-06-28 14:59:00 +00:00
a467c43c01
use relative directories in makefiles.
Philip Homburg
2005-06-28 14:56:30 +00:00
8f99754d43
more stack for /bin/sh.
Philip Homburg
2005-06-28 14:53:38 +00:00
bca51699a9
Removed debug statement
Ben Gras
2005-06-28 13:08:52 +00:00
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.
Ben Gras
2005-06-28 11:58:17 +00:00
db2d114d06
Fixed bug that caused /dev/null to be created as file before being created as special file
Ben Gras
2005-06-27 16:31:27 +00:00
2abe246e5c
(Im)port of zlib-1.2.2
Ben Gras
2005-06-27 13:05:04 +00:00
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.
Ben Gras
2005-06-27 11:59:36 +00:00
575f2aa116
Unknown controllers are no longer fatal.
Philip Homburg
2005-06-27 11:45:26 +00:00
b1fe0aa86f
Gave sh more space for configure scripts; connected python to build; fixed nit in python confused about select definitions
Ben Gras
2005-06-27 10:04:55 +00:00
d31aba5ee3
Renamed kermit_211 to kermit-2.1.1
Ben Gras
2005-06-27 09:46:55 +00:00
53a51816a3
Wrote a printenv(1)
Ben Gras
2005-06-27 09:41:58 +00:00
6f02e00837
Fixed sh2.sh test
Ben Gras
2005-06-27 09:41:38 +00:00
1e6bc8c583
Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt())
Ben Gras
2005-06-27 09:32:29 +00:00
b05fa195d6
Prototype and definitions for getopt()
Ben Gras
2005-06-27 09:30:49 +00:00
205d288bb3
Fixed a few compile warnings
Ben Gras
2005-06-27 09:30:33 +00:00
ee5ecc1ad2
ast@ df nits
Ben Gras
2005-06-27 09:02:33 +00:00
62cb81cb3a
Fixed typo in printf() in fxp debug statement (caused delta value not to be printed)
Ben Gras
2005-06-27 08:55:34 +00:00
b25146d3de
Removed SM server.
Jorrit Herder
2005-06-27 08:11:46 +00:00
a408699ce0
Cleaned up process table structure: removed p_type, p_pendcount. Removed stop sequence when MINIX is shut down. Disabled send mask checks --- to be replaced by proper mechanism. Fixed bug relating to 'shutdown -x'. Simplified clock accounting of realtime. Updated Makefiles for mkdept script.
Jorrit Herder
2005-06-24 16:24:40 +00:00