]> Zhao Yanbai Git Server - minix.git/log
minix.git
11 years agolibexec: quiet 24/324/1
Ben Gras [Sun, 10 Feb 2013 18:52:25 +0000 (19:52 +0100)]
libexec: quiet

. harmless errors in the case of shell scripts

Change-Id: I461776024a21233e291102ca6d05dc7fa767f71a

11 years agoARM divsi3.S: raise(SIGFPE) when called for 23/323/1
Ben Gras [Sat, 9 Feb 2013 19:38:45 +0000 (20:38 +0100)]
ARM divsi3.S: raise(SIGFPE) when called for

. raise(SIGFPE) for modulo-0/divide-0 operations in
  internal int division functions
. gcc: do not link with -lgcc anywhere so these internal
  functions are always used from libc instead of (sometimes)
  masked by -lgcc
. together fixes test53 on ARM

Change-Id: I31ec19dfdd68b8a92695595da901874e63106f9d

11 years agot40c term[] count fix 22/322/2
Ben Gras [Sat, 9 Feb 2013 17:42:33 +0000 (18:42 +0100)]
t40c term[] count fix

. term[] did not have the promised number of entries

Change-Id: I06a45ca0d948a6876bf1bffd0ec4706c88b7a3b0

11 years agodrivers: build random for arm too 21/321/2
Ben Gras [Sat, 9 Feb 2013 14:52:03 +0000 (15:52 +0100)]
drivers: build random for arm too

Change-Id: I801643281fdacc6cb7950cc79a29bec28dcf40ec

11 years agoopendir change: refinement
Ben Gras [Fri, 8 Feb 2013 23:09:21 +0000 (23:09 +0000)]
opendir change: refinement

Change-Id: I90cc6929c9e7678da8e200688dcd40441efe030f

11 years agoadd opendir alias 20/320/2
Ben Gras [Fri, 8 Feb 2013 21:40:57 +0000 (21:40 +0000)]
add opendir alias

Change-Id: Ib121e763bac7bea44a2f2533c454ff7d9361dc8d

11 years agoldivmod, uldivmod: fix qdivrem calls 18/318/1
Ben Gras [Fri, 8 Feb 2013 12:12:45 +0000 (13:12 +0100)]
ldivmod, uldivmod: fix qdivrem calls

. ldivmod, uldivmod were passing the modulo argument pointer
  in R4, which is bogus, as qdivrem expects it on the stack as
  per the EABI, causing essentially 'random' memory to be trampled
  by qdivrem. fix by pushing R4 before the call.
. also add these functions to -minc so -lminc clients can be
  linked without -lgcc

Change-Id: I90b0b28b51a188c93da5de6afb108224749ea794

11 years agoramdisk Makefile: CLEANFILES fix 17/317/1
Ben Gras [Thu, 7 Feb 2013 22:08:37 +0000 (23:08 +0100)]
ramdisk Makefile: CLEANFILES fix

11 years agotest41: relax maximum timer tick rate 00/300/1
Ben Gras [Wed, 6 Feb 2013 16:38:13 +0000 (17:38 +0100)]
test41: relax maximum timer tick rate

. on ARM (hz=1000) does not give code a chance to stop the timer

Change-Id: Id626bfed088400c3c3962ddfc5e8fbe23dd2a797

11 years agoGPIO:further development 96/296/5
Kees Jongenburger [Wed, 6 Feb 2013 14:46:21 +0000 (15:46 +0100)]
GPIO:further development

* Generalize GPIO handling.
* Add libs to configure gpio's clocks and pads
* Add Interrupt handling.
* Introduce mmio.h and log.h

Change-Id: I928e4c807d15031de2eede4b3ecff62df795f8ac

11 years agobuild:remove minix-sys.plist from version management. 99/299/1
Kees Jongenburger [Wed, 6 Feb 2013 14:44:31 +0000 (15:44 +0100)]
build:remove minix-sys.plist from version management.

Remove minix-sys.plist from version management it is generated by
the build system.

