]> Zhao Yanbai Git Server - minix.git/log
minix.git
12 years agomanpages: fix options and examples R3.2.0
David van Moolenbroek [Sat, 31 Mar 2012 21:44:29 +0000 (23:44 +0200)]
manpages: fix options and examples

12 years agolibutil: add O_NOCTTY to old pty open code
Ben Gras [Mon, 26 Mar 2012 15:00:45 +0000 (17:00 +0200)]
libutil: add O_NOCTTY to old pty open code

. fixes e.g. ssh sessions not getting their own
  controlling tty (causing ^C getting broadcast to too
  many processes)
. previously (before -lutil) handled like this by bsd-openpty.c in
  openssh
. reported by Andy Kosela, debugged by ThomasV

12 years agoBootloader reinstall mode for setup.
Evgeniy Ivanov [Tue, 14 Feb 2012 19:17:58 +0000 (23:17 +0400)]
Bootloader reinstall mode for setup.

12 years agoupdate_bootcfg improvements.
Evgeniy Ivanov [Thu, 16 Feb 2012 13:38:38 +0000 (17:38 +0400)]
update_bootcfg improvements.

- Fix a glitch (don't glob '*' in for).
- update_bootcfg should be a /bin command.
- update_bootcfg should not add menu entries for missing kernels.

12 years agoIntroduce 3.2.0a for future release
Ben Gras [Tue, 6 Mar 2012 15:15:25 +0000 (16:15 +0100)]
Introduce 3.2.0a for future release

12 years agoKernel: do not retry message delivery upon failure
David van Moolenbroek [Sun, 4 Mar 2012 20:08:59 +0000 (21:08 +0100)]
Kernel: do not retry message delivery upon failure

12 years agoKernel: only reset/reload FPU state when necessary
David van Moolenbroek [Sat, 3 Mar 2012 19:33:02 +0000 (20:33 +0100)]
Kernel: only reset/reload FPU state when necessary

12 years agoKernel: retain FPU state upon save
David van Moolenbroek [Sat, 3 Mar 2012 16:48:14 +0000 (17:48 +0100)]
Kernel: retain FPU state upon save

On the x86, saving FPU state has the side effect of resetting this
state. In some cases (fork, getcontext), this would cause the state
to be lost. This patch restores the FPU state right after saving it,
except when different state is loaded immediately after.

12 years agoKernel: pass FPU restore exception to user process
David van Moolenbroek [Sat, 3 Mar 2012 18:25:57 +0000 (19:25 +0100)]
Kernel: pass FPU restore exception to user process

Previously, user processes could cause a kernel panic upon FPU state
restore, by passing bogus FPU state to the kernel (through e.g.
sigreturn). With this patch, the process is now sent a SIGFPE signal
instead.

12 years agoKernel: adjust FPU state upon process slot swap
David van Moolenbroek [Sat, 3 Mar 2012 00:05:27 +0000 (01:05 +0100)]
Kernel: adjust FPU state upon process slot swap

This fixes seemingly random FPU exceptions and kernel panics occurring
after a system server restart.

12 years agoe1000: add support for 82545EM
David van Moolenbroek [Mon, 5 Mar 2012 11:58:33 +0000 (12:58 +0100)]
e1000: add support for 82545EM

Tested on VirtualBox and VMware.

12 years agoinclude netdrv_tg3 on cd v3.2.0
Ben Gras [Sun, 26 Feb 2012 22:34:59 +0000 (23:34 +0100)]
include netdrv_tg3 on cd

12 years agoRevert "SMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y"
Tomas Hruby [Fri, 24 Feb 2012 09:16:55 +0000 (10:16 +0100)]
Revert "SMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y"

This reverts commit c468f4efa5a9414c23949372158e711bd7b82a29.

Since we use the new boot loader, this hack is no longer necessary.

12 years agoCosmetic boot fix.
Antoine Leca [Fri, 24 Feb 2012 12:29:10 +0000 (13:29 +0100)]
Cosmetic boot fix.

The NetBSD boot loader loads automatically the kernel module appropriate
for the detected root file system; it is preset at "ffs".  The MINIX3fs
support does not reset the underlying global variable, since there are
no use for this on MINIX.  As a result, the boot loader searches for
/ffs.kmod, and issues two warnings about "module failure to open/load."

12 years agofix for -lsys assert(): call panic()
Ben Gras [Fri, 24 Feb 2012 12:09:39 +0000 (13:09 +0100)]
fix for -lsys assert(): call panic()

. call panic() instead of abort() so that stacktraces are printed
. also call printf(..) instead of fprintf(stderr, ..)

12 years agostart modules at 16MB
Ben Gras [Fri, 24 Feb 2012 10:50:28 +0000 (11:50 +0100)]
start modules at 16MB

. keep more memory free below 16MB for e.g. lance

12 years agokernel: Update copyright date
Arun Thomas [Wed, 22 Feb 2012 15:34:39 +0000 (16:34 +0100)]
kernel: Update copyright date

12 years agoallow elvis to be invoked as ex
Ben Gras [Wed, 22 Feb 2012 00:51:19 +0000 (01:51 +0100)]
allow elvis to be invoked as ex

12 years agomkimage: use a lower start address
Arun Thomas [Tue, 21 Feb 2012 14:52:18 +0000 (15:52 +0100)]
mkimage: use a lower start address

12 years agoVFS: fix last_dir not returning last directory
Thomas Veerman [Tue, 21 Feb 2012 10:16:42 +0000 (10:16 +0000)]
VFS: fix last_dir not returning last directory

If the provided path was only a single component (i.e., without
slashes), then last_dir would return early and skip the symlink
detection (i.e., check whether the path ends in a symlink and resolve
that first before returning). This bug triggered an assert in open
which expects that an advance after an last_dir (with VMNT_WRITE lock)
does not yield another vmnt lock.

12 years agotry multiple reset methods
Ben Gras [Mon, 20 Feb 2012 17:58:17 +0000 (18:58 +0100)]
try multiple reset methods

. fixes reboot-hang under vbox
. makes experience nicer under vmware
. taken from netbsd reset code

12 years agoVFS: remove erroneous assert
Thomas Veerman [Mon, 20 Feb 2012 09:10:58 +0000 (09:10 +0000)]
VFS: remove erroneous assert

The assert was meant as an additional check to the assert in link.c:198.
The reasoning behind the assert in link.c:198 is that once you've
obtained a write lock on a vmnt, you can't get an additional read lock
on the same vmnt. However, that does not always hold for the assert in
path.c:281 where the situation could be that you've obtained a read lock
and managed to get another read lock (this is possible). In other words,
the assert in path.c:281 is not the right place to check for that
situation.

12 years agopkgin_cd clarification in motd
Ben Gras [Fri, 17 Feb 2012 23:39:08 +0000 (00:39 +0100)]
pkgin_cd clarification in motd

12 years agobetter cpp
Ben Gras [Fri, 17 Feb 2012 22:53:25 +0000 (23:53 +0100)]
better cpp

12 years agox11 on cd needs perl, drop groff for space
Ben Gras [Fri, 17 Feb 2012 15:55:46 +0000 (15:55 +0000)]
x11 on cd needs perl, drop groff for space

12 years agoVFS: various select fixes
Thomas Veerman [Fri, 17 Feb 2012 13:36:57 +0000 (13:36 +0000)]
VFS: various select fixes

- Fix locking bug when unable to send DEV_SELECT request. Upon failure
  VFS tried to cancel the select operation, but this failed due to trying
  to lock a filp that was already locked to send the request in the first
  place. Do_select_request now handles locking of filps itself instead of
  relying on the caller to do it.  This fixes a crash when killing INET.
- Fix failure to revive a process after a non-blocking select operation
  yielded no ready select operations when replying DEV_SEL_REPL1.
- Improve readability by using OK, SUSPEND, and standard error values as
  results instead of having separate macros in select.
- Don't print not having a driver for a major device; after killing a driver
  select will trigger this printf.

12 years agotest set: remove GCC specificity
Thomas Veerman [Fri, 17 Feb 2012 16:12:44 +0000 (16:12 +0000)]
test set: remove GCC specificity

12 years agoservers: fix clang warnings in iso9660fs and vm
Arun Thomas [Fri, 17 Feb 2012 14:35:27 +0000 (15:35 +0100)]
servers: fix clang warnings in iso9660fs and vm

12 years ago/usr/lib/cpp script to invoke clang -E
Ben Gras [Fri, 17 Feb 2012 14:43:50 +0000 (14:43 +0000)]
/usr/lib/cpp script to invoke clang -E

. mainly to keep X working

12 years agokernel/utility.c: fix implicit decl warnings
Arun Thomas [Fri, 17 Feb 2012 14:24:24 +0000 (15:24 +0100)]
kernel/utility.c: fix implicit decl warnings

12 years agoFixes to allow versionless packages on cd
Ben Gras [Fri, 17 Feb 2012 14:26:46 +0000 (14:26 +0000)]
Fixes to allow versionless packages on cd

12 years agoUse objcopy to build ramdisk object
Antoine Leca [Tue, 17 Jan 2012 15:04:58 +0000 (16:04 +0100)]
Use objcopy to build ramdisk object

. during build, uses much less memory,
  disk space, and time
. lets us throw out bintoc

12 years agogzip boot modules.
Ben Gras [Thu, 16 Feb 2012 23:06:42 +0000 (23:06 +0000)]
gzip boot modules.

. import gzip

12 years agoRemove obsolete INSTALLFLAGS from makefiles
Arun Thomas [Thu, 16 Feb 2012 22:26:38 +0000 (23:26 +0100)]
Remove obsolete INSTALLFLAGS from makefiles

12 years agomkboot: ensure image target dir is cleaned up
Arun Thomas [Thu, 16 Feb 2012 22:08:22 +0000 (23:08 +0100)]
mkboot: ensure image target dir is cleaned up

12 years agoStrip only the image binaries
Arun Thomas [Thu, 16 Feb 2012 18:14:33 +0000 (19:14 +0100)]
Strip only the image binaries

12 years agofix shell tests - no cc or aal
Ben Gras [Thu, 16 Feb 2012 12:10:39 +0000 (12:10 +0000)]
fix shell tests - no cc or aal

12 years agoinstall library manpages
Ben Gras [Thu, 16 Feb 2012 01:48:46 +0000 (01:48 +0000)]
install library manpages

. harmonize bsd.lib.mk and bsd.man.mk with netbsd files
. throw out minix section 3 (library calls) manpages,
  replaced by netbsd ones that are now installed

12 years agono symlink for dropped manpage
Ben Gras [Thu, 16 Feb 2012 00:52:19 +0000 (00:52 +0000)]
no symlink for dropped manpage

12 years agoMore cleaning up
Antoine Leca [Tue, 14 Feb 2012 18:58:27 +0000 (19:58 +0100)]
More cleaning up

12 years agolibblockdriver: attribute usage bugfix
David van Moolenbroek [Wed, 15 Feb 2012 13:22:45 +0000 (14:22 +0100)]
libblockdriver: attribute usage bugfix

12 years agoupdateboot script for netbsd bootloader
Evgeniy Ivanov [Wed, 15 Feb 2012 02:51:27 +0000 (03:51 +0100)]
updateboot script for netbsd bootloader

12 years agore-enable update-superblock check
Ben Gras [Wed, 15 Feb 2012 02:46:01 +0000 (03:46 +0100)]
re-enable update-superblock check

This reverts commit cdbc4bfb13b9446a00da95efa1e13ebaa4f35741.

12 years agosimplify chrootmake.sh
Ben Gras [Wed, 15 Feb 2012 00:19:12 +0000 (01:19 +0100)]
simplify chrootmake.sh

. just use make world

12 years agoRemove elle(1) editor, due to an incompatible license
David van Moolenbroek [Tue, 14 Feb 2012 14:47:02 +0000 (15:47 +0100)]
Remove elle(1) editor, due to an incompatible license

12 years agoDon't update mtab upon mounting procfs
Thomas Veerman [Tue, 14 Feb 2012 15:44:21 +0000 (15:44 +0000)]
Don't update mtab upon mounting procfs

It causes an ugly error message when booting from cd and it gets
overwritten by `printroot >/etc/mtab` in /etc/rc anyway.

12 years agoAdded UPDATING note about newer clang required.
Ben Gras [Tue, 14 Feb 2012 15:42:33 +0000 (16:42 +0100)]
Added UPDATING note about newer clang required.

12 years agouser(8): remove output file from source
David van Moolenbroek [Tue, 14 Feb 2012 14:47:51 +0000 (15:47 +0100)]
user(8): remove output file from source

12 years agoMake ELF kernel boot faster
Antoine Leca [Sat, 11 Feb 2012 23:19:00 +0000 (00:19 +0100)]
Make ELF kernel boot faster

12 years agoupdate_bootcfg script
Evgeniy Ivanov [Mon, 13 Feb 2012 08:08:25 +0000 (12:08 +0400)]
update_bootcfg script

. script to make neat menu entries for all /boot/minix/* dirs
  in /boot.cfg, read by new bootloader
. invoked when new images are created

12 years agoFull switch to clang/ELF. Drop ack. Simplify.
Ben Gras [Sat, 11 Feb 2012 18:31:25 +0000 (19:31 +0100)]
Full switch to clang/ELF. Drop ack. Simplify.

There is important information about booting non-ack images in
docs/UPDATING. ack/aout-format images can't be built any more, and
booting clang/ELF-format ones is a little different. Updating to the
new boot monitor is recommended.

Changes in this commit:

. drop boot monitor -> allowing dropping ack support
. facility to copy ELF boot files to /boot so that old boot monitor
  can still boot fairly easily, see UPDATING
. no more ack-format libraries -> single-case libraries
. some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases
. drop several ack toolchain commands, but not all support
  commands (e.g. aal is gone but acksize is not yet).
. a few libc files moved to netbsd libc dir
. new /bin/date as minix date used code in libc/
. test compile fix
. harmonize includes
. /usr/lib is no longer special: without ack, /usr/lib plays no
  kind of special bootstrapping role any more and bootstrapping
  is done exclusively through packages, so releases depend even
  less on the state of the machine making them now.
. rename nbsd_lib* to lib*
. reduce mtree

12 years agomake panic() work for multiboot/elf case
Evgeniy Ivanov [Sun, 12 Feb 2012 15:11:47 +0000 (19:11 +0400)]
make panic() work for multiboot/elf case

. we cannot use the boot monitor to print the system diag buffer
. for serial, we do nothing, just reset, everything is already printed
. for not-serial, we print the current diag buffer using direct video
  memory access from the kernel

12 years agoclang compile fixes
Ben Gras [Sat, 11 Feb 2012 17:46:09 +0000 (18:46 +0100)]
clang compile fixes

12 years agorelease: fix for rm -rf
Ben Gras [Sat, 11 Feb 2012 14:48:12 +0000 (15:48 +0100)]
release: fix for rm -rf

. new rm can return failure exit code

12 years agoELF hardlinks in /boot for compatibility with old boot.
Evgeniy Ivanov [Tue, 14 Feb 2012 08:10:15 +0000 (12:10 +0400)]
ELF hardlinks in /boot for compatibility with old boot.

12 years agoVFS: replace VFS with AVFS
Thomas Veerman [Mon, 13 Feb 2012 15:28:04 +0000 (15:28 +0000)]
VFS: replace VFS with AVFS

12 years agolibmthread: fix typo in comments
Thomas Veerman [Mon, 13 Feb 2012 13:42:28 +0000 (13:42 +0000)]
libmthread: fix typo in comments

12 years agolibmthread: add guard pages to stacks
Thomas Veerman [Mon, 13 Feb 2012 12:02:12 +0000 (12:02 +0000)]
libmthread: add guard pages to stacks

Add guard pages to the top of the stack to catch overflow errors.
Moreover, fix a bug where libmthread would keep using a stack that was
just deallocated; a detached thread would deallocate its own stack after
it was finished running).

12 years agolibmthread: don't free() user allocated stack space
Thomas Veerman [Fri, 10 Feb 2012 09:16:00 +0000 (09:16 +0000)]
libmthread: don't free() user allocated stack space

12 years agolibblockdriver: increase stack size to 8KB per thread
David van Moolenbroek [Thu, 9 Feb 2012 21:28:18 +0000 (22:28 +0100)]
libblockdriver: increase stack size to 8KB per thread

12 years agosilence makewhatis in daily script
Ben Gras [Fri, 10 Feb 2012 16:24:54 +0000 (17:24 +0100)]
silence makewhatis in daily script

12 years agosys: move some include dirs
Antoine Leca [Fri, 10 Feb 2012 16:02:47 +0000 (17:02 +0100)]
sys: move some include dirs

. sys/machine should be sys/arch/i386

12 years ago.gitignore: add another generated directory
Antoine Leca [Fri, 10 Feb 2012 16:01:42 +0000 (17:01 +0100)]
.gitignore: add another generated directory

12 years agoAVFS: reinitialize lookup object before reuse
Thomas Veerman [Fri, 10 Feb 2012 09:35:19 +0000 (09:35 +0000)]
AVFS: reinitialize lookup object before reuse

12 years agoAlso clean share/*, including zoneinfo
Antoine Leca [Thu, 9 Feb 2012 23:46:55 +0000 (00:46 +0100)]
Also clean share/*, including zoneinfo

12 years agoFix shutdown message in setup.sh
Evgeniy Ivanov [Tue, 7 Feb 2012 18:55:18 +0000 (22:55 +0400)]
Fix shutdown message in setup.sh

12 years agoProper banner for CD.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:54:08 +0000 (22:54 +0400)]
Proper banner for CD.

12 years agoWarn users about non NetBSD mbr.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:52:36 +0000 (22:52 +0400)]
Warn users about non NetBSD mbr.

New boot doesn't work with old mbr, when there are multiple MINIX
partitions. Warn user about it and suggest to install new mbr.

12 years agoSupport reinstall and new boot.
Evgeniy Ivanov [Tue, 7 Feb 2012 15:14:27 +0000 (19:14 +0400)]
Support reinstall and new boot.

12 years agoBuild both old boot and new boot (for setup).
Evgeniy Ivanov [Mon, 6 Feb 2012 13:56:49 +0000 (17:56 +0400)]
Build both old boot and new boot (for setup).

12 years agoBuild release CD based on new boot.
Evgeniy Ivanov [Thu, 2 Feb 2012 11:02:34 +0000 (15:02 +0400)]
Build release CD based on new boot.

Also add stuff for usb stick and hdemu.

12 years agowriteisofs: also boots plain binaries with -B
Antoine Leca [Tue, 17 Jan 2012 15:08:40 +0000 (16:08 +0100)]
writeisofs: also boots plain binaries with -B

With -n -b file, a.out boot images can be used for CD booting;
with the new -n -B file option, plain binary (like bootxx_cd9660)
can be used instead.
Restore working the -h and -f options while there.
And add a new -F option for 2.8MB floppy image.

12 years agowriteisofs: improve compatibility
Antoine Leca [Fri, 3 Feb 2012 10:24:48 +0000 (11:24 +0100)]
writeisofs: improve compatibility

Register file timestamps
Remember the path tables in the primary descriptor
Put the size of the parent directory in the \1 entry, not own size
Allow the use of -b option without -a

Notes:
* Still missing the man page
* Filenames are still trimmed to 12 characters, because of
  8.3 MS-DOS inherited compatibility (ISO9660 level 1);
  also note that 7.4 or 9.2 filenames are accepted though
* Final . at end of filenames without extension is still missing
* VMS-compatible ;1 version suffix is still omitted
* Limit of 65,535 directories in path tables is not checked

12 years agoAdd new boot to the setup.
Evgeniy Ivanov [Mon, 30 Jan 2012 13:21:41 +0000 (17:21 +0400)]
Add new boot to the setup.

12 years agoBuild ELF for release (chrootmake).
Evgeniy Ivanov [Mon, 30 Jan 2012 13:40:16 +0000 (17:40 +0400)]
Build ELF for release (chrootmake).

12 years agoSwitch part/autopart to new mbr bootblock
Antoine Leca [Thu, 12 Jan 2012 17:14:44 +0000 (18:14 +0100)]
Switch part/autopart to new mbr bootblock

12 years agoFixes for loading kernel with multiboot
Ben Gras [Thu, 9 Feb 2012 17:49:24 +0000 (18:49 +0100)]
Fixes for loading kernel with multiboot

While parsing command line, only consider "variable=value" to
be part of environment.

Patch by Antoine Leca.

12 years agoAllow human readable name for the root device.
Evgeniy Ivanov [Tue, 31 Jan 2012 11:48:14 +0000 (15:48 +0400)]
Allow human readable name for the root device.

Instead of using rootdev= or ramimagedev= in the boot monitor
which are changed to numbers and cannot be used with other
loaders, rootdevname= or ramimagename= are (MINIX-style)
device names always stored as strings.

Patch by Antoine Leca.

12 years agoRotate kernels/images/modules.
Evgeniy Ivanov [Mon, 30 Jan 2012 12:27:23 +0000 (16:27 +0400)]
Rotate kernels/images/modules.

Kernels and system services are stored in a single directory in the
/boot/minix/ and rotated like /boot/images. /boot/minix_latest slink
is created automatically.
System serives are prefixed by "modNN_" to allow to easily load them
using "mod*" pattern.

12 years agoIntegrate new boot stuff into build scheme.
Evgeniy Ivanov [Wed, 25 Jan 2012 19:32:10 +0000 (23:32 +0400)]
Integrate new boot stuff into build scheme.

- Build sys with everything else.
- Gitignore files built by new boot stuff.

12 years agoRemove libkern, leave just header.
Evgeniy Ivanov [Wed, 25 Jan 2012 12:29:07 +0000 (16:29 +0400)]
Remove libkern, leave just header.

Boot stuff dependencies from NetBSD.

Patch by Antoine Leca. Relocated to src/sys.

The port is using the same libminc.a as usual MINIX services (and does
not use NetBSD libkern); the headers imported from NetBSD sys/ tree
have been kept to a minimum (still numbers higher than 30 though.)

Note the peculiar way to use libraries (libsa, libi386, etc.): the
source code is shared, but each component builds its own copy of the
library, with its own set of preprocessor defines.

12 years agoPort cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:43:40 +0000 (22:43 +0400)]
Port cdboot.

12 years agoImport cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:33:29 +0000 (22:33 +0400)]
Import cdboot.

12 years agoPort MBR.
Evgeniy Ivanov [Tue, 10 Jan 2012 16:43:33 +0000 (20:43 +0400)]
Port MBR.

Patch by Antoine LECA.

12 years agoImport sys/arch/i386/stand/mbr.
Evgeniy Ivanov [Tue, 10 Jan 2012 10:01:31 +0000 (14:01 +0400)]
Import sys/arch/i386/stand/mbr.

12 years agoPort installboot as installboot_nbsd and rename the old one.
Evgeniy Ivanov [Tue, 10 Jan 2012 09:45:46 +0000 (13:45 +0400)]
Port installboot as installboot_nbsd and rename the old one.

Also following functionality was added:
- Add install_master to the installboot from NetBSD.
- Check if enough space for bootxx.

Old installboot was renamed to installboot_minix.

12 years agoImport usr.sbin/installboot.
Evgeniy Ivanov [Tue, 10 Jan 2012 08:46:52 +0000 (12:46 +0400)]
Import usr.sbin/installboot.

12 years agoPort bootxx.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:11:34 +0000 (18:11 +0400)]
Port bootxx.

12 years agoAdjust boot from NetBSD.
Evgeniy Ivanov [Sat, 4 Feb 2012 10:21:30 +0000 (14:21 +0400)]
Adjust boot from NetBSD.

- Add load_mods command to boot2 (load_mods /dir/mod*).
- Rename resulting binary to boot_monitor.
- Change default banner when used in MINIX.

12 years agoFix bug in libsa/ls.
Evgeniy Ivanov [Sat, 4 Feb 2012 17:26:58 +0000 (21:26 +0400)]
Fix bug in libsa/ls.

12 years agoInitial import of libsa, libkern, bootxx, boot.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:07:58 +0000 (18:07 +0400)]
Initial import of libsa, libkern, bootxx, boot.

12 years agoAVFS/APFS: small cleanup
Thomas Veerman [Thu, 9 Feb 2012 16:33:24 +0000 (16:33 +0000)]
AVFS/APFS: small cleanup

12 years agoAVFS: fix various system call interruption issues
Thomas Veerman [Thu, 9 Feb 2012 14:24:28 +0000 (14:24 +0000)]
AVFS: fix various system call interruption issues

 - When cancelling ioctls, VFS did not remember which file descriptor
   to cancel and sent bogus to the driver.
 - Select state was not cleaned up when select()ing process was
   interrupted.
 - Process trying to do a system call at the exact same time as a user
   trying to interrupt the process, could cause the system call worker
   thread to overwrite state belonging to the worker thread trying to
   exit the process. This led to hanging threads and eventual system hang
   when this happens often enough.

12 years agolibchardriver: fix open reply for async devices
Thomas Veerman [Thu, 9 Feb 2012 10:32:08 +0000 (10:32 +0000)]
libchardriver: fix open reply for async devices

12 years ago-lminixutil link fixes
Ben Gras [Fri, 3 Feb 2012 13:03:59 +0000 (14:03 +0100)]
-lminixutil link fixes

. not available and not needed for clang

12 years agoEnlarge ramdisk size (blocks).
Evgeniy Ivanov [Fri, 23 Dec 2011 10:56:15 +0000 (14:56 +0400)]
Enlarge ramdisk size (blocks).

12 years agoNBSD INCLUDES - fixed missing vm_remap_ro() proto
Tomas Hruby [Thu, 2 Feb 2012 23:55:38 +0000 (23:55 +0000)]
NBSD INCLUDES - fixed missing vm_remap_ro() proto

12 years agoinet: strncmp() fix
Ben Gras [Fri, 3 Feb 2012 13:49:18 +0000 (14:49 +0100)]
inet: strncmp() fix

12 years agotemporarily disable update-superblock check
Ben Gras [Tue, 31 Jan 2012 15:17:06 +0000 (16:17 +0100)]
temporarily disable update-superblock check

. incompatible with installboot -d FSDEV on mounted filesystems
. should be re-enabled when netbsd boot loader is default

12 years agoAPFS: fix link issue when compiling with Clang
Thomas Veerman [Thu, 2 Feb 2012 15:00:01 +0000 (15:00 +0000)]
APFS: fix link issue when compiling with Clang