Commit graph

536 commits

Author SHA1 Message Date
Ben Gras
80e2b3ade6 Truncate s_max_size at LONG_MAX, now that off_t is signed. 2007-01-12 16:53:12 +00:00
Ben Gras
f47aa04a30 . removed readclock command and cmos driver.
. replaced by a readclock 'driver' that runs once, a re-imported version
  of the minix 2.0.4 readclock command.
. this has also restored cmos writing.
. readclock wrapper script calls service command to run /bin/readclock.drv
  once.
2007-01-12 16:35:04 +00:00
Ben Gras
8b3ddfc19f In some configurations of non-working networking, packman will hang a
very long time or forever retrieving the packages list. It's tricky to
test connectivity automatically, so ask every time.  Reported by
Stanislav Kapustin <kapustin_stanislav@hotmail.com>.
2007-01-11 14:35:29 +00:00
Ben Gras
61b9193ced Take arch+version specific packages List file. 2007-01-08 15:10:27 +00:00
Ben Gras
6f77685609 Split of architecture-dependent and -independent functions for i386,
mainly in the kernel and headers. This split based on work by
Ingmar Alting <iaalting@cs.vu.nl> done for his Minix PowerPC architecture
port.

 . kernel does not program the interrupt controller directly, do any
   other architecture-dependent operations, or contain assembly any more,
   but uses architecture-dependent functions in arch/$(ARCH)/.
 . architecture-dependent constants and types defined in arch/$(ARCH)/include.
 . <ibm/portio.h> moved to <minix/portio.h>, as they have become, for now,
   architecture-independent functions.
 . int86, sdevio, readbios, and iopenable are now i386-specific kernel calls
   and live in arch/i386/do_* now.
 . i386 arch now supports even less 86 code; e.g. mpx86.s and klib86.s have
   gone, and 'machine.protected' is gone (and always taken to be 1 in i386).
   If 86 support is to return, it should be a new architecture.
 . prototypes for the architecture-dependent functions defined in
   kernel/arch/$(ARCH)/*.c but used in kernel/ are in kernel/proto.h
 . /etc/make.conf included in makefiles and shell scripts that need to
   know the building architecture; it defines ARCH=<arch>, currently only
   i386.
 . some basic per-architecture build support outside of the kernel (lib)
 . in clock.c, only dequeue a process if it was ready
 . fixes for new include files

files deleted:
 . mpx/klib.s - only for choosing between mpx/klib86 and -386
 . klib86.s - only for 86

i386-specific files files moved (or arch-dependent stuff moved) to arch/i386/:
 . mpx386.s (entry point)
 . klib386.s
 . sconst.h
 . exception.c
 . protect.c
 . protect.h
 . i8269.c
2006-12-22 15:22:27 +00:00
Ben Gras
f7984144d5 . fsck needs more memory
. fsck must deal with s_max_file_size in superblock being larger
   than LONG_MAX now that off_t is signed
2006-12-22 13:40:37 +00:00
Philip Homburg
bafc45a309 First cut at 64-bit file offsets in block devices for mkfs/fsck. 2006-11-27 14:21:43 +00:00
Philip Homburg
2032e23e8c chmod needs more space 2006-11-24 13:59:13 +00:00
Ben Gras
1030187965 Revert back to previous minised 2006-11-17 16:12:08 +00:00
Ben Gras
07c4c00181 set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package 2006-11-03 14:47:28 +00:00
Ben Gras
f6436dc1a0 old sed out, new sed in 2006-11-02 16:48:47 +00:00
Ben Gras
aa8206941c New sed 2006-11-02 16:48:15 +00:00
Ben Gras
9ac537eb7c Ignore .svn dir as well as CVS dir. 2006-10-30 16:11:57 +00:00
Ben Gras
7195fe3325 System statistical and call profiling
support by Rogier Meurs <rogier@meurs.org>.
2006-10-30 15:53:38 +00:00
Ben Gras
fa0ba56bc9 Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
Ben Gras
4933f34715 Don't do make clean if flex Makefile doesn't exist. 2006-10-24 14:20:59 +00:00
Ben Gras
1f3560229d Fix for clean target. 2006-10-06 15:44:41 +00:00
Ben Gras
b5a6e7bbb0 make clean in ibm subdir too 2006-10-05 09:56:17 +00:00
Ben Gras
810de3b474 Leftover junk 2006-10-05 09:55:29 +00:00
Ben Gras
3b295eb002 Don't include this in the distribution. 2006-10-05 09:53:42 +00:00
Ben Gras
1d4be8052f Don't install progressbar suid. 2006-09-27 15:40:10 +00:00
Philip Homburg
d68627f3a8 No need for .depend files in CVS. 2006-08-28 14:32:24 +00:00
Ben Gras
8ecf9cb9b8 Undo configure script regeneration - not using --libdir 2006-08-18 16:16:06 +00:00
Ben Gras
32f8abc362 Installing in build file sidesteps problems installing as bin 2006-08-17 14:21:10 +00:00
Ben Gras
150a68c940 set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found
which has unexpected return codes compared to minix grep.
2006-08-17 14:03:06 +00:00
Ben Gras
cdfe90a6ca Fixes to build and install flex as bin. 2006-08-17 09:53:26 +00:00
Ben Gras
bf195531b3 new command 'dumpcore' that can write core files of running processes. 2006-08-15 15:59:38 +00:00
Ben Gras
5a6052119f Force yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc
(bison) before /usr/bin/yacc in $PATH
2006-08-15 15:59:04 +00:00
Ben Gras
87f95d7c02 No separate beta dir 2006-08-15 15:57:13 +00:00
Ben Gras
a178a15950 Make packman minix-version-aware 2006-08-15 15:56:42 +00:00
Ben Gras
030d4a7e2c add xxl to usage
don't touch non-compiler binaries
2006-08-15 15:56:09 +00:00
Philip Homburg
82a5bffa7d Pass 'service' instead of 'argv[1]' to servxcheck. 2006-08-10 14:13:28 +00:00
Ben Gras
636b368dd0 Actually make top suid root 2006-07-31 15:06:53 +00:00
Ben Gras
153e2c406c make top suid root to do getsysinfo. 2006-07-31 14:37:56 +00:00
Ben Gras
4d7f2af576 big for big commands 2006-07-27 16:05:17 +00:00
Ben Gras
a284f55473 Bigger bigsh for gcc and binutils 2006-07-27 08:51:08 +00:00
Ben Gras
36e9a43109 Force minix install 2006-07-26 14:26:26 +00:00
Ben Gras
4a6cd8f878 Make ps suid root instead of sguid kmem. This makes getsysinfo
work for it.
2006-07-26 11:34:26 +00:00
Ben Gras
7573c41657 flex build fix - can't build and install separately with two different
compilers.
2006-07-25 09:39:13 +00:00
Ben Gras
e6076e2c95 Don't give an error message for usage. 2006-07-24 13:27:17 +00:00
Ben Gras
75267305f1 distclean first, then install 2006-07-21 14:56:23 +00:00
Ben Gras
deca72b814 Only install. 2006-07-21 14:55:33 +00:00
Ben Gras
f7c36e31e5 More stack for env to build g++. 2006-07-21 12:51:56 +00:00
Ben Gras
2bb759206f Build gcc library of libfl. 2006-07-18 14:52:53 +00:00
Ben Gras
4033ccc08d 'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
the commands build.
2006-07-17 17:05:54 +00:00
Philip Homburg
371ac29c9f Clear NONBLOCK flag after probing ethernet device. 2006-07-14 13:35:21 +00:00
Philip Homburg
8f19ca2039 More stack for in.rshd. 2006-07-14 11:22:37 +00:00
Philip Homburg
04b478f177 More stack for tcpd.
Safecopies renders the NWIOQUERYPARAM ioctl useless. This functionality
is now replaced with /dev/ipstat. Write the request to the device and
read the answer in one read request.
2006-07-13 13:19:48 +00:00
Ben Gras
2d79ae7831 When installing in a free partition larger than the maximum, don't align
on cylinder boundary.
2006-07-13 12:43:47 +00:00
Ben Gras
b52a516521 Joren's proposed fix for a too-conservative split point selection.
(Making building packages with long filenames difficult.)
2006-07-10 15:05:33 +00:00