Change-Id: I6fc831992ea619e598130450f0f46b6fc01145ed

11 years agoarm: protect state after signal handler 95/295/1
Ben Gras [Tue, 5 Feb 2013 16:17:19 +0000 (17:17 +0100)]
arm: protect state after signal handler

. set MF_CONTEXT_SET after signal handler state
  is set so it doesn't get clobbered by the kernel
  afterwards (i.e. by delivermsg()).

fixes at least test41.

Change-Id: I7e5e0e9311c8bbc1c0a9c7ca466ceddd9edfa03f

11 years agolibexec: detect short files 92/292/2
Ben Gras [Mon, 4 Feb 2013 00:49:48 +0000 (01:49 +0100)]
libexec: detect short files

if an exec() fails partway through reading in the sections, the target
process is already gone and a defunct process remains. sanity checking
the binary beforehand helps that.

test10 mutilates binaries and exec()s them on purpose; making an exec()
fail cleanly in such cases seems like acceptable behaviour.

fixes test10 on ARM.

Change-Id: I1ed9bb200ce469d4d349073cadccad5503b2fcb0

11 years agokernel, libc: signals fixes 93/293/2
Ben Gras [Mon, 4 Feb 2013 03:08:12 +0000 (04:08 +0100)]
kernel, libc: signals fixes

. kernel: signal handler args for ARM
. kernel: sanity check return address (LSB indicates thumb mode)
. libc: properly retrieve signal mask for ARM

together fix test37 on ARM.

Change-Id: I4e00f754c50104ed85c7fdf8ec5ad54568f20a81

11 years agoumount: getopt return value is int, not char 94/294/2
Ben Gras [Mon, 4 Feb 2013 04:09:28 +0000 (05:09 +0100)]
umount: getopt return value is int, not char

. causes infinite loop on ARM (default unsigned char?)

Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853

11 years agokernel: scheduling fix for ARM 89/289/2
Ben Gras [Sun, 3 Feb 2013 18:28:24 +0000 (19:28 +0100)]
kernel: scheduling fix for ARM

. make read_tsc_64 use the free-running clock, significantly
  improving scheduling behaviour

Change-Id: Idf6a12f6e26be7fe3b3664c278cae846d8b2a442

11 years agoFix warning about double rule for rc in ramdisk 83/283/3
Lionel Sambuc [Wed, 30 Jan 2013 19:09:02 +0000 (20:09 +0100)]
Fix warning about double rule for rc in ramdisk

Change-Id: I870364455e5cbfe178b3dba44a1c944ca7ed9d19

11 years agoUpgrading sync 82/282/3
Lionel Sambuc [Wed, 30 Jan 2013 18:11:42 +0000 (19:11 +0100)]
Upgrading sync

Change-Id: Ied34ebd1d2dc963f5a2af8fc3bbf8e6c94df61cf

11 years agoUpgrading ls 81/281/3
Lionel Sambuc [Wed, 30 Jan 2013 18:06:57 +0000 (19:06 +0100)]
Upgrading ls

Change-Id: Ie0bacf04e727fac5c6df7b2bcf5039e9ce800616

11 years agovm: fix sanity checks on arm 86/286/1
Ben Gras [Fri, 1 Feb 2013 16:48:40 +0000 (17:48 +0100)]
vm: fix sanity checks on arm

The 'polarity' of the RW bit is inversed on ARM, causing one
of the sanity check compensations to fail. ARM now runs basic
stuff with sanity checks passing.

Change-Id: Iee28ab63e430e759f204eeb204b24c301d5ea3c9

11 years agommc:development 71/271/2
Kees Jongenburger [Fri, 19 Oct 2012 13:44:10 +0000 (15:44 +0200)]
mmc:development

* let busy loops timeout.
* Start using interrupt handlers.
* Allocate the ramdisk only when used.

Change-Id: Ie08d66eefef3c8cd3ee16c04f74a9a50cc12b021

