b3ab0cb03a
Fixed some warnings
Erik van der Kouwe
2009-08-17 18:48:57 +00:00
fcbb7ac780
Fixed some warnings
Erik van der Kouwe
2009-08-17 18:48:27 +00:00
2d7dfd1a46
Fix warning in panic
Erik van der Kouwe
2009-08-17 17:56:34 +00:00
bd2dd15cc6
Missing defines preventing recursive includesion in some include/sys/*.h files
Tomas Hruby
2009-08-17 14:34:14 +00:00
d1b4c5be5b
Removed obsolete declarations in include/ipc.h
Erik van der Kouwe
2009-08-16 15:12:07 +00:00
f5421e64f8
Nanosleep was implemented twice, removed from _sleep.c
Erik van der Kouwe
2009-08-16 12:55:59 +00:00
3573bc1abe
Function nanosleep now checks arguments
Erik van der Kouwe
2009-08-16 12:13:33 +00:00
83b84cbe64
Man page for new function nanosleep(3), updated man page for sleep(3)
Erik van der Kouwe
2009-08-16 12:12:40 +00:00
247e1e8fa8
man page fix: sigaction.2 signals list
David van Moolenbroek
2009-08-15 23:27:32 +00:00
769a0cdb35
PM: make SIGBUS, but not SIGUSR1 or SIGUSR2, cause a core dump
David van Moolenbroek
2009-08-15 23:23:24 +00:00
ff6318d559
run test 41, too (oops)
David van Moolenbroek
2009-08-15 22:31:38 +00:00
5a13b2eda8
nanosleep(3), and sleep(3) rewrite, by Erik van der Kouwe
David van Moolenbroek
2009-08-15 22:14:48 +00:00
323f0abdd6
Support for setitimer(ITIMER_VIRTUAL/ITIMER_PROF). New test (41) for setitimer.
David van Moolenbroek
2009-08-15 21:37:26 +00:00
d82e260a90
Support for setitimer(ITIMER_REAL).
David van Moolenbroek
2009-08-15 16:09:32 +00:00
062bb2c1e8
fix test14's "clever" (broken) filename generation
David van Moolenbroek
2009-08-15 15:13:57 +00:00
4db12454e9
awk: support for whitespace between array name and bracket
David van Moolenbroek
2009-08-15 12:05:41 +00:00
708929bc32
awk: support for ENVIRON
David van Moolenbroek
2009-08-15 11:34:41 +00:00
88f7b63019
u64_t for human beings - the high and low parts are named hi and lo, lib/sysutil/profile.c updated accordingly
Tomas Hruby
2009-08-13 15:47:49 +00:00
aae63b5410
move _mount.c from lib/posix to lib/other
David van Moolenbroek
2009-08-13 09:55:50 +00:00
f50d94b793
Fixed compilation issue.
Thomas Veerman
2009-08-13 09:02:43 +00:00
c2ffe723d1
- Moved (u)mount prototypes from unistd.h to sys/mount.h. - Prepared mount system call to accept multiple mount flags instead of just read_only (however, it remains backwards compatible). - Updated the man mount(2) to reflect new header file usage. - Updated badblocks, newroot, mount, and umount commands to use the new header file.
Thomas Veerman
2009-08-12 19:57:37 +00:00
1defc4fc3a
compile and install mdb(1) by default again
David van Moolenbroek
2009-08-11 09:08:33 +00:00
09a47e6a40
vm_assert macros fix up
Tomas Hruby
2009-08-11 07:53:32 +00:00
b8eedfee6b
Lance cleanup
Arun Thomas
2009-07-22 12:36:19 +00:00
df41717f44
Fixed case error
Thomas Veerman
2009-07-22 08:59:57 +00:00
5a370afc8e
MFS put_inode issues (reported by Maurizio Lombardi)
David van Moolenbroek
2009-07-22 08:54:28 +00:00
0be5720af1
Fix VirtualBox Lance bug; ec_reinit should be called only once.
Arun Thomas
2009-07-21 13:13:45 +00:00
70d25344a2
Added select test
Thomas Veerman
2009-07-14 09:43:33 +00:00
ce916bcb91
Fixed a minor select bug: - When one does a select on a file descriptor that is meaningless for that particular file type, select shall indicate that the file descriptor is ready for that particular operation and that the file descriptor has no exceptional condition pending.
Thomas Veerman
2009-07-14 09:39:05 +00:00
b21beea985
IS: fix up PM flags field somewhat
David van Moolenbroek
2009-07-12 15:30:59 +00:00
1d0e43c8f1
make remove(3) remove directories as well
David van Moolenbroek
2009-07-12 14:44:37 +00:00
f80aaae86a
MFS: remove some redundant code (reported by Maurizio Lombardi)
David van Moolenbroek
2009-07-12 13:57:34 +00:00
013241a006
RS: the plural of 'child' is 'children'
David van Moolenbroek
2009-07-11 17:59:05 +00:00
cf89d27218
make unstack work on gcc-compiled binaries
David van Moolenbroek
2009-07-11 17:55:24 +00:00
9e075d8623
PM cleanup: remove unused fields from mproc structure
David van Moolenbroek
2009-07-11 17:15:33 +00:00
1a9e07b0e5
PM: fix ptrace(T_EXIT) 'exit_proc: not idle' race condition.
David van Moolenbroek
2009-07-11 13:22:56 +00:00
14f3a0e018
PM: add clarifying comment about exiting system processes early (thanks Philip)
David van Moolenbroek
2009-07-11 11:19:39 +00:00
9808816c14
MFS fixes: - Don't dereference NULL dir inode in advance_* (reported by Maurizio Lombardi) - Fix potential inode reference leak in fs_slink_*
David van Moolenbroek
2009-07-11 10:36:57 +00:00
73c5bbf1a3
PM: add EXITING process flag as stopgap between starting coredump and setting ZOMBIE flag
David van Moolenbroek
2009-07-09 22:33:56 +00:00
1450a8ac6d
let IS call getuptime()
David van Moolenbroek
2009-07-09 20:54:35 +00:00
f15d1fb13d
Fix race condition in test 25
David van Moolenbroek
2009-07-09 11:44:35 +00:00
693a6652ca
PM cleanup: remove obsolete HAS_DMA flag
David van Moolenbroek
2009-07-08 20:08:46 +00:00
67d986f882
PM cleanup: merge exit and coredump paths
David van Moolenbroek
2009-07-08 17:16:53 +00:00
5e173f55f5
Remove leftover PowerPC cruft. Reported by Evgeniy Ivanov.
David van Moolenbroek
2009-07-07 18:55:11 +00:00
12451e6b06
Miscellaneous PM fixes: o Don't call vm_willexit() more than once upon normal process exit o Correct two cases of indenting of the no-discussion-possible kind o Perform slightly stricter ptrace(2) checks: - process calling ptrace must be target process's parent - process must call wait/waitpid before using ptrace on stopped child - no ptrace on zombies o Allow user processes to use ptrace(T_STOP) to stop an active child
David van Moolenbroek
2009-07-05 22:48:18 +00:00
b8b8f537bd
IPC privileges fixes
David van Moolenbroek
2009-07-02 16:25:31 +00:00
aa84986819
more small man page fixes
David van Moolenbroek
2009-06-25 10:41:55 +00:00
be9606a4e0
random man page update: cut.1
David van Moolenbroek
2009-06-24 21:13:28 +00:00
3018cd023a
random man page fix: cawf.1
David van Moolenbroek
2009-06-24 11:42:05 +00:00
951581a29c
fix installation of home directories in setup.sh
David van Moolenbroek
2009-06-23 13:40:32 +00:00
dacc0644c8
Restore last(1) and uptime(1) building/installing.
Arun Thomas
2009-06-23 12:22:35 +00:00
d8b9bf642b
make mdb(1) compile again
David van Moolenbroek
2009-06-17 14:59:22 +00:00
66d1f1260c
remove last traces of FSDEVMAP svrctl
David van Moolenbroek
2009-06-13 13:09:14 +00:00
87beb9c469
better solution for poweroff(8)
David van Moolenbroek
2009-06-12 13:17:33 +00:00
12a01e8f01
poweroff(8) aesthetics
David van Moolenbroek
2009-06-12 13:13:29 +00:00
24bb7fbb4c
added poweroff(8)
David van Moolenbroek
2009-06-12 13:02:51 +00:00
7be1d47d24
don't always copy for i/o instructions.
v3.1.4
Ben Gras
2009-06-08 15:59:29 +00:00
3765538c76
merging in memory freeer.
Ben Gras
2009-06-08 15:31:45 +00:00
01732ffb5e
quick hack (sorry) for making *sdevio* work to other processes than the caller..
Ben Gras
2009-06-08 14:33:15 +00:00
8a0ab8630c
rebase from trunk
Ben Gras
2009-06-08 12:25:24 +00:00
de1b5e0076
cleanup, sanity checking
Ben Gras
2009-06-08 06:08:11 +00:00
782133423e
allow empty senda
Ben Gras
2009-06-08 04:39:26 +00:00
9e72241374
minor cleanup
Ben Gras
2009-06-08 04:30:16 +00:00
ac86f5bb49
keep some processes mapped in always; direct message copying where possible (no buffering); no more explicit vm checkranges in kernel; new allocator for vm using avl tree without needing remapping
Ben Gras
2009-06-08 04:02:22 +00:00
e2a7535c55
minor cleanup
Ben Gras
2009-06-07 16:25:37 +00:00
0702c826a2
pde cache check works
Ben Gras
2009-06-07 15:55:44 +00:00
4dae6c4bbc
my state.
Ben Gras
2009-06-06 23:27:10 +00:00
9d56ac3fc9
only switch pagetable if necessary and it's different for copying messages
Ben Gras
2009-06-03 15:28:13 +00:00
37cd6bc06c
move field offset from vir region from phys_block to phys_region, so the same blocks of physical memory can be mapped in in different offsets within regions.
Ben Gras
2009-06-03 12:18:13 +00:00
eb2959a560
state
Ben Gras
2009-06-03 11:22:49 +00:00
86d89ed3f1
ls(1) manpage corrections
Arun Thomas
2009-05-30 11:01:17 +00:00
a415b68523
Release.sh now uses packages.install and package_sources.install to determine which packages and package sources to include on the installation media, as opposed to including everything in the PACKAGEDIR AND PACKAGESOURCEDIR directories.
Arun Thomas
2009-05-30 09:31:19 +00:00
f16eb59bbf
further messing with page fault handling
Ben Gras
2009-05-29 18:47:31 +00:00
85881e9995
no vm_setbuf any more (kernel doesn't create its page table any more), no relocking field (locks not checked)
Ben Gras
2009-05-28 14:23:38 +00:00
9b73964f6d
beng work in progress, to be explained in a future commit message :).
Ben Gras
2009-05-28 13:47:20 +00:00
78e5d6d4eb
unused confusing malloc/free functions in sysutil
Ben Gras
2009-05-28 12:14:37 +00:00
dac531addf
Support for VMWare Workstation 6.x
Arun Thomas
2009-05-27 23:35:34 +00:00
745f99bb1d
Update issue.install for 3.1.4
Arun Thomas
2009-05-27 12:42:32 +00:00
83885ebc39
make lseek64 return correct new position
David van Moolenbroek
2009-05-23 13:47:17 +00:00
6579bb3656
copy of beng's working copy
Ben Gras
2009-05-20 16:54:58 +00:00
00a2463d71
update readlink(2) manpage accordingly
David van Moolenbroek
2009-05-20 11:49:10 +00:00
9797d17d54
move symlink type check for readlink() into VFS, and return the right POSIX error
David van Moolenbroek
2009-05-20 09:46:06 +00:00
50b77e3529
VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe
David van Moolenbroek
2009-05-19 14:34:44 +00:00
8ee3d26722
don't include /usr/src changes in packages.
Ben Gras
2009-05-19 10:55:15 +00:00
fe39483dc9
4MB mask
Ben Gras
2009-05-18 15:56:13 +00:00
f86da99e67
map in kernel in 4MB, global-bit-set 'pages' if hardware supports it. helps performance.
Ben Gras
2009-05-18 15:34:42 +00:00
f76d75a5ec
Various VFS and MFS fixes to improve correctness, consistency and POSIX compliance.
David van Moolenbroek
2009-05-18 11:27:12 +00:00
bdab3c4cfb
Library call for cpu features; make kernel and vm use this to query cpu features (specifically: 4MB pages and TLB global bit). Only enable these features in CR4 if available. 4MB pages to be used in the near future.
Ben Gras
2009-05-15 17:07:36 +00:00
d0b6e76bfb
correct the revision variable used in /etc/version
Ben Gras
2009-05-15 13:02:23 +00:00
d749b3b965
-Remove qemu_pci boot variable. Useres no longer need to set qemu_pci when booting MINIX under QEMU/KVM. -Kept the diagnostic message, however.
Arun Thomas
2009-05-14 19:07:37 +00:00
143422fa0a
C CPUID interface.
Ben Gras
2009-05-14 15:55:28 +00:00
db4faccbf9
-Installation info is on the wiki now, so remove setup guides and update README. -Remove obsolete FAT partitioning utility. -Update startup banner.
Arun Thomas
2009-05-14 15:54:02 +00:00
c2aef85eda
Clear trace bit for child on fork.
David van Moolenbroek
2009-05-13 21:58:10 +00:00
fe8c612aa4
support in 'mount' for specifying file system type and options
David van Moolenbroek
2009-05-13 15:39:44 +00:00
3affa4c796
'service' null pointer dereference fix
David van Moolenbroek
2009-05-12 16:52:00 +00:00
dd56aa321f
to let tty run with its own page table (instead of with the kernel identity map table), make it map in video memory.
Ben Gras
2009-05-12 12:43:18 +00:00
909c1bb8a7
don't bother with unmapping physical memory in non-sanitycheck mode.
Ben Gras
2009-05-12 11:51:53 +00:00
581e68433a
basic sparepage optimisation
Ben Gras
2009-05-12 11:38:29 +00:00