Commit graph

3800 commits

Author SHA1 Message Date
Philip Homburg
3e5276eff7 changed max pid back to 30000 2005-06-30 12:56:34 +00:00
Ben Gras
af27dc0cf7 Added fchdir() system call, with corresponding manpage, Changelog and
system include modifications.
2005-06-29 19:28:26 +00:00
Philip Homburg
62f7f9e6d2 Added mkstemp function. Should use a secure random number generator. 2005-06-29 15:29:08 +00:00
Philip Homburg
eb3d5f2a54 More stack for chown 2005-06-29 15:27:12 +00:00
Philip Homburg
6133970316 Use relative paths for make depend 2005-06-29 15:26:10 +00:00
Philip Homburg
d4b02eae4f Disabled assertion 2005-06-29 15:25:21 +00:00
Ben Gras
afcfd1871d Added some diagnostic 2005-06-29 12:04:10 +00:00
Ben Gras
ca0d035146 Fix by Joren l'Ami <jwlami@cs.vu.nl> to make block devices work beyond
2GB (e.g. for 'large' mkfs).
2005-06-29 11:56:56 +00:00
Ben Gras
906690eb55 Last inet change incomplete 2005-06-29 11:47:40 +00:00
Ben Gras
03e2560d81 Disabled funny broadcast address complaint from inet 2005-06-29 11:42:53 +00:00
Jorrit Herder
a5ac07400d Fixed bug in AT driver: don't receive from HARDWARE, but use ANY.
Timeouts are sent by the CLOCK.
2005-06-29 10:27:23 +00:00
Ben Gras
6be8c4d8a3 Import of dpeth 3c501/3c509b/.. ethernet driver by
Giovanni Falzoni <fgalzoni@inwind.it>.
2005-06-29 10:16:46 +00:00
Ben Gras
81081a4063 _POSIX_SOURCE doesn't make sense in <sys/select.h> 2005-06-28 16:02:58 +00:00
Philip Homburg
0f26898f82 New inet with partial select implementation 2005-06-28 15:19:58 +00:00
Philip Homburg
013f484525 select.h should include <sys.time.h>. Added struct svrqueryparam to svrctl.h. 2005-06-28 15:01:55 +00:00
Philip Homburg
18458079f8 quick hacks for select 2005-06-28 14:59:00 +00:00
Philip Homburg
a467c43c01 use relative directories in makefiles. 2005-06-28 14:56:30 +00:00
Philip Homburg
8f99754d43 more stack for /bin/sh. 2005-06-28 14:53:38 +00:00
Ben Gras
bca51699a9 Removed debug statement 2005-06-28 13:08:52 +00:00
Ben Gras
850d6611eb Removed max-inode check from mkfs because of 32-bit inode numbers in V3
FS. Tested by mkfs -i 200000, fsck, file system creating with 200000
inodes, fsck again.
2005-06-28 11:58:17 +00:00
Ben Gras
db2d114d06 Fixed bug that caused /dev/null to be created as file before being created
as special file
2005-06-27 16:31:27 +00:00
Ben Gras
2abe246e5c (Im)port of zlib-1.2.2
Ran configure with minix-friendly args and committed makefile. It's
a compromise to make zlib fit nicely into the current build system.
2005-06-27 13:05:04 +00:00
Ben Gras
7697700802 Made src belong to bin in release cp.
Made /usr/include belong to bin in mtree.
Fixed compiler warning in fs/pipe.c.
Added mdb (minix debugger) manual page.
Added ethernet config function in setup script.
2005-06-27 11:59:36 +00:00
Philip Homburg
575f2aa116 Unknown controllers are no longer fatal. 2005-06-27 11:45:26 +00:00
Ben Gras
b1fe0aa86f Gave sh more space for configure scripts; connected python to build;
fixed nit in python confused about select definitions
2005-06-27 10:04:55 +00:00
Ben Gras
d31aba5ee3 Renamed kermit_211 to kermit-2.1.1
Fixed compile bug in postmort.c
2005-06-27 09:46:55 +00:00
Ben Gras
53a51816a3 Wrote a printenv(1) 2005-06-27 09:41:58 +00:00
Ben Gras
6f02e00837 Fixed sh2.sh test 2005-06-27 09:41:38 +00:00
Ben Gras
1e6bc8c583 Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt()) 2005-06-27 09:32:29 +00:00
Ben Gras
b05fa195d6 Prototype and definitions for getopt() 2005-06-27 09:30:49 +00:00
Ben Gras
205d288bb3 Fixed a few compile warnings
Imported a BSD-licensed getopt() from FreeBSD
2005-06-27 09:30:33 +00:00
Ben Gras
ee5ecc1ad2 ast@ df nits 2005-06-27 09:02:33 +00:00
Ben Gras
62cb81cb3a Fixed typo in printf() in fxp debug statement (caused delta
value not to be printed)
2005-06-27 08:55:34 +00:00
Jorrit Herder
b25146d3de Removed SM server. 2005-06-27 08:11:46 +00:00
Jorrit Herder
fd3b5bf618 *** empty log message *** 2005-06-24 16:25:12 +00:00
Jorrit Herder
a408699ce0 Cleaned up process table structure: removed p_type, p_pendcount.
Removed stop sequence when MINIX is shut down.
Disabled send mask checks --- to be replaced by proper mechanism.
Fixed bug relating to 'shutdown -x'.
Simplified clock accounting of realtime.
Updated Makefiles for mkdept script.
2005-06-24 16:24:40 +00:00
Jorrit Herder
5654996c07 New Makefiles for mkdep script. 2005-06-24 16:21:54 +00:00
Jorrit Herder
042c4ac395 Changed Makefiles for mkdep script.
Updated debugging dumps at IS server, and function key control.

