]> Zhao Yanbai Git Server - minix.git/log
minix.git
16 years agoclose device if mount fails after device opened.
Ben Gras [Wed, 26 Sep 2007 15:06:41 +0000 (15:06 +0000)]
close device if mount fails after device opened.

17 years agoAdded PF_UNIX and PF_INET to make porting easier.
Philip Homburg [Mon, 17 Sep 2007 11:35:44 +0000 (11:35 +0000)]
Added PF_UNIX and PF_INET to make porting easier.

17 years agoDisabled some debug output in recvfrom.
Philip Homburg [Mon, 17 Sep 2007 11:22:06 +0000 (11:22 +0000)]
Disabled some debug output in recvfrom.

17 years agoDon't truncate read requests based on v_size; v_size can be stale in the
Ben Gras [Tue, 11 Sep 2007 15:52:22 +0000 (15:52 +0000)]
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.

17 years agoMake test 17 use dir 17
Ben Gras [Tue, 11 Sep 2007 14:56:48 +0000 (14:56 +0000)]
Make test 17 use dir 17

17 years agofix for i/o data/addr pair set macro's.
Ben Gras [Tue, 11 Sep 2007 11:22:29 +0000 (11:22 +0000)]
fix for i/o data/addr pair set macro's.

17 years agoREQ_FSTATFS now operates on the root inode (the inode parameter has been
Philip Homburg [Fri, 17 Aug 2007 11:20:59 +0000 (11:20 +0000)]
REQ_FSTATFS now operates on the root inode (the inode parameter has been
removed)

17 years agoBetter interface for sys_times.
Philip Homburg [Thu, 16 Aug 2007 13:16:26 +0000 (13:16 +0000)]
Better interface for sys_times.

17 years agomfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with
Philip Homburg [Wed, 15 Aug 2007 12:56:35 +0000 (12:56 +0000)]
mfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with
rs.inet as the restart script.

17 years agoReturn EIO if a filedescriptor cannot be re-opened after a driver restart.
Philip Homburg [Wed, 15 Aug 2007 12:53:52 +0000 (12:53 +0000)]
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.

17 years agoClose UDP socket after error.
Philip Homburg [Wed, 15 Aug 2007 12:50:24 +0000 (12:50 +0000)]
Close UDP socket after error.

17 years agocleanup
Philip Homburg [Fri, 10 Aug 2007 13:02:39 +0000 (13:02 +0000)]
cleanup

17 years agoBetter recovery when req_readsuper fails.
Philip Homburg [Fri, 10 Aug 2007 13:01:38 +0000 (13:01 +0000)]
Better recovery when req_readsuper fails.

17 years agoRemoved old debug code.
Philip Homburg [Wed, 8 Aug 2007 15:27:07 +0000 (15:27 +0000)]
Removed old debug code.

17 years agoDirectory check before access check.
Philip Homburg [Wed, 8 Aug 2007 15:26:47 +0000 (15:26 +0000)]
Directory check before access check.

17 years agoTo return the right error, check first is an object is a directory (for
Philip Homburg [Wed, 8 Aug 2007 14:01:36 +0000 (14:01 +0000)]
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

17 years agoDisable POSIX-required behavior wrt trailing slashes.
Philip Homburg [Wed, 8 Aug 2007 11:40:47 +0000 (11:40 +0000)]
Disable POSIX-required behavior wrt trailing slashes.

17 years agoRemoved invalid consistency check.
Philip Homburg [Tue, 7 Aug 2007 14:27:19 +0000 (14:27 +0000)]
Removed invalid consistency check.

17 years agoO_EXCL check went missing.
Philip Homburg [Tue, 7 Aug 2007 14:26:56 +0000 (14:26 +0000)]
O_EXCL check went missing.

17 years agoinclude "../vfs/dmap.h".
Philip Homburg [Tue, 7 Aug 2007 13:26:25 +0000 (13:26 +0000)]
include "../vfs/dmap.h".

17 years agoRemoved references to stacktrace.
Philip Homburg [Tue, 7 Aug 2007 13:21:55 +0000 (13:21 +0000)]
Removed references to stacktrace.

17 years agoSomehow request.c got garbled.
Philip Homburg [Tue, 7 Aug 2007 13:12:27 +0000 (13:12 +0000)]
Somehow request.c got garbled.

17 years agoNew VFS interface
Philip Homburg [Tue, 7 Aug 2007 12:52:47 +0000 (12:52 +0000)]
New VFS interface

17 years agoAdded new interface to VFS.
Philip Homburg [Tue, 7 Aug 2007 12:38:35 +0000 (12:38 +0000)]
Added new interface to VFS.

17 years agoTell the kernel about the new boottime and don't tell VFS.
Philip Homburg [Tue, 7 Aug 2007 12:28:42 +0000 (12:28 +0000)]
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).

17 years agoRemoved sigaction call. PM tries to talk to DS. DS should not talk to PM.
Philip Homburg [Tue, 7 Aug 2007 12:25:21 +0000 (12:25 +0000)]
Removed sigaction call. PM tries to talk to DS. DS should not talk to PM.

17 years agoRemoved dmap table. Publish endpoint in DS before calling mapdriver5.
Philip Homburg [Tue, 7 Aug 2007 12:24:06 +0000 (12:24 +0000)]
Removed dmap table. Publish endpoint in DS before calling mapdriver5.

17 years agoAdded global variable boottime, prototype for do_stime, and table entry for
Philip Homburg [Tue, 7 Aug 2007 12:21:40 +0000 (12:21 +0000)]
Added global variable boottime, prototype for do_stime, and table entry for
SYS_STIME.

17 years agoAdded do_stime.c, return boot time in do_times.c
Philip Homburg [Tue, 7 Aug 2007 12:20:31 +0000 (12:20 +0000)]
Added do_stime.c, return boot time in do_times.c

17 years agoRemoved check for grants that wrap.
Philip Homburg [Tue, 7 Aug 2007 12:19:45 +0000 (12:19 +0000)]
Removed check for grants that wrap.

17 years agoAdded getuptime2.c
Philip Homburg [Tue, 7 Aug 2007 12:14:04 +0000 (12:14 +0000)]
Added getuptime2.c

17 years agoAdded mapdriver5.s.
Philip Homburg [Tue, 7 Aug 2007 12:05:36 +0000 (12:05 +0000)]
Added mapdriver5.s.

17 years agoAdded sys_stime.c, T_CHILD_UTIME and T_CHILD_STIME are gone, should
Philip Homburg [Tue, 7 Aug 2007 12:04:29 +0000 (12:04 +0000)]
Added sys_stime.c, T_CHILD_UTIME and T_CHILD_STIME are gone, should
change interface of sys_times.

17 years agoAdded _mapdriver5.c.
Philip Homburg [Tue, 7 Aug 2007 12:02:38 +0000 (12:02 +0000)]
Added _mapdriver5.c.

17 years agoAdded prototype for mapdriver5 (from RS to VFS, report the name of a driver
Philip Homburg [Tue, 7 Aug 2007 11:59:02 +0000 (11:59 +0000)]
Added prototype for mapdriver5 (from RS to VFS, report the name of a driver
instead of its endpoint).

17 years agoMany changes to the VFS/FS interface.
Philip Homburg [Tue, 7 Aug 2007 11:58:03 +0000 (11:58 +0000)]
Many changes to the VFS/FS interface.

17 years agoAdded FS_READY (from vfsif.h), and MAPDRIVER (from RS to VFS)
Philip Homburg [Tue, 7 Aug 2007 11:57:33 +0000 (11:57 +0000)]
Added FS_READY (from vfsif.h), and MAPDRIVER (from RS to VFS)

17 years agoNew message type 9: 5 longs, 3 shorts, and 2 chars.
Philip Homburg [Tue, 7 Aug 2007 11:56:28 +0000 (11:56 +0000)]
New message type 9: 5 longs, 3 shorts, and 2 chars.

17 years agoNew call SYS_STIME, restructured fields for SYS_TIMES, removed PM_STIME,
Philip Homburg [Tue, 7 Aug 2007 11:55:28 +0000 (11:55 +0000)]
New call SYS_STIME, restructured fields for SYS_TIMES, removed PM_STIME,
added VFS_BASE.

17 years agoSome parts of dmap can be private (to vfs)
Philip Homburg [Tue, 7 Aug 2007 11:53:41 +0000 (11:53 +0000)]
Some parts of dmap can be private (to vfs)

17 years agoAdded prototypes for sys_stime and getuptime2 (tell the kernel about the
Philip Homburg [Tue, 7 Aug 2007 11:52:15 +0000 (11:52 +0000)]
Added prototypes for sys_stime and getuptime2 (tell the kernel about the
boot time and return the boot time together with the uptime)

17 years agoConstants for symlink loops
Philip Homburg [Tue, 7 Aug 2007 11:43:49 +0000 (11:43 +0000)]
Constants for symlink loops

17 years agoCompile-time option to duplicate console output to the first serial line
Philip Homburg [Tue, 7 Aug 2007 11:27:03 +0000 (11:27 +0000)]
Compile-time option to duplicate console output to the first serial line

17 years agoMore space on ramdisk
Philip Homburg [Tue, 7 Aug 2007 11:22:35 +0000 (11:22 +0000)]
More space on ramdisk

17 years agoPrint the value of a capability as well.
Philip Homburg [Tue, 7 Aug 2007 11:21:57 +0000 (11:21 +0000)]
Print the value of a capability as well.

17 years ago . add checks to printer driver kernel calls
Ben Gras [Mon, 6 Aug 2007 11:17:08 +0000 (11:17 +0000)]
 . add checks to printer driver kernel calls
 . correct some i/o locations for printer in drivers.conf

17 years agomicro_delay in sysutil, used in ti1225, dp8390, fxp and
Ben Gras [Tue, 31 Jul 2007 15:01:49 +0000 (15:01 +0000)]
micro_delay in sysutil, used in ti1225, dp8390, fxp and
orinoco now. Uses a combination of tickdelay (where possible) and
calibrated busywait (where necessary).

17 years ago'fix' crlf style
Ben Gras [Tue, 24 Jul 2007 14:49:39 +0000 (14:49 +0000)]
'fix' crlf style

17 years agoa driver for wireless pci cards with the Prism chipset from Intersil
Ben Gras [Tue, 24 Jul 2007 14:49:09 +0000 (14:49 +0000)]
a driver for wireless pci cards with the Prism chipset from Intersil

Original version, by Stevens Le Blond and Michael Valkering.

17 years ago . remove small image (doesn't fit)
Ben Gras [Tue, 17 Jul 2007 14:36:42 +0000 (14:36 +0000)]
 . remove small image (doesn't fit)
 . edparams line a bit more readable
 . use image built in build tree, not regular source tree

17 years agoTypo reported by Johnathan Gurley.
Ben Gras [Tue, 17 Jul 2007 11:40:02 +0000 (11:40 +0000)]
Typo reported by Johnathan Gurley.

17 years agoalso allow vm_map.
Ben Gras [Wed, 11 Jul 2007 13:45:06 +0000 (13:45 +0000)]
also allow vm_map.

17 years agoDon't exit when rebooting.
Ben Gras [Wed, 11 Jul 2007 13:44:45 +0000 (13:44 +0000)]
Don't exit when rebooting.

17 years agoDon't quit (some processes want to talk to pci at reboot time)
Ben Gras [Wed, 11 Jul 2007 13:44:00 +0000 (13:44 +0000)]
Don't quit (some processes want to talk to pci at reboot time)

17 years ago. clarify panic messages in syslib about pci
Ben Gras [Wed, 11 Jul 2007 13:38:13 +0000 (13:38 +0000)]
. clarify panic messages in syslib about pci
. use ds_retrieve_u32 instead of _pm_findproc

17 years agoGive arp and install the default amount of memory - otherwise they run
Ben Gras [Wed, 11 Jul 2007 13:36:31 +0000 (13:36 +0000)]
Give arp and install the default amount of memory - otherwise they run
out of memory in extreme cases.

17 years agoReported by Erik van der Kouwe <vdkouwe at cs.vu.nl>:
Ben Gras [Mon, 2 Jul 2007 11:16:27 +0000 (11:16 +0000)]
Reported by Erik van der Kouwe <vdkouwe at cs.vu.nl>:

-  fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
+  fprintf(stderr, "%s: reboot(): %s\n", prog, strerror(errno));

Other minor fixes inspired by other warnings produced by gcc.

17 years agoAssume bios parameters are wrong/missing if any of the parameters are 0.
Ben Gras [Wed, 30 May 2007 16:13:52 +0000 (16:13 +0000)]
Assume bios parameters are wrong/missing if any of the parameters are 0.

17 years agoinclude 'printer' driver
Ben Gras [Wed, 30 May 2007 15:40:12 +0000 (15:40 +0000)]
include 'printer' driver

17 years agoBoot monitor flag that enables 'sticky right-alt', permanent change
Ben Gras [Wed, 16 May 2007 13:14:37 +0000 (13:14 +0000)]
Boot monitor flag that enables 'sticky right-alt', permanent change
to col selected from the keymap untill right-alt is pressed again.

Sticky alt code and russian keymap contributed by Roman Ignatov
and Yaroslav Schekin.

17 years agoInclude fonts blobs in src repository.
Ben Gras [Wed, 16 May 2007 13:00:43 +0000 (13:00 +0000)]
Include fonts blobs in src repository.

17 years agoRestore user-owned bits from PSW after a signal handler, instead of
Ben Gras [Tue, 8 May 2007 15:43:00 +0000 (15:43 +0000)]
Restore user-owned bits from PSW after a signal handler, instead of
copying complete PSW after signal handler.

This fixes a psw corruption bug reported by Jens de Smit <jst260@few.vu.nl>.

17 years agoHack in service to use RS_START instead of RS_UP. RS reports the use of RS_UP.
Philip Homburg [Wed, 2 May 2007 15:20:28 +0000 (15:20 +0000)]
Hack in service to use RS_START instead of RS_UP. RS reports the use of RS_UP.

17 years agoAdded fxp. rtl8139 doesn't need to be root anymore.
Philip Homburg [Wed, 2 May 2007 11:40:15 +0000 (11:40 +0000)]
Added fxp. rtl8139 doesn't need to be root anymore.

17 years agoUse ds_retrieve_u32 to get the endpoint of inet.
Philip Homburg [Wed, 2 May 2007 11:39:10 +0000 (11:39 +0000)]
Use ds_retrieve_u32 to get the endpoint of inet.

17 years agoUse ds_retrieve_u32 to get the endpoint of inet.
Philip Homburg [Wed, 2 May 2007 11:32:22 +0000 (11:32 +0000)]
Use ds_retrieve_u32 to get the endpoint of inet.

17 years agoUse ds_retrieve_u32 to get the endpoint of inet and of the ethernet drivers.
Philip Homburg [Wed, 2 May 2007 11:30:16 +0000 (11:30 +0000)]
Use ds_retrieve_u32 to get the endpoint of inet and of the ethernet drivers.

17 years agoUse ds_retrieve_u32 to find the endpoint of pci.
Philip Homburg [Wed, 2 May 2007 11:24:51 +0000 (11:24 +0000)]
Use ds_retrieve_u32 to find the endpoint of pci.

17 years agodate not built from here
Ben Gras [Tue, 1 May 2007 14:18:55 +0000 (14:18 +0000)]
date not built from here

17 years agoshell at least as big in 'big' as in normal
Ben Gras [Tue, 1 May 2007 14:11:10 +0000 (14:11 +0000)]
shell at least as big in 'big' as in normal

17 years agoPublish endpoints in ds.
Philip Homburg [Fri, 27 Apr 2007 13:03:33 +0000 (13:03 +0000)]
Publish endpoints in ds.

17 years agoRestrict access to rs to root's processes.
Philip Homburg [Fri, 27 Apr 2007 12:27:40 +0000 (12:27 +0000)]
Restrict access to rs to root's processes.

17 years agogetpeuid implementation. Get the uid of a process (by endpoint)
Philip Homburg [Fri, 27 Apr 2007 12:21:06 +0000 (12:21 +0000)]
getpeuid implementation. Get the uid of a process (by endpoint)

17 years ago . readall: use lseek64() to read more than 4GB of a device
Ben Gras [Tue, 24 Apr 2007 13:27:33 +0000 (13:27 +0000)]
 . 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

17 years agoobsolete manpages (these have become packages)
Ben Gras [Tue, 24 Apr 2007 13:25:57 +0000 (13:25 +0000)]
obsolete manpages (these have become packages)

17 years agoFixed releasing PCI resources after a driver terminates.
Philip Homburg [Tue, 24 Apr 2007 12:55:37 +0000 (12:55 +0000)]
Fixed releasing PCI resources after a driver terminates.

17 years agoTake out obsolete message about 4GB.
Ben Gras [Tue, 24 Apr 2007 12:40:25 +0000 (12:40 +0000)]
Take out obsolete message about 4GB.

17 years agodp8390 doesn't cope with the different semantics of the pci
Ben Gras [Tue, 24 Apr 2007 12:29:51 +0000 (12:29 +0000)]
dp8390 doesn't cope with the different semantics of the pci
functions.

Bug and workaround reported by "E.Agafonov" <e.a.agafonov@gmail.com>.

17 years agoFixed some lose ends in the serial line debug dump code.
Philip Homburg [Mon, 23 Apr 2007 15:59:16 +0000 (15:59 +0000)]
Fixed some lose ends in the serial line debug dump code.

17 years agoRemove KILL and VIRCOPY from drivers that don't need them. Added rtl8139.
Philip Homburg [Mon, 23 Apr 2007 15:39:46 +0000 (15:39 +0000)]
Remove KILL and VIRCOPY from drivers that don't need them. Added rtl8139.

17 years agoEthernet driver changes for asynchronous inet.
Philip Homburg [Mon, 23 Apr 2007 15:38:00 +0000 (15:38 +0000)]
Ethernet driver changes for asynchronous inet.

17 years agoDisabled ser_putc for reporting debug internal to tty over the serial line.
Philip Homburg [Mon, 23 Apr 2007 14:59:32 +0000 (14:59 +0000)]
Disabled ser_putc for reporting debug internal to tty over the serial line.
Disabled return statement for serial debug input in the kernel.

17 years agoAdded do_del_acl. More detailed debug output for the secure device capability.
Philip Homburg [Mon, 23 Apr 2007 14:54:51 +0000 (14:54 +0000)]
Added do_del_acl. More detailed debug output for the secure device capability.

17 years agoInitial convertion to asynchronous sends for communicating with ethernet
Philip Homburg [Mon, 23 Apr 2007 14:49:20 +0000 (14:49 +0000)]
Initial convertion to asynchronous sends for communicating with ethernet
drivers.

17 years agoReport and detect exec failures using a pipe.
Philip Homburg [Mon, 23 Apr 2007 14:47:04 +0000 (14:47 +0000)]
Report and detect exec failures using a pipe.
XXX Hardcoded values for s_ipc_to and s_ipc_sendrec.

17 years agoInitialize exec_pipe.
Philip Homburg [Mon, 23 Apr 2007 14:43:25 +0000 (14:43 +0000)]
Initialize exec_pipe.

17 years agoDiagnostics from service go to standard error.
Philip Homburg [Mon, 23 Apr 2007 14:42:58 +0000 (14:42 +0000)]
Diagnostics from service go to standard error.

17 years agoExtra flags RS_SIGNALED and RS_EXECFAILED. Pipe for detecting exec failures.
Philip Homburg [Mon, 23 Apr 2007 14:42:08 +0000 (14:42 +0000)]
Extra flags RS_SIGNALED and RS_EXECFAILED. Pipe for detecting exec failures.

17 years agoRemoved ECHO from dump, added SENDA. Also dump s_ipc_sendrec.
Philip Homburg [Mon, 23 Apr 2007 14:40:13 +0000 (14:40 +0000)]
Removed ECHO from dump, added SENDA. Also dump s_ipc_sendrec.

17 years agoRound memory size up for VM.
Philip Homburg [Mon, 23 Apr 2007 14:38:55 +0000 (14:38 +0000)]
Round memory size up for VM.

17 years agoRemoved some indentation.
Philip Homburg [Mon, 23 Apr 2007 14:33:42 +0000 (14:33 +0000)]
Removed some indentation.

17 years agoDebug dumps over the serial line. Direct output to video memory.
Philip Homburg [Mon, 23 Apr 2007 14:25:17 +0000 (14:25 +0000)]
Debug dumps over the serial line. Direct output to video memory.

17 years agoClean and support for asynchronous sends.
Philip Homburg [Mon, 23 Apr 2007 14:24:30 +0000 (14:24 +0000)]
Clean and support for asynchronous sends.

17 years agoFixed bad boundary condition, support for asynchronous I/O.
Philip Homburg [Mon, 23 Apr 2007 14:23:37 +0000 (14:23 +0000)]
Fixed bad boundary condition, support for asynchronous I/O.

17 years agoRemoved some white space.
Philip Homburg [Mon, 23 Apr 2007 13:58:37 +0000 (13:58 +0000)]
Removed some white space.

17 years agoPoll serial line for debug output requests when do_serial_debug is true.
Philip Homburg [Mon, 23 Apr 2007 13:56:27 +0000 (13:56 +0000)]
Poll serial line for debug output requests when do_serial_debug is true.

17 years agoInitialize s_ipc_sendrec.
Philip Homburg [Mon, 23 Apr 2007 13:46:54 +0000 (13:46 +0000)]
Initialize s_ipc_sendrec.

17 years agoRemoved ECHO.
Philip Homburg [Mon, 23 Apr 2007 13:46:26 +0000 (13:46 +0000)]
Removed ECHO.

17 years agoCleanup.
Philip Homburg [Mon, 23 Apr 2007 13:44:56 +0000 (13:44 +0000)]
Cleanup.

17 years agoFields for asynchronous sends (s_asyntab and s_asynsize) and for allowed
Philip Homburg [Mon, 23 Apr 2007 13:37:30 +0000 (13:37 +0000)]
Fields for asynchronous sends (s_asyntab and s_asynsize) and for allowed
sendrecs (s_ipc_sendrec).