]> Zhao Yanbai Git Server - minix.git/log
minix.git
15 years agoFixed case error
Thomas Veerman [Wed, 22 Jul 2009 08:59:57 +0000 (08:59 +0000)]
Fixed case error

15 years agoMFS put_inode issues (reported by Maurizio Lombardi)
David van Moolenbroek [Wed, 22 Jul 2009 08:54:28 +0000 (08:54 +0000)]
MFS put_inode issues (reported by Maurizio Lombardi)

15 years agoFix VirtualBox Lance bug; ec_reinit should be called only once.
Arun Thomas [Tue, 21 Jul 2009 13:13:45 +0000 (13:13 +0000)]
Fix VirtualBox Lance bug; ec_reinit should be called only once.

15 years agoAdded select test
Thomas Veerman [Tue, 14 Jul 2009 09:43:33 +0000 (09:43 +0000)]
Added select test

15 years agoFixed a minor select bug:
Thomas Veerman [Tue, 14 Jul 2009 09:39:05 +0000 (09:39 +0000)]
Fixed a minor select bug:
 - When one does a select on a file descriptor that is meaningless for that particular file type, select shall indicate that the file descriptor is ready for that particular operation and that the file descriptor has no exceptional condition pending.

15 years agoIS: fix up PM flags field somewhat
David van Moolenbroek [Sun, 12 Jul 2009 15:30:59 +0000 (15:30 +0000)]
IS: fix up PM flags field somewhat

15 years agomake remove(3) remove directories as well
David van Moolenbroek [Sun, 12 Jul 2009 14:44:37 +0000 (14:44 +0000)]
make remove(3) remove directories as well

15 years agoMFS: remove some redundant code (reported by Maurizio Lombardi)
David van Moolenbroek [Sun, 12 Jul 2009 13:57:34 +0000 (13:57 +0000)]
MFS: remove some redundant code (reported by Maurizio Lombardi)

15 years agoRS: the plural of 'child' is 'children'
David van Moolenbroek [Sat, 11 Jul 2009 17:59:05 +0000 (17:59 +0000)]
RS: the plural of 'child' is 'children'

15 years agomake unstack work on gcc-compiled binaries
David van Moolenbroek [Sat, 11 Jul 2009 17:55:24 +0000 (17:55 +0000)]
make unstack work on gcc-compiled binaries

15 years agoPM cleanup: remove unused fields from mproc structure
David van Moolenbroek [Sat, 11 Jul 2009 17:15:33 +0000 (17:15 +0000)]
PM cleanup: remove unused fields from mproc structure

15 years agoPM: fix ptrace(T_EXIT) 'exit_proc: not idle' race condition.
David van Moolenbroek [Sat, 11 Jul 2009 13:22:56 +0000 (13:22 +0000)]
PM: fix ptrace(T_EXIT) 'exit_proc: not idle' race condition.

15 years agoPM: add clarifying comment about exiting system processes early (thanks Philip)
David van Moolenbroek [Sat, 11 Jul 2009 11:19:39 +0000 (11:19 +0000)]
PM: add clarifying comment about exiting system processes early (thanks Philip)

15 years agoMFS fixes:
David van Moolenbroek [Sat, 11 Jul 2009 10:36:57 +0000 (10:36 +0000)]
MFS fixes:
- Don't dereference NULL dir inode in advance_* (reported by Maurizio Lombardi)
- Fix potential inode reference leak in fs_slink_*

15 years agoPM: add EXITING process flag as stopgap between starting coredump and setting ZOMBIE...
David van Moolenbroek [Thu, 9 Jul 2009 22:33:56 +0000 (22:33 +0000)]
PM: add EXITING process flag as stopgap between starting coredump and setting ZOMBIE flag

15 years agolet IS call getuptime()
David van Moolenbroek [Thu, 9 Jul 2009 20:54:35 +0000 (20:54 +0000)]
let IS call getuptime()

15 years agoFix race condition in test 25
David van Moolenbroek [Thu, 9 Jul 2009 11:44:35 +0000 (11:44 +0000)]
Fix race condition in test 25

