------------------------------------------------------------------------ r2163 | beng | 2006-05-09 00:04:05 +0200 (Tue, 09 May 2006) | 2 lines Fix for service formatting bug reported by Jaap Weel ------------------------------------------------------------------------ r2164 | philip | 2006-05-10 17:39:52 +0200 (Wed, 10 May 2006) | 2 lines Balance curly braces. ------------------------------------------------------------------------ r2165 | beng | 2006-05-11 16:01:44 +0200 (Thu, 11 May 2006) | 2 lines call cons_stop() before sys_abort() to not break tty on shutdown ------------------------------------------------------------------------ r2166 | philip | 2006-05-11 16:47:31 +0200 (Thu, 11 May 2006) | 2 lines Changes for restarting disk drivers and new interface between PM and FS. ------------------------------------------------------------------------ r2167 | philip | 2006-05-11 16:49:46 +0200 (Thu, 11 May 2006) | 3 lines Better initialization of the memory map of processes that are part of the image. Removed NO_MAP flag. ------------------------------------------------------------------------ r2168 | philip | 2006-05-11 16:52:40 +0200 (Thu, 11 May 2006) | 2 lines Ignore SIGHUP in floppy driver. ------------------------------------------------------------------------ r2169 | philip | 2006-05-11 16:53:20 +0200 (Thu, 11 May 2006) | 2 lines Pass -c flags to service for disk device drivers. ------------------------------------------------------------------------ r2170 | philip | 2006-05-11 16:57:23 +0200 (Thu, 11 May 2006) | 2 lines New interface between PM and FS. ------------------------------------------------------------------------ r2171 | philip | 2006-05-11 16:58:33 +0200 (Thu, 11 May 2006) | 2 lines Special code for restarting disk drivers (-c flag in service). ------------------------------------------------------------------------ r2172 | philip | 2006-05-11 17:00:46 +0200 (Thu, 11 May 2006) | 3 lines Init need more space (the results of removing the special case for init in adjust in PM). Better flags dump in IS. ------------------------------------------------------------------------ r2173 | philip | 2006-05-11 17:30:56 +0200 (Thu, 11 May 2006) | 2 lines The new service command managed to escape. ------------------------------------------------------------------------ r2180 | philip | 2006-05-15 13:43:06 +0200 (Mon, 15 May 2006) | 3 lines Do not unmap a driver when the driver dies (it interferes with restarting disk drivers). Fixed accounting for REVIVING/reviving. ------------------------------------------------------------------------ r2181 | philip | 2006-05-15 14:06:19 +0200 (Mon, 15 May 2006) | 2 lines Unpause requests (to FS) can be generated in parallel to other requests. ------------------------------------------------------------------------ r2182 | philip | 2006-05-15 14:08:43 +0200 (Mon, 15 May 2006) | 3 lines Fixed off by one error in backoff code. Limit backoff to 1 second for disk drivers. ------------------------------------------------------------------------ r2191 | philip | 2006-05-19 14:19:37 +0200 (Fri, 19 May 2006) | 10 lines Disabled building rescue driver (no longer needed). Moved allocmem from library to the memory driver. Always put output from within TTY directly on the console. Removed second include of driver.h from tty.c. Made tty_inrepcode bigger. First step to move PM and FS calls that are not regular (API) system calls out of callnr.h (renumbered them, and removed them from the table.c files). Imported the Minix-vmd uname implementation. This provides a more stable ABI than the current implementation. Added a bit of security checking. Unfortunately not nearly enough to get a secure system. Fixed a bug related to the sizes of the programs in the image (in PM patch_mem_chunks). ------------------------------------------------------------------------ r2192 | philip | 2006-05-19 14:45:55 +0200 (Fri, 19 May 2006) | 2 lines Actually remove allocmem and freemem sources from the library. ------------------------------------------------------------------------ r2193 | philip | 2006-05-23 14:59:34 +0200 (Tue, 23 May 2006) | 2 lines New version of ash. From FreeBSD 5.4 via Minix-vmd. ------------------------------------------------------------------------ r2194 | philip | 2006-05-29 14:25:44 +0200 (Mon, 29 May 2006) | 2 lines Install /usr/lib/descr from the source tree. ------------------------------------------------------------------------ r2195 | philip | 2006-05-29 14:29:25 +0200 (Mon, 29 May 2006) | 2 lines Parsing of '-OT' and '-OS' failed in acd.descr. ------------------------------------------------------------------------ r2196 | philip | 2006-05-29 15:20:28 +0200 (Mon, 29 May 2006) | 3 lines Make sure that line editing is disabled when the shell is not connected to a tty. ------------------------------------------------------------------------ r2211 | philip | 2006-06-07 16:36:35 +0200 (Wed, 07 Jun 2006) | 3 lines Added killpg to signal.h, rearranged getloadavg, putenv, and setenv in stdlib.h and added unsetenv, added declaration of optreset to unistd.h. ------------------------------------------------------------------------ r2212 | philip | 2006-06-07 16:38:39 +0200 (Wed, 07 Jun 2006) | 3 lines Important BSD version of setenv, added killpg, replaced _sigsetjmp.c with an assembler jump to longjmp. ------------------------------------------------------------------------ r2213 | philip | 2006-06-07 16:39:50 +0200 (Wed, 07 Jun 2006) | 2 lines A bigger ramdisk is needed for the new version of ash. ------------------------------------------------------------------------ r2214 | philip | 2006-06-07 16:41:47 +0200 (Wed, 07 Jun 2006) | 3 lines Fixed some select bugs related to pipes. Removed SELFD_* because they were bogus and unused. ------------------------------------------------------------------------ r2215 | philip | 2006-06-07 17:03:42 +0200 (Wed, 07 Jun 2006) | 2 lines Forgot include some Minix 3 specific changes. ------------------------------------------------------------------------ r2219 | philip | 2006-06-14 15:17:41 +0200 (Wed, 14 Jun 2006) | 3 lines Wake up writer when selecting for read on an empty pipe. Set fp_revived to NOT_REVIVING when decrementing reviving. ------------------------------------------------------------------------ r2220 | philip | 2006-06-14 15:18:53 +0200 (Wed, 14 Jun 2006) | 2 lines Retry read after EINTR. ------------------------------------------------------------------------ r2221 | philip | 2006-06-14 15:19:48 +0200 (Wed, 14 Jun 2006) | 2 lines Prototype for readline. ------------------------------------------------------------------------ r2223 | beng | 2006-06-19 16:51:41 +0200 (Mon, 19 Jun 2006) | 2 lines Al Woodhull's new manual pages ------------------------------------------------------------------------ r2226 | beng | 2006-06-19 16:55:09 +0200 (Mon, 19 Jun 2006) | 2 lines Initial revision ------------------------------------------------------------------------ r2231 | beng | 2006-06-19 16:58:20 +0200 (Mon, 19 Jun 2006) | 3 lines . flex back into the base system . imports of Michael Temari's httpd and ftp ------------------------------------------------------------------------ r2232 | beng | 2006-06-20 10:38:15 +0200 (Tue, 20 Jun 2006) | 34 lines . introduced DEV_READ_S, DEV_WRITE_S, DEV_SCATTER_S, DEV_GATHER_S and DEV_IOCTL_S as replacements for DEV_READ, DEV_WRITE, DEV_SCATTER, DEV_GATHER and DEV_IOCTL. Instead of a direct address, the *_S commands pass 'grant ids' to the drivers which are referenced through a new set of copy calls (sys_safecopyfrom and sys_safecopyto). in order for this copy to succeed, the grant must have previously been created in the address space of the granter. . bitmap manipulation functions moved to . HIGHPOS introduced as field containing high 32 bits of position in device I/O message; TTY_FLAGS no longer used . IO_GRANT field introduced for GRANTs, to replace ADDRESS . REP_IO_GRANT field for un-SUSPEND messages introduced to indicate grant for which I/O was done to disambiguate messages . SYS_SAFECOPYFROM and SYS_SAFECOPYTO introduced as new calls . SYS_PRIV_SET_GRANTS code introduced as a code to set the address and size of the grant table in a process' own address space . 'type' and 'direction' field of _ins* and _outs* I/O functions are merged into one by ORing _DIO_INPUT/_DIO_OUTPUT and _DIO_BYTE/_DIO_WORD etc. This allows for an additional parameter, _DIO_SAFE, which indicates the address in another address space isn't actually an address, but a grant id. Also needs an offset, for which fields had to be merged. . SCP_* are field names for SYS_SAFECOPY* functions . DIAGNOSTICS and GET_KMESS moved to their own range above DIAG_BASE, added DIAGNOSTICS_S which is a grant-based variant of DIAGNOSTICS . removed obsolete BINCOMPAT and SRCCOMPAT options . added GRANT_SEG type for use in vircopy - allows copying to a grant id (without offset) . added _MINIX_IOCTL_* macros that decode information encoded by _IO* macros in ioctl codes, used to check which grants are necessary for an ioctl . introduced the type endpoint_t for process endpoints, changed some prototypes and struct field types to match . renamed protected to prot for g++ ------------------------------------------------------------------------ r2233 | beng | 2006-06-20 10:40:26 +0200 (Tue, 20 Jun 2006) | 5 lines . renamed __str to __makestr to allow for g++ . changed some CMOS ioctl codes to have correct sizes (struct tm instead of u32_t), a disk ioctl code from W to RW, and memory ioctl codes from R to W, needed for proper matching of grant in FS ------------------------------------------------------------------------ r2234 | beng | 2006-06-20 10:45:04 +0200 (Tue, 20 Jun 2006) | 15 lines . removed const from putenv() for g++ . added safecopies.c: these are library functions to maintain grant tables in own address space . sys_safecopy.c: interfaces to kernel calls to perform safe copy functions in from or to foreign process . changes in i/o fields (type merged with request) reflected in library functions (sys_out.c, sys_vinb.c, sys_vinl.c, sys_vinw.c, sys_voutb.c, sys_voutl.c, sys_voutw.c) . type merged with request in sys_sdevio, also now accepts offset which is used when a grant is specified (the _DIO_SAFE subtype) . system printf() function changed to send DIAGNOSTICS_S messages, which specify a grant id instead of a direct address for the buffer to be printed; tty and log can then safecopy the buffer ------------------------------------------------------------------------ r2235 | beng | 2006-06-20 10:46:09 +0200 (Tue, 20 Jun 2006) | 2 lines /CD check unnecessary ------------------------------------------------------------------------ r2236 | beng | 2006-06-20 10:46:45 +0200 (Tue, 20 Jun 2006) | 3 lines . flex moved back into the base system, so prefix is /usr . sysenv.c and umount.c need now ------------------------------------------------------------------------ r2237 | beng | 2006-06-20 10:49:51 +0200 (Tue, 20 Jun 2006) | 4 lines . made libdriver understand *_S variants . ioctl, transfer and 'other' functions get an extra parameter: 'safe', int is nonzero if function is called with *_S variant ('other' if ioctl) ------------------------------------------------------------------------ r2238 | beng | 2006-06-20 10:51:24 +0200 (Tue, 20 Jun 2006) | 3 lines Change at driver to understand 'safe' transfers and ioctls; do corresponding safe copy and safe sys_insw and sys_outsw calls. ------------------------------------------------------------------------ r2239 | beng | 2006-06-20 10:52:11 +0200 (Tue, 20 Jun 2006) | 2 lines Change for safe copies, and DEV_REVIVE message including grant id ------------------------------------------------------------------------ r2240 | beng | 2006-06-20 10:52:26 +0200 (Tue, 20 Jun 2006) | 2 lines Understand *_S variants ------------------------------------------------------------------------ r2241 | beng | 2006-06-20 10:54:22 +0200 (Tue, 20 Jun 2006) | 2 lines Change to 'safe' copy variant ------------------------------------------------------------------------ r2242 | beng | 2006-06-20 10:55:35 +0200 (Tue, 20 Jun 2006) | 3 lines Understand *_S variants: DIAGNOSTICS_S, DEV_{READ,WRITE,IOCTL}_S, include grant id in DEV_REVIVE messages ------------------------------------------------------------------------ r2243 | beng | 2006-06-20 10:56:15 +0200 (Tue, 20 Jun 2006) | 2 lines Safe I/O and ioctl functions ------------------------------------------------------------------------ r2244 | beng | 2006-06-20 10:56:58 +0200 (Tue, 20 Jun 2006) | 2 lines safe conversion ------------------------------------------------------------------------ r2245 | beng | 2006-06-20 11:02:54 +0200 (Tue, 20 Jun 2006) | 10 lines . Safe I/O, ioctl() and DIAGNOSTICS variants conversion - safe copies, include grant id in DEV_REVIVE messages. . Removal of TTY_FLAGS field (and so O_NONBLOCK support). . Fixed CANCEL behaviour and return code on blocking I/O, previously handled by O_NONBLOCK . Totally removed REVIVE replies, previously still possible on blocking ioctls (REVIVE directly called) and ptys (missing TTY_REVIVE check), removes deadlock bug with FS . Removed obsolete *COMPAT options and associated code ------------------------------------------------------------------------ r2246 | beng | 2006-06-20 11:46:57 +0200 (Tue, 20 Jun 2006) | 2 lines safe conversion ------------------------------------------------------------------------ r2247 | beng | 2006-06-20 11:47:23 +0200 (Tue, 20 Jun 2006) | 2 lines Kick out REVIVE ------------------------------------------------------------------------ r2248 | beng | 2006-06-20 11:48:26 +0200 (Tue, 20 Jun 2006) | 2 lines Fix for new *_ins* i/o functions ------------------------------------------------------------------------ r2249 | beng | 2006-06-20 11:49:02 +0200 (Tue, 20 Jun 2006) | 2 lines Conversion to safe calls, and returning grant in DEV_REVIVE messages ------------------------------------------------------------------------ r2250 | beng | 2006-06-20 11:50:26 +0200 (Tue, 20 Jun 2006) | 2 lines Move bitmap manipulation macros to ------------------------------------------------------------------------ r2251 | beng | 2006-06-20 11:51:49 +0200 (Tue, 20 Jun 2006) | 2 lines Use endpoint_t type ------------------------------------------------------------------------ r2252 | beng | 2006-06-20 11:52:11 +0200 (Tue, 20 Jun 2006) | 2 lines Rename protected to prot for g++ ------------------------------------------------------------------------ r2253 | beng | 2006-06-20 11:56:06 +0200 (Tue, 20 Jun 2006) | 10 lines Change allowed kernel call bitmap to an array of bitmaps to allow any number of kernel calls. Allowed kernel calls are stored in table.c for every image process as a variably-sized array of allowed calls. This is used to fill the bitmap of size determined at compile time by the number of kernel calls. This filling is done by main.c. There is a special call called SYS_ALL_CALLS which fills the bitmap of allowed calls completely, if that is the only entry in the array. ------------------------------------------------------------------------ r2254 | beng | 2006-06-20 11:57:00 +0200 (Tue, 20 Jun 2006) | 2 lines Use endpoint_t. New prototypes for related to grants and safecopy functions. ------------------------------------------------------------------------ r2255 | beng | 2006-06-20 11:58:58 +0200 (Tue, 20 Jun 2006) | 9 lines Introduced global sys_call_code to check in called kernel call implementation functions. Changed check in system.c to check compile-time-sized bitmap of kernel calls. Added SYS_SAFECOPYFROM and SYS_SAFECOPYTO, both mapping to do_safecopy (that's what sys_call_code is used for). ------------------------------------------------------------------------ r2256 | beng | 2006-06-20 11:59:50 +0200 (Tue, 20 Jun 2006) | 2 lines Prototype of do_safecopy ------------------------------------------------------------------------ r2257 | beng | 2006-06-20 12:03:10 +0200 (Tue, 20 Jun 2006) | 13 lines Changed do_devio not to require DIO_TYPE, but to extract type from DIO_REQUEST. Also do_vdevio. Also do_sdevio, but this function also supports grant id's and offsets. do_segctl: rename protected to prot. do_umap: support for GRANT_SEG umap. do_privctl: support SYS_PRIV_SET_GRANTS, which sets location and size of in-own-address-space grant table. do_safecopy: functions to verify and perform 'safe' (grant-based) copies. ------------------------------------------------------------------------ r2258 | beng | 2006-06-20 12:03:48 +0200 (Tue, 20 Jun 2006) | 4 lines Rename protected to prot Also print size of grant table known in system ------------------------------------------------------------------------ r2259 | beng | 2006-06-20 12:04:33 +0200 (Tue, 20 Jun 2006) | 2 lines Use endpoint_t ------------------------------------------------------------------------ r2260 | beng | 2006-06-20 12:12:09 +0200 (Tue, 20 Jun 2006) | 22 lines FS support for grant-based i/o. For character device i/o, FS does a so-called 'magic' grant to let the driver copy from or to user space. As this is done in FS address space, the driver is told to do this in FS address space. The redirection to the right user process then happens at copy-time in the kernel, using the FS grant table. This also happens for DEV_READ and DEV_WRITE on block devices. For other block device i/o, which happens from/to FS buffers, FS does a 'direct' grant to its own address space for the driver. After the i/o returns, this access has to be K-I-L-L-E-D, revoked. Sometimes this is after a SUSPEND and DEV_REVIVE, in which case the revoking happens in pipe.c. This conversion happens in safe_io_conversion() in device.c, called by dev_io and dev_bio. FS has to pre-allocate its own space for these grant tables. This happens in main.c. ------------------------------------------------------------------------ r2261 | beng | 2006-06-20 12:12:30 +0200 (Tue, 20 Jun 2006) | 2 lines Fix for losing REVIVE ------------------------------------------------------------------------ r2262 | beng | 2006-06-20 12:13:32 +0200 (Tue, 20 Jun 2006) | 2 lines Fix for KERNEL definition. ------------------------------------------------------------------------ r2263 | beng | 2006-06-20 12:13:56 +0200 (Tue, 20 Jun 2006) | 2 lines Fixes for usb and bios. ------------------------------------------------------------------------ r2264 | beng | 2006-06-20 12:14:25 +0200 (Tue, 20 Jun 2006) | 2 lines There is no lex. ------------------------------------------------------------------------ r2265 | beng | 2006-06-20 12:47:25 +0200 (Tue, 20 Jun 2006) | 2 lines order changed for printf() ------------------------------------------------------------------------ r2266 | beng | 2006-06-20 12:50:29 +0200 (Tue, 20 Jun 2006) | 2 lines Changed order of -lsys and -lsysutil for printf() ------------------------------------------------------------------------ r2267 | beng | 2006-06-20 12:59:45 +0200 (Tue, 20 Jun 2006) | 2 lines More space for rs ------------------------------------------------------------------------ r2268 | beng | 2006-06-20 16:25:42 +0200 (Tue, 20 Jun 2006) | 2 lines ------------------------------------------------------------------------ r2277 | philip | 2006-06-22 13:44:17 +0200 (Thu, 22 Jun 2006) | 3 lines Added __minix3 to make it easier to figure out that we are compiling on/for Minix 3. ------------------------------------------------------------------------ r2278 | philip | 2006-06-22 13:45:59 +0200 (Thu, 22 Jun 2006) | 2 lines Added prototype for inet_aton. ------------------------------------------------------------------------ r2279 | philip | 2006-06-22 13:47:18 +0200 (Thu, 22 Jun 2006) | 2 lines Added strlcat and strlcpy. ------------------------------------------------------------------------ r2280 | philip | 2006-06-22 13:53:03 +0200 (Thu, 22 Jun 2006) | 2 lines No longer build Michael Temari's httpd. Install a httpd from ports. ------------------------------------------------------------------------ r2281 | beng | 2006-06-23 13:51:56 +0200 (Fri, 23 Jun 2006) | 7 lines . leave out dead code from device.c . don't loop doing a receive() after sendrec() - chance of recovering is not high, and can lead to receive()ing a notify() (which can't happen in sendrec()), which is terrible . return status from device when DEV_CANCEL is done on a signal; hardcode EAGAIN to become EINTR though ------------------------------------------------------------------------ r2282 | beng | 2006-06-23 13:54:03 +0200 (Fri, 23 Jun 2006) | 2 lines Added vectored variant of sys_safecopy*. ------------------------------------------------------------------------ r2283 | beng | 2006-06-23 13:54:35 +0200 (Fri, 23 Jun 2006) | 2 lines library interface for vectored safecopy variant. ------------------------------------------------------------------------ r2284 | beng | 2006-06-23 13:59:20 +0200 (Fri, 23 Jun 2006) | 2 lines New option -E for ps that prints endpoint numbers instead of pids. ------------------------------------------------------------------------ r2285 | beng | 2006-06-23 14:07:41 +0200 (Fri, 23 Jun 2006) | 2 lines use malloc() + copy + free() instead of realloc() ------------------------------------------------------------------------ r2286 | beng | 2006-06-23 14:16:22 +0200 (Fri, 23 Jun 2006) | 2 lines Everyone's endpoint number ------------------------------------------------------------------------ r2287 | philip | 2006-06-23 15:27:03 +0200 (Fri, 23 Jun 2006) | 2 lines Print ipc_to in hex. Also print the 'system' call mask. ------------------------------------------------------------------------ r2288 | beng | 2006-06-23 17:07:41 +0200 (Fri, 23 Jun 2006) | 3 lines New kernel call, SYS_PARAMCTL, that sets parameters of the caller and is therefore unprivileged. Used to set grant tables. ------------------------------------------------------------------------ r2289 | philip | 2006-06-23 17:32:24 +0200 (Fri, 23 Jun 2006) | 2 lines get_sys_bits ------------------------------------------------------------------------ r2290 | beng | 2006-06-23 17:35:05 +0200 (Fri, 23 Jun 2006) | 2 lines Rename paramctl to setgrant. ------------------------------------------------------------------------ r2291 | beng | 2006-06-26 10:58:11 +0200 (Mon, 26 Jun 2006) | 2 lines A backup of the readclock command that shouldn't have been imported into cvs. ------------------------------------------------------------------------ r2292 | philip | 2006-06-26 13:17:19 +0200 (Mon, 26 Jun 2006) | 2 lines First cut at safe copies for inet. Breaks tcpstat. ------------------------------------------------------------------------ r2293 | philip | 2006-06-26 16:20:11 +0200 (Mon, 26 Jun 2006) | 2 lines Vectored safe copies for inet. ------------------------------------------------------------------------ r2294 | beng | 2006-06-26 17:15:40 +0200 (Mon, 26 Jun 2006) | 2 lines Fix to let elle understand window size. ------------------------------------------------------------------------ r2295 | philip | 2006-06-26 18:03:35 +0200 (Mon, 26 Jun 2006) | 2 lines Move inet to safe copies. ------------------------------------------------------------------------ r2296 | beng | 2006-06-26 18:08:42 +0200 (Mon, 26 Jun 2006) | 6 lines . expanded grant manipulation interface to more direct manipulation . made fs allocate a grant for every ioctl, even if no data is being copied, in order to disambiguate concurrent ioctls on the same minor ------------------------------------------------------------------------ r2303 | beng | 2006-06-27 14:19:45 +0200 (Tue, 27 Jun 2006) | 3 lines Add a flag to grants system indicating a slot is VALID; so a slot can be reserved (USED), while toggling VALID on and off. ------------------------------------------------------------------------ r2304 | beng | 2006-06-27 16:15:47 +0200 (Tue, 27 Jun 2006) | 2 lines let dynamic allocation of table work ------------------------------------------------------------------------ r2320 | beng | 2006-06-27 18:30:46 +0200 (Tue, 27 Jun 2006) | 2 lines Stopgap for tar creating insane group ownerships due to tiny gid_t. ------------------------------------------------------------------------ r2321 | beng | 2006-06-27 18:47:35 +0200 (Tue, 27 Jun 2006) | 4 lines . satisfy some gcc warnings (uninitialized/unused variables) . change cloexec mask from long to fd_set to remove 32 fd's per process restriction (from cloexec at least) ------------------------------------------------------------------------ r2322 | beng | 2006-06-27 20:28:33 +0200 (Tue, 27 Jun 2006) | 2 lines Added _select() stub for select(). ------------------------------------------------------------------------ r2332 | beng | 2006-06-28 12:03:18 +0200 (Wed, 28 Jun 2006) | 2 lines Fix bug where safe conversion doesn't happen after 1st time in loop ------------------------------------------------------------------------ r2333 | beng | 2006-06-28 12:04:32 +0200 (Wed, 28 Jun 2006) | 2 lines Don't print cloexec ------------------------------------------------------------------------ r2334 | beng | 2006-06-28 14:20:30 +0200 (Wed, 28 Jun 2006) | 2 lines Fix another bug related to trying i/o more than once ------------------------------------------------------------------------ r2335 | beng | 2006-06-29 15:35:27 +0200 (Thu, 29 Jun 2006) | 2 lines Make stack traces on exceptions possible. ------------------------------------------------------------------------ r2336 | beng | 2006-06-29 16:23:33 +0200 (Thu, 29 Jun 2006) | 2 lines Compile fix ------------------------------------------------------------------------ r2337 | beng | 2006-06-29 16:24:07 +0200 (Thu, 29 Jun 2006) | 2 lines 3rd fix for improper behaviour on crashing driver with safe_io_conversion ------------------------------------------------------------------------ r2338 | beng | 2006-06-30 16:35:38 +0200 (Fri, 30 Jun 2006) | 4 lines Split do_brk in a stub and a function that does the real work, so that the real work can be called from elsewhere too. Specifically, to allow PM its own brk(). ------------------------------------------------------------------------ r2339 | beng | 2006-06-30 16:36:11 +0200 (Fri, 30 Jun 2006) | 2 lines Give pm its own brk() so malloc() works in pm. pm needs more stack for this. ------------------------------------------------------------------------ r2340 | beng | 2006-06-30 16:40:29 +0200 (Fri, 30 Jun 2006) | 2 lines Grant system dynamic-only. ------------------------------------------------------------------------ r2350 | beng | 2006-07-06 12:02:25 +0200 (Thu, 06 Jul 2006) | 2 lines Bigger BUFSIZ for bigger fs block size. ------------------------------------------------------------------------ r2351 | beng | 2006-07-06 16:09:54 +0200 (Thu, 06 Jul 2006) | 2 lines Clean ramdisk image .s too ------------------------------------------------------------------------ r2353 | philip | 2006-07-10 14:13:29 +0200 (Mon, 10 Jul 2006) | 9 lines Added SI_CALL_STATS and ENABLE_SYSCALL_STATS for system call statistics. Added BUSC_PCI_DEV_NAME_S and BUSC_PCI_SLOT_NAME_S to support safecopies in PCI. Added DL_WRITEV_S, DL_READV_S, DL_GETSTAT_S, DL_GRANT, and iovec_s_t to support safecopies in ethernet drviers. Renamed DL_INIT to DL_CONF, and DL_INIT_REPLY to DL_CONF_REPLY. Added SYS_READBIOS and sys_readbios to read from BIOS data areas. Added GET_KMESS_S for safecopy support in LOG. Added sys_safe_insb and sys_safe_outsb. ------------------------------------------------------------------------ r2354 | philip | 2006-07-10 14:17:16 +0200 (Mon, 10 Jul 2006) | 4 lines Added sys_readbios. Changed pci_dev_name and pci_slot_name to use safecopies. Mae it possible to disable the use of safecopies in kputc for debugging. ------------------------------------------------------------------------ r2355 | philip | 2006-07-10 14:27:26 +0200 (Mon, 10 Jul 2006) | 3 lines Added do_readbios. Added debugging output for unexpected use of unsafe copy functions. ------------------------------------------------------------------------ r2356 | philip | 2006-07-10 14:34:41 +0200 (Mon, 10 Jul 2006) | 2 lines Changed to use sys_readbios to get BIOS parameters. ------------------------------------------------------------------------ r2357 | philip | 2006-07-10 14:35:55 +0200 (Mon, 10 Jul 2006) | 2 lines Changed to use sys_readbios get the 'machine ID'. ------------------------------------------------------------------------ r2358 | philip | 2006-07-10 14:37:39 +0200 (Mon, 10 Jul 2006) | 3 lines Changed to use sys_readbios to get screen parameters. Added safecopy version to get log messages. ------------------------------------------------------------------------ r2359 | philip | 2006-07-10 14:39:54 +0200 (Mon, 10 Jul 2006) | 3 lines Fixed a bug that would report a device more than once. Added safecopy version of do_dev_name and do_slot_name. ------------------------------------------------------------------------ r2360 | philip | 2006-07-10 14:42:31 +0200 (Mon, 10 Jul 2006) | 2 lines Use safecopy version to get log messages from TTY. ------------------------------------------------------------------------ r2361 | philip | 2006-07-10 14:43:38 +0200 (Mon, 10 Jul 2006) | 2 lines Safecopy support in ethernet drivers. ------------------------------------------------------------------------ r2362 | philip | 2006-07-10 14:44:43 +0200 (Mon, 10 Jul 2006) | 2 lines Support for SI_CALL_STATS (counting systemcalls). ------------------------------------------------------------------------ r2363 | philip | 2006-07-10 14:55:33 +0200 (Mon, 10 Jul 2006) | 2 lines Safecopy support for INET. ------------------------------------------------------------------------ r2364 | beng | 2006-07-10 17:05:33 +0200 (Mon, 10 Jul 2006) | 3 lines Joren's proposed fix for a too-conservative split point selection. (Making building packages with long filenames difficult.) ------------------------------------------------------------------------ r2365 | beng | 2006-07-13 14:43:47 +0200 (Thu, 13 Jul 2006) | 3 lines When installing in a free partition larger than the maximum, don't align on cylinder boundary. ------------------------------------------------------------------------ r2366 | philip | 2006-07-13 15:19:48 +0200 (Thu, 13 Jul 2006) | 5 lines More stack for tcpd. Safecopies renders the NWIOQUERYPARAM ioctl useless. This functionality is now replaced with /dev/ipstat. Write the request to the device and read the answer in one read request. ------------------------------------------------------------------------ r2367 | philip | 2006-07-13 15:25:55 +0200 (Thu, 13 Jul 2006) | 2 lines Left consistency checks enabled in INET in the previous commit. ------------------------------------------------------------------------ r2368 | philip | 2006-07-13 16:46:53 +0200 (Thu, 13 Jul 2006) | 2 lines Do not report non-safe sys_sdevio calls when the address is 'SELF' ------------------------------------------------------------------------ r2369 | beng | 2006-07-13 16:50:23 +0200 (Thu, 13 Jul 2006) | 16 lines . DS understands publishing and subscribing where keys are in string form. Subscriptions are regular expressions. . different types are stored per key; currently u32 and/or string. the same key can be referenced (publish, subscribe, check) as any type. . notify()s are sent when subscriptions are triggered (publishing or updating of matching keys); optionally, a subscribe flag sends updates for all matching keys at subscription time, instead of only after updates after subscribing . all interfacing to ds is in /usr/src/lib/syslib/ds.c. . subscribe is ds_subscribe publish functions are ds_publish_ retrieve functions are ds_retrieve_ (one-time retrieval of a value) check functions are ds_check_ (check for updated key caller subscribes to not yet checked for, or ESRCH for none) . ramdisk driver updated with new ds interface ------------------------------------------------------------------------ r2375 | philip | 2006-07-14 13:22:37 +0200 (Fri, 14 Jul 2006) | 2 lines More stack for in.rshd. ------------------------------------------------------------------------ r2376 | beng | 2006-07-14 14:40:32 +0200 (Fri, 14 Jul 2006) | 2 lines - ds definitions. ------------------------------------------------------------------------ r2377 | philip | 2006-07-14 14:48:01 +0200 (Fri, 14 Jul 2006) | 2 lines Fixed ruserok not to required /etc/hosts.equiv. ------------------------------------------------------------------------ r2378 | philip | 2006-07-14 15:35:21 +0200 (Fri, 14 Jul 2006) | 2 lines Clear NONBLOCK flag after probing ethernet device. ------------------------------------------------------------------------ r2379 | philip | 2006-07-14 16:34:00 +0200 (Fri, 14 Jul 2006) | 3 lines Prototypes for send and recv. Fixed send (pass null address) and sendto (fail when a null address is passed to a socket that is not connected). ------------------------------------------------------------------------ r2381 | beng | 2006-07-17 19:05:54 +0200 (Mon, 17 Jul 2006) | 3 lines 'zmodem' is 'big'. remove unused bits from autopart. This unbreaks the commands build. ------------------------------------------------------------------------ r2389 | beng | 2006-07-18 16:52:53 +0200 (Tue, 18 Jul 2006) | 2 lines Build gcc library of libfl. ------------------------------------------------------------------------ r2391 | beng | 2006-07-19 12:51:30 +0200 (Wed, 19 Jul 2006) | 2 lines Don't call X 'X Windows'. ------------------------------------------------------------------------ r2392 | philip | 2006-07-19 13:50:18 +0200 (Wed, 19 Jul 2006) | 4 lines Switch to vc 0 and softscrolling when /dev/video is opened and switch back at the close. This should prevent problems with X on (emulated) Cirrus cards. ------------------------------------------------------------------------ r2395 | beng | 2006-07-21 12:08:47 +0200 (Fri, 21 Jul 2006) | 3 lines Fix for %#02x bug (shouldn't print 0x, but junk was printed) found by Joren l'Ami. Also fixes %p when arg is 0 (printed 0 instead of 0x0). ------------------------------------------------------------------------ r2404 | beng | 2006-07-21 13:19:32 +0200 (Fri, 21 Jul 2006) | 2 lines Manpage bug fix reported by Matej Kosik. ------------------------------------------------------------------------ r2410 | beng | 2006-07-21 14:51:56 +0200 (Fri, 21 Jul 2006) | 2 lines More stack for env to build g++. ------------------------------------------------------------------------ r2411 | beng | 2006-07-21 16:39:48 +0200 (Fri, 21 Jul 2006) | 2 lines Use grant address type in loadfont ioctl. ------------------------------------------------------------------------ r2412 | beng | 2006-07-21 16:55:33 +0200 (Fri, 21 Jul 2006) | 2 lines Only install. ------------------------------------------------------------------------ r2413 | beng | 2006-07-21 16:56:23 +0200 (Fri, 21 Jul 2006) | 2 lines distclean first, then install ------------------------------------------------------------------------ r2416 | beng | 2006-07-21 18:09:05 +0200 (Fri, 21 Jul 2006) | 2 lines Make /usr/local/lib/{ack,gcc} for ack and gcc format libraries. ------------------------------------------------------------------------ r2421 | philip | 2006-07-24 15:07:25 +0200 (Mon, 24 Jul 2006) | 2 lines Allow holes in executables. ------------------------------------------------------------------------ r2422 | beng | 2006-07-24 15:27:17 +0200 (Mon, 24 Jul 2006) | 2 lines Don't give an error message for usage. ------------------------------------------------------------------------ r2423 | beng | 2006-07-25 11:38:24 +0200 (Tue, 25 Jul 2006) | 2 lines More stack for system. ------------------------------------------------------------------------ r2424 | beng | 2006-07-25 11:39:13 +0200 (Tue, 25 Jul 2006) | 3 lines flex build fix - can't build and install separately with two different compilers. ------------------------------------------------------------------------ r2425 | beng | 2006-07-25 11:41:40 +0200 (Tue, 25 Jul 2006) | 10 lines Introduction of a 'big' ioctl, with more bits (20) reserved for encoding the size field. The TIOCSFON ioctl size (8192) didn't get encoded properly, as there weren't enough bits for it (12) in the regular format. The new format has only one type field, and an extra flag (_IOC_BIG) turned on. FS checks for this flag and uses the alternative decoding of the ioctl codes to determine the size when doing grants. This unbreaks loadfont, although that still uses a phys copy in tty. ------------------------------------------------------------------------ r2426 | beng | 2006-07-25 13:01:54 +0200 (Tue, 25 Jul 2006) | 3 lines Taught log driver to return REP_IO_GRANT on revive events, makes revive work again. ------------------------------------------------------------------------ r2428 | philip | 2006-07-25 16:13:09 +0200 (Tue, 25 Jul 2006) | 2 lines Fix for 'cleanup: not idle: 2313' bug. ------------------------------------------------------------------------ r2429 | beng | 2006-07-26 13:34:26 +0200 (Wed, 26 Jul 2006) | 3 lines Make ps suid root instead of sguid kmem. This makes getsysinfo work for it. ------------------------------------------------------------------------ r2430 | beng | 2006-07-26 16:26:26 +0200 (Wed, 26 Jul 2006) | 2 lines Force minix install ------------------------------------------------------------------------ r2431 | beng | 2006-07-27 10:51:08 +0200 (Thu, 27 Jul 2006) | 2 lines Bigger bigsh for gcc and binutils ------------------------------------------------------------------------ r2442 | beng | 2006-07-27 18:05:17 +0200 (Thu, 27 Jul 2006) | 2 lines big for big commands ------------------------------------------------------------------------ r2443 | beng | 2006-07-27 18:23:01 +0200 (Thu, 27 Jul 2006) | 3 lines Introduced unprivileged getsysinfo variant, to retrieve harmless data in formats that don't change (or is upwards compatible). ------------------------------------------------------------------------ r2444 | beng | 2006-07-31 13:40:14 +0200 (Mon, 31 Jul 2006) | 2 lines /usr/local/src for easypack-fetched sources. ------------------------------------------------------------------------ r2445 | beng | 2006-07-31 16:37:56 +0200 (Mon, 31 Jul 2006) | 2 lines make top suid root to do getsysinfo. ------------------------------------------------------------------------ r2446 | beng | 2006-07-31 17:06:53 +0200 (Mon, 31 Jul 2006) | 2 lines Actually make top suid root ------------------------------------------------------------------------ r2447 | beng | 2006-08-01 11:17:43 +0200 (Tue, 01 Aug 2006) | 2 lines Make includes for gcc 4.1.1 too if found. ------------------------------------------------------------------------ r2454 | beng | 2006-08-02 14:03:02 +0200 (Wed, 02 Aug 2006) | 2 lines Fix by Joren for setjmp to not clobber %ebx. ------------------------------------------------------------------------ r2464 | beng | 2006-08-02 17:18:49 +0200 (Wed, 02 Aug 2006) | 3 lines Turn off prototypes for readv and writev until they're defined (properly) in the library. ------------------------------------------------------------------------ r2465 | beng | 2006-08-03 00:42:10 +0200 (Thu, 03 Aug 2006) | 2 lines lance needs 8k in order for safecopies to work (malloc()). ------------------------------------------------------------------------ r2466 | beng | 2006-08-03 00:51:47 +0200 (Thu, 03 Aug 2006) | 3 lines At least 8k stack for all drivers so that malloc() works, for grants, for printf(). ------------------------------------------------------------------------ r2493 | beng | 2006-08-04 14:12:06 +0200 (Fri, 04 Aug 2006) | 2 lines Start calling it 3.1.3rc1 ------------------------------------------------------------------------ r2495 | beng | 2006-08-04 15:26:05 +0200 (Fri, 04 Aug 2006) | 2 lines Clarify du units. ------------------------------------------------------------------------ r2496 | beng | 2006-08-04 15:31:06 +0200 (Fri, 04 Aug 2006) | 2 lines report driver source of grant mismatch ------------------------------------------------------------------------ r2500 | philip | 2006-08-10 12:56:16 +0200 (Thu, 10 Aug 2006) | 2 lines Improved access checks in system.c. Grant drivers and FS the rights they need. ------------------------------------------------------------------------ r2501 | beng | 2006-08-10 13:51:11 +0200 (Thu, 10 Aug 2006) | 5 lines . fix for wild store at startup time by calling dev_io without fp initialized . fix for writing exactly PIPE_SIZE to a pipe with O_NONBLOCK blocking anyway because of incomplete logic in pipe_check ------------------------------------------------------------------------ r2502 | philip | 2006-08-10 16:11:25 +0200 (Thu, 10 Aug 2006) | 2 lines Use syslog for logging. ------------------------------------------------------------------------ r2503 | philip | 2006-08-10 16:13:28 +0200 (Thu, 10 Aug 2006) | 2 lines Pass 'service' instead of 'argv[1]' to servxcheck. ------------------------------------------------------------------------ r2518 | beng | 2006-08-15 17:54:51 +0200 (Tue, 15 Aug 2006) | 2 lines Added 'service run' to run a service without restart. ------------------------------------------------------------------------ r2519 | beng | 2006-08-15 17:55:04 +0200 (Tue, 15 Aug 2006) | 2 lines Code for 'service run' ------------------------------------------------------------------------ r2520 | beng | 2006-08-15 17:56:09 +0200 (Tue, 15 Aug 2006) | 4 lines add xxl to usage don't touch non-compiler binaries ------------------------------------------------------------------------ r2521 | beng | 2006-08-15 17:56:42 +0200 (Tue, 15 Aug 2006) | 2 lines Make packman minix-version-aware ------------------------------------------------------------------------ r2522 | beng | 2006-08-15 17:57:13 +0200 (Tue, 15 Aug 2006) | 2 lines No separate beta dir ------------------------------------------------------------------------ r2523 | beng | 2006-08-15 17:58:24 +0200 (Tue, 15 Aug 2006) | 2 lines /usr/local/gnu removed as prefix; gcc libs go into /usr/local/lib/gcc now ------------------------------------------------------------------------ r2524 | beng | 2006-08-15 17:59:04 +0200 (Tue, 15 Aug 2006) | 3 lines Force yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc (bison) before /usr/bin/yacc in $PATH ------------------------------------------------------------------------ r2525 | beng | 2006-08-15 17:59:38 +0200 (Tue, 15 Aug 2006) | 2 lines new command 'dumpcore' that can write core files of running processes. ------------------------------------------------------------------------ r2536 | beng | 2006-08-17 11:53:26 +0200 (Thu, 17 Aug 2006) | 2 lines Fixes to build and install flex as bin. ------------------------------------------------------------------------ r2537 | beng | 2006-08-17 12:10:42 +0200 (Thu, 17 Aug 2006) | 2 lines Let installing work as bin ------------------------------------------------------------------------ r2538 | beng | 2006-08-17 16:03:06 +0200 (Thu, 17 Aug 2006) | 3 lines set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found which has unexpected return codes compared to minix grep. ------------------------------------------------------------------------ r2539 | beng | 2006-08-17 16:21:10 +0200 (Thu, 17 Aug 2006) | 2 lines Installing in build file sidesteps problems installing as bin ------------------------------------------------------------------------ r2540 | beng | 2006-08-18 18:16:06 +0200 (Fri, 18 Aug 2006) | 2 lines Undo configure script regeneration - not using --libdir ------------------------------------------------------------------------ r2541 | beng | 2006-08-18 18:18:54 +0200 (Fri, 18 Aug 2006) | 2 lines New UPDATING file with hints for source updating. ------------------------------------------------------------------------ r2566 | philip | 2006-08-28 14:16:15 +0200 (Mon, 28 Aug 2006) | 3 lines TTY should not panic when it is impossible to reply. A driver may crash before receiving the reply from TTY. ------------------------------------------------------------------------ r2567 | philip | 2006-08-28 14:59:36 +0200 (Mon, 28 Aug 2006) | 2 lines Do not abort/panic when an ethernet driver does something unexpected. ------------------------------------------------------------------------ r2568 | philip | 2006-08-28 16:32:24 +0200 (Mon, 28 Aug 2006) | 2 lines No need for .depend files in CVS. ------------------------------------------------------------------------ r2569 | philip | 2006-08-28 16:59:55 +0200 (Mon, 28 Aug 2006) | 2 lines Removed superfluous assignment to text_base. Reported by Ildar Ismagilov. ------------------------------------------------------------------------ r2570 | philip | 2006-08-28 16:59:56 +0200 (Mon, 28 Aug 2006) | 2 lines first commit of extra ptrace code for fault injection ------------------------------------------------------------------------ r2571 | philip | 2006-08-28 17:03:03 +0200 (Mon, 28 Aug 2006) | 2 lines first commit of extra ptrace code for fault injection. ------------------------------------------------------------------------ r2572 | philip | 2006-08-28 17:10:10 +0200 (Mon, 28 Aug 2006) | 2 lines Also clear word 6 in the ATAPI SCSI_READ10 command packet (in atapi_transfer). ------------------------------------------------------------------------ r2573 | philip | 2006-08-28 17:30:14 +0200 (Mon, 28 Aug 2006) | 3 lines NUL terminate timingdata[cat].names instead of timingdata[0].names. Reported by . ------------------------------------------------------------------------ r2574 | philip | 2006-09-08 15:20:57 +0200 (Fri, 08 Sep 2006) | 2 lines Disabled /etc/rc.rescue ------------------------------------------------------------------------ r2575 | philip | 2006-09-14 15:48:41 +0200 (Thu, 14 Sep 2006) | 2 lines Added EOPNOTSUPP and better error handling in accept. ------------------------------------------------------------------------ r2576 | philip | 2006-09-21 15:33:23 +0200 (Thu, 21 Sep 2006) | 2 lines Missing negation in comment ------------------------------------------------------------------------ r2594 | beng | 2006-09-27 10:56:37 +0200 (Wed, 27 Sep 2006) | 3 lines _NSIG is supposed to be highest signal number plus one, not highest signal number. ------------------------------------------------------------------------ r2602 | beng | 2006-09-27 15:55:54 +0200 (Wed, 27 Sep 2006) | 2 lines Reorder for port order, and add svn (Subversion) as service (port 3690) ------------------------------------------------------------------------ r2609 | beng | 2006-09-27 17:40:10 +0200 (Wed, 27 Sep 2006) | 2 lines Don't install progressbar suid. ------------------------------------------------------------------------ r2612 | beng | 2006-10-04 15:28:38 +0200 (Wed, 04 Oct 2006) | 7 lines Change select() so that only as many words as necessary for the 'nfds' argument from the fd bitmasks are copied from and back to userspace. This solves an ABI dependency on OPEN_MAX. If nfds is too big for the current OPEN_MAX, select() fails (but that's relatively easy to fix by 'just' recompiling the system and not the application binaries), but if it's smaller, binaries keep working. ------------------------------------------------------------------------ r2614 | beng | 2006-10-05 11:53:42 +0200 (Thu, 05 Oct 2006) | 2 lines Don't include this in the distribution. ------------------------------------------------------------------------ r2615 | beng | 2006-10-05 11:55:29 +0200 (Thu, 05 Oct 2006) | 2 lines Leftover junk ------------------------------------------------------------------------ r2616 | beng | 2006-10-05 11:56:17 +0200 (Thu, 05 Oct 2006) | 2 lines make clean in ibm subdir too ------------------------------------------------------------------------ r2617 | beng | 2006-10-05 11:58:50 +0200 (Thu, 05 Oct 2006) | 2 lines Remove objects in aes subdir too ------------------------------------------------------------------------ r2618 | beng | 2006-10-06 17:44:41 +0200 (Fri, 06 Oct 2006) | 3 lines Fix for clean target. ------------------------------------------------------------------------ r2619 | beng | 2006-10-06 17:45:13 +0200 (Fri, 06 Oct 2006) | 3 lines Use size-dependant no. of words, with OPEN_MAX as default for fd_set size. ------------------------------------------------------------------------ r2625 | philip | 2006-10-20 15:54:14 +0200 (Fri, 20 Oct 2006) | 2 lines More stack for the log driver. ------------------------------------------------------------------------ r2626 | philip | 2006-10-20 15:58:45 +0200 (Fri, 20 Oct 2006) | 2 lines Use /usr/tmp as temp dir for compiling imgrd_s.s ------------------------------------------------------------------------ r2627 | philip | 2006-10-20 15:59:42 +0200 (Fri, 20 Oct 2006) | 2 lines Bigger ramdisk ------------------------------------------------------------------------ r2628 | philip | 2006-10-20 16:10:53 +0200 (Fri, 20 Oct 2006) | 2 lines Nice(3) implementation ------------------------------------------------------------------------ r2629 | philip | 2006-10-20 16:14:08 +0200 (Fri, 20 Oct 2006) | 2 lines Additional ptrace commands for fault injection. ------------------------------------------------------------------------ r2630 | philip | 2006-10-20 16:42:48 +0200 (Fri, 20 Oct 2006) | 3 lines Initialize priv from user supplied priv structure in SYS_PRIV_INIT. Added SYS_PRIV_USER call to downgrade a privileged process to a user process. ------------------------------------------------------------------------ r2631 | philip | 2006-10-20 16:46:55 +0200 (Fri, 20 Oct 2006) | 2 lines Access control in do_sdevio and do_vdevio ------------------------------------------------------------------------ r2632 | philip | 2006-10-20 17:01:32 +0200 (Fri, 20 Oct 2006) | 8 lines (Incomplete) support for access control in PCI (pci_set_acl). -script argument to service for crash recovery scripts -config argument to service for driver resource configuration restart command in service to restart a driver after a crash (for use in crash recovery scripts). down and refresh now take labels instead of pids. verious changes in rs to make this work. ------------------------------------------------------------------------ r2633 | beng | 2006-10-24 16:20:59 +0200 (Tue, 24 Oct 2006) | 3 lines Don't do make clean if flex Makefile doesn't exist. ------------------------------------------------------------------------ r2634 | beng | 2006-10-25 13:29:43 +0200 (Wed, 25 Oct 2006) | 12 lines . processes stay ZOMBIE, even after wait(), to avoid wrongly seeing them as living processes before they are cleaned up (fixes wait()/waitpid() hanging forever on previously-ZOMBIE processes) . stop processes from running using sys_nice() with PRIO_STOP when a handled signal is delivered, before computing stack locations for sys_sigsend(). (fixes race condition when runnable processes get signals, and e.g. get scheduled before FS sends a reply to unpause(), which can make the signal stack location wrong.) ------------------------------------------------------------------------ r2635 | philip | 2006-10-25 15:07:58 +0200 (Wed, 25 Oct 2006) | 2 lines Include kernel/priv.h for rs/manager.h ------------------------------------------------------------------------ r2636 | beng | 2006-10-25 15:35:03 +0200 (Wed, 25 Oct 2006) | 3 lines Default amount of memory for tests (some ran out of memory) ------------------------------------------------------------------------ r2637 | beng | 2006-10-25 15:38:31 +0200 (Wed, 25 Oct 2006) | 5 lines Part of wait()/waitpid() fix in revision 2629:2634 in PM - kernel unblocks a process that has no priority (stopped with sys_nice() and PRIO_STOP) and reschedules it if that gives it RTS flags of 0. ------------------------------------------------------------------------ r2638 | beng | 2006-10-25 15:39:53 +0200 (Wed, 25 Oct 2006) | 3 lines More memory for these drivers ------------------------------------------------------------------------ r2639 | beng | 2006-10-25 15:40:36 +0200 (Wed, 25 Oct 2006) | 3 lines Merge of VFS by Balasz Gerofi with Minix trunk. ------------------------------------------------------------------------ r2640 | beng | 2006-10-30 16:53:38 +0100 (Mon, 30 Oct 2006) | 3 lines System statistical and call profiling support by Rogier Meurs . ------------------------------------------------------------------------ r2641 | beng | 2006-10-30 17:11:57 +0100 (Mon, 30 Oct 2006) | 3 lines Ignore .svn dir as well as CVS dir. ------------------------------------------------------------------------ r2642 | philip | 2006-10-31 14:35:04 +0100 (Tue, 31 Oct 2006) | 2 lines rs changes (also use driver configurations in the image ramdisk) ------------------------------------------------------------------------ r2643 | beng | 2006-11-01 15:17:47 +0100 (Wed, 01 Nov 2006) | 4 lines Explicit conversion from O_ACCMODE to minix [RW]_BIT is clearer and catches bogus values (such as 3). ------------------------------------------------------------------------ r2644 | philip | 2006-11-01 15:55:00 +0100 (Wed, 01 Nov 2006) | 2 lines at_wini now calls pci_reserve. ------------------------------------------------------------------------ r2645 | beng | 2006-11-01 17:53:45 +0100 (Wed, 01 Nov 2006) | 2 lines obsolete server. ------------------------------------------------------------------------ r2648 | beng | 2006-11-02 17:48:15 +0100 (Thu, 02 Nov 2006) | 3 lines New sed ------------------------------------------------------------------------ r2649 | beng | 2006-11-02 17:48:47 +0100 (Thu, 02 Nov 2006) | 2 lines old sed out, new sed in ------------------------------------------------------------------------ r2650 | beng | 2006-11-02 17:51:04 +0100 (Thu, 02 Nov 2006) | 3 lines New sed manpage ------------------------------------------------------------------------ r2654 | beng | 2006-11-03 15:47:28 +0100 (Fri, 03 Nov 2006) | 3 lines set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package ------------------------------------------------------------------------ r2655 | beng | 2006-11-06 19:02:22 +0100 (Mon, 06 Nov 2006) | 3 lines Typo reported by ville.solarius@gmail.com ------------------------------------------------------------------------ r2656 | philip | 2006-11-09 17:22:54 +0100 (Thu, 09 Nov 2006) | 3 lines Getdents implementation in library/vfs/mfs. Changed readdir, etc. to use getdents ------------------------------------------------------------------------ r2657 | philip | 2006-11-10 16:05:32 +0100 (Fri, 10 Nov 2006) | 2 lines Added missing defines in include/minix/vfsif.h ------------------------------------------------------------------------ r2658 | beng | 2006-11-10 19:13:02 +0100 (Fri, 10 Nov 2006) | 3 lines Fix some warnings (by Ingmar Alting) ------------------------------------------------------------------------ r2659 | beng | 2006-11-10 19:19:38 +0100 (Fri, 10 Nov 2006) | 3 lines Fix warnings (Ingmar Alting) ------------------------------------------------------------------------ r2660 | beng | 2006-11-17 17:12:08 +0100 (Fri, 17 Nov 2006) | 3 lines Revert back to previous minised ------------------------------------------------------------------------ r2661 | philip | 2006-11-24 14:57:37 +0100 (Fri, 24 Nov 2006) | 2 lines Small image doesn't fit on boot floppy. ------------------------------------------------------------------------ r2662 | philip | 2006-11-24 14:59:13 +0100 (Fri, 24 Nov 2006) | 2 lines chmod needs more space ------------------------------------------------------------------------ r2663 | philip | 2006-11-24 15:01:14 +0100 (Fri, 24 Nov 2006) | 2 lines Better error handling in _mount.c ------------------------------------------------------------------------ r2664 | philip | 2006-11-24 15:04:01 +0100 (Fri, 24 Nov 2006) | 2 lines Replaced with ------------------------------------------------------------------------ r2665 | philip | 2006-11-27 15:21:43 +0100 (Mon, 27 Nov 2006) | 2 lines First cut at 64-bit file offsets in block devices for mkfs/fsck. ------------------------------------------------------------------------ r2666 | philip | 2006-12-06 16:21:27 +0100 (Wed, 06 Dec 2006) | 3 lines Some 64-bit file offset changes that were left out accidentally in the first commit. ------------------------------------------------------------------------ r2667 | philip | 2006-12-07 21:01:43 +0100 (Thu, 07 Dec 2006) | 2 lines Missing lseek64 library functions. ------------------------------------------------------------------------ r2668 | dcvmoole | 2006-12-08 17:23:18 +0100 (Fri, 08 Dec 2006) | 1 line Setjmp/longjmp updates and cleanup. ------------------------------------------------------------------------ r2669 | beng | 2006-12-15 16:56:36 +0100 (Fri, 15 Dec 2006) | 3 lines make pci driver run as root, so it can call procstat ------------------------------------------------------------------------ r2670 | beng | 2006-12-19 14:15:16 +0100 (Tue, 19 Dec 2006) | 4 lines BSD versions of strcasecmp() and strncasecmp() after a bug in strcasecmp() reported by Rogier Meurs . ------------------------------------------------------------------------ r2678 | beng | 2006-12-22 12:54:42 +0100 (Fri, 22 Dec 2006) | 3 lines Removed verbose statements from vfs and mfs ------------------------------------------------------------------------ r2679 | philip | 2006-12-22 14:36:18 +0100 (Fri, 22 Dec 2006) | 2 lines More detailed upgrade procedure. ------------------------------------------------------------------------ r2680 | beng | 2006-12-22 14:40:37 +0100 (Fri, 22 Dec 2006) | 4 lines . fsck needs more memory . fsck must deal with s_max_file_size in superblock being larger than LONG_MAX now that off_t is signed ------------------------------------------------------------------------ r2681 | beng | 2006-12-22 16:22:27 +0100 (Fri, 22 Dec 2006) | 40 lines Split of architecture-dependent and -independent functions for i386, mainly in the kernel and headers. This split based on work by Ingmar Alting done for his Minix PowerPC architecture port. . kernel does not program the interrupt controller directly, do any other architecture-dependent operations, or contain assembly any more, but uses architecture-dependent functions in arch/$(ARCH)/. . architecture-dependent constants and types defined in arch/$(ARCH)/include. . moved to , as they have become, for now, architecture-independent functions. . int86, sdevio, readbios, and iopenable are now i386-specific kernel calls and live in arch/i386/do_* now. . i386 arch now supports even less 86 code; e.g. mpx86.s and klib86.s have gone, and 'machine.protected' is gone (and always taken to be 1 in i386). If 86 support is to return, it should be a new architecture. . prototypes for the architecture-dependent functions defined in kernel/arch/$(ARCH)/*.c but used in kernel/ are in kernel/proto.h . /etc/make.conf included in makefiles and shell scripts that need to know the building architecture; it defines ARCH=, currently only i386. . some basic per-architecture build support outside of the kernel (lib) . in clock.c, only dequeue a process if it was ready . fixes for new include files files deleted: . mpx/klib.s - only for choosing between mpx/klib86 and -386 . klib86.s - only for 86 i386-specific files files moved (or arch-dependent stuff moved) to arch/i386/: . mpx386.s (entry point) . klib386.s . sconst.h . exception.c . protect.c . protect.h . i8269.c ------------------------------------------------------------------------ r2682 | beng | 2006-12-22 16:48:27 +0100 (Fri, 22 Dec 2006) | 3 lines arch/i386/include/protect.h is unnecessary; add make.conf to etc/ and note about it in docs/UPDATING. ------------------------------------------------------------------------ r2683 | beng | 2006-12-22 16:50:17 +0100 (Fri, 22 Dec 2006) | 2 lines interface.h is unused (remainder from Ingmar's work) ------------------------------------------------------------------------ r2684 | beng | 2006-12-22 17:43:30 +0100 (Fri, 22 Dec 2006) | 3 lines Use svn instead of cvs ------------------------------------------------------------------------ r2686 | beng | 2007-01-04 13:06:04 +0100 (Thu, 04 Jan 2007) | 3 lines Don't let rs232 code send REVIVEs. ------------------------------------------------------------------------ r2687 | philip | 2007-01-05 17:36:55 +0100 (Fri, 05 Jan 2007) | 2 lines VFS cleanup (mostly open). ------------------------------------------------------------------------ r2691 | philip | 2007-01-08 15:30:11 +0100 (Mon, 08 Jan 2007) | 2 lines ctty command without parameters to disable serial console. ------------------------------------------------------------------------ r2692 | beng | 2007-01-08 16:10:27 +0100 (Mon, 08 Jan 2007) | 3 lines Take arch+version specific packages List file. ------------------------------------------------------------------------ r2702 | beng | 2007-01-09 18:08:31 +0100 (Tue, 09 Jan 2007) | 3 lines Zlib is now an optional package. ------------------------------------------------------------------------ r2706 | beng | 2007-01-11 15:35:29 +0100 (Thu, 11 Jan 2007) | 5 lines In some configurations of non-working networking, packman will hang a very long time or forever retrieving the packages list. It's tricky to test connectivity automatically, so ask every time. Reported by Stanislav Kapustin . ------------------------------------------------------------------------ r2707 | beng | 2007-01-12 14:33:12 +0100 (Fri, 12 Jan 2007) | 12 lines use servers/inet/mq.[ch] to queue messages using mq_queue() in libdriver. at_wini now queues messages it can't handle it receives when waiting for an interrupt. this way it can do receive(ANY) and timeouts should be working again (were broken for VFS, as with the advent of VFS, at_wini could get requests from a filesystem while it was waiting for an interrupt - as a hack, the receive() was changed to receive(HARDWARE)). Added mq.c to libdriver, and made libdriver an actual library that drivers link with -L../libdriver -ldriver. (So adding files, if necessary, is easier next time.) ------------------------------------------------------------------------ r2708 | beng | 2007-01-12 17:33:41 +0100 (Fri, 12 Jan 2007) | 4 lines Use bitwise not instead of logical not on PIE flag when disabling periodic interrupts to avoid clobbering register B. This seems to have fixed the corrupting-CMOS bug when enabling profiling. ------------------------------------------------------------------------ r2709 | beng | 2007-01-12 17:35:04 +0100 (Fri, 12 Jan 2007) | 8 lines . removed readclock command and cmos driver. . replaced by a readclock 'driver' that runs once, a re-imported version of the minix 2.0.4 readclock command. . this has also restored cmos writing. . readclock wrapper script calls service command to run /bin/readclock.drv once. ------------------------------------------------------------------------ r2710 | beng | 2007-01-12 17:53:12 +0100 (Fri, 12 Jan 2007) | 2 lines Truncate s_max_size at LONG_MAX, now that off_t is signed. ------------------------------------------------------------------------ r2711 | beng | 2007-01-12 18:16:51 +0100 (Fri, 12 Jan 2007) | 3 lines Don't panic if opening a block device fails. ------------------------------------------------------------------------ r2712 | beng | 2007-01-16 13:59:13 +0100 (Tue, 16 Jan 2007) | 3 lines Fsck needs more memory for bigger filesystems ------------------------------------------------------------------------ r2713 | beng | 2007-01-16 14:57:35 +0100 (Tue, 16 Jan 2007) | 6 lines . added super-user check for mount . corrected device match for unmount (otherwise unmount would proceed with bogus mount slot, often sending messages to 0 (PM)) . added some sanity checking to fs process number . made fs_sendrec PRIVATE to request.c ------------------------------------------------------------------------ r2714 | beng | 2007-01-16 15:50:10 +0100 (Tue, 16 Jan 2007) | 8 lines . added checks for buffer sizes in sys_datacopy() functions in mfs, print debug message if copy is truncated . increased buffer in lookup() to be PATH_MAX instead of NAME_MAX . sanity check in fetch_name() in vfs to see if name fits, and is null-terminated . first check i < NAME_MAX, then string[i] in search_dir, as we're not supposed to look at string[NAME_MAX] ------------------------------------------------------------------------ r2715 | beng | 2007-01-16 17:52:51 +0100 (Tue, 16 Jan 2007) | 3 lines remove debug (%d) in fsck ------------------------------------------------------------------------ r2716 | philip | 2007-01-18 12:40:13 +0100 (Thu, 18 Jan 2007) | 2 lines PCI IDs for Accton SMC2-1211TX ------------------------------------------------------------------------ r2717 | philip | 2007-01-19 18:27:51 +0100 (Fri, 19 Jan 2007) | 2 lines Many more IDs. ------------------------------------------------------------------------ r2718 | beng | 2007-01-22 16:15:30 +0100 (Mon, 22 Jan 2007) | 3 lines Added register clobber warning to read_tsc. ------------------------------------------------------------------------ r2719 | beng | 2007-01-22 16:25:41 +0100 (Mon, 22 Jan 2007) | 23 lines vfs/mount/rs/service changes: . changed umount() and mount() to call 'service', so that it can include a custom label, so that umount() works again (RS slot gets freed now). merged umount() and mount() into one file to encode keep this label knowledge in one file. . removed obsolete RS_PID field and RS_RESCUE rescue command . added label to RS_START struct . vfs no longer does kill of fs process on unmount (which was failing due to RS_PID request not working) . don't assume that if error wasn't one of three errors, that no error occured in vfs/request.c mfs changes: . added checks to copy statements to truncate copies at buffer sizes (left in debug code for now) . added checks for null-terminatedness, if less than NAME_MAX was copied . added checks for copy function success is changes: . dump rs label drivers.conf changes: . added acl for mfs so that mfs can be started with 'service start', so that a custom label can be provided ------------------------------------------------------------------------ r2720 | beng | 2007-01-22 16:37:26 +0100 (Mon, 22 Jan 2007) | 3 lines ramdisk can be set only once. ------------------------------------------------------------------------ r2721 | beng | 2007-01-22 16:42:40 +0100 (Mon, 22 Jan 2007) | 3 lines Install sources in /usr/bigsrc, not /usr/src/commands. ------------------------------------------------------------------------ r2722 | beng | 2007-01-22 16:47:40 +0100 (Mon, 22 Jan 2007) | 3 lines No /usr/src.* shenanigans any more. ------------------------------------------------------------------------ r2723 | beng | 2007-01-22 17:44:03 +0100 (Mon, 22 Jan 2007) | 4 lines Don't reply to the caller on RS_DOWN until process is actually dead - otherwise (e.g.) mounts right after an unmount of the same device don't work (duplicate label). ------------------------------------------------------------------------ r2724 | beng | 2007-01-22 18:08:36 +0100 (Mon, 22 Jan 2007) | 4 lines . no .vimrc in standard user's dirs . install a vi hardlink to elvis ------------------------------------------------------------------------ r2729 | beng | 2007-01-24 16:50:04 +0100 (Wed, 24 Jan 2007) | 2 lines put mfs in /sbin, where mount expects it. ------------------------------------------------------------------------ r2731 | beng | 2007-01-31 14:00:39 +0100 (Wed, 31 Jan 2007) | 3 lines Only install /usr/bin/vi as a hardlink to elvis if there's nothing already there (so e.g. nvi isn't overwritten). ------------------------------------------------------------------------ r2732 | beng | 2007-02-01 18:09:49 +0100 (Thu, 01 Feb 2007) | 3 lines simpler /usr/bin/vi check ------------------------------------------------------------------------ r2733 | beng | 2007-02-01 18:10:03 +0100 (Thu, 01 Feb 2007) | 2 lines Also exclude /home ------------------------------------------------------------------------ r2734 | beng | 2007-02-01 18:50:02 +0100 (Thu, 01 Feb 2007) | 76 lines Mostly bugfixes of bugs triggered by the test set. bugfixes: SYSTEM: . removed rc->p_priv->s_flags = 0; for the priv struct shared by all user processes in get_priv(). this should only be done once. doing a SYS_PRIV_USER in sys_privctl() caused the flags of all user processes to be reset, so they were no longer PREEMPTIBLE. this happened when RS executed a policy script. (this broke test1 in the test set) VFS/MFS: . chown can change the mode of a file, and chmod arguments are only part of the full file mode so the full filemode is slightly magic. changed these calls so that the final modes are returned to VFS, so that the vnode can be kept up-to-date. (this broke test11 in the test set) MFS: . lookup() checked for sizeof(string) instead of sizeof(user_path), truncating long path names (caught by test 23) . truncate functions neglected to update ctime (this broke test16) VFS: . corner case of an empty filename lookup caused fields of a request not to be filled in in the lookup functions, not making it clear that the lookup had failed, causing messages to garbage processes, causing strange failures. (caught by test 30) . trust v_size in vnode when doing reads or writes on non-special files, truncating i/o where necessary; this is necessary for pipes, as MFS can't tell when a pipe has been truncated without it being told explicitly each time. when the last reader/writer on a pipe closes, tell FS about the new size using truncate_vn(). (this broke test 25, among others) . permission check for chdir() had disappeared; added a forbidden() call (caught by test 23) new code, shouldn't change anything: . introduced RTS_SET, RTS_UNSET, and RTS_ISSET macro's, and their LOCK variants. These macros set and clear the p_rts_flags field, causing a lot of duplicated logic like old_flags = rp->p_rts_flags; /* save value of the flags */ rp->p_rts_flags &= ~NO_PRIV; if (old_flags != 0 && rp->p_rts_flags == 0) lock_enqueue(rp); to change into the simpler RTS_LOCK_UNSET(rp, NO_PRIV); so the macros take care of calling dequeue() and enqueue() (or lock_*()), as the case may be). This makes the code a bit more readable and a bit less fragile. . removed return code from do_clocktick in CLOCK as it currently never replies . removed some debug code from VFS . fixed grant debug message in device.c preemptive checks, tests, changes: . added return code checks of receive() to SYSTEM and CLOCK . O_TRUNC should never arrive at MFS (added sanity check and removed O_TRUNC code) . user_path declared with PATH_MAX+1 to let it be null-terminated . checks in MFS to see if strings passed by VFS are null-terminated IS: . static irq name table thrown out ------------------------------------------------------------------------ r2735 | beng | 2007-02-07 17:22:19 +0100 (Wed, 07 Feb 2007) | 5 lines Retired DEV_{READ,WRITE,GATHER,SCATTER,IOCTL} (safe versions *_S are to be used and drivers should never receieve these 'unsafe' variants any more). ------------------------------------------------------------------------ r2738 | beng | 2007-02-08 13:59:29 +0100 (Thu, 08 Feb 2007) | 4 lines Sanity check in clock - process is supposed to be runnable when it's interrupted. ------------------------------------------------------------------------ r2739 | beng | 2007-02-08 14:51:35 +0100 (Thu, 08 Feb 2007) | 8 lines Make /dev/c1* device nodes on disk and on the boot ramdisk. . include c1* nodes in std in MAKEDEV . this requires a slightly larger shell . this requires a larger blocksize on the boot ramdisk (to fit /dev/ in direct blocks for mkfs with a proto file) . also more inodes and kB's on the boot ramdisk ------------------------------------------------------------------------ r2740 | beng | 2007-02-08 15:04:59 +0100 (Thu, 08 Feb 2007) | 3 lines Start a 2nd copy of at_wini, for /dev/c1*. This requires a slightly larger rs. ------------------------------------------------------------------------ r2741 | beng | 2007-02-08 15:23:03 +0100 (Thu, 08 Feb 2007) | 3 lines supply instance to 2nd at_wini instance. requires a little cooperation from at_wini. ------------------------------------------------------------------------ r2742 | beng | 2007-02-08 16:56:58 +0100 (Thu, 08 Feb 2007) | 6 lines Extend cdprobe probe list to c1, and reorder minors to do most-likely first. Make at_wini include instance number in error messages. ------------------------------------------------------------------------ r2743 | beng | 2007-02-08 17:18:48 +0100 (Thu, 08 Feb 2007) | 3 lines Use temporary binary directory as bootstrap ------------------------------------------------------------------------ r2744 | beng | 2007-02-08 17:26:20 +0100 (Thu, 08 Feb 2007) | 2 lines don't call mkdep with an absolute path ------------------------------------------------------------------------ r2745 | beng | 2007-02-08 17:48:34 +0100 (Thu, 08 Feb 2007) | 2 lines include /usr/xbin bootstrap dir in $PATH ------------------------------------------------------------------------ r2746 | beng | 2007-02-08 18:41:40 +0100 (Thu, 08 Feb 2007) | 2 lines Fixes for /usr/xbin binaries bootstrap dir. ------------------------------------------------------------------------ r2747 | beng | 2007-02-09 16:58:33 +0100 (Fri, 09 Feb 2007) | 3 lines use shorter ata timeout for identify commands when running from cd to shorten probe time. ------------------------------------------------------------------------ r2748 | beng | 2007-02-09 17:27:59 +0100 (Fri, 09 Feb 2007) | 2 lines Memory requirements a bit more now with mfs processes ------------------------------------------------------------------------ r2749 | beng | 2007-02-09 17:28:34 +0100 (Fri, 09 Feb 2007) | 2 lines Don't complain about missing ip address. ------------------------------------------------------------------------ r2750 | beng | 2007-02-12 13:27:43 +0100 (Mon, 12 Feb 2007) | 3 lines Typo's. ------------------------------------------------------------------------ r2751 | beng | 2007-02-12 14:10:06 +0100 (Mon, 12 Feb 2007) | 2 lines mkfs needs more memory for the boot ramdisk. ------------------------------------------------------------------------ r2752 | beng | 2007-02-12 14:35:33 +0100 (Mon, 12 Feb 2007) | 4 lines set 'w_testing' during w_identify(). this means 0-tolerance to timeouts, and an ATA_IDENTIFY timeout will cause the ATAPI_IDENTIFY to be skipped, making the cd probe a lot faster. ------------------------------------------------------------------------ r2767 | beng | 2007-02-16 16:50:30 +0100 (Fri, 16 Feb 2007) | 2 lines removed or optionalized verbose/debugging messages ------------------------------------------------------------------------ r2768 | beng | 2007-02-16 16:50:49 +0100 (Fri, 16 Feb 2007) | 2 lines removed/optionalized debugging messages ------------------------------------------------------------------------ r2769 | beng | 2007-02-16 16:52:39 +0100 (Fri, 16 Feb 2007) | 2 lines Update CMOS time at shutdown time. ------------------------------------------------------------------------ r2770 | beng | 2007-02-16 16:53:10 +0100 (Fri, 16 Feb 2007) | 2 lines removed some verbose messages ------------------------------------------------------------------------ r2771 | beng | 2007-02-16 16:54:28 +0100 (Fri, 16 Feb 2007) | 4 lines . made memory parsing function into a library call (moved 'struct memory' to for this library call) . removed some debugging messages from pci library ------------------------------------------------------------------------ r2772 | beng | 2007-02-16 16:55:20 +0100 (Fri, 16 Feb 2007) | 3 lines . use library function to parse memory string . remove unused variables and some other gcc warnings ------------------------------------------------------------------------ r2773 | beng | 2007-02-16 16:56:00 +0100 (Fri, 16 Feb 2007) | 2 lines made default wakeup time correct ------------------------------------------------------------------------ r2774 | beng | 2007-02-16 16:57:05 +0100 (Fri, 16 Feb 2007) | 2 lines don't let /dev/mem read beyond top of physical memory ------------------------------------------------------------------------ r2775 | beng | 2007-02-16 16:58:05 +0100 (Fri, 16 Feb 2007) | 2 lines Removed args debugging line ------------------------------------------------------------------------ r2776 | beng | 2007-02-19 17:40:33 +0100 (Mon, 19 Feb 2007) | 4 lines Include svn revision number in iso filename when doing build based on svn export. ------------------------------------------------------------------------ r2777 | beng | 2007-02-20 17:29:26 +0100 (Tue, 20 Feb 2007) | 3 lines TZ update for new US/Canadian DST rules, fixed by Al Woodhull. ------------------------------------------------------------------------ r2778 | beng | 2007-02-20 18:09:19 +0100 (Tue, 20 Feb 2007) | 11 lines . pci driver now returns devices, even when they have been pci_reserve()d . pci_reserve() returns an error on devices that have already been reserved, instead of panic()ing; the pci_reserve() library call still panics, pci_reserve_ok() returns an int. . this allows at_wini to use the instance value as intended, as all devices are seen, even reserved ones . only devices actually used by at_wini are pci_reserve()d . pci doesn't release devices based on argv[0], as at_wini both have the same name and multiple instances won't work together properly ------------------------------------------------------------------------ r2779 | beng | 2007-02-20 19:42:43 +0100 (Tue, 20 Feb 2007) | 3 lines at_wini also needs a pci_reserve() for the pci compatability device, if present, for dma. ------------------------------------------------------------------------ r2780 | beng | 2007-02-21 16:17:28 +0100 (Wed, 21 Feb 2007) | 2 lines Typo reported by Al Woodhull. ------------------------------------------------------------------------ r2781 | beng | 2007-02-21 18:01:43 +0100 (Wed, 21 Feb 2007) | 2 lines Copypaste bug. ------------------------------------------------------------------------ r2782 | beng | 2007-02-21 18:49:35 +0100 (Wed, 21 Feb 2007) | 2 lines add/re-enable at_wini debug output ------------------------------------------------------------------------ r2783 | beng | 2007-02-23 09:33:33 +0100 (Fri, 23 Feb 2007) | 2 lines Note about mkfs needing more memory after r2751. ------------------------------------------------------------------------ r2784 | beng | 2007-02-23 11:21:55 +0100 (Fri, 23 Feb 2007) | 2 lines Changed logic checking for valid device. ------------------------------------------------------------------------ r2785 | beng | 2007-02-23 13:54:02 +0100 (Fri, 23 Feb 2007) | 6 lines Don't sys_kill SELF if a PM exit fails; just generate a fault to get us killed through the kernel with PM finding out. This makes it unnecessary for servers and drivers to be able to do sys_kill generally, so KILL can go out of /etc/drivers.conf. ------------------------------------------------------------------------ r2786 | beng | 2007-02-23 13:55:29 +0100 (Fri, 23 Feb 2007) | 4 lines If a process does sys_kill on SELF (such as in panic() of servers and drivers if a PM exit fails, until they are compiled with the new panic() function that is), don't reply to it as the endpoint has been cleared. ------------------------------------------------------------------------ r2787 | beng | 2007-02-23 14:01:55 +0100 (Fri, 23 Feb 2007) | 2 lines Don't allow sys_kill to SELF alltogether. ------------------------------------------------------------------------ r2788 | beng | 2007-02-23 19:21:19 +0100 (Fri, 23 Feb 2007) | 3 lines Slew of debugging / sanity check features. ------------------------------------------------------------------------ r2789 | beng | 2007-02-23 19:22:46 +0100 (Fri, 23 Feb 2007) | 4 lines . service tells you which device it couldn't stat . bigger rs and ramdisk for drivers . sanity check for pv_set macro for oversized arguments ------------------------------------------------------------------------ r2790 | beng | 2007-02-23 21:53:32 +0100 (Fri, 23 Feb 2007) | 3 lines Explicitly mask off 8-bit values (so new sanity check doesn't trip) ------------------------------------------------------------------------ r2791 | beng | 2007-02-23 21:58:10 +0100 (Fri, 23 Feb 2007) | 2 lines Uninitialized vector entry? ------------------------------------------------------------------------ r2792 | beng | 2007-02-26 12:52:04 +0100 (Mon, 26 Feb 2007) | 2 lines explicitly mask byte i/o values to bytes. ------------------------------------------------------------------------ r2793 | beng | 2007-02-28 14:13:39 +0100 (Wed, 28 Feb 2007) | 6 lines 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. ------------------------------------------------------------------------ r2795 | beng | 2007-03-05 17:31:39 +0100 (Mon, 05 Mar 2007) | 3 lines Merge of kjb's update to man system to move section 9 to 1x. ------------------------------------------------------------------------ r2796 | beng | 2007-03-05 17:32:30 +0100 (Mon, 05 Mar 2007) | 2 lines Rename section 9 to section 1x ------------------------------------------------------------------------ r2797 | beng | 2007-03-05 17:36:40 +0100 (Mon, 05 Mar 2007) | 2 lines move manpages in section 9 to new section 1x. ------------------------------------------------------------------------ r2798 | beng | 2007-03-05 17:43:03 +0100 (Mon, 05 Mar 2007) | 2 lines correct references to manpage section 9 to 1x. ------------------------------------------------------------------------ r2806 | beng | 2007-03-08 16:18:57 +0100 (Thu, 08 Mar 2007) | 2 lines Russian setup document contributed by Roman Ignatov. ------------------------------------------------------------------------ r2807 | beng | 2007-03-08 16:39:14 +0100 (Thu, 08 Mar 2007) | 6 lines . let kernel use read_tsc() from sysutil library . read_tsc() in sysutil library saves edx and eax now . added read_tsc_64() by Antonio Mancina to load tsc into a 64-bit data type directly . deleted read_tsc.h in favour of a prototype in ------------------------------------------------------------------------ r2808 | beng | 2007-03-08 17:04:59 +0100 (Thu, 08 Mar 2007) | 3 lines Make /dev/mouse an alias for /dev/kbdaux for X ------------------------------------------------------------------------ r2809 | beng | 2007-03-09 16:45:35 +0100 (Fri, 09 Mar 2007) | 2 lines output CRLF instead of just LF to serial ------------------------------------------------------------------------ r2810 | beng | 2007-03-09 17:03:19 +0100 (Fri, 09 Mar 2007) | 9 lines For /dev/mem, map in memory to be copied to memory's own address space one page at a time, and use safecopies to copy it to the requesting process. This lets /dev/mem access the entire physical address space, as the minix page tables only allow access by default to physical RAM, which breaks e.g. the VESA X driver in some cases. ------------------------------------------------------------------------ r2811 | beng | 2007-03-12 17:55:02 +0100 (Mon, 12 Mar 2007) | 2 lines Slightly more flexible packman. ------------------------------------------------------------------------ r2812 | beng | 2007-03-15 11:54:35 +0100 (Thu, 15 Mar 2007) | 2 lines remove extra arg ------------------------------------------------------------------------ r2813 | beng | 2007-03-15 11:57:39 +0100 (Thu, 15 Mar 2007) | 2 lines slightly more accurate and verbose sanity checking ------------------------------------------------------------------------ r2814 | beng | 2007-03-21 10:33:39 +0100 (Wed, 21 Mar 2007) | 2 lines a script to decode stack traces. ------------------------------------------------------------------------ r2815 | beng | 2007-03-21 10:45:01 +0100 (Wed, 21 Mar 2007) | 6 lines after enqueue()ing a process, only pick_proc() a new one if the current process is not PREEMPTIBLE (or it's not ready, or there isn't a current process yet). This fixes a case where a process that isn't PREEMPTIBLE actually gets preempted. (This solves a race condition between CLOCK and SYSTEM.) ------------------------------------------------------------------------ r2816 | beng | 2007-03-21 10:54:09 +0100 (Wed, 21 Mar 2007) | 2 lines Let user exit without pressing ^C ------------------------------------------------------------------------ r2817 | beng | 2007-03-21 14:35:06 +0100 (Wed, 21 Mar 2007) | 3 lines include svn revision number in , printed by kernel at startup, to easily identify releases. ------------------------------------------------------------------------ r2818 | beng | 2007-03-22 17:15:33 +0100 (Thu, 22 Mar 2007) | 3 lines let tty do sys_physcopy; needed for loadfont. ------------------------------------------------------------------------ r2819 | beng | 2007-03-22 17:24:06 +0100 (Thu, 22 Mar 2007) | 2 lines Minor corrections by ASW. ------------------------------------------------------------------------ r2820 | beng | 2007-03-26 12:55:16 +0200 (Mon, 26 Mar 2007) | 4 lines Import of original zoneinfo code and database - tzcode old-tzcode-32-bit-output and tzdata2007d. ------------------------------------------------------------------------ r2821 | beng | 2007-03-26 13:21:54 +0200 (Mon, 26 Mar 2007) | 2 lines make way for new date(1). ------------------------------------------------------------------------ r2822 | beng | 2007-03-26 13:22:20 +0200 (Mon, 26 Mar 2007) | 2 lines tz database is in /usr/share/zoneinfo. ------------------------------------------------------------------------ r2823 | beng | 2007-03-26 13:24:13 +0200 (Mon, 26 Mar 2007) | 2 lines move date(1) to minix manual page place. ------------------------------------------------------------------------ r2825 | beng | 2007-03-30 17:17:03 +0200 (Fri, 30 Mar 2007) | 2 lines remove debug message ------------------------------------------------------------------------ r2826 | beng | 2007-03-30 17:17:32 +0200 (Fri, 30 Mar 2007) | 3 lines rename svn revision variable to one with underscore, to not pollute application namespace ------------------------------------------------------------------------ r2827 | beng | 2007-03-30 17:32:55 +0200 (Fri, 30 Mar 2007) | 3 lines . added zoneinfo to build, with fixes for minix . now using zoneinfo date command, instead of commands/simple/date.c ------------------------------------------------------------------------ r2828 | beng | 2007-03-30 17:35:15 +0200 (Fri, 30 Mar 2007) | 2 lines fix for filenames with paths ------------------------------------------------------------------------ r2829 | beng | 2007-03-30 17:36:49 +0200 (Fri, 30 Mar 2007) | 5 lines replace library time handling functions mktime, tzset, asctime, ctime, gmtime, localtime, strftime with zoneinfo implementations in src/commands/zoneinfo, referenced from src/lib/stdtime/Makefile.in. ------------------------------------------------------------------------ r2830 | beng | 2007-03-30 17:55:36 +0200 (Fri, 30 Mar 2007) | 2 lines remove debug line ------------------------------------------------------------------------ r2831 | beng | 2007-04-02 14:09:43 +0200 (Mon, 02 Apr 2007) | 2 lines fix off-by-one error in 'all' ------------------------------------------------------------------------ r2832 | beng | 2007-04-02 16:41:06 +0200 (Mon, 02 Apr 2007) | 2 lines mount needs more memory to do system() for rs_down in the event a mount fails. ------------------------------------------------------------------------ r2833 | beng | 2007-04-02 16:44:16 +0200 (Mon, 02 Apr 2007) | 2 lines accept 'q' to exit. ------------------------------------------------------------------------ r2834 | beng | 2007-04-02 16:45:56 +0200 (Mon, 02 Apr 2007) | 3 lines fix for warning ------------------------------------------------------------------------ r2835 | beng | 2007-04-02 17:10:07 +0200 (Mon, 02 Apr 2007) | 2 lines fix some compiler warnings. ------------------------------------------------------------------------ r2836 | beng | 2007-04-02 18:00:06 +0200 (Mon, 02 Apr 2007) | 2 lines explanations with common test3 errors. ------------------------------------------------------------------------ r2837 | beng | 2007-04-02 18:18:46 +0200 (Mon, 02 Apr 2007) | 2 lines version /usr/lib/crontab too ------------------------------------------------------------------------ r2838 | beng | 2007-04-02 18:23:55 +0200 (Mon, 02 Apr 2007) | 2 lines fix packman sort col, and make sort case-insensitive ------------------------------------------------------------------------ r2840 | beng | 2007-04-04 15:05:13 +0200 (Wed, 04 Apr 2007) | 2 lines /bin/echo is used during early bootstrap too. ------------------------------------------------------------------------ r2841 | beng | 2007-04-05 12:37:22 +0200 (Thu, 05 Apr 2007) | 3 lines . add /usr/share for zoneinfo . throw out non-base /usr/gnu stuff ------------------------------------------------------------------------ r2842 | beng | 2007-04-05 12:47:04 +0200 (Thu, 05 Apr 2007) | 2 lines as needs more. ------------------------------------------------------------------------ r2843 | beng | 2007-04-05 12:52:20 +0200 (Thu, 05 Apr 2007) | 2 lines no /usr/gnu/man in base system ------------------------------------------------------------------------ r2844 | beng | 2007-04-05 14:30:24 +0200 (Thu, 05 Apr 2007) | 2 lines Bigger shell ------------------------------------------------------------------------ r2845 | beng | 2007-04-05 15:58:35 +0200 (Thu, 05 Apr 2007) | 2 lines remove debug message ------------------------------------------------------------------------ r2846 | beng | 2007-04-10 15:40:09 +0200 (Tue, 10 Apr 2007) | 2 lines Don't always update CMOS on shutdown. ------------------------------------------------------------------------ r2847 | beng | 2007-04-12 16:29:30 +0200 (Thu, 12 Apr 2007) | 2 lines put the zoneinfo library files directly in the lib/stdtime dir ------------------------------------------------------------------------ r2848 | beng | 2007-04-12 16:31:16 +0200 (Thu, 12 Apr 2007) | 2 lines This will become 3.1.3 ------------------------------------------------------------------------ r2849 | beng | 2007-04-12 17:13:10 +0200 (Thu, 12 Apr 2007) | 2 lines feature to display svn version on kernel boot ------------------------------------------------------------------------ r2850 | beng | 2007-04-12 17:24:45 +0200 (Thu, 12 Apr 2007) | 2 lines leave out debug message ------------------------------------------------------------------------ r2851 | beng | 2007-04-12 18:30:59 +0200 (Thu, 12 Apr 2007) | 2 lines delete redundant source ------------------------------------------------------------------------ r2852 | beng | 2007-04-12 18:45:00 +0200 (Thu, 12 Apr 2007) | 5 lines . 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 ------------------------------------------------------------------------ r2853 | beng | 2007-04-12 19:01:54 +0200 (Thu, 12 Apr 2007) | 2 lines verbose message out ------------------------------------------------------------------------ r2854 | beng | 2007-04-13 12:00:29 +0200 (Fri, 13 Apr 2007) | 2 lines update boot message for prerelease ------------------------------------------------------------------------ r2855 | beng | 2007-04-13 16:00:31 +0200 (Fri, 13 Apr 2007) | 2 lines more removing of warning and debug messages. ------------------------------------------------------------------------ r2856 | beng | 2007-04-13 19:13:53 +0200 (Fri, 13 Apr 2007) | 2 lines fix packman cd/net quirks ------------------------------------------------------------------------