66f9a5f508
Do not abort/panic when an ethernet driver does something unexpected.
Philip Homburg2006-08-28 12:59:36 +00:00
0ac9521c94
TTY should not panic when it is impossible to reply. A driver may crash before receiving the reply from TTY.
Philip Homburg2006-08-28 12:16:15 +00:00
2f58281a20
New UPDATING file with hints for source updating.
Ben Gras2006-08-18 16:18:54 +00:00
8ecf9cb9b8
Undo configure script regeneration - not using --libdir
Ben Gras2006-08-18 16:16:06 +00:00
32f8abc362
Installing in build file sidesteps problems installing as bin
Ben Gras2006-08-17 14:21:10 +00:00
150a68c940
set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found which has unexpected return codes compared to minix grep.
Ben Gras2006-08-17 14:03:06 +00:00
b90b5898e4
Let installing work as bin
Ben Gras2006-08-17 10:10:42 +00:00
cdfe90a6ca
Fixes to build and install flex as bin.
Ben Gras2006-08-17 09:53:26 +00:00
bf195531b3
new command 'dumpcore' that can write core files of running processes.
Ben Gras2006-08-15 15:59:38 +00:00
5a6052119f
Force yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc (bison) before /usr/bin/yacc in $PATH
Ben Gras2006-08-15 15:59:04 +00:00
8f7876b1d1
/usr/local/gnu removed as prefix; gcc libs go into /usr/local/lib/gcc now
Ben Gras2006-08-15 15:58:24 +00:00
4539e54d8b
. 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
Ben Gras2006-08-10 11:51:11 +00:00
4ba5826ba6
Improved access checks in system.c. Grant drivers and FS the rights they need.
Philip Homburg2006-08-10 10:56:16 +00:00
c3c08d252c
report driver source of grant mismatch
Ben Gras2006-08-04 13:31:06 +00:00
9d9e14941e
At least 8k stack for all drivers so that malloc() works, for grants, for printf().
Ben Gras2006-08-02 22:51:47 +00:00
23e1bffd7a
lance needs 8k in order for safecopies to work (malloc()).
Ben Gras2006-08-02 22:42:10 +00:00
6dbca44030
Turn off prototypes for readv and writev until they're defined (properly) in the library.
Ben Gras2006-08-02 15:18:49 +00:00
5d8c07b3f2
Fix by Joren for setjmp to not clobber %ebx.
Ben Gras2006-08-02 12:03:02 +00:00
bc8b79da53
Make includes for gcc 4.1.1 too if found.
Ben Gras2006-08-01 09:17:43 +00:00
636b368dd0
Actually make top suid root
Ben Gras2006-07-31 15:06:53 +00:00
153e2c406c
make top suid root to do getsysinfo.
Ben Gras2006-07-31 14:37:56 +00:00
99644bed66
/usr/local/src for easypack-fetched sources.
Ben Gras2006-07-31 11:40:14 +00:00
18327f02a8
Introduced unprivileged getsysinfo variant, to retrieve harmless data in formats that don't change (or is upwards compatible).
Ben Gras2006-07-27 16:23:01 +00:00
13d1de5122
Taught log driver to return REP_IO_GRANT on revive events, makes revive work again.
Ben Gras2006-07-25 11:01:54 +00:00
82173212ee
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.
Ben Gras2006-07-25 09:41:40 +00:00
7573c41657
flex build fix - can't build and install separately with two different compilers.
Ben Gras2006-07-25 09:39:13 +00:00
cbfcdcc4c2
Use grant address type in loadfont ioctl.
Ben Gras2006-07-21 14:39:48 +00:00
f7c36e31e5
More stack for env to build g++.
Ben Gras2006-07-21 12:51:56 +00:00
53cbd9acbf
Manpage bug fix reported by Matej Kosik.
Ben Gras2006-07-21 11:19:32 +00:00
6c7004423d
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).
Ben Gras2006-07-21 10:08:47 +00:00
f6d1f6fdf6
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.
Philip Homburg2006-07-19 11:50:18 +00:00
2bb759206f
Build gcc library of libfl.
Ben Gras2006-07-18 14:52:53 +00:00
4033ccc08d
'zmodem' is 'big'. remove unused bits from autopart. This unbreaks the commands build.
Ben Gras2006-07-17 17:05:54 +00:00
59830eda3f
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).
Philip Homburg2006-07-14 14:34:00 +00:00
371ac29c9f
Clear NONBLOCK flag after probing ethernet device.
Philip Homburg2006-07-14 13:35:21 +00:00
ee46e92dd2
Fixed ruserok not to required /etc/hosts.equiv.
Philip Homburg2006-07-14 12:48:01 +00:00
b0fc01eb82
<minix/ds.h> - ds definitions.
Ben Gras2006-07-14 12:40:32 +00:00
3512a86b44
. 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_<type> retrieve functions are ds_retrieve_<type> (one-time retrieval of a value) check functions are ds_check_<type> (check for updated key caller subscribes to not yet checked for, or ESRCH for none) . ramdisk driver updated with new ds interface
Ben Gras2006-07-13 14:50:23 +00:00
d40007667c
Do not report non-safe sys_sdevio calls when the address is 'SELF'
Philip Homburg2006-07-13 14:46:53 +00:00
c06bc3ead8
Left consistency checks enabled in INET in the previous commit.
Philip Homburg2006-07-13 13:25:55 +00:00
04b478f177
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.
Philip Homburg2006-07-13 13:19:48 +00:00
2d79ae7831
When installing in a free partition larger than the maximum, don't align on cylinder boundary.
Ben Gras2006-07-13 12:43:47 +00:00
b52a516521
Joren's proposed fix for a too-conservative split point selection. (Making building packages with long filenames difficult.)
Ben Gras2006-07-10 15:05:33 +00:00
9392742cc4
Use safecopy version to get log messages from TTY.
Philip Homburg2006-07-10 12:42:31 +00:00
fd62815e73
Fixed a bug that would report a device more than once. Added safecopy version of do_dev_name and do_slot_name.
Philip Homburg2006-07-10 12:39:54 +00:00
ee09d50403
Changed to use sys_readbios to get screen parameters. Added safecopy version to get log messages.
Philip Homburg2006-07-10 12:37:39 +00:00
a3fce7ce8d
Changed to use sys_readbios get the 'machine ID'.
Philip Homburg2006-07-10 12:35:55 +00:00
dcb7cae67c
Changed to use sys_readbios to get BIOS parameters.
Philip Homburg2006-07-10 12:34:41 +00:00
6f4091eb8c
Added do_readbios. Added debugging output for unexpected use of unsafe copy functions.
Philip Homburg2006-07-10 12:27:26 +00:00
73e5de6354
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.
Philip Homburg2006-07-10 12:17:16 +00:00
d7174ec0ab
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.
Philip Homburg2006-07-10 12:13:29 +00:00
cac387bc1e
Clean ramdisk image .s too
Ben Gras2006-07-06 14:09:54 +00:00
5c55d94007
Bigger BUFSIZ for bigger fs block size.
Ben Gras2006-07-06 10:02:25 +00:00
1561067ee4
Grant system dynamic-only.
Ben Gras2006-06-30 14:40:29 +00:00
b654c02f55
Give pm its own brk() so malloc() works in pm. pm needs more stack for this.
Ben Gras2006-06-30 14:36:11 +00:00
b5179d7025
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().
Ben Gras2006-06-30 14:35:38 +00:00
0323892f71
3rd fix for improper behaviour on crashing driver with safe_io_conversion
Ben Gras2006-06-29 14:24:07 +00:00