11 years agoImporting bin/ln 80/280/2
Lionel Sambuc [Wed, 30 Jan 2013 18:04:17 +0000 (19:04 +0100)]
Importing bin/ln

Change-Id: I318e79f2d02dcff10bda8af335d286a78be5c5a2

11 years agoUpgrading kill 79/279/2
Lionel Sambuc [Wed, 30 Jan 2013 18:01:43 +0000 (19:01 +0100)]
Upgrading kill

Change-Id: I9ad71f08998ac17651d243afecbcc362e0f91b56

11 years agoUpgrading pwd 78/278/2
Lionel Sambuc [Wed, 30 Jan 2013 17:57:00 +0000 (18:57 +0100)]
Upgrading pwd

Change-Id: I3bab8335ac58f2d0af20c5cee4b772b1175c2ede

11 years agoImporting NetBSD expr 77/277/2
Lionel Sambuc [Wed, 30 Jan 2013 17:52:21 +0000 (18:52 +0100)]
Importing NetBSD expr

Change-Id: Ifdb1160cbfeb1324f6fcd612e66112fa0940227c

11 years agoUpgrading echo 76/276/2
Lionel Sambuc [Wed, 30 Jan 2013 17:49:19 +0000 (18:49 +0100)]
Upgrading echo

Change-Id: Idaa5da742b3cc9a1ee2f5c03f10e0627690556fa

11 years agoUpgrading test 75/275/2
Lionel Sambuc [Wed, 30 Jan 2013 14:53:50 +0000 (15:53 +0100)]
Upgrading test

Change-Id: I1cd8e24475030989c95ba60b4e7462dacf945b9f

11 years agoUpgrading printf 74/274/2
Lionel Sambuc [Wed, 30 Jan 2013 14:45:47 +0000 (15:45 +0100)]
Upgrading printf

Change-Id: I78dbbf0d14e4d61f5dfbec53d3938453b3e03ee6

11 years agoFix command line history in ash 73/273/2
Lionel Sambuc [Wed, 30 Jan 2013 14:36:51 +0000 (15:36 +0100)]
Fix command line history in ash

Also did some cleanup in ash sources, to make minix modifications
more obvious, as well as some simplifications (by removing code which
is never compiled)

Removed EDITLINE support, use libedit, which does the termcap/terminfo
handling.

Change-Id: I19f7f425ed6a61298844631f9d7f3173cf7f30c0

11 years agoFix file permissions in usr.bin/tput
Lionel Sambuc [Tue, 29 Jan 2013 18:17:51 +0000 (18:17 +0000)]
Fix file permissions in usr.bin/tput

Change-Id: Ieb29d7a91bbd90273e37406f5454e23c3131634a

11 years agoARM: provide free running clock to replace ccnt 84/284/2
Thomas Veerman [Tue, 29 Jan 2013 19:58:00 +0000 (20:58 +0100)]
ARM: provide free running clock to replace ccnt

The Cycle CouNTer on ARM cannot be used reliably as it wraps around
rather quickly and can be altered by user space (on Minix). Furthermore,
it's buggy when wrapping and is not implemented at all on the Linaro
Beagleboard emulator.

