]> Zhao Yanbai Git Server - minix.git/log
minix.git
18 years agoDefault amount of memory for tests (some ran out of memory)
Ben Gras [Wed, 25 Oct 2006 13:35:03 +0000 (13:35 +0000)]
Default amount of memory for tests (some ran out of memory)

18 years agoInclude kernel/priv.h for rs/manager.h
Philip Homburg [Wed, 25 Oct 2006 13:07:58 +0000 (13:07 +0000)]
Include kernel/priv.h for rs/manager.h

18 years ago. processes stay ZOMBIE, even after wait(), to avoid wrongly seeing them
Ben Gras [Wed, 25 Oct 2006 11:29:43 +0000 (11:29 +0000)]
. 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.)

18 years agoDon't do make clean if flex Makefile doesn't exist.
Ben Gras [Tue, 24 Oct 2006 14:20:59 +0000 (14:20 +0000)]
Don't do make clean if flex Makefile doesn't exist.

18 years ago(Incomplete) support for access control in PCI (pci_set_acl).
Philip Homburg [Fri, 20 Oct 2006 15:01:32 +0000 (15:01 +0000)]
(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.

18 years agoAccess control in do_sdevio and do_vdevio
Philip Homburg [Fri, 20 Oct 2006 14:46:55 +0000 (14:46 +0000)]
Access control in do_sdevio and do_vdevio

18 years agoInitialize priv from user supplied priv structure in SYS_PRIV_INIT.
Philip Homburg [Fri, 20 Oct 2006 14:42:48 +0000 (14:42 +0000)]
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.

18 years agoAdditional ptrace commands for fault injection.
Philip Homburg [Fri, 20 Oct 2006 14:14:08 +0000 (14:14 +0000)]
Additional ptrace commands for fault injection.

18 years agoNice(3) implementation
Philip Homburg [Fri, 20 Oct 2006 14:10:53 +0000 (14:10 +0000)]
Nice(3) implementation

18 years agoBigger ramdisk
Philip Homburg [Fri, 20 Oct 2006 13:59:42 +0000 (13:59 +0000)]
Bigger ramdisk

18 years agoUse /usr/tmp as temp dir for compiling imgrd_s.s
Philip Homburg [Fri, 20 Oct 2006 13:58:45 +0000 (13:58 +0000)]
Use /usr/tmp as temp dir for compiling imgrd_s.s

18 years agoMore stack for the log driver.
Philip Homburg [Fri, 20 Oct 2006 13:54:14 +0000 (13:54 +0000)]
More stack for the log driver.

18 years agoUse size-dependant no. of words, with OPEN_MAX as default for fd_set size.
Ben Gras [Fri, 6 Oct 2006 15:45:13 +0000 (15:45 +0000)]
Use size-dependant no. of words, with OPEN_MAX as default for fd_set size.

18 years agoFix for clean target.
Ben Gras [Fri, 6 Oct 2006 15:44:41 +0000 (15:44 +0000)]
Fix for clean target.

18 years agoRemove objects in aes subdir too
Ben Gras [Thu, 5 Oct 2006 09:58:50 +0000 (09:58 +0000)]
Remove objects in aes subdir too

18 years agomake clean in ibm subdir too
Ben Gras [Thu, 5 Oct 2006 09:56:17 +0000 (09:56 +0000)]
make clean in ibm subdir too

18 years agoLeftover junk
Ben Gras [Thu, 5 Oct 2006 09:55:29 +0000 (09:55 +0000)]
Leftover junk

18 years agoDon't include this in the distribution.
Ben Gras [Thu, 5 Oct 2006 09:53:42 +0000 (09:53 +0000)]
Don't include this in the distribution.

18 years agoChange select() so that only as many words as necessary for the 'nfds'
Ben Gras [Wed, 4 Oct 2006 13:28:38 +0000 (13:28 +0000)]
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.

18 years agoDon't install progressbar suid.
Ben Gras [Wed, 27 Sep 2006 15:40:10 +0000 (15:40 +0000)]
Don't install progressbar suid.

18 years agoReorder for port order, and add svn (Subversion) as service (port 3690)
Ben Gras [Wed, 27 Sep 2006 13:55:54 +0000 (13:55 +0000)]
Reorder for port order, and add svn (Subversion) as service (port 3690)

18 years ago_NSIG is supposed to be highest signal number plus one, not highest
Ben Gras [Wed, 27 Sep 2006 08:56:37 +0000 (08:56 +0000)]
_NSIG is supposed to be highest signal number plus one, not highest
signal number.

18 years agoMissing negation in comment
Philip Homburg [Thu, 21 Sep 2006 13:33:23 +0000 (13:33 +0000)]
Missing negation in comment

18 years agoAdded EOPNOTSUPP and better error handling in accept.
Philip Homburg [Thu, 14 Sep 2006 13:48:41 +0000 (13:48 +0000)]
Added EOPNOTSUPP and better error handling in accept.

18 years agoDisabled /etc/rc.rescue
Philip Homburg [Fri, 8 Sep 2006 13:20:57 +0000 (13:20 +0000)]
Disabled /etc/rc.rescue

18 years agoNUL terminate timingdata[cat].names instead of timingdata[0].names. Reported
Philip Homburg [Mon, 28 Aug 2006 15:30:14 +0000 (15:30 +0000)]
NUL terminate timingdata[cat].names instead of timingdata[0].names. Reported
by <devel@pop3.ru>.

18 years agoAlso clear word 6 in the ATAPI SCSI_READ10 command packet (in atapi_transfer).
Philip Homburg [Mon, 28 Aug 2006 15:10:10 +0000 (15:10 +0000)]
Also clear word 6 in the ATAPI SCSI_READ10 command packet (in atapi_transfer).

18 years agofirst commit of extra ptrace code for fault injection.
Philip Homburg [Mon, 28 Aug 2006 15:03:03 +0000 (15:03 +0000)]
first commit of extra ptrace code for fault injection.

18 years agofirst commit of extra ptrace code for fault injection
Philip Homburg [Mon, 28 Aug 2006 14:59:56 +0000 (14:59 +0000)]
first commit of extra ptrace code for fault injection

18 years agoRemoved superfluous assignment to text_base. Reported by Ildar Ismagilov.
Philip Homburg [Mon, 28 Aug 2006 14:59:55 +0000 (14:59 +0000)]
Removed superfluous assignment to text_base. Reported by Ildar Ismagilov.

18 years agoNo need for .depend files in CVS.
Philip Homburg [Mon, 28 Aug 2006 14:32:24 +0000 (14:32 +0000)]
No need for .depend files in CVS.

18 years agoDo not abort/panic when an ethernet driver does something unexpected.
Philip Homburg [Mon, 28 Aug 2006 12:59:36 +0000 (12:59 +0000)]
Do not abort/panic when an ethernet driver does something unexpected.

18 years agoTTY should not panic when it is impossible to reply. A driver may crash
Philip Homburg [Mon, 28 Aug 2006 12:16:15 +0000 (12:16 +0000)]
TTY should not panic when it is impossible to reply. A driver may crash
before receiving the reply from TTY.

18 years agoNew UPDATING file with hints for source updating.
Ben Gras [Fri, 18 Aug 2006 16:18:54 +0000 (16:18 +0000)]
New UPDATING file with hints for source updating.

18 years agoUndo configure script regeneration - not using --libdir
Ben Gras [Fri, 18 Aug 2006 16:16:06 +0000 (16:16 +0000)]
Undo configure script regeneration - not using --libdir

18 years agoInstalling in build file sidesteps problems installing as bin
Ben Gras [Thu, 17 Aug 2006 14:21:10 +0000 (14:21 +0000)]
Installing in build file sidesteps problems installing as bin

18 years agoset $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found
Ben Gras [Thu, 17 Aug 2006 14:03:06 +0000 (14:03 +0000)]
set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found
which has unexpected return codes compared to minix grep.

18 years agoLet installing work as bin
Ben Gras [Thu, 17 Aug 2006 10:10:42 +0000 (10:10 +0000)]
Let installing work as bin

18 years agoFixes to build and install flex as bin.
Ben Gras [Thu, 17 Aug 2006 09:53:26 +0000 (09:53 +0000)]
Fixes to build and install flex as bin.

18 years agonew command 'dumpcore' that can write core files of running processes.
Ben Gras [Tue, 15 Aug 2006 15:59:38 +0000 (15:59 +0000)]
new command 'dumpcore' that can write core files of running processes.

18 years agoForce yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc
Ben Gras [Tue, 15 Aug 2006 15:59:04 +0000 (15:59 +0000)]
Force yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc
(bison) before /usr/bin/yacc in $PATH

18 years ago/usr/local/gnu removed as prefix; gcc libs go into /usr/local/lib/gcc now
Ben Gras [Tue, 15 Aug 2006 15:58:24 +0000 (15:58 +0000)]
/usr/local/gnu removed as prefix; gcc libs go into /usr/local/lib/gcc now

18 years agoNo separate beta dir
Ben Gras [Tue, 15 Aug 2006 15:57:13 +0000 (15:57 +0000)]
No separate beta dir

18 years agoMake packman minix-version-aware
Ben Gras [Tue, 15 Aug 2006 15:56:42 +0000 (15:56 +0000)]
Make packman minix-version-aware

18 years agoadd xxl to usage
Ben Gras [Tue, 15 Aug 2006 15:56:09 +0000 (15:56 +0000)]
add xxl to usage

don't touch non-compiler binaries

18 years agoCode for 'service run'
Ben Gras [Tue, 15 Aug 2006 15:55:04 +0000 (15:55 +0000)]
Code for 'service run'

18 years agoAdded 'service run' to run a service without restart.
Ben Gras [Tue, 15 Aug 2006 15:54:51 +0000 (15:54 +0000)]
Added 'service run' to run a service without restart.

18 years agoPass 'service' instead of 'argv[1]' to servxcheck.
Philip Homburg [Thu, 10 Aug 2006 14:13:28 +0000 (14:13 +0000)]
Pass 'service' instead of 'argv[1]' to servxcheck.

18 years agoUse syslog for logging.
Philip Homburg [Thu, 10 Aug 2006 14:11:25 +0000 (14:11 +0000)]
Use syslog for logging.

18 years ago . fix for wild store at startup time by calling dev_io without fp
Ben Gras [Thu, 10 Aug 2006 11:51:11 +0000 (11:51 +0000)]
 . 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

18 years agoImproved access checks in system.c. Grant drivers and FS the rights they need.
Philip Homburg [Thu, 10 Aug 2006 10:56:16 +0000 (10:56 +0000)]
Improved access checks in system.c. Grant drivers and FS the rights they need.

18 years agoreport driver source of grant mismatch
Ben Gras [Fri, 4 Aug 2006 13:31:06 +0000 (13:31 +0000)]
report driver source of grant mismatch

18 years agoClarify du units.
Ben Gras [Fri, 4 Aug 2006 13:26:05 +0000 (13:26 +0000)]
Clarify du units.

18 years agoStart calling it 3.1.3rc1
Ben Gras [Fri, 4 Aug 2006 12:12:06 +0000 (12:12 +0000)]
Start calling it 3.1.3rc1

18 years agoAt least 8k stack for all drivers so that malloc() works, for grants,
Ben Gras [Wed, 2 Aug 2006 22:51:47 +0000 (22:51 +0000)]
At least 8k stack for all drivers so that malloc() works, for grants,
for printf().

18 years agolance needs 8k in order for safecopies to work (malloc()).
Ben Gras [Wed, 2 Aug 2006 22:42:10 +0000 (22:42 +0000)]
lance needs 8k in order for safecopies to work (malloc()).

18 years agoTurn off prototypes for readv and writev until they're defined
Ben Gras [Wed, 2 Aug 2006 15:18:49 +0000 (15:18 +0000)]
Turn off prototypes for readv and writev until they're defined
(properly) in the library.

18 years agoFix by Joren for setjmp to not clobber %ebx.
Ben Gras [Wed, 2 Aug 2006 12:03:02 +0000 (12:03 +0000)]
Fix by Joren for setjmp to not clobber %ebx.

18 years agoMake includes for gcc 4.1.1 too if found.
Ben Gras [Tue, 1 Aug 2006 09:17:43 +0000 (09:17 +0000)]
Make includes for gcc 4.1.1 too if found.

18 years agoActually make top suid root
Ben Gras [Mon, 31 Jul 2006 15:06:53 +0000 (15:06 +0000)]
Actually make top suid root

18 years agomake top suid root to do getsysinfo.
Ben Gras [Mon, 31 Jul 2006 14:37:56 +0000 (14:37 +0000)]
make top suid root to do getsysinfo.

18 years ago/usr/local/src for easypack-fetched sources.
Ben Gras [Mon, 31 Jul 2006 11:40:14 +0000 (11:40 +0000)]
/usr/local/src for easypack-fetched sources.

18 years agoIntroduced unprivileged getsysinfo variant, to retrieve harmless data
Ben Gras [Thu, 27 Jul 2006 16:23:01 +0000 (16:23 +0000)]
Introduced unprivileged getsysinfo variant, to retrieve harmless data
in formats that don't change (or is upwards compatible).

18 years agobig for big commands
Ben Gras [Thu, 27 Jul 2006 16:05:17 +0000 (16:05 +0000)]
big for big commands

18 years agoBigger bigsh for gcc and binutils
Ben Gras [Thu, 27 Jul 2006 08:51:08 +0000 (08:51 +0000)]
Bigger bigsh for gcc and binutils

18 years agoForce minix install
Ben Gras [Wed, 26 Jul 2006 14:26:26 +0000 (14:26 +0000)]
Force minix install

18 years agoMake ps suid root instead of sguid kmem. This makes getsysinfo
Ben Gras [Wed, 26 Jul 2006 11:34:26 +0000 (11:34 +0000)]
Make ps suid root instead of sguid kmem. This makes getsysinfo
work for it.

18 years agoFix for 'cleanup: not idle: 2313' bug.
Philip Homburg [Tue, 25 Jul 2006 14:13:09 +0000 (14:13 +0000)]
Fix for 'cleanup: not idle: 2313' bug.

18 years agoTaught log driver to return REP_IO_GRANT on revive events, makes revive
Ben Gras [Tue, 25 Jul 2006 11:01:54 +0000 (11:01 +0000)]
Taught log driver to return REP_IO_GRANT on revive events, makes revive
work again.

18 years agoIntroduction of a 'big' ioctl, with more bits (20) reserved for encoding the
Ben Gras [Tue, 25 Jul 2006 09:41:40 +0000 (09:41 +0000)]
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.

18 years agoflex build fix - can't build and install separately with two different
Ben Gras [Tue, 25 Jul 2006 09:39:13 +0000 (09:39 +0000)]
flex build fix - can't build and install separately with two different
compilers.

18 years agoMore stack for system.
Ben Gras [Tue, 25 Jul 2006 09:38:24 +0000 (09:38 +0000)]
More stack for system.

18 years agoDon't give an error message for usage.
Ben Gras [Mon, 24 Jul 2006 13:27:17 +0000 (13:27 +0000)]
Don't give an error message for usage.

18 years agoAllow holes in executables.
Philip Homburg [Mon, 24 Jul 2006 13:07:25 +0000 (13:07 +0000)]
Allow holes in executables.

18 years agoMake /usr/local/lib/{ack,gcc} for ack and gcc format libraries.
Ben Gras [Fri, 21 Jul 2006 16:09:05 +0000 (16:09 +0000)]
Make /usr/local/lib/{ack,gcc} for ack and gcc format libraries.

18 years agodistclean first, then install
Ben Gras [Fri, 21 Jul 2006 14:56:23 +0000 (14:56 +0000)]
distclean first, then install

18 years agoOnly install.
Ben Gras [Fri, 21 Jul 2006 14:55:33 +0000 (14:55 +0000)]
Only install.

18 years agoUse grant address type in loadfont ioctl.
Ben Gras [Fri, 21 Jul 2006 14:39:48 +0000 (14:39 +0000)]
Use grant address type in loadfont ioctl.

18 years agoMore stack for env to build g++.
Ben Gras [Fri, 21 Jul 2006 12:51:56 +0000 (12:51 +0000)]
More stack for env to build g++.

18 years agoManpage bug fix reported by Matej Kosik.
Ben Gras [Fri, 21 Jul 2006 11:19:32 +0000 (11:19 +0000)]
Manpage bug fix reported by Matej Kosik.

18 years agoFix for %#02x bug (shouldn't print 0x, but junk was printed) found by
Ben Gras [Fri, 21 Jul 2006 10:08:47 +0000 (10:08 +0000)]
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).

