]> Zhao Yanbai Git Server - minix.git/log
minix.git
12 years agoSplit block/character protocols and libdriver
David van Moolenbroek [Tue, 22 Nov 2011 12:27:53 +0000 (13:27 +0100)]
Split block/character protocols and libdriver

This patch separates the character and block driver communication
protocols. The old character protocol remains the same, but a new
block protocol is introduced. The libdriver library is replaced by
two new libraries: libchardriver and libblockdriver. Their exposed
API, and drivers that use them, have been updated accordingly.
Together, libbdev and libblockdriver now completely abstract away
the message format used by the block protocol. As the memory driver
is both a character and a block device driver, it now implements its
own message loop.

The most important semantic change made to the block protocol is that
it is no longer possible to return both partial results and an error
for a single transfer. This simplifies the interaction between the
caller and the driver, as the I/O vector no longer needs to be copied
back. Also, drivers are now no longer supposed to decide based on the
layout of the I/O vector when a transfer should be cut short. Put
simply, transfers are now supposed to either succeed completely, or
result in an error.

After this patch, the state of the various pieces is as follows:
- block protocol: stable
- libbdev API: stable for synchronous communication
- libblockdriver API: needs slight revision (the drvlib/partition API
  in particular; the threading API will also change shortly)
- character protocol: needs cleanup
- libchardriver API: needs cleanup accordingly
- driver restarts: largely unsupported until endpoint changes are
  reintroduced

As a side effect, this patch eliminates several bugs, hacks, and gcc
-Wall and -W warnings all over the place. It probably introduces a
few new ones, too.

Update warning: this patch changes the protocol between MFS and disk
drivers, so in order to use old/new images, the MFS from the ramdisk
must be used to mount all file systems.

12 years agocompile fix (gdb, binutils)
Ben Gras [Wed, 23 Nov 2011 12:34:26 +0000 (13:34 +0100)]
compile fix (gdb, binutils)

12 years agosmall ramdisk: install all password-related files
Arun Thomas [Wed, 23 Nov 2011 08:42:11 +0000 (09:42 +0100)]
small ramdisk: install all password-related files

12 years agoIntroduce sys_getregs call, and let vfs use it
David van Moolenbroek [Tue, 22 Nov 2011 01:07:33 +0000 (02:07 +0100)]
Introduce sys_getregs call, and let vfs use it

12 years agogcore command to coredump a process
Adriana Szekeres [Tue, 22 Nov 2011 15:41:47 +0000 (16:41 +0100)]
gcore command to coredump a process

12 years agoELF core files
Adriana Szekeres [Sat, 30 Jul 2011 06:03:23 +0000 (06:03 +0000)]
ELF core files

12 years agoramdisk: install all password-related files
Arun Thomas [Tue, 22 Nov 2011 17:17:25 +0000 (18:17 +0100)]
ramdisk: install all password-related files

12 years agoramdisk: build pwd_mkdb
Arun Thomas [Tue, 22 Nov 2011 15:20:05 +0000 (16:20 +0100)]
ramdisk: build pwd_mkdb

12 years agofxp: add device id in the right place
Ben Gras [Tue, 22 Nov 2011 10:17:07 +0000 (11:17 +0100)]
fxp: add device id in the right place

12 years agofxp: add device id for LU82551IT
Ben Gras [Tue, 22 Nov 2011 10:09:08 +0000 (11:09 +0100)]
fxp: add device id for LU82551IT

Contributed by Roman Ignatov

12 years agoisofs: unbreak lseek
David van Moolenbroek [Tue, 22 Nov 2011 10:46:55 +0000 (11:46 +0100)]
isofs: unbreak lseek

12 years agocsu: add code to call constructors to be used by clang
Ben Gras [Mon, 15 Aug 2011 17:25:44 +0000 (17:25 +0000)]
csu: add code to call constructors to be used by clang

. clang-linked binaries were not calling global constructors, as the
  code to do so wasn't in csu/ and linked