This patch programs GPTIMER10 as a free running clock at 1.625 MHz (it
doesn't generate interrupts). It's memory mapped into every process,
which enables libsys to provide micro_delay().

Change-Id: Iba004c6c62976762fe154ea390d69e518eec1531

11 years agoarm: make signal handlers work
Ben Gras [Wed, 30 Jan 2013 02:13:24 +0000 (03:13 +0100)]
arm: make signal handlers work

A few kernel and calling convention adjustments to make sigsend and
sigreturn work for arm.

. provide a arch_proc_setcontext for earm in kernel
. set LR in context of signal handler to provide a proper
  return address (to __sigreturn)
. change __sigreturn to retrieve the sigcontext pointer
  from the sigframe struct and pass it to _sigreturn() in r0

Change-Id: Icd135a70595382c79d11d8dd9876f6a6f1df41f8

11 years agolibc: add stat aliases 69/269/2
Ben Gras [Tue, 29 Jan 2013 18:59:30 +0000 (18:59 +0000)]
libc: add stat aliases

. add non-internal aliases for stat, lstat, fstat

Change-Id: I87e025b2bf073ff56a5742fc1dcf5badb2b7b321

11 years agovm: fix kernel-requested mappings for arm 68/268/1
Ben Gras [Tue, 29 Jan 2013 17:52:08 +0000 (17:52 +0000)]
vm: fix kernel-requested mappings for arm

. make vm tell kernel virtual locations of mappings
. makes _minix_kerninfo feature work
. fix for mappings being larger than what 1 pde can address
  (e.g. devices memory requested on arm)
. still requires a special case for devices memory for the
  kernel, which has to switch to virtual addressing

Change-Id: I2e94090aa432346fa4da0edeba72f0b7406c2ad7

11 years agogpio:Initial GPIO driver.(ARM) 67/267/3
Kees Jongenburger [Mon, 28 Jan 2013 11:54:44 +0000 (12:54 +0100)]
gpio:Initial GPIO driver.(ARM)

Small GPIO driver that exports a few pins using a virtual file
system. Currently the two user leds and the user button are exported.

Change-Id: I001d017ae27cd17b635587873f7da981054da459

11 years agoImport infocmp from NetBSD 66/266/1
Antoine Leca [Fri, 25 Jan 2013 11:19:17 +0000 (11:19 +0000)]
Import infocmp from NetBSD

Convert the content of the terminfo database into human-readable
form, the same as used by the tic(1) command already present.

11 years agoimport tput from NetBSD 65/265/1
Antoine Leca [Fri, 18 Jan 2013 17:20:49 +0000 (17:20 +0000)]
import tput from NetBSD

Posix tool to allow direct use of the terminfo database.
The clear script is adjusted accordingly.
The (MINIX-specific) clr equivalent is now gone.

11 years agoMined: allow Ins to mark 64/264/1
Antoine Leca [Tue, 17 Jan 2012 12:53:27 +0000 (13:53 +0100)]
Mined: allow Ins to mark

11 years agomake: correct a typo of NetBSD source 63/263/1
Antoine Leca [Wed, 23 Jan 2013 18:20:42 +0000 (18:20 +0000)]
make: correct a typo of NetBSD source

11 years agoReplace tell_config with NetBSD osrelease.sh 62/262/1
Antoine Leca [Wed, 23 Jan 2013 08:13:24 +0000 (08:13 +0000)]
Replace tell_config with NetBSD osrelease.sh

11 years agoRamdisk: remove mtab, as now obsolete 61/261/1
Antoine Leca [Tue, 22 Jan 2013 12:49:15 +0000 (12:49 +0000)]
Ramdisk: remove mtab, as now obsolete

11 years agomkdep: restore NetBSD behaviour 60/260/1
Antoine Leca [Sat, 19 Jan 2013 15:12:04 +0000 (16:12 +0100)]
mkdep: restore NetBSD behaviour

Since MINIX has a working cc, do not introduce spurious differences

11 years agoGNU tools: improvements to fetching process 59/259/1
Antoine Leca [Mon, 21 Jan 2013 14:30:17 +0000 (14:30 +0000)]
GNU tools: improvements to fetching process

- Do not run the fetch.sh script every time
- Do not run the configure script with MKUPDATE=yes (build.sh -u)
- The fetched GNU source are hidden from `git status`
- With CLEANFETCHED=yes, `nbmake -C tools cleandir` will remove the
fetched GNU source and return the MINIX tree to its pristine state.
- Avoid (harmless) message when building in parallel, about find
running against an inexistant path

Notice that the GNU tools are "installed" on every run, even with
MKUPDATE=yes; this is a feature of the NetBSD build system, because
in case of changes in dependencies it is impossible to know them.
See commit 1.27 2004-06-12 of tools/Makefile.gnuhost in NetBSD's src/

The downloaded tarballs are not removed with CLEANFETCHED:
they are supposed to be unmodified, and the exact name is not known
to the Makefile's, since it is engraved in each fetch.sh script (and
we do not want to have the same information in several places.)