15 years agoPM cleanup: remove obsolete HAS_DMA flag
David van Moolenbroek [Wed, 8 Jul 2009 20:08:46 +0000 (20:08 +0000)]
PM cleanup: remove obsolete HAS_DMA flag

15 years agoPM cleanup: merge exit and coredump paths
David van Moolenbroek [Wed, 8 Jul 2009 17:16:53 +0000 (17:16 +0000)]
PM cleanup: merge exit and coredump paths

15 years agoRemove leftover PowerPC cruft. Reported by Evgeniy Ivanov.
David van Moolenbroek [Tue, 7 Jul 2009 18:55:11 +0000 (18:55 +0000)]
Remove leftover PowerPC cruft. Reported by Evgeniy Ivanov.

15 years agoMiscellaneous PM fixes:
David van Moolenbroek [Sun, 5 Jul 2009 22:48:18 +0000 (22:48 +0000)]
Miscellaneous PM fixes:
o Don't call vm_willexit() more than once upon normal process exit
o Correct two cases of indenting of the no-discussion-possible kind
o Perform slightly stricter ptrace(2) checks:
  - process calling ptrace must be target process's parent
  - process must call wait/waitpid before using ptrace on stopped child
  - no ptrace on zombies
o Allow user processes to use ptrace(T_STOP) to stop an active child

15 years agoIPC privileges fixes
David van Moolenbroek [Thu, 2 Jul 2009 16:25:31 +0000 (16:25 +0000)]
IPC privileges fixes

Kernel:
o Remove s_ipc_sendrec, instead using s_ipc_to for all send primitives
o Centralize s_ipc_to bit manipulation,
  - disallowing assignment of bits pointing to unused priv structs;
  - preventing send-to-self by not setting bit for own priv struct;
  - preserving send mask matrix symmetry in all cases
o Add IPC send mask checks to SENDA, which were missing entirely somehow
o Slightly improve IPC stats accounting for SENDA
o Remove SYSTEM from user processes' send mask
o Half-fix the dependency between boot image order and process numbers,
  - correcting the table order of the boot processes;
  - documenting the order requirement needed for proper send masks;
  - warning at boot time if the order is violated

RS:
o Add support in /etc/drivers.conf for servers that talk to user processes,
  - disallowing IPC to user processes if no "ipc" field is present
  - adding a special "USER" label to explicitly allow IPC to user processes
o Always apply IPC masks when specified; remove -i flag from service(8)
o Use kernel send mask symmetry to delay adding IPC permissions for labels
  that do not exist yet, adding them to that label's process upon creation
o Add VM to ipc permissions list for rtl8139 and fxp in drivers.conf

Left to future fixes:
o Removal of the table order vs process numbers dependency altogether,
  possibly using per-process send list structures as used for SYSTEM calls
o Proper assignment of send masks to boot processes;
  some of the assigned (~0) masks are much wider than necessary
o Proper assignment of IPC send masks for many more servers in drivers.conf
o Removal of the debugging warning about the now legitimate case where RS's
  add_forward_ipc cannot find the IPC destination's label yet

15 years agomore small man page fixes
David van Moolenbroek [Thu, 25 Jun 2009 10:41:55 +0000 (10:41 +0000)]
more small man page fixes

15 years agorandom man page update: cut.1
David van Moolenbroek [Wed, 24 Jun 2009 21:13:28 +0000 (21:13 +0000)]
random man page update: cut.1

15 years agorandom man page fix: cawf.1
David van Moolenbroek [Wed, 24 Jun 2009 11:42:05 +0000 (11:42 +0000)]
random man page fix: cawf.1

15 years agofix installation of home directories in setup.sh
David van Moolenbroek [Tue, 23 Jun 2009 13:40:32 +0000 (13:40 +0000)]
fix installation of home directories in setup.sh

15 years agoRestore last(1) and uptime(1) building/installing.
Arun Thomas [Tue, 23 Jun 2009 12:22:35 +0000 (12:22 +0000)]
Restore last(1) and uptime(1) building/installing.