. it does work for gcc as it uses its self-supplied crt{begin,end} code
. this commit copies netbsd's crt{begin,end}.S, which contains
  constructor/destructor calling code, called from .init and .fini
  sections already accumulated by the linker. the _init function was already
  called by the C startup code before calling main.
. based on work by Antoine Leca

12 years agocompat.S: add getpwnam() alias.
Thomas Cort [Sun, 20 Nov 2011 17:30:12 +0000 (17:30 +0000)]
compat.S: add getpwnam() alias.

Needed for finding getpwnam() when a prototype is not given.

12 years agopm: add mproc table sanity check feature
Ben Gras [Sun, 23 Oct 2011 22:39:30 +0000 (22:39 +0000)]
pm: add mproc table sanity check feature

. make procfs check it
. detects pm/procfs mismatches
. was triggered by ack/clang pm/procfs:
  add padding to mproc struct to align ack/clang layout
  to fix this

12 years agosimplify build logic a bit
Ben Gras [Sun, 23 Oct 2011 23:53:30 +0000 (23:53 +0000)]
simplify build logic a bit

. always compile acpi, with clang, so never have
  build/clean inconsistencies; can be enabled (i.e. run
  at boot time) by setting acpi variable in the boot monitor
. always strip binaries with the right strip cmd, so never
  have ack/elf strip inconsistencies

12 years agomake: set MACHINE_ARCH variable
Arun Thomas [Fri, 18 Nov 2011 15:12:30 +0000 (16:12 +0100)]
make: set MACHINE_ARCH variable

Also, modify sys.mk so we continue to build with -O

12 years agoremove ftpd200
Ben Gras [Fri, 18 Nov 2011 11:19:50 +0000 (12:19 +0100)]
remove ftpd200

12 years agominor bugfixes caught by clang warnings
Ben Gras [Fri, 18 Nov 2011 11:18:23 +0000 (12:18 +0100)]
minor bugfixes caught by clang warnings

12 years agolibarchive: not for ack
Ben Gras [Fri, 18 Nov 2011 10:49:21 +0000 (11:49 +0100)]
libarchive: not for ack

. fixes compile error due to missing bzlib.h for ack
. one less ack library

12 years agoimport NetBSD bzip2 and libbz2
Vivek Prakash [Wed, 17 Aug 2011 19:48:49 +0000 (19:48 +0000)]
import NetBSD bzip2 and libbz2

12 years agobase system hooks for pkgsrc drivers
Ben Gras [Thu, 13 Oct 2011 12:27:30 +0000 (12:27 +0000)]
base system hooks for pkgsrc drivers

. rc script and service know to look in /usr/pkg/.. for
  extra binaries and conf files
. service split into parsing config and doing RS request
  so that a new utility (printconfig) can just print the
  config in machine-parseable format for netconf integration
. converted all base system eth drivers/netconf

12 years agopwcache_userdb alias.
Ben Gras [Wed, 16 Nov 2011 11:54:08 +0000 (12:54 +0100)]
pwcache_userdb alias.

. mainly so configure can find it without the prototype.

12 years agoMore cleanup: no more CMOS and SCSI ioctls
David van Moolenbroek [Fri, 11 Nov 2011 16:26:00 +0000 (17:26 +0100)]
More cleanup: no more CMOS and SCSI ioctls

12 years agoDefine flags in sys/stat.h
Vivek Prakash [Sun, 13 Nov 2011 04:38:52 +0000 (04:38 +0000)]
Define flags in sys/stat.h

12 years agorelease.sh: add -e
Ben Gras [Mon, 14 Nov 2011 23:24:37 +0000 (23:24 +0000)]
release.sh: add -e

. allows extra files in release for flexibility
. written by Jan Wieck

12 years agodf: add case for MFSv3
Ben Gras [Mon, 14 Nov 2011 22:18:31 +0000 (22:18 +0000)]
df: add case for MFSv3

. fix for FSes mounted with '-t mfs' syntax

12 years agoSwitch to NetBSD passwd format
Ben Gras [Fri, 30 Sep 2011 10:18:10 +0000 (10:18 +0000)]
Switch to NetBSD passwd format
Based on work by Vivek Prakash and Gianluca Guida.

