Ben Gras
8cf6236545
. forget obsolete /usr/local/bin in $PATH
...
. update release.sh's notion of where packages are
. update release.sh's notion of how many files are on root
as -xdev won't work anymore to separate /usr from /
2010-09-20 11:08:21 +00:00
Ben Gras
59a4400972
add minix-all package to be put on cd.
2010-09-20 09:57:02 +00:00
Ben Gras
bcc76fa94e
pkgsrc: save binary packages in arch- and osversion dependent dir.
2010-09-17 14:31:28 +00:00
Thomas Veerman
4e706a260a
Backport failing umount attempt fix from trunk
2010-09-17 11:07:18 +00:00
Arun Thomas
954d729e75
Update PATHs for llvm and X11
2010-09-12 18:01:15 +00:00
Arun Thomas
4c11340d63
Remove packit/packman from Makefile
2010-09-12 16:55:19 +00:00
Arun Thomas
272f315ea8
Remove packman and packit manpages
2010-09-12 14:11:07 +00:00
Arun Thomas
207e88d3c4
Update release script for pkgsrc
2010-09-10 17:00:30 +00:00
David van Moolenbroek
d29833c5aa
remove hardcoding of system.conf path in various service calls
2010-09-10 09:22:22 +00:00
David van Moolenbroek
6b902492ae
memory driver: propagate data copy error to caller
2010-09-09 16:13:02 +00:00
David van Moolenbroek
2bda06bbb5
shutdown(8): buffer accessed beyond end during option parsing
2010-09-09 08:48:47 +00:00
David van Moolenbroek
2e209097b6
IS: delete obsolete is.h
2010-09-09 08:47:39 +00:00
Tomas Hruby
e6ebac015d
APIC mode uses IO APICs
...
- kernel turns on IO APICs if no_apic is _not_ set or is equal 0
- pci driver must use the acpi driver to setup IRQ routing otherwise
the system cannot work correctly except systems like KVM that use
only legacy (E)ISA IRQs 0-15
2010-09-07 07:18:11 +00:00
Erik van der Kouwe
5cc29a6c7e
Make realpath deal with double slashes
2010-09-06 07:45:32 +00:00
Tomas Hruby
ad5ecf906b
asm.h not installed
2010-09-03 17:01:18 +00:00
Erik van der Kouwe
18ad0b52d3
Make hexdump ACK-compilable and add it to the base system
2010-09-03 07:37:31 +00:00
Arun Thomas
9e4e26e0c8
No more packman, easypack, packit
...
-Create a dummy packman script that tells users about pkgin
2010-09-03 07:27:39 +00:00
Tomas Hruby
99d9144556
PCI driver uses ACPI if APIC is used.
...
- PCI must query ACPI, if (IO)APIC is in use, for the routing
information and change the ILR (interrupt line register) of each
device accordingly so drivers use the right IRQ.
2010-09-02 15:44:38 +00:00
Tomas Hruby
7ae6f8740d
ACPI driver loaded at boot time
...
- the acpi driver is part of the ramdisk and if present the rc script
starts it before pci is started as pci needs if APIC mode is turned
on.
2010-09-02 15:44:36 +00:00
Tomas Hruby
9560b6dea8
ACPI driver
...
- 99% of the code is Intel's ACPICA. The license is compliant with BSD
and GNU and virtually all systems that use ACPI use this code, For
instance it is part of the Linux kernel.
- The only minix specific files are
acpi.c
osminixxf.c
platform/acminix.h
and
include/minix/acpi.h
- At the moment the driver does not register interrupt hooks which I
believe is mainly for handling PnP, events like "battery level is
low" and power management. Should not be difficult to add it if need
be.
- The interface to the outside world is virtually non-existent except
a trivial message based service for PCI driver to query which device
is connected to what IRQ line. This will evolve as more components
start using this driver. VM, Scheduler and IOMMU are the possible
users right now.
- because of dependency on a native 64bit (long long, part of c99) it
is compiled only with a gnu-like compilers which in case of Minix
includes gcc llvm-gcc and clang
2010-09-02 15:44:04 +00:00
Tomas Hruby
43a4725423
pci_*.h headers moved from drivers/pci to include/machine
2010-09-02 15:43:59 +00:00
Tomas Hruby
2440ffae49
Kernel exports DSDP and apic_enabled in machine structure
...
- kernel exports DSDP (the root pointer where ACPI parsing starts) and
apic_enabled in the machine structure.
- ACPI driver uses DSDP to locate ACPI in memory. acpi_enabled tell
PCI driver to query ACPI for IRQ routing information.
2010-09-02 15:43:56 +00:00
Tomas Hruby
344e9221ec
Kernel supports up to 64 IRQs
...
- enough for 2 io apics (usually with 24 pins)
2010-09-02 15:43:54 +00:00
Tomas Hruby
45badf4c05
ACPI in kernel
...
- the ability for kernel to use ACPI tables to detect IO APICs. It is
the bare minimum the kernel needs to know about ACPI tables.
- it will be used to find out about processors as the MPS tables are
deprecated by ACPI and not all vendorsprovide them.
2010-09-02 15:43:51 +00:00
Thomas Veerman
e7252adc1e
Clean up the created temp file after running the test.
2010-09-02 09:33:37 +00:00
Ben Gras
eca25a6cab
removed redundant includes dependency from gnu-libraries.
2010-09-01 18:48:47 +00:00
Ben Gras
c6cfdbffe4
also make gcc includes before compiling gcc libraries.
2010-09-01 18:28:55 +00:00
Thomas Veerman
0b00cf70b6
- Return ENOENT when trying to add files to removed (but open) directories.
...
- Add test58 to test this behavior.
2010-09-01 09:07:18 +00:00
Tomas Hruby
bf6f0216d5
tools/Makefile uses padtext only when building with ack
2010-09-01 07:46:51 +00:00
Ben Gras
b3c3a1cb1e
gcc compiles - add -fno-builtin so that gcc optimisations don't break things.
...
- kernel compile was broken with gcc as putchar() was added by gcc in
stacktrace.c
- add -fno-builtin everywhere to avoid such problems in the future
- -fno-builtin in kernel now redundant
2010-08-31 16:42:44 +00:00
Ben Gras
b1847ae244
make service look in /etc/system.conf.d/<progname> first for config file.
...
This makes it easier to
- have non-base system drivers (get clobbered by global system.conf)
- have drivers as packages (can't touch global system.conf)
- make configs part of the drivers/servers instead of in global file
(makes system parts more self-contained)
2010-08-31 14:33:31 +00:00
Erik van der Kouwe
1f2054c89c
Shutdown changes for multiboot: CTRL-ALT-DEL resets, panic halts
2010-08-30 19:01:58 +00:00
David van Moolenbroek
4448836263
ramdisk: more inodes
2010-08-30 17:08:19 +00:00
Arun Thomas
36fb30dfef
cdefs.h: Allow __CONCAT() macro to be nested
2010-08-30 14:34:58 +00:00
Thomas Veerman
a4c30acd9d
Improve UDS testing. Fix a few bugs. Add testing of passing file descriptors.
...
Contributed by Thomas Cort.
2010-08-30 13:49:49 +00:00
Thomas Veerman
e8ddc0f46e
- Add support for file descriptor passing to PFS.
...
- For security reasons move some libc code to PFS.
- Fix a few bugs in PFS.
Contributed by Thomas Cort.
2010-08-30 13:46:44 +00:00
Thomas Veerman
13ef7f1f38
Prepare VFS to support back calls from PFS. For security reasons and to support
...
file descriptor passing, PFS does some back calls to VFS. For example, to
verify the validity of a path provided by a process and to tell VFS it must
copy file descriptors from one process to another.
2010-08-30 13:44:07 +00:00
Thomas Veerman
2297e26660
Prepare headers to support file descriptor passing over UNIX Domain Sockets.
...
Contributed by Thomas Cort.
2010-08-30 13:41:22 +00:00
Erik van der Kouwe
a0bb199f69
Release script improvements, moving towards having the ramdisk working again
2010-08-29 19:22:42 +00:00
Erik van der Kouwe
a37514163b
Touch generated files to avoid dependency generation warnings and missing dependencies
2010-08-29 17:50:51 +00:00
Erik van der Kouwe
a5741a465f
update /etc on make world
2010-08-27 10:09:06 +00:00
David van Moolenbroek
3e3d627b25
mdb: disassembly fix for short 8-bit values
2010-08-27 09:31:26 +00:00
Arun Thomas
a78608ec86
Fix dependency problems in the build
2010-08-26 19:54:49 +00:00
Ben Gras
c81f201c8c
added missing sef_gcov.c
2010-08-25 13:23:32 +00:00
Ben Gras
5d6c2aae0a
gcov support, based on work contributed by Anton Kuijsten.
2010-08-25 13:06:43 +00:00
Ben Gras
d8466ce31f
libaudiodriver <minix/audio_fw.h> fixes
2010-08-25 11:18:38 +00:00
Ben Gras
1c359afad4
connect libaudiodriver.
2010-08-25 11:07:36 +00:00
Ben Gras
0f4eda33eb
new base libaudiodriver out of -lcommon in drivers/audio.
...
- this lets the drivers that used that library be compiled easily with
different compilers.
2010-08-25 11:03:53 +00:00
Ben Gras
cb86231930
sb16: flatten mixer, common, dsp hierarchy into 2-PROGS dir
2010-08-25 09:57:10 +00:00
Ben Gras
36fa521a0e
further ramdisk size increase for gcc+gcov binaries.
2010-08-25 07:26:00 +00:00
Ben Gras
1d0e0e217d
<stddef.h> - alternative definition of offsetof for gcc using builtin
2010-08-25 07:25:32 +00:00
Erik van der Kouwe
50ca7f7f8f
Zero out to three stack dwords to fix boot errors
2010-08-24 12:51:11 +00:00
Ben Gras
6fb1789ba4
at_wini: fix warning, bogus PRIVATE in struct type declaration
2010-08-24 12:45:37 +00:00
David van Moolenbroek
959026c29a
RS: use PM's API instead of its internals
2010-08-24 07:20:41 +00:00
Erik van der Kouwe
3211be5d14
Avoid duplicate type definitions, especially wchar_t which was inconsstent and caused trouble in libarchive
2010-08-23 17:00:04 +00:00
Erik van der Kouwe
a2647a4181
Fix buffer overflow in libarchive if a UTF-8 encoded string has codepoints that require two UTF-16 words
2010-08-23 16:32:05 +00:00
Erik van der Kouwe
d743c5c6f3
Solve buffer overflow on tab completion in ash
2010-08-23 16:30:58 +00:00
Arun Thomas
c9d500e9fd
Import hexdump(1) from NetBSD
2010-08-21 13:24:09 +00:00
Arun Thomas
de231a713e
Move MIN() and MAX() macros to sys/params.h
2010-08-21 13:10:41 +00:00
Arun Thomas
60a71efca8
easprintf() and evasprintf()
2010-08-21 13:07:25 +00:00
Erik van der Kouwe
292f98dc29
Minor malloc-debug fixes
2010-08-20 19:50:36 +00:00
Erik van der Kouwe
2a736d0c2e
Add MALLOC_DEBUG env var to debug applications using malloc
2010-08-20 19:16:31 +00:00
Erik van der Kouwe
b337d3f8e5
move rrrrrrread_tsc from libsys to libc so anyone can use it
2010-08-20 18:43:56 +00:00
Ben Gras
205855b8ee
boot ramdisk slightly bigger for gcc-compiled binaries.
2010-08-20 12:59:55 +00:00
Erik van der Kouwe
b9f5e50421
Provide boot image process main functions with a full parameter list, so that bad things don't heppen when using getenv
2010-08-20 11:07:16 +00:00
Ben Gras
02440068fc
update MANPATH for gcc, X
2010-08-19 16:35:01 +00:00
Ben Gras
4b9420d7d7
mk: use ar instead of gar for gcc/clang ar.
2010-08-18 16:08:10 +00:00
Ben Gras
3e7c270f6c
rc: add /sbin to $PATH for fsck.mfs
2010-08-18 16:07:54 +00:00
Arun Thomas
9a21d1a2fd
Macros for symbols used in both ASM and C
...
-The macros take care of prepending the leading underscore when
necessary.
2010-08-17 16:44:07 +00:00
Thomas Veerman
c8cfcab5db
- Make sure there's space left in the vmnt table for another mount point.
...
- Increase mount point limit.
2010-08-17 10:02:50 +00:00
Erik van der Kouwe
551374c228
Add ftello function
2010-08-16 17:07:40 +00:00
Erik van der Kouwe
a3e4dcafe0
Add fseeko function
2010-08-16 17:06:08 +00:00
Ben Gras
66b8f17a29
AR=ar still needed for pkgsrc.
2010-08-14 20:28:32 +00:00
Ben Gras
b1eb16e5ff
pkgsrc: no more g* prefix for binutils.
2010-08-13 13:33:51 +00:00
David van Moolenbroek
5a377144b0
diskctl(8) into commands makefile
2010-08-12 14:21:55 +00:00
David van Moolenbroek
78fc74633a
diskctl(8) tool
2010-08-12 14:11:28 +00:00
David van Moolenbroek
484b2f43d6
at_wini/ahci: write cache ioctls
2010-08-12 14:09:34 +00:00
David van Moolenbroek
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
2010-08-12 14:08:23 +00:00
Erik van der Kouwe
f8c56494c9
Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways
2010-08-12 13:44:47 +00:00
David van Moolenbroek
a7ed430587
ramdisk: actually add ahci to the image, too
2010-08-11 11:30:08 +00:00
David van Moolenbroek
3f6f7672c2
ramdisk: add preliminary support for ahci
2010-08-11 11:16:44 +00:00
David van Moolenbroek
5824aab560
small fix in hgfs.8 manpage
2010-08-11 10:01:34 +00:00
David van Moolenbroek
9acaece9cc
fix ptrace.2 man page
2010-08-11 08:57:48 +00:00
David van Moolenbroek
bee1f38e01
VTreeFS library
2010-08-10 20:05:51 +00:00
Erik van der Kouwe
4e95b347a7
Make it possible again to compile the tests without installing GCC first
2010-08-09 05:51:01 +00:00
David van Moolenbroek
46624d640e
hgfs comment fix: inode status, not statistics
2010-08-07 11:50:15 +00:00
Tomas Hruby
f7ef192c02
Fixed warning noreturn function returns in arch_system.c
2010-08-06 12:48:26 +00:00
Tomas Hruby
58654acf08
both ack and gcc can compile klib16.S
2010-08-06 12:46:44 +00:00
Tomas Hruby
905e94f058
gas2ack filters out .code16
...
- .code16 tells gnu as to generate 16bit assembly ack requires -mi86 switch
2010-08-06 12:46:01 +00:00
Erik van der Kouwe
c8f70b8154
Fix tests when run as root; use bin account but current directory
2010-08-06 12:33:32 +00:00
Tomas Hruby
ac9a7f47bd
Missing prototype in pre_init.c
...
- gcc does not like it
2010-08-06 12:26:26 +00:00
Tomas Hruby
d5482f6e75
Reverted __packed for ACK
...
- ack does not produce packed structures
2010-08-06 10:28:40 +00:00
Tomas Hruby
6e614336d6
__packed defined for ACK
2010-08-06 09:53:53 +00:00
Erik van der Kouwe
c3c97e66b1
Fix ar error in testsh1.sh (ar was previously renamed to aal)
2010-08-06 09:28:26 +00:00
Erik van der Kouwe
5d4ef90b2c
Fix cdiff error in testsh1.sh
2010-08-06 09:27:49 +00:00
David van Moolenbroek
16f2eb25f4
AHCI driver
2010-08-05 16:37:58 +00:00
Thomas Veerman
ce41c63f41
fsck and mkfs have been moved to /sbin
2010-08-05 15:11:10 +00:00
Ben Gras
e1f30da613
pkg_install: DESTDIR support.
2010-08-05 14:51:46 +00:00
Ben Gras
56770462c2
merge datasizes and unstack
2010-08-05 14:09:06 +00:00
Ben Gras
8da0925650
release.sh - let some packages come pre-installed (right now just pkgin)
2010-08-05 13:56:51 +00:00
Erik van der Kouwe
a9d31d3169
Remove spurious space
2010-08-05 13:35:41 +00:00
Thomas Veerman
5bf3967f26
Rename mkfs to mkfs.mfs and fsck to fsck.mfs. Add /sbin to root's PATH.
2010-08-05 12:35:00 +00:00
Erik van der Kouwe
0fc71a1154
Increase NR_INODES in the FS servers to match NR_VNODES in VFS
2010-08-05 11:37:37 +00:00
Erik van der Kouwe
912b4e0cb7
Return ENOSPC when out of inodes
2010-08-05 11:37:06 +00:00
Erik van der Kouwe
42a2c1a03a
Increase max number of open files to 255 (more should be possible but does not seem necessary for now)
2010-08-04 13:35:19 +00:00
Thomas Veerman
e8846c3930
Also run test56, please
2010-08-04 10:03:50 +00:00
Ben Gras
83fc90c8c3
test57: test that state isn't corrupted after a signal handler being executed.
2010-08-04 09:00:58 +00:00
Erik van der Kouwe
b43f3b6bfc
This patch copies the ext2 server onto the initial ramdisk, the final
...
patch to allow MINIX to boot from ext2.
To create a setup with MINIX on ext2, follow these steps:
- Assumptions:
- there exists a primary partition c0dApB with a MINIX installation
with GRUB support (/boot/image_latest exists on /dev/c0dApB)
- there exists a free primary partition c0dCpD
- Create an ext2 filesystem on c0dApB (from Linux, until Tthom
has ported mke2fs)
- Follow these steps (from a MINIX CD with ext2 support, another MINIX
installation (not c0dApB) or Linux >= 2.6.35):
mkdir /mnt/mfs /mnt/ext2
mount /dev/c0dApBs0 /mnt/mfs
mount /dev/c0dApBs1 /mnt/mfs/home
mount /dev/c0dApBs2 /mnt/mfs/usr
mount /dev/c0dCpD /mnt/ext2
synctree -f /mnt/mfs /mnt/ext2
echo root=/dev/c0dCpD > /mnt/ext2/etc/fstab
(note: no subpartitions used because that would confuse an unmodified
bootloader)
- Add the new MINIX installation to GRUB according to steps 7&8 in
http://wiki.minix3.org/en/SummerOfCode2010/MultiBoot/HowTo
2010-08-04 05:18:03 +00:00
Erik van der Kouwe
4eb7340395
Silence newroot
2010-08-03 13:58:36 +00:00
Erik van der Kouwe
4989de6acc
Don't write to /etc/mtab in newroot, may be an issue on read-only filesystems
2010-08-03 13:57:58 +00:00
David van Moolenbroek
256c37f7fa
mount: don't always autodetect
2010-08-03 13:46:00 +00:00
Ben Gras
42bbd56673
lib: when building clang/gcc libraries: add /usr/pkg/bin to $PATH
2010-08-03 11:21:25 +00:00
Ben Gras
e1dc59bd16
test Makefile: use any gcc in path
2010-08-03 11:20:31 +00:00
Ben Gras
9ce3961b8e
mtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d
2010-08-03 11:18:18 +00:00
Dirk Vogt
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.
2010-08-03 10:03:40 +00:00
Erik van der Kouwe
a719ab7780
Auto-detect ext2 partitions in mount
2010-08-03 06:28:58 +00:00
Ben Gras
453be3b530
rename nm and strip to acknm and ackstrip
...
this is to force invocations of these utils for ack to be
explicitly named such, so in the future binutils can be installed
in /usr/pkg without the g- prefix.
2010-08-02 16:09:19 +00:00
Erik van der Kouwe
0f92964a2f
Oops
2010-08-02 14:49:35 +00:00
Erik van der Kouwe
25397ef756
Deal all shutdown cases with multiboot as either reset or poweroff depending on their type (contributed by Feiran 'Fam' Zheng)
2010-08-02 14:41:45 +00:00
Erik van der Kouwe
ebec792700
Display fallback message in case poweroff fails (contributed by Feiran 'Fam' Zheng)
2010-08-02 14:40:26 +00:00
Erik van der Kouwe
c7859a538c
Replace newroot with a call to mount, will make type autodetect easier
2010-08-02 14:15:48 +00:00
Ben Gras
3b386ad39f
minor pkgsrc tweaks; allow pkgsrc to install rc scripts in /usr/pkg/etc/rc.d
2010-08-02 12:28:24 +00:00
Thomas Veerman
dff0434eaf
Add support for the ext2 file system. Contributed by Evgeniy Ivanov.
2010-08-02 11:44:45 +00:00
Thomas Veerman
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.
2010-08-02 11:16:32 +00:00
David van Moolenbroek
20eced94e7
libdriver: allow driver to break out of message loop
2010-08-01 22:07:46 +00:00
David van Moolenbroek
da597227ac
put env_arg[cv] declaration in minix/sysutil.h
2010-07-29 21:16:23 +00:00
Tomas Hruby
170b420d07
driver.h - missing guardian
2010-07-29 10:53:50 +00:00
Ben Gras
4510dddae4
add the sshd group
2010-07-29 09:54:34 +00:00
Ben Gras
49fe8e24b2
rename nameserv.h
2010-07-29 08:41:22 +00:00
Ben Gras
fb96391106
rename nemserv
2010-07-29 08:39:49 +00:00
Tomas Hruby
c80138ac71
BIOS function 0xE820 for memory map detection
...
- this function returns a ritcher description of available memory
- is ACPI compliant, ACPI data structures are excluded from free
memory list
- available memory exported to Minix in a backwards compatible manner
- fallback to the old method if this function not available (old
hardware)
2010-07-29 07:21:11 +00:00
Ben Gras
a022f412b5
extra includes to make porting cleaner
2010-07-28 16:32:45 +00:00
Ben Gras
05bbf81f93
new EPFNOSUPPORT errno
2010-07-28 16:32:21 +00:00
Ben Gras
b9cea27497
kernel: deadlock test with endpoints instead of slot numbers, slightly cleaner
2010-07-28 14:14:06 +00:00
Ben Gras
5d47cafa5b
pkg_install: move db dir
2010-07-28 09:59:00 +00:00
Ben Gras
e9651ae962
pkgsrc: minor changes to paths, options.
2010-07-28 09:41:15 +00:00
Erik van der Kouwe
6dec907191
Shorter reporting of contiguous identical blocks for the IS VM dump (F8) to avoid MFS frrom filling many screens
2010-07-27 18:46:08 +00:00
Arun Thomas
dafc8f1062
Add poll.h
...
Open Group requires this. Reported by Thomas Cort.
2010-07-27 09:21:56 +00:00
Arun Thomas
ee1cabf06c
Import poll() from NetBSD's libnbcompat
2010-07-26 20:46:04 +00:00
Ben Gras
541b5c5c38
inet_pton(), patched by Thomas Cort.
2010-07-26 14:47:10 +00:00
Ben Gras
008cc7c1a7
stdio.h - define P_tmpdir
2010-07-26 14:46:35 +00:00
Ben Gras
eb057107c5
pkg_install - bpm - changes to work with minix ftp client by Gautam Tirumala.
2010-07-26 14:02:05 +00:00
Ben Gras
cf975bbc22
gcc headers: look at pkgsrc-installed gcc too
2010-07-26 12:48:48 +00:00
Ben Gras
c297701987
libarchive: sanitize out-of-range uids/gids
2010-07-26 12:44:48 +00:00
Ben Gras
149153f8ca
<sys/resource.h> - define RLIM_NLIMITS
2010-07-26 10:04:45 +00:00
Ben Gras
9f0364df60
lib - sanity check for group_from_gid etc.
2010-07-24 10:40:55 +00:00
Erik van der Kouwe
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
2010-07-23 14:24:34 +00:00
Erik van der Kouwe
9212eab21f
Add padtext utility (needed for Multiboot)
2010-07-23 14:22:49 +00:00
Erik van der Kouwe
d7c70a41e5
Allow vm to split blocks in memory map (needed for multiboot, contributed by Feiran "Fam" Zheng
2010-07-23 14:22:13 +00:00
Ben Gras
1c4065cd10
pkg_install: forget about OS_RELEASE, just a properly formatted OS_VERSION.
2010-07-23 14:10:23 +00:00
Ben Gras
34a58c8d82
inet_ntop, contributed by Thomas Cort.
2010-07-23 09:54:47 +00:00
Erik van der Kouwe
3a5d923bf1
IO port is always 16 bit, even for inl
2010-07-23 07:25:21 +00:00
Erik van der Kouwe
7b9bddad1b
{in,out}s[bwl] deleted in previous commit, also delete their headers
2010-07-23 07:24:34 +00:00
Erik van der Kouwe
f389ad2655
Move sensitive instructions from libc into kernel
2010-07-23 07:12:47 +00:00
Erik van der Kouwe
a06e5c383d
Throw out ins[bwl] and out[bwl] from libc as they are not used
2010-07-23 07:10:47 +00:00
Ben Gras
c4bb6abc2b
vsprintf: fix special yet useful case for vsprintf where n < 1.
...
reported by jaldhar.
2010-07-22 22:35:44 +00:00
Ben Gras
6c2c2f3c34
libfp: use ${CC} instead of cc, reported by Antoine Leca.
2010-07-22 22:24:08 +00:00
Ben Gras
fe343bb002
Make kernel ipc log scripts work for separate ${.OBJDIR}.
...
contributed by Antoine Leca.
2010-07-22 22:04:37 +00:00
Ben Gras
3badab8b70
vfs - split fp_fd field into fd + callnr fields
2010-07-22 14:55:28 +00:00
Ben Gras
1c2dd749eb
make.conf: make pkgsrc.conf separate.
2010-07-22 14:42:20 +00:00
Arun Thomas
dbde088d98
Replace NULL macro defs with null.h include
2010-07-22 10:03:31 +00:00
Tomas Hruby
62d44dc9ef
service utility fix
...
- of course 0 is a valid cpu
2010-07-22 09:57:14 +00:00
Ben Gras
81f6039a7f
pkg_install: some uname normalisation.
2010-07-22 08:28:12 +00:00
Ben Gras
e8e2f6f6b9
profile: don't set $MANPATH explicitly as it's already in man.conf.
2010-07-22 08:26:49 +00:00
Arun Thomas
88e7725c13
string.h: Include null.h
2010-07-21 15:37:42 +00:00
Erik van der Kouwe
5bf75abb30
Parse LODS correctly in gas2ack
2010-07-21 14:47:01 +00:00
Ben Gras
122a32b928
mkboot fix, missing "
2010-07-21 14:23:52 +00:00
David van Moolenbroek
220eafe705
inet: a little more resilience against misbehaving drivers
2010-07-21 13:47:50 +00:00
Tomas Hruby
f6f20e1269
Overly restrictive assert
...
- not true if APIC is enabled
2010-07-21 13:46:29 +00:00
Cristiano Giuffrida
7978f9d2f3
Unbreak gcc compilation for pfs.
2010-07-21 13:39:46 +00:00
Ben Gras
63deb069bb
uname: make uname -r and -v both print out full version info.
...
the world seems to expect this, and do this.
2010-07-21 12:47:48 +00:00
Ben Gras
f6655c171b
/usr/sbin in $PATH too.
2010-07-21 10:12:03 +00:00
Ben Gras
5e5d5ab1f6
make.conf: pkgsrc fix/workaround
2010-07-21 10:00:34 +00:00
Cristiano Giuffrida
0824146978
Disable debug info on trunk.
2010-07-21 08:22:24 +00:00
Cristiano Giuffrida
03bb1e5750
Don't panic so easily on unexpected pagefault.
2010-07-20 23:51:34 +00:00
Cristiano Giuffrida
91a83fe265
Crash recovery and live update support for VM.
2010-07-20 23:03:52 +00:00
Ben Gras
0b364d00bc
install new Makefile in /usr instead.
2010-07-20 22:20:43 +00:00
Cristiano Giuffrida
0d984b36ef
Get rid of static spare pages after VM startup.
2010-07-20 21:59:27 +00:00
Cristiano Giuffrida
40b4e71db2
COW for physically contiguous blocks in VM
2010-07-20 18:57:25 +00:00
Ben Gras
7f343ed574
kernel: clear MF_CONTEXT_SET on kernel exit.
2010-07-20 17:13:44 +00:00
Ben Gras
eb1627049f
pkg_install: record OS version for created packages.
2010-07-20 17:10:21 +00:00
Ben Gras
c0074d3aa9
kernel: fix case of EAX getting clobbered after sigreturn.
2010-07-20 17:10:09 +00:00
Arun Thomas
13be76efe5
Makefile for pkgsrc repo update/checkout
...
-From DragonflyBSD with minor tweaks
2010-07-20 17:09:44 +00:00
Erik van der Kouwe
8fc07701bc
UPDATING update
2010-07-20 07:52:55 +00:00
Erik van der Kouwe
fb24016c30
UPDATING update
2010-07-20 07:52:46 +00:00
Tomas Hruby
f248bffc9e
service utility can par cpu option in system.conf
...
- does not have any effect, solely for debugging SMP
- backward compatible with older RS instance
2010-07-20 07:27:45 +00:00
Cristiano Giuffrida
1b7d95df29
Generalize interface of some VM functions
2010-07-20 02:08:28 +00:00
Cristiano Giuffrida
af424b4e43
Don't always assume NOPINGREPLY as a failure in RS
2010-07-20 01:50:33 +00:00
Ben Gras
16d0609fad
vm: restore sanity checks in NONCONTIGUOUS case.
2010-07-19 18:20:14 +00:00
Ben Gras
068944de36
vm: add MEMPROTECT feature in vm.h.
2010-07-19 18:19:59 +00:00
Ben Gras
77267ca28b
vm: add missing USE() macros in utility.c.
2010-07-19 18:19:38 +00:00
Ben Gras
5e2c84b119
vm: allow readonly pages when sanity checking when they're supposed to be rw.
2010-07-19 18:19:16 +00:00
Ben Gras
e0701109ca
kernel: make loading kernel in 2nd chunk of memory (at 1MB) the default.
...
(indicated by flags hardcoded in kernel that the boot monitor
interprets.)
2010-07-19 16:33:49 +00:00
Thomas Veerman
103dc9e80a
Teach DESCRIBE and fsck about UNIX Domain Sockets. Contributed by Thomas Cort
2010-07-19 13:57:47 +00:00
Ben Gras
6ed6e31e80
un-duplicate sha2hl.c
2010-07-19 13:08:48 +00:00
Ben Gras
e37a6ef219
pkg_install: use /usr/sbin
2010-07-19 11:58:39 +00:00
Ben Gras
53b6f99fb0
includes: remove some prototypes of functions that aren't defined.
2010-07-19 11:39:57 +00:00
Ben Gras
4234aa2c4a
pkg_install path fixes.
2010-07-19 11:30:39 +00:00
Ben Gras
069f6ed574
pkg_install: correct PKG_LOG_DIR
2010-07-19 11:28:51 +00:00
Ben Gras
373df14150
pkg_install: these manpages were moved to man.
2010-07-19 10:47:11 +00:00
Ben Gras
f08922e848
include - string functions.
2010-07-19 10:46:49 +00:00
Ben Gras
ffe7e9166e
lib - extra file for libutil; strnstr and strcasestr from freebsd for libc.
2010-07-19 10:46:26 +00:00
Ben Gras
6ce51040a2
patch: fixes to use plan a (too) by Gautam Tirumala.
2010-07-19 10:40:48 +00:00
Ben Gras
34dd221af7
man - no more whoami, mdb (get installed from commands)
2010-07-18 22:19:34 +00:00
Ben Gras
dc2194efa7
man: add some pkgsrc pages; no more minix diff manpage
2010-07-18 22:15:10 +00:00
Ben Gras
ac66d329c7
mtree: add libexec; don't make any oss dirs.
2010-07-18 22:06:40 +00:00
Ben Gras
09c18bc918
lib: bugfix for mbstowcs, debugged by Gautam Tirumala.
2010-07-18 20:57:55 +00:00
Ben Gras
89df7fc91d
MAKEDEV: make /dev/uds
2010-07-18 19:20:36 +00:00
Ben Gras
a46b8b84d4
aal - don't install yourself as ar; must invoke aal explicitly for ack archives.
...
To make switching to 'ar' for gcc/clang archives smoother in the future.
2010-07-16 15:40:04 +00:00
Ben Gras
b05c989298
kernel - prettier output for ipc errors, call names instead of trap numbers
2010-07-16 15:36:29 +00:00
Erik van der Kouwe
98725c443e
Fix RS warning at start-up by inheriting scdeduling properties from init for unprivileged children of system processes
2010-07-16 14:56:05 +00:00
Tomas Hruby
7f47f4174d
Fixed comments in sched
...
- not only PM can send sched requests. RS too.
2010-07-16 09:40:12 +00:00
Ben Gras
6955228f39
rc - also add /usr/pkg/sbin to $PATH
2010-07-16 00:44:57 +00:00
Ben Gras
693bd970e7
sha1 manpage - fix #include
2010-07-16 00:19:19 +00:00
Ben Gras
7e8ed05df4
pkgsrc pkg_install tools, ported by Gautam Tirumala.
2010-07-16 00:15:25 +00:00
Ben Gras
0f7365e6af
link in new manpages
2010-07-16 00:15:03 +00:00
Ben Gras
09f03783ea
man - longer default manpath for packages and llvm
2010-07-16 00:13:50 +00:00
Ben Gras
84e730cbd8
new dirs for pkgsrc; new $PATH for pkg root and llvm
2010-07-16 00:13:27 +00:00
Ben Gras
4aca722796
lib - link in new u64 functions.
2010-07-16 00:12:51 +00:00
Ben Gras
28b533cf87
includes - link in new ones
2010-07-16 00:12:32 +00:00
Ben Gras
2a556de6d2
further sha2 conversion by Gautam Tirumala
2010-07-16 00:12:16 +00:00
Ben Gras
feaa082ea8
libutil - sha1 functions.
2010-07-16 00:11:16 +00:00
Ben Gras
117bac1e2d
libutil: md5 functions.
2010-07-16 00:06:00 +00:00
Ben Gras
6c66933f90
64-bit bitwise manipulation functions, by Gautam Tirumala.
2010-07-15 23:48:56 +00:00
Thomas Veerman
ee1b608bcf
Add/adjust man pages for UDS. Contributed by Thomas Cort
2010-07-15 14:56:49 +00:00
Thomas Veerman
d26290a017
Add test56 to test our UDS implementation. Contributed by Thomas Cort
2010-07-15 14:52:29 +00:00
Erik van der Kouwe
739f2d7536
Fix comment
2010-07-15 14:47:08 +00:00
Ben Gras
16d01fba85
mtree: dirs for pkgsrc
2010-07-15 14:29:07 +00:00
Thomas Veerman
f531dba2d2
Add support for UNIX Domain Sockets to the C lib. Contributed by Thomas Cort
2010-07-15 14:05:23 +00:00
Thomas Veerman
5aff633a0b
Make RS and VFS aware of new UDS major. Contributed by Thomas Cort
2010-07-15 13:51:38 +00:00
Thomas Veerman
ea19830de1
Add UNIX Domain Sockets internals to PFS. Contributed by Thomas Cort
2010-07-15 13:39:57 +00:00
Thomas Veerman
ecc8a52f82
Add getnucred system call. Contributed by Thomas Cort
2010-07-15 13:24:57 +00:00
Thomas Veerman
17a0731f28
Update header files to support UNIX Domain Sockets. Contributed by Thomas Cort
2010-07-15 12:48:15 +00:00
Thomas Veerman
ca0bed1400
Add EOVERFLOW error condition
2010-07-15 12:36:41 +00:00
Thomas Veerman
3404e8e4e5
Convert a few man pages to mandoc
2010-07-15 08:48:24 +00:00
Ben Gras
8a0c10fcb9
lib: mkdtemp(), contributed by by Gautam Tirumala
2010-07-14 22:45:28 +00:00
Ben Gras
2639ae9b17
libc: add db code from netbsd
2010-07-14 17:46:18 +00:00
Ben Gras
8d24932c80
lib: don't give back the same temporary filenames even if removed.
...
workaround for what seems to be a clang/llvm bug/assumption.
2010-07-14 15:18:50 +00:00
Ben Gras
4fcd34137c
includes: header files for netbsd db code.
2010-07-14 14:52:02 +00:00
Cristiano Giuffrida
20101b3bab
Remove patch leftovers.
2010-07-13 22:40:14 +00:00
Arun Thomas
e41c0b1a2d
Replace paxtar with bsdtar
2010-07-13 21:35:58 +00:00
Cristiano Giuffrida
f8a8ea0a79
Dynamic configuration in system.conf for boot system services.
2010-07-13 21:11:44 +00:00
Ben Gras
f6e558f5d4
errno EFTYPE
2010-07-13 20:05:47 +00:00
Ben Gras
9bb7552df5
remove old man.1
2010-07-13 19:49:12 +00:00
Ben Gras
ba759ef03e
new command: bsdtar.
2010-07-13 19:28:09 +00:00
Ben Gras
470ab03b86
libarchive port by Gautam Tirumala.
2010-07-13 19:17:02 +00:00
Ben Gras
9a14560daf
netconf: recognize another rtl8169-compatible model
2010-07-13 18:44:51 +00:00
Ben Gras
8b0dbff312
test44: suid root to call getsysinfo
2010-07-13 18:27:42 +00:00
Cristiano Giuffrida
8cedace2f5
Scheduling parameters out of the kernel.
2010-07-13 15:30:17 +00:00
Ben Gras
d4e41fd1f6
top-level Makefile: include info on clang-libraries target.
2010-07-13 14:13:27 +00:00
Ben Gras
0574bb5a63
lib: clang-libraries top-level target.
2010-07-13 14:11:31 +00:00
Ben Gras
835232d504
tests: fixes to accomodate growing OPEN_MAX and a logic error
2010-07-13 12:38:58 +00:00
Cristiano Giuffrida
60549b67be
Man pages for new system configuration.
2010-07-13 11:45:41 +00:00
David van Moolenbroek
1ecdac623a
libsys: add standard condition spinning primitives
2010-07-12 23:14:40 +00:00
David van Moolenbroek
78a0260993
datasizes(1): gcc/clang support
2010-07-12 23:12:21 +00:00
Ben Gras
dd19f8cd07
elle: minor changes to compile with non-ack.
2010-07-12 20:09:03 +00:00
Arun Thomas
bcaf746508
Import strsep() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:41:31 +00:00
Arun Thomas
652618e458
shquote() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:32:57 +00:00
Ben Gras
4ff8fdba57
unstack: filter for llvm internal symbols.
2010-07-12 17:03:29 +00:00
Ben Gras
78ce6f86f7
tests: turn of optimisation when compiling the tests, less unexpected optimisations.
2010-07-12 16:22:05 +00:00
Arun Thomas
590ff06418
Fix bsd.own.mk owners/objformat for pkgsrc
...
Contributed by Gautam Tirumala
2010-07-12 13:48:14 +00:00
Arun Thomas
4b30979086
Install(1): Allow -c option with -d
...
Contributed by Gautam Tirumala
2010-07-12 13:38:13 +00:00
Ben Gras
12e9303297
kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.
2010-07-12 10:11:50 +00:00
Arun Thomas
1cee6fe95e
Import asprintf() and vasprintf()
...
Ported from libnbcompat by Gautam Tirumala
2010-07-11 13:46:58 +00:00
Ben Gras
ae9fa7fdf6
rtl8169 driver: let it recognize an extra card that works too
2010-07-10 17:04:17 +00:00
Ben Gras
b4345d7598
test44: add bogus getsysinfo() to test invalid memory range request to vm
...
test case contributed by Roman Ignatov.
2010-07-10 00:24:43 +00:00
Kees van Reeuwijk
a5dfadeb70
Let string.h include stdint.h, since some programs, in particular llvm/clang,
...
assume that this happens.
2010-07-09 23:58:37 +00:00
Cristiano Giuffrida
8427d774b6
RS live update support.
2010-07-09 18:29:04 +00:00
David van Moolenbroek
895850b8cf
move timers code to libsys
2010-07-09 12:58:18 +00:00
Ben Gras
8c925134f9
vm: NONCONTIGUOUS - try to make physical memory as maximally noncontiguous
2010-07-09 12:22:33 +00:00
Arun Thomas
f3ce085913
Pull in NetBSD's queue.h (for pkgsrc)
2010-07-07 14:17:25 +00:00
David van Moolenbroek
8182a9d972
libdriver: don't panic so easily
2010-07-07 11:04:33 +00:00
Cristiano Giuffrida
1f8dbed029
RS crash recovery support.
2010-07-06 22:05:21 +00:00
Ben Gras
e920c1e1df
kernel: fix main prototype
2010-07-06 12:14:59 +00:00
Ben Gras
5859ad686b
boot: fix clang warnings.
2010-07-06 12:11:25 +00:00
Ben Gras
e698d818c6
commands: fixes for clang errors.
2010-07-06 12:10:23 +00:00
Ben Gras
68db8ed0b9
lib: fixes for warnings that clang has for libraries.
2010-07-06 12:08:22 +00:00
Ben Gras
f6f814cb02
include, kernel: minor fixes to make compiling and linking work with clang.
...
(fixing warnings)
2010-07-06 11:59:19 +00:00
Ben Gras
dc47875fc7
sys.mk: remove trailing whitespace.
2010-07-06 11:48:11 +00:00
Kees van Reeuwijk
0cfdb11450
Repair errors and warnings flagged by llvm.
2010-07-06 11:29:23 +00:00
Arun Thomas
368f77ceea
Fix building of image target
2010-07-06 09:19:04 +00:00
Cristiano Giuffrida
397575951e
Cleanup dep file.
2010-07-05 21:04:31 +00:00
Cristiano Giuffrida
3de6a807ce
Configure settings for system services dynamically with the new service edit command.
2010-07-05 19:37:08 +00:00
Ben Gras
42399159da
kernel: these asserts from r7657 are not reasonable
...
will fire if copy needs more than one try, which is legit.
2010-07-05 17:45:16 +00:00
Ben Gras
fc8f0b9ee2
vm: better fix for clang 'unused expression' warning
2010-07-05 17:34:26 +00:00
Ben Gras
7011e7c680
mk: add recognizing CC=clang, patch by Arun
2010-07-05 17:33:34 +00:00
Ben Gras
86139e8bf2
vm: last commit should not have included wiping out these calls
...
(this was done temporarily to make vm work with clang; vm crashes when
the 64-bit arithmetic functions are used when compiled with clang.)
2010-07-05 14:01:34 +00:00
Ben Gras
b4bea1bfcb
vm: fixes for clang warnings
2010-07-05 13:58:57 +00:00
Ben Gras
545054c608
kernel: use MF_KCALL_RESUME instead of RTS_VMREQUEST for memcopy retry.
...
solves tracker item 499, submitted by Roman Ignatov.
2010-07-04 23:09:24 +00:00
Kees van Reeuwijk
9fd2d72ce8
Llvm-inspired code cleanup.
2010-07-04 23:01:32 +00:00
Ben Gras
01fcee7d71
ash: make test/expr support 'file1 -ot file2'
2010-07-03 22:18:11 +00:00
David van Moolenbroek
4d3c887d6b
at_wini: rename 'ata_instance' to 'instance'
2010-07-03 17:51:12 +00:00
David van Moolenbroek
4392e004f8
bring back mdb (Bug#501, reported by Roman Ignatov)
2010-07-03 10:25:19 +00:00
Erik van der Kouwe
37325bd7c5
Make service ABI backwards compatible again
2010-07-03 05:02:59 +00:00
Thomas Veerman
34a2864e27
Fix a few compile time warnings
2010-07-02 12:41:19 +00:00
David van Moolenbroek
9a37f63263
netconf: psip0 is not a driver (Bug#500, reported by Roman Ignatov)
2010-07-02 11:22:42 +00:00
Kees van Reeuwijk
630f566d3f
Convert a few main() functions to a form that the clang compiler likes.
2010-07-01 22:23:25 +00:00
Cristiano Giuffrida
03f64ac97a
Self update support in RS.
2010-07-01 18:48:25 +00:00
David van Moolenbroek
71dbe2d023
ramdisk rc: start disk drivers synchronously.
...
This eliminates a race condition between the disk driver calling
sys_statectl(SYS_STATE_CLEAR_IPC_REFS) as part of driver_announce(),
and the root MFS calling sendrec(DEV_OPEN) on the disk driver.
2010-07-01 14:35:47 +00:00
Tomas Hruby
97eb470bee
Fix
2010-07-01 12:31:53 +00:00
Tomas Hruby
7920d48156
FPU cleanup
...
- last reference to MF_USED_FPU removed
- proc_used_fpu() used to test for MF_FPU_INITIALIZED
2010-07-01 12:23:25 +00:00
Erik van der Kouwe
b5ae3961bb
Fix unintended changes in r7614
2010-07-01 11:56:02 +00:00
David van Moolenbroek
06a0260c3c
PCI: add AHCI T3 and subclass values
2010-07-01 09:20:36 +00:00
David van Moolenbroek
2488cc6442
PCI: expose BAR sizes
2010-07-01 09:10:16 +00:00
Cristiano Giuffrida
9e4312453d
Improve memory pinning.
2010-07-01 08:54:25 +00:00
Erik van der Kouwe
4690e8b015
Opps, forgot to svn add these files
2010-07-01 08:38:15 +00:00
Erik van der Kouwe
23284ee7bd
User-space scheduling for system processes
2010-07-01 08:32:33 +00:00
Tomas Hruby
b17e3adb60
drivers/ builds in parallel (make -j N)
2010-07-01 07:39:36 +00:00
Erik van der Kouwe
5c591816cb
Remove warning in inet; this situation is harmless and can be caused by a race
2010-07-01 06:14:38 +00:00
Erik van der Kouwe
5e602d3dab
Put rs.single on initial ramdisk to prevent potential race when readclock terminates early
2010-07-01 06:14:06 +00:00
Ben Gras
0ad4e16985
packman: use fetch instead of urlget
2010-07-01 00:10:07 +00:00
Ben Gras
47b58b2ebb
fetch command
2010-07-01 00:06:41 +00:00
Ben Gras
65be30daed
libfetch - move fetch.3 to man and fetch.h to include
2010-07-01 00:05:48 +00:00
Ben Gras
429639f938
lib: added libfetch
2010-06-30 23:55:55 +00:00
Ben Gras
098412be83
small fixes for pkgsrc by Buccapatnam Tirumala, Gautam.
2010-06-30 12:18:34 +00:00
David van Moolenbroek
9313bc9a6f
fix dec21140A driver (reported by zvolkov)
2010-06-29 11:45:32 +00:00
Cristiano Giuffrida
180358ffb4
Give RS a page table.
2010-06-28 22:07:49 +00:00
Cristiano Giuffrida
06700d05d1
Give RS a page table.
2010-06-28 21:53:37 +00:00
Cristiano Giuffrida
869a223d43
service clone command to clone system services on demand.
2010-06-28 21:38:29 +00:00
Ben Gras
635a8f772c
memory driver: use mmap to pre-allocate ramdisks to avoid overcommit.
2010-06-28 18:12:32 +00:00
Ben Gras
f044bd10ef
make ps and top use sanity checking kernel proc table retrieval
2010-06-28 11:05:34 +00:00
Ben Gras
8379b08845
library function to retrieve kernel proc table and sanity check it
2010-06-28 11:05:15 +00:00
Tomas Hruby
67fa273d00
MF_REPLY_PEND should be removed when sendrec finishes
2010-06-28 08:32:49 +00:00
Ben Gras
b9f53528ee
sep ${.OBJDIR} fixes by Antoine Leica.
2010-06-27 23:47:59 +00:00
Ben Gras
6e47e2996f
sep ${.OBJDIR} fixes by Antoine Leica.
2010-06-27 23:47:23 +00:00
Ben Gras
a3db59df6f
sep ${.OBJDIR} fixes by Antoine Leica.
2010-06-27 23:46:23 +00:00
Ben Gras
dbfb70134c
sep. ${.OBJDIR} fixes, contributed by Antoine Leica.
2010-06-27 23:45:30 +00:00
Ben Gras
831edb6614
no makewhatis.
2010-06-27 23:38:17 +00:00
David van Moolenbroek
53866b1ebb
oops.
2010-06-27 17:20:17 +00:00
David van Moolenbroek
71435d15cf
HGFS: statvfs support
2010-06-27 17:19:50 +00:00
Ben Gras
d24348c636
man - statvfs(5) manpage
2010-06-27 15:52:50 +00:00
Ben Gras
6ef440c03b
statvfs manpage.
2010-06-27 15:40:06 +00:00
Ben Gras
f1faf0d327
no more minix whoami
2010-06-27 14:07:43 +00:00
Arun Thomas
1f20814fe8
Fix grep test 4 in testsh1
2010-06-27 10:59:14 +00:00
Cristiano Giuffrida
377f4e7e31
Fix and comment a race in SEF Init
2010-06-27 09:01:15 +00:00
Ben Gras
f200f53a0b
teach packman about new id (tracker item 489)
2010-06-26 23:10:24 +00:00
Kees van Reeuwijk
5eb6f6e922
Fixed a type declaration inconsistency.
2010-06-26 21:13:36 +00:00
Arun Thomas
e2d45ae24c
Update docs/UPDATING
2010-06-26 20:33:57 +00:00
Ben Gras
d2dbe5b2ae
install man.conf from commands/man
2010-06-26 11:20:47 +00:00
Arun Thomas
2fc2748c5a
Add missing share/mk/Makefile
2010-06-26 08:01:30 +00:00
Ben Gras
2793cb097b
bigger default manpath
2010-06-26 02:47:45 +00:00
Ben Gras
b24f63f996
man.conf
2010-06-26 02:43:31 +00:00
Ben Gras
a1a12bbc34
man: throw out *whatis
2010-06-26 02:37:41 +00:00
Ben Gras
01b5238d50
getsubopt: use regular assert()s
2010-06-26 02:37:17 +00:00
Ben Gras
a187743e75
netbsd man
2010-06-26 02:35:08 +00:00
Ben Gras
24cb4e60fc
no more minix man
2010-06-26 02:33:49 +00:00
Ben Gras
3f22092d45
import mdocml.
2010-06-26 02:20:06 +00:00
Ben Gras
2f3c9c04cc
chrootmake: don't call makewhatis any more
2010-06-26 01:56:28 +00:00
Ben Gras
74c06cfc43
commands: less is more.
2010-06-26 01:41:19 +00:00
Ben Gras
8003edc357
don't call makewhatis
2010-06-26 01:10:04 +00:00
Ben Gras
6ebe0cdf82
no more minix more, *whatis
2010-06-26 01:08:31 +00:00
Ben Gras
aa6ff4c8be
lib: setprogname() + getsubopt()
2010-06-26 00:44:24 +00:00
Arun Thomas
8e0253ac3d
Make: Updates from NetBSD
...
Needed for pkgsrc
2010-06-25 23:25:48 +00:00
Arun Thomas
e10916476a
Move mkfiles from /etc/mk to /usr/share/mk
...
Simplifies pkgsrc porting.
2010-06-25 19:33:56 +00:00
Arun Thomas
c0c8d25799
Rename mkfiles from minix.*.mk to bsd.*.mk
...
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00
Ben Gras
9dc7c1f081
man: remove id, touch
2010-06-25 17:18:45 +00:00
Ben Gras
373aecf3cd
commands: id from netbsd; touch from bsd-utils port
2010-06-25 17:14:56 +00:00
Ben Gras
bfeecdbf62
no more minix touch, id
2010-06-25 17:13:57 +00:00
Erik van der Kouwe
c0dfa2f3f1
Get rid of asynsend backup copy in VFS
2010-06-25 14:57:54 +00:00
Cristiano Giuffrida
5c7d64b981
No malloc() in VM.
2010-06-25 12:48:56 +00:00
Erik van der Kouwe
6011237232
Extra sync to reduce damage of failing shutdowns
2010-06-24 14:56:03 +00:00
Kees van Reeuwijk
25dc0fc376
Some standard Unix functions were feature-dependent on _MINIX.
2010-06-24 14:17:25 +00:00
Erik van der Kouwe
fe07e7c984
Optional IPC logging
2010-06-24 13:31:40 +00:00
Erik van der Kouwe
3985311b2e
Beng's boot fix
2010-06-24 12:29:13 +00:00
Erik van der Kouwe
26ebfa1ce1
Revert bad prior reversion
2010-06-24 12:27:58 +00:00
Ben Gras
b3a0a2d86f
kernel: don't initialize catch_pagefaults at the extern declaration.
2010-06-24 12:23:23 +00:00
Erik van der Kouwe
e8d30bba65
Beng's boot fix
2010-06-24 12:20:01 +00:00
Ben Gras
33c9d427fd
mfs - added put_block() to statvfs loop.
2010-06-24 10:56:45 +00:00
Erik van der Kouwe
498d7d8a4c
Don't use kernel responses in servers
2010-06-24 07:37:26 +00:00
Ben Gras
491efeead9
mfs - revert part of previous commit; should not have been commited
2010-06-24 00:32:17 +00:00
Ben Gras
762665cec1
some prettification for test55.
2010-06-24 00:27:26 +00:00
Ben Gras
e3354a8556
test 55 for statvfs. fix formatting bug in test54.
2010-06-24 00:06:40 +00:00
Ben Gras
6cd2d1218e
mfs - statvfs call, by Buccapatnam Tirumala, Gautam.
2010-06-23 23:58:16 +00:00
Ben Gras
4b496e29bd
iso9660fs - statvfs call, by Buccapatnam Tirumala, Gautam.
2010-06-23 23:57:26 +00:00
Ben Gras
13b5dd4a82
statvfs/fstatvfs entries.
2010-06-23 23:56:36 +00:00
Ben Gras
fc01683584
include, vfs: statvfs, fstatvfs calls, contributed by Buccapatnam Tirumala, Gautam.
2010-06-23 23:53:50 +00:00
Ben Gras
45e4cce8c2
libc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam.
2010-06-23 23:51:29 +00:00
Ben Gras
79d62892ad
includes: statvfs support, contributed by Buccapatnam Tirumala, Gautam
2010-06-23 23:46:10 +00:00
Ben Gras
ac310cbe09
boot: restore setting stack size, and remove wrong experimental
...
#ifndef DOS that shouldn't have been committed.
2010-06-23 16:24:40 +00:00
Erik van der Kouwe
50539c12f5
Remove obsolete mstats call
2010-06-23 10:43:08 +00:00
Tomas Hruby
76708e9bf4
mini_receive() clean up
...
- for better readability xpp is substitued by sender
- makes sure that the dequeued sender has p_q_link == NULL and that
this condition holds when enqueuing the sender again. This is a
sanity check to make sure that the new sender is not enqueued
already
- Before this change the dequeued sender's p_q_link may not be NULL
and it was only set to NULL when enqueued again
2010-06-23 10:36:19 +00:00
Erik van der Kouwe
921bacd244
Fix packman for new grep, which doesn't support \+ in BREs
2010-06-23 08:12:40 +00:00
Ben Gras
f2c3cbab00
test for pwrite() (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 22:07:23 +00:00
Ben Gras
24a5f48921
lib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 22:04:43 +00:00
Ben Gras
d78ae27865
advent: support ${.OBJDIR} != ${.CURDIR}, tracker item 486
2010-06-22 21:56:38 +00:00
Ben Gras
ddc3f62290
strptime() for minix.
2010-06-22 21:42:49 +00:00
Ben Gras
08f731bae0
original strptime.
2010-06-22 21:41:56 +00:00
Ben Gras
08e4312998
forget netbsd strptime.
2010-06-22 21:41:20 +00:00
Ben Gras
c7050eea55
original netbsd strptime
2010-06-22 21:37:54 +00:00
Ben Gras
81399e75ad
no WARNS
2010-06-22 21:24:50 +00:00
Ben Gras
6189062d12
cut fixes
2010-06-22 21:24:14 +00:00
Ben Gras
988b95f150
minix cut, printf from netbsd
2010-06-22 21:22:53 +00:00
Ben Gras
ff26d9a4ff
original netbsd printf, cut
2010-06-22 21:20:54 +00:00
Ben Gras
2ac57865cb
no more minix cut, printf
2010-06-22 21:19:42 +00:00
Ben Gras
86e323da6b
correct to S_IFSOCK
2010-06-22 16:35:48 +00:00
Ben Gras
81056ac999
stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 16:22:17 +00:00
Ben Gras
575d055f90
rename __ss_family to ss_family. (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 16:21:21 +00:00
Ben Gras
d6af53bec0
boot: fix dosboot build and link to build.
2010-06-22 15:45:53 +00:00
Ben Gras
d1c117ec80
easypack: don't invoke binsizes
2010-06-22 15:44:47 +00:00
Ben Gras
32c757b12c
chrootmake: don't invoke binsizes.
2010-06-22 15:44:29 +00:00
Ben Gras
ee1134da9d
fortune: install fortune.dat in /usr/lib
2010-06-22 15:29:35 +00:00
Ben Gras
ac6e455f16
. make sed understand \t
...
. install it in /bin, where minix rc expects it
2010-06-22 15:28:07 +00:00
Cristiano Giuffrida
ad1f2f2d78
Fix misplaced comment.
2010-06-22 15:10:06 +00:00
Ben Gras
0c03a6a50f
binpackage: don't call binsizes.
2010-06-22 14:21:34 +00:00
Ben Gras
c8372f31f8
make: don't link with -g as nm can't read the symbol table any more.
2010-06-22 14:00:42 +00:00
Ben Gras
5946b9d41d
includes: S_ISSOCK and S_ISOCK
2010-06-22 13:37:33 +00:00
Tomas Hruby
21725c107d
cd subdir && $(MAKE) targets -> $(MAKE) -C subdir targets
...
- first step towards parallel building
2010-06-22 12:03:09 +00:00
Kees van Reeuwijk
3eed5d3bdb
Sort out problems with POSIX constants.
2010-06-22 10:50:03 +00:00
Ben Gras
15210b3e06
forget about multiple zeros on non-ack compiler, tracker item 457
2010-06-22 09:40:04 +00:00
Ben Gras
556faf0d3a
minix netbsd diff
2010-06-22 09:38:20 +00:00
Ben Gras
82dee9dbc3
add LC_MESSAGES
2010-06-22 09:31:16 +00:00
Ben Gras
3cb1096425
new stdbool.h
2010-06-22 09:30:52 +00:00
Ben Gras
4383596e9d
includes: small fixes and additions to help compiling programs.
2010-06-22 09:30:26 +00:00
Ben Gras
e68d8eb1ff
original openbsd diff
2010-06-22 00:47:52 +00:00
Ben Gras
4c0a9db684
no more minix diff
2010-06-22 00:46:55 +00:00
Ben Gras
6dd606eabf
no more minix sed, patch man pages
2010-06-22 00:44:20 +00:00
Ben Gras
4269db3991
minix patch port
2010-06-22 00:41:23 +00:00
Ben Gras
f50f1bf7d6
original netbsd patch
2010-06-22 00:41:00 +00:00
Ben Gras
6657c0e58e
no more minix patch
2010-06-22 00:39:57 +00:00
Ben Gras
582c0ed74d
netbsd sed for minix
2010-06-22 00:36:21 +00:00
Ben Gras
707fbb966d
original netbsd sed
2010-06-22 00:33:14 +00:00
Ben Gras
1b2189c205
no more minix sed.
2010-06-22 00:32:21 +00:00
Ben Gras
a89bcc465b
mfs: minor cleanup of readahead: they can be private to read.c.
2010-06-21 18:25:04 +00:00
Erik van der Kouwe
e2730c3e2f
Recognize Intel 82558B, contributed by Sergei Antonov
2010-06-21 17:08:37 +00:00
Ben Gras
029d91baa9
no more minix grep man pages.
2010-06-21 14:42:53 +00:00
Ben Gras
cedc0404e1
force gcc to look in ../../../include before /usr/local/include
2010-06-20 12:32:41 +00:00
Ben Gras
137495002d
grep: unsigned chars to fix gcc warnings.
2010-06-20 12:31:55 +00:00
Ben Gras
28663f45d6
fixes for minix grep
2010-06-20 11:55:19 +00:00
Ben Gras
bb830fc0d3
original openbsd grep (freegrep)
2010-06-20 11:54:40 +00:00
Ben Gras
f19304bf22
oops, that was the minx grep port; undo previous commit.
2010-06-20 11:54:03 +00:00
Ben Gras
1d14529942
original openbsd freegrep
2010-06-20 11:49:38 +00:00
Ben Gras
5b40436aaf
remove minix greps.
2010-06-20 11:48:00 +00:00
Ben Gras
d78494cd6e
fgetln() prototype
2010-06-20 11:46:50 +00:00
Erik van der Kouwe
330374be9e
Fix unlikely race (or crawl?) condition in case going from alarm to ioctl takes more than 1 second
2010-06-20 07:30:53 +00:00
Erik van der Kouwe
90285c46a2
Packman also recognizes package names with no or partial version number
2010-06-20 06:39:23 +00:00
Ben Gras
6c0fcd575e
lib: getproname: only return last path component
2010-06-20 00:24:35 +00:00
Ben Gras
3cc5e1add4
lib: no visibility features; fixes gcc warnings
2010-06-20 00:24:11 +00:00
Ben Gras
2144b289de
getprogname(), setprogname() prototypes
2010-06-18 14:03:13 +00:00
Ben Gras
f60593cc35
libraries: fgetln() from pkgsrc branch.
2010-06-18 14:02:00 +00:00
Tomas Hruby
6bc21b6992
Cycle counters zeroed after fork for the child
2010-06-18 14:01:34 +00:00
Erik van der Kouwe
11193f5fa4
Don't allow PM to sys_kill itself, this causes a race with RS calling waitpid during shutdown
2010-06-18 13:49:07 +00:00
Tomas Hruby
8214e5e284
Removed racy COW optimization
...
- enabling writing in COW once phys block is reference only once is racy if VM
is preemptible. original memory location may get overwritten before COW copies
the memory
- problem when DEBUG_RACE is on and a big problem for SMP
2010-06-18 12:46:18 +00:00
Cristiano Giuffrida
ad5771aa28
Don't forget about pending signals coming from the kernel.
2010-06-18 12:04:20 +00:00
Arun Thomas
042b5bf606
We have sys/cdefs.h now, so remove hacks.
2010-06-17 15:14:57 +00:00
Ben Gras
7b7091e905
zlib includes in lib/libz, install them too in /usr/include from toplevel makefile.
2010-06-17 15:05:20 +00:00
Ben Gras
ae947059e6
libraries, includes: libz: original libz source files with minix makefile.
2010-06-17 13:29:20 +00:00
Erik van der Kouwe
d59c49aecb
Work around vfs/inet/eth race by avoiding non-blocking ioctl in dhcpd
2010-06-17 12:14:33 +00:00
Erik van der Kouwe
6312d7238b
bzip2 is now the default for releases
2010-06-17 12:00:55 +00:00
David van Moolenbroek
0964b221e7
ash: expr -e support
2010-06-16 09:33:11 +00:00
Ben Gras
482afb8a6f
<sys/mman.h>: include <minix/type.h> instead of <minix/types.h> for endpoint_t
2010-06-14 20:33:14 +00:00
Ben Gras
423db7d35a
binpackage: let's use the find -prune option to skip hierarchies.
2010-06-14 20:31:52 +00:00
David van Moolenbroek
eeab8e0680
libdriver: make partition code use a contiguous buffer
2010-06-13 10:40:22 +00:00
Arun Thomas
1b2c01db1b
Makefile updates:
...
Turn on optimization
Remove some redundancy in FLAGS
2010-06-11 16:05:36 +00:00
Ben Gras
19b790eb53
vfs: don't use a mountpoint if it's in use for anything else.
...
(this avoids data structure confusion if a mountpoint is reused as
a mountpoint until that's properly fixed.)
2010-06-11 11:41:56 +00:00
Thomas Veerman
4d7c317700
Fix wrong field for stack address and a typo.
2010-06-11 11:17:31 +00:00
Thomas Veerman
f838e3c204
Also install getcontext and makecontext man pages
2010-06-11 11:03:47 +00:00
Tomas Hruby
360de619c0
No linear addresses in message delivery
...
- removes p_delivermsg_lin item from the process structure and code
related to it
- as the send part, the receive does not need to use the
PHYS_COPY_CATCH() and umap_local() couple.
- The address space of the target process is installed before
delivermsg() is called.
- unlike the linear address, the virtual address does not change when
paging is turned on nor after fork().
2010-06-11 08:16:10 +00:00
Arun Thomas
1bf6d23f34
Make exec() use entry point in a.out header
2010-06-10 14:59:10 +00:00
Arun Thomas
f0a158d8c1
More cleanup to remove MM and FS references
2010-06-10 14:04:46 +00:00
David van Moolenbroek
2758519ed2
Change default hostname resolution order
...
Hostnames that contain at least one period, are now first attempted
to be resolved as FQDNs, before adding local domains is tried.
2010-06-10 11:14:36 +00:00
Erik van der Kouwe
65764218f7
Remove dependency of release.sh on bc, du option to give overhead totals
2010-06-10 11:14:04 +00:00
Erik van der Kouwe
a8cf207549
release.sh: avoid egrep -x which the base system doesn't support
2010-06-09 14:32:19 +00:00
Arun Thomas
eec65ac664
Rename tell_fs to tell_vfs
2010-06-09 14:31:30 +00:00
Ben Gras
4fe558f44f
issue.install: 3.1.8
2010-06-09 14:02:35 +00:00
Ben Gras
1ce7983ee3
lib: declarations that needed ANSIfication since prototypes are declared
2010-06-09 13:01:11 +00:00
Ben Gras
c1b4cc24e4
ash: getmode in global includes now
2010-06-09 12:58:03 +00:00
Ben Gras
61db813ff6
find: fix warnings + error
2010-06-09 12:53:51 +00:00
Ben Gras
ac34bfd42b
inlcude: new prototypes
2010-06-09 12:53:09 +00:00
Ben Gras
8fea317779
man: no more minix find manpage
2010-06-09 12:30:25 +00:00
Ben Gras
6704520919
commands: import of netbsd find
2010-06-09 12:27:36 +00:00
Ben Gras
fcd2a802a8
commands/find: original netbsd find
2010-06-09 12:19:38 +00:00
Ben Gras
13d50be356
commands, man: remove minix find
2010-06-09 12:17:42 +00:00
Ben Gras
6faa2a636c
ash: remove setmode() declaration from shell.h, now in library
2010-06-09 12:11:56 +00:00
Ben Gras
e216edf294
unistd.h: add setmode() prototype.
2010-06-09 12:11:33 +00:00
Ben Gras
769302d3d6
err.h: include prototypes for new err* and warn* functions.
2010-06-09 12:11:13 +00:00
Ben Gras
c046958745
crtso.S: save *argv[] and argc globally, to be used by getprogname().
2010-06-09 12:10:31 +00:00
Ben Gras
ba9990cc00
libc: minor minix changes for new netbsd files
2010-06-09 12:09:39 +00:00
Ben Gras
60d52d68da
libc: add original netbsd files
2010-06-09 12:08:32 +00:00
Ben Gras
a0147a8c32
libutil: minix efun.c
2010-06-09 12:05:53 +00:00
Ben Gras
7b87ff5b11
libutil: original netbsd efun.c
2010-06-09 12:05:04 +00:00
Ben Gras
d7490d374d
includes: minix <util.h>
2010-06-09 12:03:19 +00:00
Ben Gras
b697b67d53
includes: original netbsd <util.h>
2010-06-09 12:02:20 +00:00
Thomas Veerman
be6490f4b3
Turn off debug message.
2010-06-09 11:05:16 +00:00
Ben Gras
a6e357da22
kernel: fix assert condition after a caught in-kernel pagefault
2010-06-09 10:59:57 +00:00
Thomas Veerman
a0eaaa5c9f
Fix a bug in put_inode that causes corruption to the file system and another
...
bug that causes problems when files grow bigger than a certain threshold. Also
fix a few type and code inconsistencies.
2010-06-09 09:56:43 +00:00
Tomas Hruby
1207fcc6f0
int to endpoint_t conversions in mmap
2010-06-09 09:14:53 +00:00
Ben Gras
cccfe8e0ce
lib: move tzfile.h from lib/libc/stdtime/ to include/ for general usage.
2010-06-08 19:11:42 +00:00
Kees van Reeuwijk
826b9590f2
More endpoint_t correctness.
...
More const correctness.
Other code cleanup.
2010-06-08 14:09:18 +00:00
Arun Thomas
4c10a31440
Remove legacy MM, FS, and FS_PROC_NR macros
2010-06-08 13:58:01 +00:00
Erik van der Kouwe
7bd7946346
Remove redundant macro cproc_addr
2010-06-08 13:38:44 +00:00
Erik van der Kouwe
78186ee5f5
Add endpoint checks in scheduling kernel calls
2010-06-08 12:04:21 +00:00
Ben Gras
49165ef796
support for ukranian (charse koi8-u) contributed by Roman Ignatov.
2010-06-08 01:04:52 +00:00
Ben Gras
31adc0a3c4
vm: junkfree feature that fills freed pages with a recognizable pattern.
2010-06-08 00:59:48 +00:00
Ben Gras
a09a8d4f3e
kernel: fix for vm_init that triggered assert(ptproc == newptproc)
...
- zero cr3 in vm_init() to avoid switch_address_space() not doing anything.
- add vm_stop() to disable paging on shutdown.
2010-06-07 22:21:45 +00:00
Ben Gras
277ff6f2ce
e1000: map in 0x1000 of flash if 0x10000 fails.
2010-06-07 16:30:10 +00:00
Ben Gras
f448dfe063
version: trunk will become 3.1.8.
2010-06-07 15:57:14 +00:00
Thomas Veerman
4b6b1bc47a
Fix typo
2010-06-07 13:46:05 +00:00
Ben Gras
a98b9ca8dc
tools: fix installing includes.
2010-06-07 10:10:27 +00:00
Tomas Hruby
cbc9586c13
Lazy FPU
...
- FPU context is stored only if conflict between 2 FPU users or while
exporting context of a process to userspace while it is the active
user of FPU
- FPU has its owner (fpu_owner) which points to the process whose
state is currently loaded in FPU
- the FPU exception is only turned on when scheduling a process which
is not the owner of FPU
- FPU state is restored for the process that generated the FPU
exception. This process runs immediately without letting scheduler
to pick a new process to resolve the FPU conflict asap, to minimize
the FPU thrashing and FPU exception hadler execution
- faster all non-FPU-exception kernel entries as FPU state is not
checked nor saved
- removed MF_USED_FPU flag, only MF_FPU_INITIALIZED remains to signal
that a process has used FPU in the past
2010-06-07 07:43:17 +00:00
Arun Thomas
b641afc78a
VM: Remove legacy non-paging code paths
2010-06-05 14:39:40 +00:00
Erik van der Kouwe
e7e6508854
Enter package names in packman
2010-06-05 13:25:41 +00:00
Cristiano Giuffrida
354d88f883
Put initialization code where it belongs.
2010-06-04 18:08:15 +00:00
Cristiano Giuffrida
a53514d4a9
Fix range checking in safecopy.
2010-06-04 18:05:38 +00:00
Arun Thomas
8c69c6cd7f
Remove gcc-4.1.1 from packages list
2010-06-04 12:36:40 +00:00
Tomas Hruby
f28acecb78
Removed a buggy assert unintentionally commted in r7044
2010-06-04 10:54:43 +00:00
Erik van der Kouwe
8afc228c48
This patch changes the release script in the following ways:
...
- A staging directory is always used to avoid oversized images;
- As a consequence, the zero-filling is removed so no more "out of
space" errors should be printed to the console;
- The root and usr partition sizes are computed so less space should be
wasted (the root partition gets extra 1MB zones and 64 inodes for
run-time though and hardlinks/holes make the used space slightly less
than expected); USRMB (and the new ROOTMB) are now used to enforce
a minimum size rather than set the size;
- TMPDISK1-3 are renamed to more meaningful names (and TMPDISK2 is
dropped because a separate tmp directory is no longer needed);
- The ramdisks are truncated at the end to save memory (not sure
whether it is actually released though).
2010-06-04 05:09:44 +00:00
Erik van der Kouwe
1bb7c4d78a
Create link for lstat
2010-06-04 04:44:09 +00:00
Ben Gras
2f892aca91
kernel fpu context switching: fix race condition
...
There seems to have been a broken assumption in the fpu context
restoring code. It restores the context of the running process, without
guarantee that the current process is the one that will be scheduled.
This caused fpu saving for a different process to be triggered without
fpu hardware being enabled, causing an fpu exception in the kernel. This
practically only shows up with DEBUG_RACE on. Fix my thruby+me.
The fix
. is to only set the fpu-in-use-by-this-process flag in the
exception handler, and then take care of fpu restoring when
actually returning to userspace
And the patch
. translates fpu saving and restoring to c in arch_system.c,
getting rid of a juicy chunk of assembly
. makes osfxsr_feature private to arch_system.c
. removes most of the arch dependent code from do_sigsend
2010-06-03 11:32:22 +00:00