NOTE: pm modified with DEBUG() output, to be removed later.
2005-06-24 16:21:21 +00:00
Jorrit Herder
e3bb0e40ee Removed sys_exit() kernel call. 2005-06-24 16:19:41 +00:00
Jorrit Herder
f336ce29bb Changed kernel process table format affected ps.
New mkdep.sh script and affected Makefile.
2005-06-24 16:19:21 +00:00
Jorrit Herder
59f70ec536 Removed ununsed types cpvec_t and cpvvec_t.
Removed SYS_EXIT kernel call.
2005-06-24 16:17:29 +00:00
Philip Homburg
0979014807 Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
More space for synctree.
2005-06-23 11:07:31 +00:00
Philip Homburg
82c0b45aeb Newer version of anm. Should be taken from the ACK source tree. 2005-06-23 09:50:54 +00:00
Ben Gras
4ab7f34ea0 Workaround for fishy situation that caused checksum on outgoing packets
to be broken in certain cases. (Seemingly when 2 short packets sent
back-to-back.) Buffer alignment seems to fix this ...
2005-06-22 15:22:34 +00:00
Ben Gras
3bb4d191d7 Corrected buffer size calculation from MAX(bufsize,realsize)
to MIN(bufsize,realsize) while copying boot params.
2005-06-21 16:18:23 +00:00
Jorrit Herder
355a10864b Fixed various GCC compiler warnings for the kernel.
Only main() now gives a warning about the return type (GCC wants an int).
2005-06-21 10:47:46 +00:00
Ben Gras
3eeff022fb Added function read_cpu_flags() that returns current cpu flags as a
long.  This is used to check for interrupts being disabled at the time
of a lock() call, if enabled in config.h. The number of times this
happens is then counted in the kinfo structure. These events (recursive
lockings) lead to nasty race conditions.
2005-06-20 14:53:13 +00:00
Ben Gras
c60302c1e7 Print re-locking event count if enabled. 2005-06-20 14:52:00 +00:00
Ben Gras
538e8ba2f1 Added header file that decodes the intel x86 flags register.
Added field in kinfo that can count re-lock()ing, controlled by
ENABLE_K_LOCKCHECK in config.h.
2005-06-20 14:51:38 +00:00
Jorrit Herder
d78cf7fbaf New bit map manipulation header.
General purpose.
2005-06-20 14:29:09 +00:00