See UPDATING about caveats on currently existing accounts.

. restores netbsd libc pwcache functions

12 years agomainstream-format fstab format
Ben Gras [Wed, 9 Nov 2011 15:34:47 +0000 (16:34 +0100)]
mainstream-format fstab format

. detect both formats in /etc/rc
. generate new format in setup
. obsoletes /etc/fstab.local: everything can go in /etc/fstab
. put shutdown/reboot/halt and a copy of /usr/adm/wtmp
  (/etc/wtmp) on root FS so that we can do shutdown checks before
  mounting /usr
. new fstab format makes getfsent() and friends work

12 years agoFix compiler warnings
Thomas Veerman [Mon, 14 Nov 2011 14:21:39 +0000 (14:21 +0000)]
Fix compiler warnings

12 years agoImport librefuse and libpuffs
Thomas Veerman [Mon, 14 Nov 2011 11:53:05 +0000 (11:53 +0000)]
Import librefuse and libpuffs

Import libpuffs and our port of libpuffs. The port was done as part of
GSoC 2011 FUSE project, done by Evgeniy Ivanov. The librefuse import
did not require any porting efforts. Libpuffs has been modified to
understand our VFS-FS protocol and translate between that and PUFFS. As
an example that it works, fuse-ntfs-3g from pkgsrc can be compiled and
used to mount ntfs partitions:
mount -t ntfs-3g <device> <mountpoint>

FUSE only works with the asynchronous version of VFS. See <docs/UPDATING> on
how to run AVFS.

This patch further includes some changes to mount(1) and mount(2) so it's
possible to use file systems provided by pkgsrc (note: manual modifications
to /etc/system.conf are still needed. There has been made an exception for
fuse-ntfs-3g, so it already as an entry).

12 years agoFix a ton of compiler warnings
Thomas Veerman [Mon, 14 Nov 2011 10:07:49 +0000 (10:07 +0000)]
Fix a ton of compiler warnings

This patch fixes most of current reasons to generate compiler warnings.
The changes consist of:
 - adding missing casts
 - hiding or unhiding function declarations
 - including headers where missing
 - add __UNCONST when assigning a const char * to a char *
 - adding missing return statements
 - changing some types from unsigned to signed, as the code seems to want
   signed ints
 - converting old-style function definitions to current style (i.e.,
   void func(param1, param2) short param1, param2; {...} to
   void func (short param1, short param2) {...})
 - making the compiler silent about signed vs unsigned comparisons. We
   have too many of those in the new libc to fix.

A number of bugs in the test set were fixed. These bugs were never
triggered with our old libc. Consequently, these tests are now forced to
link with the new libc or they will generate errors (in particular tests 43
and 55).

Most changes in NetBSD libc are limited to moving aroudn "#ifndef __minix"
or stuff related to Minix-specific things (code in sys-minix or gen/minix).

12 years agoMore cleanup of minix/com.h.
David van Moolenbroek [Fri, 11 Nov 2011 12:53:29 +0000 (13:53 +0100)]
More cleanup of minix/com.h.

12 years agops(1): remove outdated comment
David van Moolenbroek [Fri, 11 Nov 2011 10:37:44 +0000 (11:37 +0100)]
ps(1): remove outdated comment

12 years agops(1) man page: mem/kmem are no longer used
David van Moolenbroek [Fri, 11 Nov 2011 10:34:50 +0000 (11:34 +0100)]
ps(1) man page: mem/kmem are no longer used

12 years agoChange default pager to less(1)
David van Moolenbroek [Thu, 10 Nov 2011 15:58:46 +0000 (16:58 +0100)]
Change default pager to less(1)

For one thing, less(1) provides better interaction with git.

12 years agolibbdev: initial version
David van Moolenbroek [Wed, 9 Nov 2011 13:29:12 +0000 (14:29 +0100)]
libbdev: initial version

The "bdev" library provides basic primitives for file systems to talk
to block device drivers, hiding the details of the underlying protocol
and interaction model.