11 years agoVFS: fix select again
Thomas Veerman [Fri, 25 Jan 2013 17:42:36 +0000 (17:42 +0000)]
VFS: fix select again

Change-Id: Ia5e26cdbfe38e3fb293dd57269a76b15c1fe236b

11 years agoARM: run with 64 processes only for now
Thomas Veerman [Fri, 25 Jan 2013 13:42:14 +0000 (14:42 +0100)]
ARM: run with 64 processes only for now

11 years agoKernel/ARM: faster context save
Thomas Veerman [Fri, 25 Jan 2013 13:41:43 +0000 (14:41 +0100)]
Kernel/ARM: faster context save

11 years agoKernel/ARM: use modern srsdb invocation
Thomas Veerman [Fri, 25 Jan 2013 13:31:40 +0000 (14:31 +0100)]
Kernel/ARM: use modern srsdb invocation

11 years agolibcsu: store argc and argv on the stack
Thomas Veerman [Fri, 25 Jan 2013 13:29:29 +0000 (14:29 +0100)]
libcsu: store argc and argv on the stack

11 years agoRamdisk: fix ramdisk creation for ARM
Thomas Veerman [Fri, 25 Jan 2013 12:49:18 +0000 (13:49 +0100)]
Ramdisk: fix ramdisk creation for ARM

11 years agoAlso build and install log for ARM
Thomas Veerman [Wed, 23 Jan 2013 14:12:19 +0000 (15:12 +0100)]
Also build and install log for ARM

11 years agoARM: disable __minix_init for now
Thomas Veerman [Wed, 23 Jan 2013 14:07:04 +0000 (15:07 +0100)]
ARM: disable __minix_init for now

On ARM we can't yet globally map pages into every process. So now that
we correctly receive the pointer to the globally mapped kern_info
struct, we have to ignore it on ARM because attempting to dereference
the pointer yields a segfault.

11 years agoARM: correctly store kernel_info_struct pointer
Thomas Veerman [Wed, 23 Jan 2013 13:56:48 +0000 (14:56 +0100)]
ARM: correctly store kernel_info_struct pointer

11 years agoVM: ARM needs more spare pages
Thomas Veerman [Wed, 23 Jan 2013 13:54:41 +0000 (14:54 +0100)]
VM: ARM needs more spare pages

11 years agoARM: Provide linker script for VM
Thomas Veerman [Thu, 17 Jan 2013 14:40:23 +0000 (15:40 +0100)]
ARM: Provide linker script for VM

11 years agoSplit libsys in arch dependent parts
Thomas Veerman [Thu, 17 Jan 2013 13:50:01 +0000 (14:50 +0100)]
Split libsys in arch dependent parts

The ARM part is not finished yet and will be fixed in a later commit.

11 years agoARM: clear BSS upon boot
Thomas Veerman [Thu, 17 Jan 2013 12:35:07 +0000 (13:35 +0100)]
ARM: clear BSS upon boot

11 years agoARM: provide means to pass boot cmdline
Thomas Veerman [Thu, 17 Jan 2013 11:37:53 +0000 (11:37 +0000)]
ARM: provide means to pass boot cmdline

11 years agoPFS: verify nrbytes
Thomas Veerman [Fri, 25 Jan 2013 11:57:32 +0000 (11:57 +0000)]
PFS: verify nrbytes

11 years agotests: print error locations verbosely 43/243/2
Ben Gras [Fri, 25 Jan 2013 01:00:10 +0000 (01:00 +0000)]
tests: print error locations verbosely

So we don't have to figure out which line generated this error by
searching for the subtest/error code combination.

Change-Id: Icca0a776fd19f0f3d250ddb76916f5f932dd9b5e

