f0594a9e6d- Fixed comments in various system call handlers. Work in progress on new sys_privctl() call to dynamically start servers and drivers.
Jorrit Herder
2005-07-21 18:36:40 +0000
8d3e390bdaAdded new BASE_MEM_TOP to restrict sys_vircopy() calls from BIOS. Updated comments at PRINTF_PROC --- it works again.
Jorrit Herder
2005-07-21 18:32:49 +0000
808202ee30Removed printing functionality from IS server. This functionality is now provided by the LOG driver.
Jorrit Herder
2005-07-21 18:31:27 +0000
09830fc33eAllowed printing diagnostic messages (either from system processes or the kernel) to the log driver. The log driver forwards such output to the TTY.
Jorrit Herder
2005-07-21 18:29:52 +0000
da9b8e45f9Added dev2name - translate (minor,major) device numbers, or (minor|major<<..) device number, to /dev/* node name.
Ben Gras
2005-07-21 13:17:56 +0000
b343c18712Added presz134.zip to go on install cd, modified release script to do it
Ben Gras
2005-07-21 08:35:06 +0000
ee509198a2Removed 'tracing' flag from sys_exec. Logic is now local to PM. Changed variable names in timers libary. Wrote new comments for timers.h header file with explanation.
Jorrit Herder
2005-07-20 15:33:54 +0000
d2d975246dKernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.
Jorrit Herder
2005-07-20 15:28:05 +0000
f1153541c7Fixed bug in PM that caused update program not to be scheduled, so that sync was not periodically run. Chain of timers was accidentially broken.
Jorrit Herder
2005-07-20 15:27:42 +0000
c0718054e9Various fixes and improvements. - fixed bug that caused IDLE to panic (irq hook inconsistency); - kprintf() now accepts multiple arguments; moved to utility.c; - prepare_shutdown() signals system processes with SIGKSTOP; - phys_fill() renamed to phys_memset(), argument order changed; - kmemset() removed in favor of phys_kmemset(); - kstrncpy() removed in favor of phys_copy(); - katoi, kstrncmp replaced by normal library procedure again; - rm_irq_handler() interface changed (simply pass hook pointer);
Jorrit Herder
2005-07-20 15:25:38 +0000
f8af4da472Fixed bug that caused booting being aborted in some cases (e.g. after ls).
Ben Gras
2005-07-20 15:16:53 +0000
d5d9764dbbUninitialised field at init
Ben Gras
2005-07-20 14:04:19 +0000
398119f873Another test case for select - ptys (when implemented)
Ben Gras
2005-07-19 16:03:39 +0000
7c91a50061Openpty() manpage
Ben Gras
2005-07-19 16:02:39 +0000
0f48b1885dnew -lutil, only openpty() for now
Ben Gras
2005-07-19 16:01:37 +0000
d740cce24dHeader file for new -lutil (naming from freebsd)
Ben Gras
2005-07-19 16:01:20 +0000
c24f72d433Made phys_fill fill its 4-byte pattern any number of bytes (instead of rounded down to a 4-byte multiple)
Ben Gras
2005-07-19 16:00:25 +0000
5594b767c0Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
Jorrit Herder
2005-07-19 13:21:51 +0000
0129d98ae1Added new signal types for kernel events: - SIGKMESS: new kernel message (sent to TTY, IS, or LOG) - SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console) - SIGKSIG: kernel signals pending (sent to PM)
Jorrit Herder
2005-07-19 12:24:51 +0000
198c976f7eSystem processes can be signaled; signals are transformed in SYS_EVENT message that passes signal map along. This mechanisms is also used for nonuser signals like SIGKMESS, SIGKSTOP, SIGKSIG.
Jorrit Herder
2005-07-19 12:21:36 +0000
f8c380c195Small update to random number generator
Philip Homburg
2005-07-19 12:16:55 +0000
488b2afc12System processes started via servers=... boot monitor parameter are now daemonized (instead of SIGNON procedure at PM).
Jorrit Herder
2005-07-19 12:14:10 +0000
8c024e28a1Changed Makefiles: drivers are now installed in /usr/sbin. TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
Jorrit Herder
2005-07-19 12:12:48 +0000
f2e16763e7Removed PM signon for INET. Now daemonized in /usr/etc/rc. SIGTRAP generated in PM (where it belongs / no longer in kernel). Updated Makefiles: servers are now installed in /usr/sbin.
Jorrit Herder
2005-07-19 12:11:11 +0000
7d4e914618Random number generator
Philip Homburg
2005-07-18 15:40:24 +0000
3eb405c3bfFixed two uninitialized-data bugs.
Ben Gras
2005-07-18 13:44:39 +0000
1f756d377aMade memset system call listen to character argument
Ben Gras
2005-07-18 12:31:11 +0000
42e6d20afeChanged phys_zero to phys_fill, which accepts a 4-byte argument saying what to fill with. Changed prototype and call to match.
Ben Gras
2005-07-18 12:18:16 +0000
5cd673c5baNit 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 +0000
dfc51728b7Made 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 +0000
c69ed2c4b1Verbose tar option was for debugging, shouldn't have been commited. Undone.
Ben Gras
2005-07-15 11:49:34 +0000
eba45510a9New 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 +0000
570eac1f53Renamed system library functionality. Updated debug dumps of IS server.
Jorrit Herder
2005-07-14 15:16:12 +0000
279250889fRenamed some system library functionality.
Jorrit Herder
2005-07-14 15:15:18 +0000
272a8496acUpdated 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 +0000
654722493bRenamed 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 +0000
42ab148155Reorganized 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 +0000
0348b8d0caMinor improvements for autopart and setupcd
Ben Gras
2005-07-13 14:59:43 +0000
e2a0ddf863Makefile fixes.
Ben Gras
2005-07-13 14:59:04 +0000
c389801a5fMade 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 +0000
f96645a4ebFixed 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 +0000
0f746219fcsetup -> setupcd
Ben Gras
2005-07-13 13:04:56 +0000
e0e5e62230Increased timeout to avoid 'CU does not accept command' panic..
Ben Gras
2005-07-13 11:50:30 +0000
5dd4862b7eFixed some warnings in dosread.c; initial version of autopart (don't try it yet ;))
Ben Gras
2005-07-13 10:02:14 +0000
d4b173ee50Misc fixes and additions
Ben Gras
2005-07-12 13:10:06 +0000
5c13385e40Added sync() after logfile i/o to reduce risk of losing log entries after e.g. crashes.
Ben Gras
2005-07-11 13:19:29 +0000
ed66b0ff02Increased mii_read timeout.
Philip Homburg
2005-07-11 13:09:44 +0000
0cabfc76eeUsleep implementation based on select.
Philip Homburg
2005-07-11 13:08:00 +0000
b5809b6a81Added random, strdup, and strtok_r.
Philip Homburg
2005-07-11 13:06:27 +0000
c60f3ff846Select patches for TCP read and write. TCP support for FIONREAD.
Philip Homburg
2005-07-11 13:02:59 +0000
11cbb6faaeMany changes to simplify porting applications.
Philip Homburg
2005-07-11 13:00:43 +0000
054e68baf6Flex-2.5.4.
Philip Homburg
2005-07-11 12:54:10 +0000
d21c2c2229Enable debug output
Philip Homburg
2005-07-11 12:49:24 +0000
9bb373331cMore stack for tar
Philip Homburg
2005-07-11 12:47:43 +0000
77f1301ae9More stack for make
Philip Homburg
2005-07-11 12:46:27 +0000
ef795796bfMore stack for acd.
Philip Homburg
2005-07-11 12:45:57 +0000
c45ee629eeMore stack for aal.
Philip Homburg
2005-07-11 12:44:39 +0000
42050e39f8kernel 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 +0000
dd31785aa6Added some data for the new log device.
Ben Gras
2005-07-08 17:24:49 +0000
640eb73ca2New 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 +0000
c021dafe27usyslogd - 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 +0000
1adcfcdf1cChanged 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 +0000
f0817fbd4ccomplete, tick-resolution gettimeofday() implementation
Ben Gras
2005-07-06 07:08:36 +0000
493ab97a8dfixed small operator priority bug; ! has higher precedence than & in (!flags & FLAGCHECK)
Ben Gras
2005-07-05 11:08:15 +0000
904cf1f84dA "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 +0000
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 +0000
e17ced44eeGuard /usr/adm/wtmp for shutdown -C check
Ben Gras
2005-07-04 13:30:55 +0000
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 +0000
af9465adbd>4GB device detection; mkfs can make it, but FS can't use it...
Ben Gras
2005-07-04 09:20:03 +0000
35c98cffdcwarning about <4GB filesystems
Ben Gras
2005-07-04 09:19:31 +0000
8f07525484format prettifictions; better task/server/user process detection logic
Ben Gras
2005-07-04 09:19:15 +0000
3dcb2886ffget/setpriority() and fsync() system calls
Ben Gras
2005-07-01 18:01:33 +0000
7a31b9aa12New nice utility, imported from FreeBSD, used to run processes at a different priority.
Ben Gras
2005-07-01 18:00:10 +0000
83bac1e6a5Callnumbers and prototypes for get/setpriority() and fsync().
Ben Gras
2005-07-01 17:58:57 +0000
9cf24c3233Calls and functionality for get/setpriority() and fsync().
Ben Gras
2005-07-01 17:58:29 +0000
bfc8f08ae7Small select manpage update. manpages for sync and getpriority/setpriority system calls. manpage for nice utility.
Ben Gras
2005-07-01 17:57:51 +0000
7f2e7461e6Fix stupid assumption that caused headache. Timers lib now seems to work fine again.
Jorrit Herder
2005-07-01 17:17:13 +0000
83f0f501f8Added <sys/resource.h> for [gs]etpriority() call.
Ben Gras
2005-07-01 09:59:49 +0000
2ce80ece5cFix 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 +0000
d2018bb8adLittle mkfs diagnostic help
Ben Gras
2005-07-01 09:38:45 +0000
c349ef942aChanges scheduling priorities for nice().
Jorrit Herder
2005-07-01 09:08:41 +0000
bfa25ba41fChanged debug dumps of kernel process table (F1)
Jorrit Herder
2005-06-30 15:55:43 +0000
bac6068857Rewrite 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 +0000
ebd38d9a92Added 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 +0000
037d5ffb26Basic fixes to make de start to read v3 filesystems. (Not complete.)
Ben Gras
2005-06-30 12:59:49 +0000
f5c56f3f24changed ash to use pid_t
Philip Homburg
2005-06-30 12:58:26 +0000
3e5276eff7changed max pid back to 30000
Philip Homburg
2005-06-30 12:56:34 +0000
af27dc0cf7Added fchdir() system call, with corresponding manpage, Changelog and system include modifications.
Ben Gras
2005-06-29 19:28:26 +0000