This version of libbdev is rather basic. It is planned to support the
following features in the long run:

 - asynchronous requests and replies;
 - recovery support for underlying block drivers;
 - retrying of failed I/O requests.

The commit also changes our block-based file systems (mfs, ext2, isofs)
to make use of libbdev.

12 years agoServers: remove ABI comment
David van Moolenbroek [Mon, 7 Nov 2011 21:24:59 +0000 (22:24 +0100)]
Servers: remove ABI comment

12 years agoMiscellaneous legacy cleanup
David van Moolenbroek [Mon, 7 Nov 2011 20:11:30 +0000 (21:11 +0100)]
Miscellaneous legacy cleanup

12 years agostopgap local fstab
Ben Gras [Thu, 3 Nov 2011 16:08:37 +0000 (17:08 +0100)]
stopgap local fstab

. /etc/fstab.local to list user-defined filesystems
. /usr/etc/rc reads it and runs type-specific fsck if necessary
. also type-specific mount

12 years agoKernel: fix compilation with DEBUG_RACE on
David van Moolenbroek [Mon, 7 Nov 2011 18:59:02 +0000 (19:59 +0100)]
Kernel: fix compilation with DEBUG_RACE on

12 years agoblocktest: add system.conf file, too
David van Moolenbroek [Mon, 7 Nov 2011 17:26:16 +0000 (18:26 +0100)]
blocktest: add system.conf file, too

12 years agoMove optset.c into libsys; remove redundant copies
David van Moolenbroek [Mon, 7 Nov 2011 15:16:08 +0000 (16:16 +0100)]
Move optset.c into libsys; remove redundant copies

12 years agoAdd "blocktest" test, for testing block drivers
David van Moolenbroek [Mon, 7 Nov 2011 13:53:11 +0000 (14:53 +0100)]
Add "blocktest" test, for testing block drivers

The test is located in test/blocktest. It requires hand-editing of
its configuration, and is not part of any automated test set.

12 years agoatl2: prevent compiler memory access misordering
David van Moolenbroek [Fri, 4 Nov 2011 13:14:59 +0000 (14:14 +0100)]
atl2: prevent compiler memory access misordering

While no problems have been observed in practice yet, modern compilers
may reorder memory access operations, and that could lead to problems
with memory-mapped I/O typically done by drivers. This patch prevents
any potentially problematic reordering by the compiler in the ATL2
driver.

In addition, this patch removes a number of gcc/clang warnings.

12 years agomfs: ditch global readahead
Ben Gras [Wed, 21 Sep 2011 18:48:48 +0000 (18:48 +0000)]
mfs: ditch global readahead

12 years agoDrivers: fix issues introduced by commit b198207
David van Moolenbroek [Fri, 4 Nov 2011 22:54:02 +0000 (23:54 +0100)]
Drivers: fix issues introduced by commit b198207

12 years agoahci: prevent compiler memory access misordering
David van Moolenbroek [Fri, 4 Nov 2011 13:11:34 +0000 (14:11 +0100)]
ahci: prevent compiler memory access misordering

While no problems have been observed in practice yet, modern compilers
may reorder memory access operations, and that could lead to problems
with memory-mapped I/O typically done by drivers. This patch prevents
any potentially problematic reordering by the compiler in the AHCI
driver.

12 years agoahci/libdriver: multithreading support
David van Moolenbroek [Wed, 2 Nov 2011 16:31:38 +0000 (16:31 +0000)]
ahci/libdriver: multithreading support

This patch adds support for executing multiple concurrent requests on
different devices on the same AHCI controller. The libdriver library
has been extended to include a generic multithreading interface, and
the AHCI driver has been extended to make use of this interface.

The original version of this code has been written by Arne Welzel.

12 years agoprocfs: fix for PID reuse between updates
David van Moolenbroek [Tue, 1 Nov 2011 22:33:00 +0000 (22:33 +0000)]
procfs: fix for PID reuse between updates