11 years agogetifaddrs: add un-namespaced alias 42/242/1
Ben Gras [Thu, 24 Jan 2013 21:52:48 +0000 (21:52 +0000)]
getifaddrs: add un-namespaced alias

. needed for security/heimdal, needed for git

Change-Id: I8638945dffd0abffd487c47281ad7616da1b70db

11 years agoTermcap update, replacing elvis by nvi. 41/241/1
Lionel Sambuc [Tue, 22 Jan 2013 11:03:53 +0000 (12:03 +0100)]
Termcap update, replacing elvis by nvi.

Removing elvis, importing nvi, ctags, updating libedit.

Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f

11 years agoRe-adding extended keys in minix termcap entry 40/240/1
Lionel Sambuc [Mon, 21 Jan 2013 14:08:04 +0000 (14:08 +0000)]
Re-adding extended keys in minix termcap entry

11 years agoFixing cross build i386 on minix 39/239/1
Lionel Sambuc [Thu, 17 Jan 2013 23:06:11 +0000 (00:06 +0100)]
Fixing cross build i386 on minix

11 years agobuild:fixes Files in DESTDIR but missing from flist. 37/237/2
Kees Jongenburger [Wed, 23 Jan 2013 11:29:18 +0000 (12:29 +0100)]
build:fixes Files in DESTDIR but missing from flist.

* virtio

Change-Id: I0c3262cb346692b6caaed0b80ffc1e725dbc0c66

11 years agobuild:fixes Files in DESTDIR but missing from flist. 36/236/1
Kees Jongenburger [Wed, 23 Jan 2013 10:26:46 +0000 (11:26 +0100)]
build:fixes Files in DESTDIR but missing from flist.

Change-Id: I9bf6de1697d1173898de2eda03f042f316427007

11 years agoVFS/PFS: remove remnants of file position in pipes
Thomas Veerman [Tue, 22 Jan 2013 16:40:53 +0000 (16:40 +0000)]
VFS/PFS: remove remnants of file position in pipes

11 years agoVFS: fix select bug on pipes
Thomas Veerman [Tue, 22 Jan 2013 15:49:02 +0000 (15:49 +0000)]
VFS: fix select bug on pipes

11 years agoramdisk: traditional-cpp does not work with clang
Thomas Veerman [Tue, 22 Jan 2013 10:29:47 +0000 (10:29 +0000)]
ramdisk: traditional-cpp does not work with clang

11 years agobuild:fixes Files in DESTDIR but missing from flist. 35/235/2
Kees Jongenburger [Tue, 22 Jan 2013 15:24:52 +0000 (16:24 +0100)]
build:fixes Files in DESTDIR but missing from flist.

Change-Id: Idb3d53a22bee6731fb22f435bf672a0ff180b863

11 years agoramdisk: add virtio-blk to proto and boot option
Joachim Henke [Sat, 15 Dec 2012 12:59:08 +0000 (13:59 +0100)]
ramdisk: add virtio-blk to proto and boot option

11 years agovirtio: virtio-net driver
Arne Welzel [Sat, 15 Dec 2012 12:55:07 +0000 (13:55 +0100)]
virtio: virtio-net driver

11 years agovirtio: virtio-blk driver
Arne Welzel [Sat, 15 Dec 2012 12:54:11 +0000 (13:54 +0100)]
virtio: virtio-blk driver

11 years agopci: add virtio pci device ids
Joachim Henke [Sat, 15 Dec 2012 12:52:17 +0000 (13:52 +0100)]
pci: add virtio pci device ids

11 years agovirtio: generic virtio library
Arne Welzel [Sat, 15 Dec 2012 12:47:37 +0000 (13:47 +0100)]
virtio: generic virtio library

11 years agokernel: fix sanity check
Ben Gras [Fri, 18 Jan 2013 02:24:00 +0000 (02:24 +0000)]
kernel: fix sanity check

11 years agoReplace previous change by different test
Ben Gras [Thu, 17 Jan 2013 15:58:12 +0000 (15:58 +0000)]
Replace previous change by different test