18 years agoSwitch to vc 0 and softscrolling when /dev/video is opened and switch back
Philip Homburg [Wed, 19 Jul 2006 11:50:18 +0000 (11:50 +0000)]
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.

18 years agoDon't call X 'X Windows'.
Ben Gras [Wed, 19 Jul 2006 10:51:30 +0000 (10:51 +0000)]
Don't call X 'X Windows'.

18 years agoBuild gcc library of libfl.
Ben Gras [Tue, 18 Jul 2006 14:52:53 +0000 (14:52 +0000)]
Build gcc library of libfl.

18 years ago'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
Ben Gras [Mon, 17 Jul 2006 17:05:54 +0000 (17:05 +0000)]
'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
the commands build.

18 years agoPrototypes for send and recv. Fixed send (pass null address) and sendto
Philip Homburg [Fri, 14 Jul 2006 14:34:00 +0000 (14:34 +0000)]
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).

18 years agoClear NONBLOCK flag after probing ethernet device.
Philip Homburg [Fri, 14 Jul 2006 13:35:21 +0000 (13:35 +0000)]
Clear NONBLOCK flag after probing ethernet device.

18 years agoFixed ruserok not to required /etc/hosts.equiv.
Philip Homburg [Fri, 14 Jul 2006 12:48:01 +0000 (12:48 +0000)]
Fixed ruserok not to required /etc/hosts.equiv.

