65a1d21963
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.
Ben Gras2006-10-25 13:38:31 +00:00
f84653d908
Default amount of memory for tests (some ran out of memory)
Ben Gras2006-10-25 13:35:03 +00:00
1e656b349d
. 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)
Ben Gras2006-10-25 11:29:43 +00:00
4933f34715
Don't do make clean if flex Makefile doesn't exist.
Ben Gras2006-10-24 14:20:59 +00:00
f9ccfca2a1
(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.
Philip Homburg2006-10-20 15:01:32 +00:00
dd3ee082b2
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.
Philip Homburg2006-10-20 14:42:48 +00:00
1ce2f75627
Additional ptrace commands for fault injection.
Philip Homburg2006-10-20 14:14:08 +00:00
3b295eb002
Don't include this in the distribution.
Ben Gras2006-10-05 09:53:42 +00:00
cbfa0f4fb8
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.
Ben Gras2006-10-04 13:28:38 +00:00
1d4be8052f
Don't install progressbar suid.
Ben Gras2006-09-27 15:40:10 +00:00
b5b76d5691
Reorder for port order, and add svn (Subversion) as service (port 3690)
Ben Gras2006-09-27 13:55:54 +00:00
c2bbcfe560
_NSIG is supposed to be highest signal number plus one, not highest signal number.
Ben Gras2006-09-27 08:56:37 +00:00
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