In certain cases, a process ID may be reused between two lazy updates
of procfs's PID table. If the new associated process slot has a lower
index than the old one, this will trigger an assert in vtreefs, as the
new PID name entry is added before the old one is removed. This patch
fixes the problem by always first removing old PID name entries before
adding new ones.

Bug reported by Stephen Hatton.

12 years agoKernel: remove unused MF_ASYNMSG
David van Moolenbroek [Tue, 1 Nov 2011 19:14:18 +0000 (19:14 +0000)]
Kernel: remove unused MF_ASYNMSG

12 years agoInstall servers in GCC/clang case
Arun Thomas [Wed, 2 Nov 2011 17:46:06 +0000 (18:46 +0100)]
Install servers in GCC/clang case

12 years agokernel: remove unused var
Arun Thomas [Wed, 2 Nov 2011 17:45:08 +0000 (18:45 +0100)]
kernel: remove unused var

12 years agopm: remove dead minix_munmap functions
Arun Thomas [Wed, 2 Nov 2011 17:43:59 +0000 (18:43 +0100)]
pm: remove dead minix_munmap functions

12 years agoKernel: fix for senda erroneously setting errors
David van Moolenbroek [Mon, 31 Oct 2011 16:03:26 +0000 (16:03 +0000)]
Kernel: fix for senda erroneously setting errors

Bug reported and fixed by Arne Welzel.

12 years agoPFS is also a system proc
Thomas Veerman [Fri, 28 Oct 2011 12:49:47 +0000 (12:49 +0000)]
PFS is also a system proc

12 years agoReenable backcall detection
Thomas Veerman [Thu, 27 Oct 2011 15:26:08 +0000 (15:26 +0000)]
Reenable backcall detection

12 years agoMake AVFS deal intelligently with back calling FSes
Thomas Veerman [Wed, 26 Oct 2011 13:28:41 +0000 (13:28 +0000)]
Make AVFS deal intelligently with back calling FSes

PUFFS file systems need to make back calls for every operation we
send to them. Consequently, they cannot handle block reads and writes
themselves. Instead, the root file system has to do it (for now).

When the mount operation causes an FS to make a back call, AVFS now
concludes that every block read and write for that FS has to go
through the root file system.

12 years agoclean up PM_SCHEDULED
Antoine LECA [Tue, 25 Oct 2011 16:36:54 +0000 (16:36 +0000)]
clean up PM_SCHEDULED

12 years agoerr_code has to be preserved as well. Short term fix
Thomas Veerman [Tue, 25 Oct 2011 12:12:20 +0000 (12:12 +0000)]
err_code has to be preserved as well. Short term fix

12 years agofix typo
Ben Gras [Mon, 24 Oct 2011 22:05:38 +0000 (00:05 +0200)]
fix typo

12 years agoClarify install instructions.
Ben Gras [Sun, 23 Oct 2011 23:18:56 +0000 (16:18 -0700)]
Clarify install instructions.

Thanks to Chris Johns for feedback.

12 years agorelease: by default leave src/.git
Ben Gras [Thu, 6 Oct 2011 19:10:49 +0000 (19:10 +0000)]
release: by default leave src/.git

. facilitates easy updates of installs
. removal can be restored with release.sh -m

12 years agouse generic gcc* in man.conf
Ben Gras [Thu, 6 Oct 2011 18:52:12 +0000 (18:52 +0000)]
use generic gcc* in man.conf