15 years agomake mdb(1) compile again
David van Moolenbroek [Wed, 17 Jun 2009 14:59:22 +0000 (14:59 +0000)]
make mdb(1) compile again

15 years agoremove last traces of FSDEVMAP svrctl
David van Moolenbroek [Sat, 13 Jun 2009 13:09:14 +0000 (13:09 +0000)]
remove last traces of FSDEVMAP svrctl

15 years agobetter solution for poweroff(8)
David van Moolenbroek [Fri, 12 Jun 2009 13:17:33 +0000 (13:17 +0000)]
better solution for poweroff(8)

15 years agopoweroff(8) aesthetics
David van Moolenbroek [Fri, 12 Jun 2009 13:13:29 +0000 (13:13 +0000)]
poweroff(8) aesthetics

15 years agoadded poweroff(8)
David van Moolenbroek [Fri, 12 Jun 2009 13:02:51 +0000 (13:02 +0000)]
added poweroff(8)

15 years agols(1) manpage corrections
Arun Thomas [Sat, 30 May 2009 11:01:17 +0000 (11:01 +0000)]
ls(1) manpage corrections

-Add missing '-n' option to synopsis.
-MINIX 3 does support symbolic links now.

Thanks to River Tarnell for the patch.

15 years agoRelease.sh now uses packages.install and package_sources.install to
Arun Thomas [Sat, 30 May 2009 09:31:19 +0000 (09:31 +0000)]
Release.sh now uses packages.install and package_sources.install to
determine which packages and package sources to include on the
installation media, as opposed to including everything in the
PACKAGEDIR AND PACKAGESOURCEDIR directories.

15 years agoSupport for VMWare Workstation 6.x
Arun Thomas [Wed, 27 May 2009 23:35:34 +0000 (23:35 +0000)]
Support for VMWare Workstation 6.x

VMWare Workstation 6.x would previously die when running MINIX 3 with an
IOSPACE assertion and several error messages about multiply registered
I/O ports. The assertion is triggered when we probe for BAR sizes in
record_bar(). The solution: The PCI driver now disables I/O and mem
access before probing for BAR sizes.

Bumped up NR_PCIDEV and NR_PCIBUS, since Workstation 6.x virtualizes
more PCI buses and devices.

15 years agoUpdate issue.install for 3.1.4
Arun Thomas [Wed, 27 May 2009 12:42:32 +0000 (12:42 +0000)]
Update issue.install for 3.1.4

15 years agomake lseek64 return correct new position
David van Moolenbroek [Sat, 23 May 2009 13:47:17 +0000 (13:47 +0000)]
make lseek64 return correct new position

15 years agoupdate readlink(2) manpage accordingly
David van Moolenbroek [Wed, 20 May 2009 11:49:10 +0000 (11:49 +0000)]
update readlink(2) manpage accordingly

15 years agomove symlink type check for readlink() into VFS, and return the right POSIX error
David van Moolenbroek [Wed, 20 May 2009 09:46:06 +0000 (09:46 +0000)]
move symlink type check for readlink() into VFS, and return the right POSIX error

15 years agoVFS consistency: use I_PIPE/NO_PIPE when checking v_pipe
David van Moolenbroek [Tue, 19 May 2009 14:34:44 +0000 (14:34 +0000)]
VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe

15 years agodon't include /usr/src changes in packages.
Ben Gras [Tue, 19 May 2009 10:55:15 +0000 (10:55 +0000)]
don't include /usr/src changes in packages.

15 years ago4MB mask
Ben Gras [Mon, 18 May 2009 15:56:13 +0000 (15:56 +0000)]
4MB mask

15 years agomap in kernel in 4MB, global-bit-set 'pages' if hardware
Ben Gras [Mon, 18 May 2009 15:34:42 +0000 (15:34 +0000)]
map in kernel in 4MB, global-bit-set 'pages' if hardware
supports it. helps performance.

broken use of region data structure for kernel mapping to be fixed.

