Ben Gras
cd05a95afc
recognize ccc-analyzer as gnu-style compiler
...
. for clang static analysis
2011-08-10 10:39:45 +00:00
Ben Gras
3a44cd477b
tty: handle REVIVE case on console device
...
. can happen on e.g. ^S
. reported by Stephen Hatton
2011-08-09 16:59:01 +00:00
Arun Thomas
86b061078b
Build gcov code only if MKCOVERAGE is yes
2011-08-09 10:39:33 +02:00
Arun Thomas
4dece73bf0
bsd.prog.mk: skip 'install -S' rule for GCC/clang
2011-08-08 14:18:25 +02:00
Ben Gras
4a8ceeebff
allow bind() with addr len >= sizeof(sockaddr_in)
...
. specifically, if it's struct sockaddr, which is
1 byte larger than sockaddr_in
. unbreaks some applications
. debugged and solved by Jan Wieck
2011-08-05 22:58:03 +02:00
Ben Gras
d477a9ed82
vm/ipc: only report signals when it matters to ipc
...
. ipc wants to know about processes that get
signals, so that it can break blocking ipc operations
. doing it for every single signal is wasteful
and causes the annoying 'no slot for signals' message
. this fix tells vm on a per-process basis it (ipc)
wants to be notified, i.e. only when it does any ipc calls
. move ipc config to separate config file while we're at it
2011-08-05 20:52:32 +00:00
Arun Thomas
862fb8354d
minix.ack.mk: use CPPFLAGS for ACK asm files
2011-08-05 14:16:48 +02:00
Ben Gras
c484bc1dc8
unbreak oxpcie in kernel
2011-08-04 17:26:39 +00:00
Ben Gras
1abfde0e03
remove info after #undef _POSIX_TIMERS
2011-08-04 18:11:16 +02:00
Ben Gras
3977443581
terminfo fixes
...
. add TERM=minix to builtin terms
. regenerate compiled-in compile_terms.c
. fix terminfo db path
. update termcap command
. By Antoine Leca
2011-08-04 16:50:57 +00:00
Ben Gras
b9d027bfe2
release.sh: fix -l, add -L option for local packages
...
. by Jan Wieck
2011-08-03 12:53:01 +02:00
Ben Gras
a99a4b2a05
added missing m_closefrom.c
2011-08-03 12:51:28 +02:00
Ben Gras
c4ea2a195c
getsid() implementation
2011-08-02 22:16:59 +02:00
Ben Gras
c0bb1ba1b1
closefrom() as library call
2011-08-02 22:16:58 +02:00
Arun Thomas
d69519f86a
kernel: don't build cprofile code by default
2011-08-02 15:25:54 +02:00
Arun Thomas
aaefc6f838
Add MKMCONTEXT option
2011-08-02 13:57:31 +02:00
Ben Gras
989934b37c
rename -lutil to -lminixutil
...
. in preparation for netbsd -lutil
2011-08-01 14:32:14 +02:00
Ben Gras
ed651fafef
don't define _POSIX_TIMERS
2011-08-01 13:17:47 +02:00
Arun Thomas
f985ecba0d
MKEMBED is now MKSMALL
2011-08-01 11:05:17 +02:00
Arun Thomas
ae561b8f12
Add MKAPIC and MKACPI options
2011-07-31 16:22:43 +02:00
Arun Thomas
fcc2c77af2
ramdisk: For MKEMBED, skip ext2, achi, and acpi
2011-07-30 13:16:16 +02:00
Arun Thomas
1a8cf59d04
Add MKWATCHDOG option
2011-07-29 20:37:39 +02:00
Ben Gras
89f0baab63
add /var/tmp/ for groff
2011-07-28 17:12:57 +02:00
Ben Gras
914d02825f
libvassert: vmware VAssert support.
...
- BSD-licensed Code gratefully taken from the project at
http://en.sourceforge.jp/projects/sfnet_vassertlinuxsdk/
- For more information on vmware VAssert, a powerful debugging
facility usable under vmware, see:
www.vmware.com/pdf/ws65_vassert_programming.pdf
2011-07-28 03:23:10 +00:00
Ben Gras
f614d0015a
mk: single mk fragment for new libc
...
. allow commands to use it by setting NEED_NBSDLIBC
. also add mkfiles to clean and cleandepend so they
don't break on missing new mkfiles
2011-07-27 18:23:36 +02:00
Arun Thomas
3ca141ab81
Remove legacy swapfs utility
2011-07-27 17:16:17 +02:00
Thomas Veerman
7588db2691
Add support for VFS-FS transaction IDs
2011-07-27 15:49:42 +00:00
Thomas Veerman
ece4c9d565
Add DEV_CLONE_A dev type
2011-07-27 12:23:03 +00:00
Thomas Veerman
9b43de2cb3
Clean up mthread
2011-07-27 09:30:26 +00:00
Antoine Leca
b67a7fca8c
ash: don't rely on libc signal names
...
The bsd signal names are out-of-order compared to the minix ones.
I found out (the hard way) that the (MINIX-descending) ordered list of
signals in <sys/signal.h> does not match the (BSD-descending) ordered
list of signals in usr/src/lib/libc/nbsd_libc/gen/sig{name,list}.c
Beyond being unfortunate, it prevents the trap command of ash to handle
correctly a named signal; a funny test case is
#!/bin/sh
trap 'echo trapping signal BUS' BUS
trap 'echo trapping signal 10 (USR1)' 10
trap # show me what is currently trapped
As a quick workaround, I disabled the use of the libc-provided
sys_sig{name,list} arrays for ash, and reverted to the hand-made array
which is used by the less capable MINIX libc. It allowed me to use
pkgsrc.
2011-07-26 18:59:52 +02:00
Ben Gras
d810ebe67b
add /etc/resolv.conf pointing to minix nonamed
...
. needed for netbsd libc dns resolution
. points to minix nonamed
. /etc/resolv.conf should have the real info
(written by netconf / dhcp client)
. nonamed should be phased out but will probably
be around for the 'old' libc
2011-07-26 18:03:04 +02:00
Arun Thomas
6d1095db1e
test: define NETBSD_SOURCE for gcc/clang
2011-07-26 16:52:43 +02:00
Arun Thomas
530bd5d486
vfs/rs: for ELF, sep_id should be 0
2011-07-26 15:21:07 +02:00
Arun Thomas
3b08b34ceb
Fix test2.sh
...
-strings is now found in /usr/pkg/bin
2011-07-26 13:50:57 +02:00
Arun Thomas
93bb4036ce
Remove bigmake, binsizes, packman
2011-07-26 13:38:27 +02:00
Arun Thomas
2a9322a117
Remove advent and ttt
2011-07-26 11:37:18 +02:00
Arun Thomas
8a8f27951b
sys.mk: Check that MKEMBED is defined
2011-07-26 11:26:26 +02:00
Arun Thomas
1d45d57e40
Add MKEMBED option
2011-07-26 08:54:32 +02:00
Arun Thomas
3a69da5f86
usr.bin/Makefile: cosmetic change
...
-Move mkimage to list of MINIX commands
2011-07-25 11:50:46 +02:00
Arun Thomas
2ad6214ef0
Add sort to nbsd_ports list
2011-07-25 11:43:44 +02:00
Ben Gras
51ffecc181
import elf-only -lcurses
...
. abandons mixer, gomoku, talk, talkd, top from base system
. compile top with clang so no ack-compiled program
needs -lcurses any more
2011-07-25 11:08:17 +02:00
Vivek Prakash
1ea07af9da
Replace uniq with NetBSD version
2011-07-24 21:40:02 +02:00
Arun Thomas
e376fd97ac
Skip ACK libs building with GCC/clang
2011-07-24 18:47:07 +02:00
Ben Gras
d2897e946f
release.sh: jail building adjustments
2011-07-22 22:10:21 +02:00
Arun Thomas
1e56737131
bsd.prog.mk: include minix.gcov.mk
2011-07-22 18:00:09 +02:00
Arun Thomas
06617e7fdf
Import NetBSD mkdep
2011-07-22 17:28:27 +02:00
Ben Gras
01b152d6d9
kernel: add prototype for inkernel_disaster
2011-07-22 15:19:40 +02:00
Ben Gras
b984fa41df
Revert "print kernel stacktrace for exceptions in kernel"
...
This reverts commit eff1369cab
.
This was in a working branch and I only intended to commit
exception.c. But I committed the exact inverse. Sorry.
2011-07-22 15:01:44 +02:00
Ben Gras
04d2db3c44
world: add etcfiles
...
. avoids future UPDATING entries (for hierarchy extensions
necessary for make world to work)
2011-07-22 14:57:55 +02:00
Arun Thomas
b7b7b3e63f
add vfork to namespace.h
2011-07-22 14:07:04 +02:00