. so contents always get overwritten in out-of-tree case

11 years agodrivers/ramdisk/Makefile fixup
Lionel Sambuc [Thu, 17 Jan 2013 14:47:23 +0000 (15:47 +0100)]
drivers/ramdisk/Makefile fixup

Change-Id: I481830f19b650ff0d93bf319ca4d8e901657b8f8

11 years agoFixed bug in getrlimit as core dumps are supported now.
Nicholas Heath [Wed, 16 Jan 2013 18:25:33 +0000 (18:25 +0000)]
Fixed bug in getrlimit as core dumps are supported now.

11 years agoARM updates
Lionel Sambuc [Sun, 13 Jan 2013 16:20:11 +0000 (17:20 +0100)]
ARM updates

Due to the ABI we are using we have to use the earm architecture
moniker for the build system to behave correctly. This involves
then some headers to move around.

There is also a few related Makefile updates as well as minor
source code corrections.

11 years agoToolchain adaptation for ARM MINIX support
Lionel Sambuc [Sun, 13 Jan 2013 16:20:59 +0000 (17:20 +0100)]
Toolchain adaptation for ARM MINIX support

11 years agoReverting back to default value of MKARZERO
Lionel Sambuc [Sun, 13 Jan 2013 19:06:31 +0000 (20:06 +0100)]
Reverting back to default value of MKARZERO

The value was changed to no for cross-building as the old binutils
could not handle the required flag. As this is now possible, the
default is restored.

This flags make sure that AR zeroes out some timestamps and uid/gid
fields in libraries, which would change for every build of the
library otherwise, preventing comparison between to builds.

11 years agoRemoving useless __NBSD_LIBC define in libcurses
Lionel Sambuc [Sun, 13 Jan 2013 16:22:00 +0000 (17:22 +0100)]
Removing useless __NBSD_LIBC define in libcurses

11 years agomisc:Add gerrit code review support. 66/166/2
Kees Jongenburger [Tue, 8 Jan 2013 12:55:33 +0000 (13:55 +0100)]
misc:Add gerrit code review support.

Add gerrit code review support by adding a git-review configuration
file.

Change-Id: I63c2d22b946c6b64c90be120983ce81df890f6aa

11 years agosys/arch/x86/include updates
Ben Gras [Tue, 15 Jan 2013 09:29:55 +0000 (09:29 +0000)]
sys/arch/x86/include updates

. primary purpose is to synchronize with <ieeefp.h> which
  expects a fp_prec from sys/arch/x86/include/ieeefp.h

11 years agocsu: restore crt1.o symlink
Ben Gras [Tue, 15 Jan 2013 08:01:33 +0000 (08:01 +0000)]
csu: restore crt1.o symlink

. minix gcc package uses crt1.o to link

11 years agosprofalyze fixes
Ben Gras [Mon, 14 Jan 2013 20:43:11 +0000 (20:43 +0000)]
sprofalyze fixes

. accumulate sprof_info
. reset 'seen' endpoints for every file to keep in sync with kernel
  profile stream

11 years agotar: use utime() to restore timestamps
Ben Gras [Mon, 14 Jan 2013 23:19:35 +0000 (23:19 +0000)]
tar: use utime() to restore timestamps

. otherwise all extracted files get 'now'

11 years agoUPDATING instructions for libc/terminfo update
Lionel Sambuc [Mon, 14 Jan 2013 12:20:00 +0000 (13:20 +0100)]
UPDATING instructions for libc/terminfo update

11 years agoFix warnings trivial warnings.
Lionel Sambuc [Tue, 11 Dec 2012 17:42:21 +0000 (18:42 +0100)]
Fix warnings trivial warnings.

Fix warnings about:
 . Unused variables
 . format mismatch in printf/scanf format string and arguments
 . Missing parenthesis around assignment as truth values
 . Clang warnings anout unknown GCC pragma