15 years agoVarious VFS and MFS fixes to improve correctness, consistency and
David van Moolenbroek [Mon, 18 May 2009 11:27:12 +0000 (11:27 +0000)]
Various VFS and MFS fixes to improve correctness, consistency and
POSIX compliance.

VFS changes:
* truncate() on a file system mounted read-only no longer panics MFS.
* ftruncate() and fcntl(F_FREESP) now check for write permission on
  the file descriptor instead of the file, write().
* utime(), chown() and fchown() now check for file system read-only
  status.

MFS changes:
* link() and rename() no longer return the internal EENTERMOUNT and
  ELEAVEMOUNT errors to the application as part of a check on the
  source path.
* rename() now treats EENTERMOUNT from the destination path check as
  an error, preventing file system corruption from renaming a normal
  directory to an existing mountpoint directory.
* mountpoints (mounted-on dirs) are hidden better during lookups:
  - if a lookup starts from a mountpoint, the first component has to
    be ".." (anything else being a VFS-FS protocol violation).
  - in that case, the permissions of the mountpoint are not checked.
  - in all other cases, visiting a mountpoint always results in
    EENTERMOUNT.
* a lookup on ".." from a mount root or chroot(2) root no longer
  succeeds if the caller does not have search permission on that
  directory.
* POSIX: getdents() now updates directory access times.
* POSIX: readlink() now returns partial results instead of ERANGE.

Miscellaneous changes:
* semaphore file handling bug (leading to hangs) fixed in test 32.

The VFS changes should now put the burden of checking for read-only
status of file systems entirely on VFS, and limit the access
permission checks that file systems have to perform, to checking
search permission on directories during lookups. From this point on,
any deviation from that spceification should be considered a bug.
Note that for legacy reasons, the root partition is assumed to be
mounted read-write.

15 years agoLibrary call for cpu features; make kernel and vm use this to query cpu
Ben Gras [Fri, 15 May 2009 17:07:36 +0000 (17:07 +0000)]
Library call for cpu features; make kernel and vm use this to query cpu
features (specifically: 4MB pages and TLB global bit).  Only enable
these features in CR4 if available. 4MB pages to be used in the near
future.

15 years agocorrect the revision variable used in /etc/version
Ben Gras [Fri, 15 May 2009 13:02:23 +0000 (13:02 +0000)]
correct the revision variable used in /etc/version

15 years ago-Remove qemu_pci boot variable. Useres no longer need to set qemu_pci when
Arun Thomas [Thu, 14 May 2009 19:07:37 +0000 (19:07 +0000)]
-Remove qemu_pci boot variable. Useres no longer need to set qemu_pci when
booting MINIX under QEMU/KVM.
-Kept the diagnostic message, however.

15 years agoC CPUID interface.
Ben Gras [Thu, 14 May 2009 15:55:28 +0000 (15:55 +0000)]
C CPUID interface.

15 years ago-Installation info is on the wiki now, so remove setup guides and update
Arun Thomas [Thu, 14 May 2009 15:54:02 +0000 (15:54 +0000)]
-Installation info is on the wiki now, so remove setup guides and update
README.
-Remove obsolete FAT partitioning utility.
-Update startup banner.

15 years agoClear trace bit for child on fork.
David van Moolenbroek [Wed, 13 May 2009 21:58:10 +0000 (21:58 +0000)]
Clear trace bit for child on fork.

Without this, a forking single-stepped process will have its child
die from a TRAP signal right away.

15 years agosupport in 'mount' for specifying file system type and options
David van Moolenbroek [Wed, 13 May 2009 15:39:44 +0000 (15:39 +0000)]
support in 'mount' for specifying file system type and options

15 years ago'service' null pointer dereference fix
David van Moolenbroek [Tue, 12 May 2009 16:52:00 +0000 (16:52 +0000)]
'service' null pointer dereference fix

