de231a713e
Move MIN() and MAX() macros to sys/params.h
Arun Thomas
2010-08-21 13:10:41 +00:00
60a71efca8
easprintf() and evasprintf()
Arun Thomas
2010-08-21 13:07:25 +00:00
292f98dc29
Minor malloc-debug fixes
Erik van der Kouwe
2010-08-20 19:50:36 +00:00
2a736d0c2e
Add MALLOC_DEBUG env var to debug applications using malloc
Erik van der Kouwe
2010-08-20 19:16:31 +00:00
b337d3f8e5
move rrrrrrread_tsc from libsys to libc so anyone can use it
Erik van der Kouwe
2010-08-20 18:43:56 +00:00
205855b8ee
boot ramdisk slightly bigger for gcc-compiled binaries.
Ben Gras
2010-08-20 12:59:55 +00:00
b9f5e50421
Provide boot image process main functions with a full parameter list, so that bad things don't heppen when using getenv
Erik van der Kouwe
2010-08-20 11:07:16 +00:00
02440068fc
update MANPATH for gcc, X
Ben Gras
2010-08-19 16:35:01 +00:00
4b9420d7d7
mk: use ar instead of gar for gcc/clang ar.
Ben Gras
2010-08-18 16:08:10 +00:00
3e7c270f6c
rc: add /sbin to $PATH for fsck.mfs
Ben Gras
2010-08-18 16:07:54 +00:00
9a21d1a2fd
Macros for symbols used in both ASM and C
Arun Thomas
2010-08-17 16:44:07 +00:00
c8cfcab5db
- Make sure there's space left in the vmnt table for another mount point. - Increase mount point limit.
Thomas Veerman
2010-08-17 10:02:50 +00:00
551374c228
Add ftello function
Erik van der Kouwe
2010-08-16 17:07:40 +00:00
a3e4dcafe0
Add fseeko function
Erik van der Kouwe
2010-08-16 17:06:08 +00:00
66b8f17a29
AR=ar still needed for pkgsrc.
Ben Gras
2010-08-14 20:28:32 +00:00
b1eb16e5ff
pkgsrc: no more g* prefix for binutils.
Ben Gras
2010-08-13 13:33:51 +00:00
5a377144b0
diskctl(8) into commands makefile
David van Moolenbroek
2010-08-12 14:21:55 +00:00
78fc74633a
diskctl(8) tool
David van Moolenbroek
2010-08-12 14:11:28 +00:00
484b2f43d6
at_wini/ahci: write cache ioctls
David van Moolenbroek
2010-08-12 14:09:34 +00:00
5998a4b2af
AHCI driver: miscellaneous changes - check the DF status flag after each command - increase I/O timeout from 15 to 30 seconds - share some code between ATA and ATAPI after all - produce more accurate errors on DIOCEJECT - rename AHCI_ID_SIZE to the more appropriate ATA_ID_SIZE - rearrange ahci.h in a now more sensible way
David van Moolenbroek
2010-08-12 14:08:23 +00:00
f8c56494c9
Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways
Erik van der Kouwe
2010-08-12 13:44:47 +00:00
a7ed430587
ramdisk: actually add ahci to the image, too
David van Moolenbroek
2010-08-11 11:30:08 +00:00
3f6f7672c2
ramdisk: add preliminary support for ahci
David van Moolenbroek
2010-08-11 11:16:44 +00:00
5824aab560
small fix in hgfs.8 manpage
David van Moolenbroek
2010-08-11 10:01:34 +00:00
9acaece9cc
fix ptrace.2 man page
David van Moolenbroek
2010-08-11 08:57:48 +00:00
bee1f38e01
VTreeFS library
David van Moolenbroek
2010-08-10 20:05:51 +00:00
4e95b347a7
Make it possible again to compile the tests without installing GCC first
Erik van der Kouwe
2010-08-09 05:51:01 +00:00
46624d640e
hgfs comment fix: inode status, not statistics
David van Moolenbroek
2010-08-07 11:50:15 +00:00
f7ef192c02
Fixed warning noreturn function returns in arch_system.c
Tomas Hruby
2010-08-06 12:48:26 +00:00
58654acf08
both ack and gcc can compile klib16.S
Tomas Hruby
2010-08-06 12:46:44 +00:00
905e94f058
gas2ack filters out .code16
Tomas Hruby
2010-08-06 12:46:01 +00:00
c8f70b8154
Fix tests when run as root; use bin account but current directory
Erik van der Kouwe
2010-08-06 12:33:32 +00:00
ac9a7f47bd
Missing prototype in pre_init.c
Tomas Hruby
2010-08-06 12:26:26 +00:00
d5482f6e75
Reverted __packed for ACK
Tomas Hruby
2010-08-06 10:28:40 +00:00
6e614336d6
__packed defined for ACK
Tomas Hruby
2010-08-06 09:53:53 +00:00
c3c97e66b1
Fix ar error in testsh1.sh (ar was previously renamed to aal)
Erik van der Kouwe
2010-08-06 09:28:26 +00:00
5d4ef90b2c
Fix cdiff error in testsh1.sh
Erik van der Kouwe
2010-08-06 09:27:49 +00:00
16f2eb25f4
AHCI driver
David van Moolenbroek
2010-08-05 16:37:58 +00:00
ce41c63f41
fsck and mkfs have been moved to /sbin
Thomas Veerman
2010-08-05 15:11:10 +00:00
e1f30da613
pkg_install: DESTDIR support.
Ben Gras
2010-08-05 14:51:46 +00:00
56770462c2
merge datasizes and unstack
Ben Gras
2010-08-05 14:09:06 +00:00
8da0925650
release.sh - let some packages come pre-installed (right now just pkgin)
Ben Gras
2010-08-05 13:56:51 +00:00
a9d31d3169
Remove spurious space
Erik van der Kouwe
2010-08-05 13:35:41 +00:00
5bf3967f26
Rename mkfs to mkfs.mfs and fsck to fsck.mfs. Add /sbin to root's PATH.
Thomas Veerman
2010-08-05 12:35:00 +00:00
0fc71a1154
Increase NR_INODES in the FS servers to match NR_VNODES in VFS
Erik van der Kouwe
2010-08-05 11:37:37 +00:00
912b4e0cb7
Return ENOSPC when out of inodes
Erik van der Kouwe
2010-08-05 11:37:06 +00:00
42a2c1a03a
Increase max number of open files to 255 (more should be possible but does not seem necessary for now)
Erik van der Kouwe
2010-08-04 13:35:19 +00:00
e8846c3930
Also run test56, please
Thomas Veerman
2010-08-04 10:03:50 +00:00
83fc90c8c3
test57: test that state isn't corrupted after a signal handler being executed.
Ben Gras
2010-08-04 09:00:58 +00:00
b43f3b6bfc
This patch copies the ext2 server onto the initial ramdisk, the final patch to allow MINIX to boot from ext2.
Erik van der Kouwe
2010-08-04 05:18:03 +00:00
4eb7340395
Silence newroot
Erik van der Kouwe
2010-08-03 13:58:36 +00:00
4989de6acc
Don't write to /etc/mtab in newroot, may be an issue on read-only filesystems
Erik van der Kouwe
2010-08-03 13:57:58 +00:00
256c37f7fa
mount: don't always autodetect
David van Moolenbroek
2010-08-03 13:46:00 +00:00
42bbd56673
lib: when building clang/gcc libraries: add /usr/pkg/bin to $PATH
Ben Gras
2010-08-03 11:21:25 +00:00
e1dc59bd16
test Makefile: use any gcc in path
Ben Gras
2010-08-03 11:20:31 +00:00
9ce3961b8e
mtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d
Ben Gras
2010-08-03 11:18:18 +00:00
4523163411
Some PCI config space registers have to be accessed in with there actual width. Without this patch DDELinux is not able to read the PCI BARs correctly.
Dirk Vogt
2010-08-03 10:03:40 +00:00
a719ab7780
Auto-detect ext2 partitions in mount
Erik van der Kouwe
2010-08-03 06:28:58 +00:00
453be3b530
rename nm and strip to acknm and ackstrip
Ben Gras
2010-08-02 16:09:19 +00:00
0f92964a2f
Oops
Erik van der Kouwe
2010-08-02 14:49:35 +00:00
25397ef756
Deal all shutdown cases with multiboot as either reset or poweroff depending on their type (contributed by Feiran 'Fam' Zheng)
Erik van der Kouwe
2010-08-02 14:41:45 +00:00
ebec792700
Display fallback message in case poweroff fails (contributed by Feiran 'Fam' Zheng)
Erik van der Kouwe
2010-08-02 14:40:26 +00:00
c7859a538c
Replace newroot with a call to mount, will make type autodetect easier
Erik van der Kouwe
2010-08-02 14:15:48 +00:00
3b386ad39f
minor pkgsrc tweaks; allow pkgsrc to install rc scripts in /usr/pkg/etc/rc.d
Ben Gras
2010-08-02 12:28:24 +00:00
dff0434eaf
Add support for the ext2 file system. Contributed by Evgeniy Ivanov.
Thomas Veerman
2010-08-02 11:44:45 +00:00
253b4b3fe5
- Add support for ST_NOTRUNC to struct statvfs. - Let tests that test for long file names check for that flag, so that they can verify the results properly.
Thomas Veerman
2010-08-02 11:16:32 +00:00
20eced94e7
libdriver: allow driver to break out of message loop
David van Moolenbroek
2010-08-01 22:07:46 +00:00
da597227ac
put env_arg[cv] declaration in minix/sysutil.h
David van Moolenbroek
2010-07-29 21:16:23 +00:00
170b420d07
driver.h - missing guardian
Tomas Hruby
2010-07-29 10:53:50 +00:00
4510dddae4
add the sshd group
Ben Gras
2010-07-29 09:54:34 +00:00
49fe8e24b2
rename nameserv.h
Ben Gras
2010-07-29 08:41:22 +00:00
fb96391106
rename nemserv
Ben Gras
2010-07-29 08:39:49 +00:00
c80138ac71
BIOS function 0xE820 for memory map detection
Tomas Hruby
2010-07-29 07:21:11 +00:00
a022f412b5
extra includes to make porting cleaner
Ben Gras
2010-07-28 16:32:45 +00:00
05bbf81f93
new EPFNOSUPPORT errno
Ben Gras
2010-07-28 16:32:21 +00:00
b9cea27497
kernel: deadlock test with endpoints instead of slot numbers, slightly cleaner
Ben Gras
2010-07-28 14:14:06 +00:00
5d47cafa5b
pkg_install: move db dir
Ben Gras
2010-07-28 09:59:00 +00:00
e9651ae962
pkgsrc: minor changes to paths, options.
Ben Gras
2010-07-28 09:41:15 +00:00
6dec907191
Shorter reporting of contiguous identical blocks for the IS VM dump (F8) to avoid MFS frrom filling many screens
Erik van der Kouwe
2010-07-27 18:46:08 +00:00
dafc8f1062
Add poll.h
Arun Thomas
2010-07-27 09:21:56 +00:00
ee1cabf06c
Import poll() from NetBSD's libnbcompat
Arun Thomas
2010-07-26 20:46:04 +00:00
541b5c5c38
inet_pton(), patched by Thomas Cort.
Ben Gras
2010-07-26 14:47:10 +00:00
008cc7c1a7
stdio.h - define P_tmpdir
Ben Gras
2010-07-26 14:46:35 +00:00
eb057107c5
pkg_install - bpm - changes to work with minix ftp client by Gautam Tirumala.
Ben Gras
2010-07-26 14:02:05 +00:00
cf975bbc22
gcc headers: look at pkgsrc-installed gcc too
Ben Gras
2010-07-26 12:48:48 +00:00
c297701987
libarchive: sanitize out-of-range uids/gids
Ben Gras
2010-07-26 12:44:48 +00:00
149153f8ca
<sys/resource.h> - define RLIM_NLIMITS
Ben Gras
2010-07-26 10:04:45 +00:00
9f0364df60
lib - sanity check for group_from_gid etc.
Ben Gras
2010-07-24 10:40:55 +00:00
df0ba02a38
Multiboot support (contributed by Feiran "Fam" Zheng); keep in mind that GRUB needs to be patched to read MFS for now; use /boot/image_latest to boot the last compiled image in GRUB
Erik van der Kouwe
2010-07-23 14:24:34 +00:00
9212eab21f
Add padtext utility (needed for Multiboot)
Erik van der Kouwe
2010-07-23 14:22:49 +00:00
d7c70a41e5
Allow vm to split blocks in memory map (needed for multiboot, contributed by Feiran "Fam" Zheng
Erik van der Kouwe
2010-07-23 14:22:13 +00:00
1c4065cd10
pkg_install: forget about OS_RELEASE, just a properly formatted OS_VERSION.
Ben Gras
2010-07-23 14:10:23 +00:00
34a58c8d82
inet_ntop, contributed by Thomas Cort.
Ben Gras
2010-07-23 09:54:47 +00:00
3a5d923bf1
IO port is always 16 bit, even for inl
Erik van der Kouwe
2010-07-23 07:25:21 +00:00
7b9bddad1b
{in,out}s[bwl] deleted in previous commit, also delete their headers
Erik van der Kouwe
2010-07-23 07:24:34 +00:00
f389ad2655
Move sensitive instructions from libc into kernel
Erik van der Kouwe
2010-07-23 07:12:47 +00:00
a06e5c383d
Throw out ins[bwl] and out[bwl] from libc as they are not used
Erik van der Kouwe
2010-07-23 07:10:47 +00:00
c4bb6abc2b
vsprintf: fix special yet useful case for vsprintf where n < 1.
Ben Gras
2010-07-22 22:35:44 +00:00
6c2c2f3c34
libfp: use ${CC} instead of cc, reported by Antoine Leca.
Ben Gras
2010-07-22 22:24:08 +00:00
fe343bb002
Make kernel ipc log scripts work for separate ${.OBJDIR}.
Ben Gras
2010-07-22 22:04:37 +00:00