11 years agoChanging field utmp.ut_time from int to time_t 80/180/2
Lionel Sambuc [Tue, 11 Dec 2012 17:03:26 +0000 (18:03 +0100)]
Changing field utmp.ut_time from int to time_t

This makes sure the types are coherent, and right now, time_t is
defined as an long, through _BSD_TIME_T_. It previously was
hardcoded as an int, so the structure's size does not change.

Change-Id: If29e94ab53f605d1480fadb540f5b67be4ddaf5b

11 years agoImporting common/dist/zlib 79/179/2
Lionel Sambuc [Tue, 18 Dec 2012 19:25:56 +0000 (20:25 +0100)]
Importing common/dist/zlib

Change-Id: I46de716a98ccc501ca32b2a9445d9964594ddc61

11 years agoUpdating lib/libcrypt 78/178/2
Lionel Sambuc [Tue, 18 Dec 2012 10:01:53 +0000 (11:01 +0100)]
Updating lib/libcrypt

Change-Id: I4dc5ca7c86abc5295ffc57386a14dd1d790fd489

11 years agoUpdating usr.bin/passwd 77/177/2
Lionel Sambuc [Wed, 12 Dec 2012 10:53:34 +0000 (11:53 +0100)]
Updating usr.bin/passwd

Change-Id: I5512cd44cb9f1684350050d4e3fb5bb4d1c9b6b1

11 years agoUpdating usr.bin/make 76/176/2
Lionel Sambuc [Tue, 11 Dec 2012 17:41:20 +0000 (18:41 +0100)]
Updating usr.bin/make

Change-Id: I66b137a0368cf99267cd47a9625da8a12d8a1df7

11 years agoUpdating usr.bin/m4 75/175/2
Lionel Sambuc [Tue, 11 Dec 2012 17:14:47 +0000 (18:14 +0100)]
Updating usr.bin/m4

Change-Id: I6edfb294639490da27f6abd132822b901de0d650

11 years agonbsd_ports cleanups 74/174/2
Lionel Sambuc [Thu, 22 Nov 2012 15:50:46 +0000 (16:50 +0100)]
nbsd_ports cleanups

Change-Id: Ib538a7b12a46a5052fb37e4ba74c32ebc43dbf64

11 years agoCleaning usage of MAJOR/MINOR 73/173/2
Lionel Sambuc [Wed, 12 Dec 2012 13:30:19 +0000 (14:30 +0100)]
Cleaning usage of MAJOR/MINOR

Change-Id: I4d7718c51967930375a5f0657b61f869745cf644

11 years agoUpdating libcurses, libterminfo and terminfo. 36/136/5
Lionel Sambuc [Tue, 4 Dec 2012 10:42:24 +0000 (11:42 +0100)]
Updating libcurses, libterminfo and terminfo.

The three are updated together as they are tightly coupled.

Change-Id: I9e1f07b6adc6e8ae10833e6f1402f8472d2d34b8

11 years agoLibraries updates and cleanup 72/172/2
Lionel Sambuc [Thu, 15 Nov 2012 11:06:41 +0000 (12:06 +0100)]
Libraries updates and cleanup

 * Updating common/lib
 * Updating lib/csu
 * Updating lib/libc
 * Updating libexec/ld.elf_so
 * Corrected test on __minix in featuretest to actually follow the
   meaning of the comment.
 * Cleaned up _REENTRANT-related defintions.
 * Disabled -D_REENTRANT for libfetch
 * Removing some unneeded __NBSD_LIBC defines and tests

Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2

11 years agoMoving all NetBSD headers back where they belong. 48/148/3
Lionel Sambuc [Mon, 26 Nov 2012 15:59:26 +0000 (16:59 +0100)]
Moving all NetBSD headers back where they belong.

Moving include/sys NetBSD headers to /sys/sys
Moving include/arch/*/ NetBSD headers to /sys/arch/*/include

Change-Id: Ia1a45d4e83ab806c84093ec2b61bdbea9bed65a0