15 years agoto let tty run with its own page table (instead of with the kernel identity
Ben Gras [Tue, 12 May 2009 12:43:18 +0000 (12:43 +0000)]
to let tty run with its own page table (instead of with the kernel identity
map table), make it map in video memory.

sadly, this breaks tty in non-paged mode.

happily, this simplifies the code by throwing out the messing
around with segments, and throws out vidcopy.s.

15 years agodon't bother with unmapping physical memory in non-sanitycheck mode.
Ben Gras [Tue, 12 May 2009 11:51:53 +0000 (11:51 +0000)]
don't bother with unmapping physical memory in non-sanitycheck mode.

15 years agobasic sparepage optimisation
Ben Gras [Tue, 12 May 2009 11:38:29 +0000 (11:38 +0000)]
basic sparepage optimisation

some simplification of linear/virtual address translation
(less hardcoding and more use of arch_*2* functions)

15 years agoremove bogus arch_map2vir calls
Ben Gras [Tue, 12 May 2009 11:36:15 +0000 (11:36 +0000)]
remove bogus arch_map2vir calls

15 years agodon't call this function with a bogus addr (done by region.c print code)
Ben Gras [Tue, 12 May 2009 11:35:49 +0000 (11:35 +0000)]
don't call this function with a bogus addr (done by region.c print code)

15 years agomore sanity checking. sanity checking disabled by default.
Ben Gras [Tue, 12 May 2009 11:35:01 +0000 (11:35 +0000)]
more sanity checking. sanity checking disabled by default.

give every process a full pagetable by default now.

first step to disabling kernel page table code (processes
might not have page tables -> no address translation).

15 years agolarge page size constant.
Ben Gras [Tue, 12 May 2009 09:23:27 +0000 (09:23 +0000)]
large page size constant.

15 years agostart all processes, including VM, in VM_PROCSTART in linear address space,
Ben Gras [Mon, 11 May 2009 19:11:37 +0000 (19:11 +0000)]
start all processes, including VM, in VM_PROCSTART in linear address space,
to make space for kernel to be able to map in things below there.

15 years agoDon't build arch objs more than once.
Ben Gras [Mon, 11 May 2009 19:05:45 +0000 (19:05 +0000)]
Don't build arch objs more than once.

15 years agoremove debug msg
Ben Gras [Mon, 11 May 2009 11:57:20 +0000 (11:57 +0000)]
remove debug msg

15 years agoVFS-FS error codes: better safe than sorry
David van Moolenbroek [Mon, 11 May 2009 11:30:04 +0000 (11:30 +0000)]
VFS-FS error codes: better safe than sorry

15 years agoLimited support for nested FS->VFS requests during VFS->FS call.
David van Moolenbroek [Mon, 11 May 2009 10:02:28 +0000 (10:02 +0000)]
Limited support for nested FS->VFS requests during VFS->FS call.
- Changed VFS-FS protocol to only store OK or negative error code in
  m_type field of reply messages.
- Changed VFS to treat nonzero positive replies from FS as requests.
- Added backwards compatibility to VFS and MFS.
No protection of global data structures is provided in VFS, so many
VFS calls cannot be made safely by FS servers during many FS calls.
Use with caution (or, preferably, not at all).

15 years agowrong field index in at_wini env_parse call
David van Moolenbroek [Sun, 10 May 2009 16:58:23 +0000 (16:58 +0000)]
wrong field index in at_wini env_parse call

15 years agopotential buffer overruns in env_* routines
David van Moolenbroek [Sun, 10 May 2009 16:54:37 +0000 (16:54 +0000)]
potential buffer overruns in env_* routines

15 years agoregression fix: vfs lookup passes incorrect chroot information after crossing mountpoints
David van Moolenbroek [Sat, 9 May 2009 17:53:22 +0000 (17:53 +0000)]
regression fix: vfs lookup passes incorrect chroot information after crossing mountpoints

15 years agofix for commands that try to include mfs constants from vfs
David van Moolenbroek [Fri, 8 May 2009 20:37:06 +0000 (20:37 +0000)]
fix for commands that try to include mfs constants from vfs

15 years agoquick cleanup of old mfs cruft from vfs
David van Moolenbroek [Fri, 8 May 2009 14:12:41 +0000 (14:12 +0000)]
quick cleanup of old mfs cruft from vfs

15 years ago make unpause() decrease susp_count, as it shouldn't be decreased
Ben Gras [Fri, 8 May 2009 13:56:41 +0000 (13:56 +0000)]
 make unpause() decrease susp_count, as it shouldn't be decreased
 if the process was REVIVING. (susp_count doesn't count those
 processes.) this together with dev_io SELECT suspend side effect
 for asynch. character devices solves the hanging pipe bug. or
 at last vastly improves it.

 added sanity checks, turned off by default.

 made the {NOT_,}{SUSPENDING,REVIVING} constants weirder to
 help sanity checking.

15 years agoremove unused global variable from vfs
David van Moolenbroek [Fri, 8 May 2009 13:54:01 +0000 (13:54 +0000)]
remove unused global variable from vfs

15 years agodon't suspend the process as a side-effect if
Ben Gras [Fri, 8 May 2009 13:50:29 +0000 (13:50 +0000)]
don't suspend the process as a side-effect if
device returns SUSPEND if it's select; select already
does this.

15 years agoReenable RS table dump from IS (Shift+F6)
David van Moolenbroek [Fri, 8 May 2009 12:38:14 +0000 (12:38 +0000)]
Reenable RS table dump from IS (Shift+F6)

15 years agoFix for large transfer operations not advancing buffer address
David van Moolenbroek [Fri, 8 May 2009 12:29:57 +0000 (12:29 +0000)]
Fix for large transfer operations not advancing buffer address
offset when DMA transfer unit is smaller than given buffer size.
Bug tracker item #82.

15 years agoKernel interrupt hook management fixes:
David van Moolenbroek [Thu, 7 May 2009 14:52:07 +0000 (14:52 +0000)]
Kernel interrupt hook management fixes:
- properly assign unique hook IDs
- after hook removal, remove hook-specific interrupt disable flag

15 years agodisable scary looking debug messages.
Ben Gras [Thu, 7 May 2009 09:58:16 +0000 (09:58 +0000)]
disable scary looking debug messages.

15 years agoturn off scary looking debug messages.
Ben Gras [Thu, 7 May 2009 09:57:43 +0000 (09:57 +0000)]
turn off scary looking debug messages.

15 years agoignore errors of pipe read (can happen with shutdown now,
Ben Gras [Wed, 6 May 2009 15:38:32 +0000 (15:38 +0000)]
ignore errors of pipe read (can happen with shutdown now,
now that all fd's are closed neatly in vfs), change messaging
in unexpected restarts

15 years agocleanup of vfs shutdown logic; makes clean unmounts easier (but
Ben Gras [Wed, 29 Apr 2009 16:59:18 +0000 (16:59 +0000)]
cleanup of vfs shutdown logic; makes clean unmounts easier (but
needs checking if fp_wd or fp_rd is NULL before use)

15 years ago - delete unused .h files
Ben Gras [Mon, 27 Apr 2009 16:13:51 +0000 (16:13 +0000)]
 - delete unused .h files
 - slight code cleanup
 - neater exit procedure: exit when unmount
   message received and kill signal (from RS 'down' or
   reboot/shutdown) received (speed up unmount, but don't
   confuse VFS by exiting before/during unmount msg)

15 years agospurious debug
Ben Gras [Mon, 27 Apr 2009 16:11:38 +0000 (16:11 +0000)]
spurious debug

15 years agolose -s flag for umount.
Ben Gras [Mon, 27 Apr 2009 14:23:57 +0000 (14:23 +0000)]
lose -s flag for umount.

15 years agoprocess restarts are pretty rare/serious.
Ben Gras [Mon, 27 Apr 2009 14:07:47 +0000 (14:07 +0000)]
process restarts are pretty rare/serious.

15 years agominor fixes to install script - allow 8kB blocksize (necessary for
Ben Gras [Mon, 27 Apr 2009 12:59:49 +0000 (12:59 +0000)]
minor fixes to install script - allow 8kB blocksize (necessary for
large filesystems)

15 years agoWhen we receive a PROC_EVENT message from PM, exit nicely; avoids
Ben Gras [Mon, 27 Apr 2009 12:02:31 +0000 (12:02 +0000)]
When we receive a PROC_EVENT message from PM, exit nicely; avoids
annoying graceful RS timeout on unmount.

15 years agobad dma fallback to pio mode
Ben Gras [Mon, 27 Apr 2009 11:53:11 +0000 (11:53 +0000)]
bad dma fallback to pio mode

15 years agosome more vm bits.
Ben Gras [Thu, 23 Apr 2009 15:21:03 +0000 (15:21 +0000)]
some more vm bits.

15 years agoset global flag for kernel pages, so tlb entries for kernel aren't thrown
Ben Gras [Thu, 23 Apr 2009 15:11:16 +0000 (15:11 +0000)]
set global flag for kernel pages, so tlb entries for kernel aren't thrown
away on cr3 reload. minor optimization.

15 years agoMove queue.h to include/sys so that it can be used elsewhere. Pull in
Arun Thomas [Wed, 22 Apr 2009 20:02:39 +0000 (20:02 +0000)]
Move queue.h to include/sys so that it can be used elsewhere. Pull in
FreeBSD's r179210 queue.h.

15 years agoDisable IOMMU warnings.
Arun Thomas [Wed, 22 Apr 2009 16:53:46 +0000 (16:53 +0000)]
Disable IOMMU warnings.

15 years agoMake the rtl8139 and orinoco drivers handle the system shutdown case
Arun Thomas [Wed, 22 Apr 2009 12:42:37 +0000 (12:42 +0000)]
Make the rtl8139 and orinoco drivers handle the system shutdown case
like other drivers. Also, some minor cleanups.

15 years agomark pages whose refcount were >1 and drop to 1 and are
Ben Gras [Wed, 22 Apr 2009 12:39:29 +0000 (12:39 +0000)]
mark pages whose refcount were >1 and drop to 1 and are
read/write writable in the pagetable right away instead of waiting for
a pagefault. minor optimization.

some a sanity check of SLAB-allocated pointers.

vm gets its own _exit and __exit like PM, so the stock (library) panic works.

15 years ago - enable ipc warnings by default
Ben Gras [Fri, 17 Apr 2009 13:46:37 +0000 (13:46 +0000)]
 - enable ipc warnings by default
 - ipc checking code in kernel didn't properly catch the
   sendrec() to self case; added special case check
 - triggered by PM using stock panic() - needs its own _exit()

reported by Joren l'Ami.

15 years agoclarify not found error message a bit.
Ben Gras [Tue, 14 Apr 2009 14:16:24 +0000 (14:16 +0000)]
clarify not found error message a bit.

15 years agodon't flush output for SIGWINCH. found by Joren l'Ami.
Ben Gras [Mon, 6 Apr 2009 09:39:42 +0000 (09:39 +0000)]
don't flush output for SIGWINCH. found by Joren l'Ami.

15 years agounnecessary debugging message
Ben Gras [Thu, 2 Apr 2009 16:43:35 +0000 (16:43 +0000)]
unnecessary debugging message

15 years agomoved type and constants for random data to include file;
Ben Gras [Thu, 2 Apr 2009 15:24:44 +0000 (15:24 +0000)]
moved type and constants for random data to include file;
added consistency check in random; added source of randomness
internal to random using timing; only retrieve random bins that are full.

15 years agoprint who the message is from.
Ben Gras [Thu, 2 Apr 2009 11:56:50 +0000 (11:56 +0000)]
print who the message is from.

15 years agodon't make susp_count negative.
Ben Gras [Thu, 2 Apr 2009 11:44:26 +0000 (11:44 +0000)]
don't make susp_count negative.

15 years agotrace fix contributed by Joren l'Ami
Ben Gras [Thu, 2 Apr 2009 11:38:23 +0000 (11:38 +0000)]
trace fix contributed by Joren l'Ami