18 years ago<minix/ds.h> - ds definitions.
Ben Gras [Fri, 14 Jul 2006 12:40:32 +0000 (12:40 +0000)]
<minix/ds.h> - ds definitions.

18 years agoMore stack for in.rshd.
Philip Homburg [Fri, 14 Jul 2006 11:22:37 +0000 (11:22 +0000)]
More stack for in.rshd.

18 years ago . DS understands publishing and subscribing where keys are in string
Ben Gras [Thu, 13 Jul 2006 14:50:23 +0000 (14:50 +0000)]
 . 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

18 years agoDo not report non-safe sys_sdevio calls when the address is 'SELF'
Philip Homburg [Thu, 13 Jul 2006 14:46:53 +0000 (14:46 +0000)]
Do not report non-safe sys_sdevio calls when the address is 'SELF'

18 years agoLeft consistency checks enabled in INET in the previous commit.
Philip Homburg [Thu, 13 Jul 2006 13:25:55 +0000 (13:25 +0000)]
Left consistency checks enabled in INET in the previous commit.

18 years agoMore stack for tcpd.
Philip Homburg [Thu, 13 Jul 2006 13:19:48 +0000 (13:19 +0000)]
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.

18 years agoWhen installing in a free partition larger than the maximum, don't align
Ben Gras [Thu, 13 Jul 2006 12:43:47 +0000 (12:43 +0000)]
When installing in a free partition larger than the maximum, don't align
on cylinder boundary.

18 years agoJoren's proposed fix for a too-conservative split point selection.
Ben Gras [Mon, 10 Jul 2006 15:05:33 +0000 (15:05 +0000)]
Joren's proposed fix for a too-conservative split point selection.
(Making building packages with long filenames difficult.)

18 years agoSafecopy support for INET.
Philip Homburg [Mon, 10 Jul 2006 12:55:33 +0000 (12:55 +0000)]
Safecopy support for INET.

18 years agoSupport for SI_CALL_STATS (counting systemcalls).
Philip Homburg [Mon, 10 Jul 2006 12:44:43 +0000 (12:44 +0000)]
Support for SI_CALL_STATS (counting systemcalls).

18 years agoSafecopy support in ethernet drivers.
Philip Homburg [Mon, 10 Jul 2006 12:43:38 +0000 (12:43 +0000)]
Safecopy support in ethernet drivers.

18 years agoUse safecopy version to get log messages from TTY.
Philip Homburg [Mon, 10 Jul 2006 12:42:31 +0000 (12:42 +0000)]
Use safecopy version to get log messages from TTY.