. catches all gcc versions
. also neatly handles the case in which there are no
  gcc versions (makewhatis doesn't complain)

12 years agofix compile of test23
Antoine LECA [Thu, 6 Oct 2011 18:46:07 +0000 (18:46 +0000)]
fix compile of test23

12 years agodec21140A driver warnings fix
Antoine LECA [Thu, 29 Sep 2011 17:37:05 +0000 (17:37 +0000)]
dec21140A driver warnings fix

12 years agomdocml/man: dummy cleandepend target
Ben Gras [Wed, 28 Sep 2011 15:36:24 +0000 (15:36 +0000)]
mdocml/man: dummy cleandepend target

12 years agoupdate/fix manpage support
Ben Gras [Mon, 26 Sep 2011 16:19:29 +0000 (16:19 +0000)]
update/fix manpage support

. add bsd-style MLINKS to minix man set, restoring aliases
  (e.g. man add64 -> int64)
. update daily cron script to run makewhatis and restore makewhatis
  in man Makefile (makedb), restores functionality of man -k
. netbsd imports of man, mdocml, makewhatis, libutil, apropos
. update man.conf with manpage locations, restoring man [-s] <section>
. throws out some obsolete manpages

12 years agoRevert to using flushtlb instead of invlpg
Thomas Veerman [Tue, 27 Sep 2011 15:15:51 +0000 (15:15 +0000)]
Revert to using flushtlb instead of invlpg

Somehow the usage of invlpg causes Minix to crash on Qemu. Reverting
temporarily until we have a proper fix.

13 years agoworldstone benchmark script
Ben Gras [Wed, 21 Sep 2011 19:16:34 +0000 (19:16 +0000)]
worldstone benchmark script

. also imports seq(1) to help it
. add -C option to time(1) to print tsc difference
. increase col width for ministat for tsc numbers

13 years agomfs: improve & simplify secondary cache logic
Ben Gras [Wed, 21 Sep 2011 17:52:45 +0000 (17:52 +0000)]
mfs: improve & simplify secondary cache logic

. fixes "!" errors when booting from cd

13 years agosef: build sef_debug_header only when needed
Arun Thomas [Mon, 19 Sep 2011 15:28:03 +0000 (17:28 +0200)]
sef: build sef_debug_header only when needed

13 years agovm: undo accidental JUNKFREE on
Ben Gras [Mon, 19 Sep 2011 15:36:21 +0000 (15:36 +0000)]
vm: undo accidental JUNKFREE on

13 years agokernel: Remove legacy boot vars from pre_init
Arun Thomas [Mon, 19 Sep 2011 14:37:48 +0000 (16:37 +0200)]
kernel: Remove legacy boot vars from pre_init

13 years agoboot e820 memory detection fixes
Ben Gras [Wed, 31 Aug 2011 22:01:59 +0000 (22:01 +0000)]
boot e820 memory detection fixes

13 years agoRemove legacy boot monitor vars
Arun Thomas [Fri, 16 Sep 2011 18:03:15 +0000 (20:03 +0200)]
Remove legacy boot monitor vars

13 years agoAdd MKBOOTPARAM option
Arun Thomas [Fri, 16 Sep 2011 15:31:07 +0000 (17:31 +0200)]
Add MKBOOTPARAM option

13 years agoMKSYSDEBUG: conditionally compile more debug code
Arun Thomas [Fri, 16 Sep 2011 12:57:49 +0000 (14:57 +0200)]
MKSYSDEBUG: conditionally compile more debug code

13 years agoCleanup more resources upon exit
Thomas Veerman [Thu, 15 Sep 2011 15:39:13 +0000 (15:39 +0000)]
Cleanup more resources upon exit

13 years agoRemove debug print
Thomas Veerman [Tue, 13 Sep 2011 16:00:39 +0000 (16:00 +0000)]
Remove debug print

13 years agoUnmap drivers upon exit
Thomas Veerman [Tue, 13 Sep 2011 13:02:47 +0000 (13:02 +0000)]
Unmap drivers upon exit

13 years agoFix off-by-one errors and increase PATH_MAX to 1024
Thomas Veerman [Mon, 12 Sep 2011 09:00:24 +0000 (09:00 +0000)]
Fix off-by-one errors and increase PATH_MAX to 1024

In some places it was assumed that PATH_MAX does not include a
terminating null character.

Increases PATH_MAX to 1024 to get in sync with NetBSD. Required some
rewriting in AVFS to keep memory usage low (the stack in use by a thread
is very small).

13 years agoext2: replace debug printf by assert
Ben Gras [Fri, 9 Sep 2011 16:32:13 +0000 (16:32 +0000)]
ext2: replace debug printf by assert

13 years agoadd -lminixfs with fs support routines
Ben Gras [Thu, 8 Sep 2011 16:49:54 +0000 (16:49 +0000)]
add -lminixfs with fs support routines

. move cache size heuristic from mfs there
  so mfs and ext2 can share it
. add vfs credentials retrieving function, with
  backwards compatability from previous struct
  format, to be used by both ext2 and mfs
. fix for ext2 - STATICINIT was fed no.
  of bytes instead of no. of elements, overallocating
  memory by a megabyte or two for the superblock

13 years agoFix off-by-one error
Thomas Veerman [Thu, 8 Sep 2011 15:09:41 +0000 (15:09 +0000)]
Fix off-by-one error

13 years agoCleanup servers to make GCC/Clang a little happier
Thomas Veerman [Thu, 8 Sep 2011 13:57:03 +0000 (13:57 +0000)]
Cleanup servers to make GCC/Clang a little happier

13 years agoCheck group range for sanity
Thomas Veerman [Thu, 8 Sep 2011 12:23:03 +0000 (12:23 +0000)]
Check group range for sanity

13 years agoAdd MKTRACE
Arun Thomas [Wed, 7 Sep 2011 15:52:48 +0000 (17:52 +0200)]
Add MKTRACE

13 years agoBackwards compatibility fixup for GCC/Clang
Thomas Veerman [Tue, 6 Sep 2011 12:35:48 +0000 (12:35 +0000)]
Backwards compatibility fixup for GCC/Clang

13 years agoMake AVFS resilient against failing back calls
Thomas Veerman [Tue, 6 Sep 2011 10:11:18 +0000 (10:11 +0000)]
Make AVFS resilient against failing back calls

13 years agoIncrease gid_t and uid_t to 32 bits
Thomas Veerman [Mon, 5 Sep 2011 13:56:14 +0000 (13:56 +0000)]
Increase gid_t and uid_t to 32 bits

Increase gid_t and uid_t to 32 bits and provide backwards compatibility
where needed.

13 years agoMake dev_t 32-bits and provide backwards compatibility
Thomas Veerman [Wed, 31 Aug 2011 13:38:28 +0000 (13:38 +0000)]
Make dev_t 32-bits and provide backwards compatibility

13 years agoadd /etc/rc.subr and /etc/rc.conf
Ben Gras [Thu, 1 Sep 2011 14:41:57 +0000 (14:41 +0000)]
add /etc/rc.subr and /etc/rc.conf

13 years agoAdd MKLIVEUPDATE and MKSTATECTL
Arun Thomas [Fri, 2 Sep 2011 14:57:22 +0000 (16:57 +0200)]
Add MKLIVEUPDATE and MKSTATECTL

13 years agoget rid of leftover _DIRENT_NAME_LEN=61
Ben Gras [Thu, 1 Sep 2011 16:27:28 +0000 (16:27 +0000)]
get rid of leftover _DIRENT_NAME_LEN=61

13 years agosort is not a nbsd port (yet)
Ben Gras [Thu, 1 Sep 2011 16:14:04 +0000 (16:14 +0000)]
sort is not a nbsd port (yet)

13 years agonbsd_fetch: force cvs to use ssh
Ben Gras [Thu, 1 Sep 2011 15:05:12 +0000 (15:05 +0000)]
nbsd_fetch: force cvs to use ssh

13 years agodefine MSG_*
Ben Gras [Thu, 1 Sep 2011 13:03:15 +0000 (13:03 +0000)]
define MSG_*

. these are not actually supported at runtime
. will allow packages to compile easier, and still work
  in some cases (e.g. glib2)

13 years agorelease.sh: undo tarup add
Ben Gras [Wed, 31 Aug 2011 22:00:42 +0000 (22:00 +0000)]
release.sh: undo tarup add

13 years agoRange-check values building mbdev in boot monitor
Antoine Leca [Wed, 31 Aug 2011 11:54:31 +0000 (13:54 +0200)]
Range-check values building mbdev in boot monitor

13 years agolibsys: don't pull in strerror
Arun Thomas [Tue, 30 Aug 2011 19:10:34 +0000 (21:10 +0200)]
libsys: don't pull in strerror