]> Zhao Yanbai Git Server - minix.git/log
minix.git
18 years ago#ifdeffed out some more debug stuff
Ben Gras [Mon, 6 Feb 2006 15:03:51 +0000 (15:03 +0000)]
#ifdeffed out some more debug stuff

18 years ago#ifdeffed out some debug code
Ben Gras [Mon, 6 Feb 2006 15:02:19 +0000 (15:02 +0000)]
#ifdeffed out some debug code

18 years agoPackme fix.
Ben Gras [Mon, 6 Feb 2006 10:55:38 +0000 (10:55 +0000)]
Packme fix.

18 years ago*** empty log message ***
Ben Gras [Fri, 3 Feb 2006 16:06:14 +0000 (16:06 +0000)]
*** empty log message ***

18 years agoPackages.
Ben Gras [Fri, 3 Feb 2006 15:57:49 +0000 (15:57 +0000)]
Packages.

18 years agobzip
Ben Gras [Fri, 3 Feb 2006 15:55:54 +0000 (15:55 +0000)]
bzip

18 years agoRemoved flex from base.
Ben Gras [Fri, 3 Feb 2006 15:52:12 +0000 (15:52 +0000)]
Removed flex from base.

18 years agoDon't copy /usr/gnu
Ben Gras [Fri, 3 Feb 2006 15:43:29 +0000 (15:43 +0000)]
Don't copy /usr/gnu

18 years ago*** empty log message ***
Ben Gras [Fri, 3 Feb 2006 15:41:58 +0000 (15:41 +0000)]
*** empty log message ***

18 years agoDon't kill processes by signals in process group 0, and do a sync before
Ben Gras [Fri, 3 Feb 2006 15:21:00 +0000 (15:21 +0000)]
Don't kill processes by signals in process group 0, and do a sync before
killing all processes in FS reboot.

18 years agoGive init process group 1.
Ben Gras [Fri, 3 Feb 2006 14:54:20 +0000 (14:54 +0000)]
Give init process group 1.

18 years agoisodir prints one entry on each line without padding or trailing slashes
Ben Gras [Fri, 3 Feb 2006 12:59:58 +0000 (12:59 +0000)]
isodir prints one entry on each line without padding or trailing slashes
(for dirs) if the output isn't a tty, like ls, for use in shell scripts.

18 years agoSave name of cd drive for package manager
Ben Gras [Thu, 2 Feb 2006 18:20:09 +0000 (18:20 +0000)]
Save name of cd drive for package manager

18 years agoTest for non-cd users
Ben Gras [Thu, 2 Feb 2006 18:14:42 +0000 (18:14 +0000)]
Test for non-cd users

18 years agoMake easypack check for errors from urlget instead of trying with <HTML..
Ben Gras [Thu, 2 Feb 2006 18:12:21 +0000 (18:12 +0000)]
Make easypack check for errors from urlget instead of trying with <HTML..
grepping.

18 years agoMake urlget return errors on non-200 http codes
Ben Gras [Thu, 2 Feb 2006 18:08:25 +0000 (18:08 +0000)]
Make urlget return errors on non-200 http codes

18 years agofix builds not to do bigmakes
Ben Gras [Thu, 2 Feb 2006 17:13:07 +0000 (17:13 +0000)]
fix builds not to do bigmakes

gzip is out of the base system

18 years ago. rotate uses bzip2 instead of gzip
Ben Gras [Thu, 2 Feb 2006 17:12:16 +0000 (17:12 +0000)]
. rotate uses bzip2 instead of gzip
. binpackages runs a binpackage batch
. easypack does binsizes big first

18 years agoInclude binary packages on cd.
Ben Gras [Thu, 2 Feb 2006 17:11:10 +0000 (17:11 +0000)]
Include binary packages on cd.

18 years ago. use proper S_ISFIFO for ISFIFO check
Ben Gras [Thu, 2 Feb 2006 16:59:07 +0000 (16:59 +0000)]
. use proper S_ISFIFO for ISFIFO check
. ignore ESPIPE error from lseek() in fflush() on read streams
  (because fifo's aren't detected when stdin, stdout or stderr)

18 years agoi86 driver not built as package
Ben Gras [Wed, 1 Feb 2006 14:29:58 +0000 (14:29 +0000)]
i86 driver not built as package

18 years agofix for no 'build' arg
Ben Gras [Wed, 1 Feb 2006 11:18:54 +0000 (11:18 +0000)]
fix for no 'build' arg

18 years agoAdded SIGCONT to the list of signal that are to be ignored by default.
Philip Homburg [Mon, 30 Jan 2006 16:27:49 +0000 (16:27 +0000)]
Added SIGCONT to the list of signal that are to be ignored by default.

18 years agocleanup
Ben Gras [Fri, 27 Jan 2006 14:44:05 +0000 (14:44 +0000)]
cleanup

18 years agobuild scripts accept 'build' argument to not install
Ben Gras [Fri, 27 Jan 2006 14:38:23 +0000 (14:38 +0000)]
build scripts accept 'build' argument to not install

18 years agoCompile fix for major
Ben Gras [Fri, 27 Jan 2006 14:31:27 +0000 (14:31 +0000)]
Compile fix for major

18 years agoFail when make in a subdirectory fails.
Philip Homburg [Fri, 27 Jan 2006 14:14:51 +0000 (14:14 +0000)]
Fail when make in a subdirectory fails.

18 years agoMake sys_privctl make the prototype.
Philip Homburg [Fri, 27 Jan 2006 14:14:13 +0000 (14:14 +0000)]
Make sys_privctl make the prototype.

18 years agofts import from freebsd
Ben Gras [Fri, 27 Jan 2006 14:01:36 +0000 (14:01 +0000)]
fts import from freebsd

re-activated fchdir()

18 years agofixes to include major() and minor() in system header files (in a different
Ben Gras [Fri, 27 Jan 2006 13:57:18 +0000 (13:57 +0000)]
fixes to include major() and minor() in system header files (in a different
file than sys/types.h)

small binpackage update

18 years agoCosmetic changes.
Philip Homburg [Fri, 27 Jan 2006 13:26:42 +0000 (13:26 +0000)]
Cosmetic changes.

18 years agoStore resource lists for drivers. Limited checks to enforce those lists.
Philip Homburg [Fri, 27 Jan 2006 13:21:12 +0000 (13:21 +0000)]
Store resource lists for drivers. Limited checks to enforce those lists.

18 years agoUse the sys_privctl library function.
Philip Homburg [Fri, 27 Jan 2006 13:20:06 +0000 (13:20 +0000)]
Use the sys_privctl library function.

18 years agoReport resources to the kernel.
Philip Homburg [Fri, 27 Jan 2006 13:18:07 +0000 (13:18 +0000)]
Report resources to the kernel.

18 years agoI/O, memory and IRQ resource control interface.
Philip Homburg [Fri, 27 Jan 2006 13:02:02 +0000 (13:02 +0000)]
I/O, memory and IRQ resource control interface.

18 years agoCheck contents of symbolic links.
Philip Homburg [Fri, 27 Jan 2006 12:58:09 +0000 (12:58 +0000)]
Check contents of symbolic links.

18 years agoAdded sys_privctl.c.
Philip Homburg [Fri, 27 Jan 2006 12:54:47 +0000 (12:54 +0000)]
Added sys_privctl.c.

18 years agoSafety feature for symlink() - verify length of symlink contents
Ben Gras [Thu, 26 Jan 2006 14:31:00 +0000 (14:31 +0000)]
Safety feature for symlink() - verify length of symlink contents
buffer with strlen()

18 years agoLet symlinks be in the installed set of files ; make symlink from /var/log to
Ben Gras [Wed, 25 Jan 2006 13:00:14 +0000 (13:00 +0000)]
Let symlinks be in the installed set of files ; make symlink from /var/log to
/usr/log.

18 years ago. initial version of binpackage script
Ben Gras [Mon, 23 Jan 2006 12:22:06 +0000 (12:22 +0000)]
. initial version of binpackage script
. build now used to make binary packages (and still in easypack), kick out
  makeme.sh

18 years agomakeme.sh for binpackage
Ben Gras [Mon, 23 Jan 2006 12:15:05 +0000 (12:15 +0000)]
makeme.sh for binpackage

18 years agoAlways install
Ben Gras [Mon, 23 Jan 2006 11:45:04 +0000 (11:45 +0000)]
Always install

18 years agoAdded dvorak keymap.
Ben Gras [Mon, 23 Jan 2006 09:28:04 +0000 (09:28 +0000)]
Added dvorak keymap.

18 years agoPort of freebsd pax.
Ben Gras [Fri, 20 Jan 2006 14:45:27 +0000 (14:45 +0000)]
Port of freebsd pax.

18 years agoSome misc portability-enhancing definitions.
Ben Gras [Fri, 20 Jan 2006 13:42:29 +0000 (13:42 +0000)]
Some misc portability-enhancing definitions.

Added fts.h for fts library imported from freebsd.

18 years agofchdir() fix
Ben Gras [Fri, 20 Jan 2006 12:49:24 +0000 (12:49 +0000)]
fchdir() fix

18 years agoRe-enable fchdir()
Ben Gras [Fri, 20 Jan 2006 12:44:16 +0000 (12:44 +0000)]
Re-enable fchdir()

18 years agoFix for fchdir().
Ben Gras [Fri, 20 Jan 2006 12:43:35 +0000 (12:43 +0000)]
Fix for fchdir().

18 years agoLet other uids (temporarily) set their mapping.
Ben Gras [Fri, 20 Jan 2006 12:43:19 +0000 (12:43 +0000)]
Let other uids (temporarily) set their mapping.

18 years agoMove truncate()/ftruncate() prototype outside MINIX conditional
Ben Gras [Thu, 19 Jan 2006 15:33:13 +0000 (15:33 +0000)]
Move truncate()/ftruncate() prototype outside MINIX conditional

18 years agoAdd -cnewer as find node
Ben Gras [Thu, 19 Jan 2006 09:36:49 +0000 (09:36 +0000)]
Add -cnewer as find node

18 years agoMake sure image* is gone before starting
Ben Gras [Wed, 18 Jan 2006 13:30:44 +0000 (13:30 +0000)]
Make sure image* is gone before starting

18 years agosmall fix
Ben Gras [Wed, 18 Jan 2006 13:26:50 +0000 (13:26 +0000)]
small fix

18 years agoInstall image as e.g. 3.1.2 instead of 3.1.2r0 if there is no revision file.
Ben Gras [Wed, 18 Jan 2006 12:37:45 +0000 (12:37 +0000)]
Install image as e.g. 3.1.2 instead of 3.1.2r0 if there is no revision file.

18 years agomore memory for as
Ben Gras [Wed, 18 Jan 2006 10:29:48 +0000 (10:29 +0000)]
more memory for as

18 years ago. new version of minix
Ben Gras [Wed, 18 Jan 2006 09:49:54 +0000 (09:49 +0000)]
. new version of minix
. less space on filesystems of cd image

18 years agoMade 'called by' DEBUG-conditional to avoid messy startup message
Ben Gras [Wed, 18 Jan 2006 09:48:32 +0000 (09:48 +0000)]
Made 'called by' DEBUG-conditional to avoid messy startup message

18 years agoMake error message conditional
Ben Gras [Wed, 18 Jan 2006 09:47:22 +0000 (09:47 +0000)]
Make error message conditional

18 years ago. less verbose cd /usr debugging
Ben Gras [Wed, 18 Jan 2006 09:33:09 +0000 (09:33 +0000)]
. less verbose cd /usr debugging
. save random data only if /usr is mounted rw, don't display error otherwise

18 years agoDon't print randomness error when booting from install cd.
Ben Gras [Tue, 17 Jan 2006 17:57:40 +0000 (17:57 +0000)]
Don't print randomness error when booting from install cd.

18 years agoNot having a driver isn't a print-worthy error. Just return ENXIO.
Ben Gras [Tue, 17 Jan 2006 17:55:35 +0000 (17:55 +0000)]
Not having a driver isn't a print-worthy error. Just return ENXIO.

18 years agoMake drivers install signal handlers so they don't die at exit.
Ben Gras [Tue, 17 Jan 2006 17:43:35 +0000 (17:43 +0000)]
Make drivers install signal handlers so they don't die at exit.

18 years agoInclude rescue driver
Ben Gras [Tue, 17 Jan 2006 16:16:12 +0000 (16:16 +0000)]
Include rescue driver

18 years agoDon't print usage if service can't find binary.
Ben Gras [Tue, 17 Jan 2006 15:56:55 +0000 (15:56 +0000)]
Don't print usage if service can't find binary.

18 years agoMade memory driver notice about location in DS a debug statement.
Ben Gras [Tue, 17 Jan 2006 15:53:43 +0000 (15:53 +0000)]
Made memory driver notice about location in DS a debug statement.

18 years agoThe release script now remembers old settings (scratch partitions) and
Ben Gras [Tue, 17 Jan 2006 15:14:56 +0000 (15:14 +0000)]
The release script now remembers old settings (scratch partitions) and
re-uses them, with a warning. This is nice and quick for repeated release
builds.

18 years agoNo more gmake in top makefile
Ben Gras [Tue, 17 Jan 2006 15:09:15 +0000 (15:09 +0000)]
No more gmake in top makefile

18 years agoRemoved bits from Makefile that are now in 'bigports'
Ben Gras [Tue, 17 Jan 2006 11:25:29 +0000 (11:25 +0000)]
Removed bits from Makefile that are now in 'bigports'

18 years agoPrototype fix
Ben Gras [Tue, 17 Jan 2006 11:24:48 +0000 (11:24 +0000)]
Prototype fix

18 years agoAdded pci files.
Ben Gras [Tue, 17 Jan 2006 10:49:30 +0000 (10:49 +0000)]
Added pci files.

18 years agoThrow away unused dirs, generated Makefiles.
Ben Gras [Tue, 17 Jan 2006 10:36:53 +0000 (10:36 +0000)]
Throw away unused dirs, generated Makefiles.
Moved some calls back.

18 years agoMakefiles of Joren's new library build system.
Ben Gras [Mon, 16 Jan 2006 15:47:30 +0000 (15:47 +0000)]
Makefiles of Joren's new library build system.

18 years agoJoren's new library make system (minus Makefiles)
Ben Gras [Mon, 16 Jan 2006 15:44:55 +0000 (15:44 +0000)]
Joren's new library make system (minus Makefiles)

18 years ago'$(GMAKE) all' in lib target
Philip Homburg [Thu, 12 Jan 2006 14:51:12 +0000 (14:51 +0000)]
'$(GMAKE) all' in lib target

18 years agosh MAKEDEV to avoid depending on any x-bits. Make depend before make clean.
Philip Homburg [Thu, 12 Jan 2006 14:50:05 +0000 (14:50 +0000)]
sh MAKEDEV to avoid depending on any x-bits. Make depend before make clean.

18 years agoInitial version of Cardbus support with the TI1225 Cardbus controler.
Philip Homburg [Thu, 12 Jan 2006 14:47:48 +0000 (14:47 +0000)]
Initial version of Cardbus support with the TI1225 Cardbus controler.

18 years agoMany changes for cardbus support, automatic detection of PCI bridges,
Philip Homburg [Thu, 12 Jan 2006 14:46:12 +0000 (14:46 +0000)]
Many changes for cardbus support, automatic detection of PCI bridges,
resource allocation, and tracking.

18 years agoLess debug output from keyboard.
Philip Homburg [Thu, 12 Jan 2006 14:44:02 +0000 (14:44 +0000)]
Less debug output from keyboard.

18 years agoPrint masked IRQs.
Philip Homburg [Thu, 12 Jan 2006 14:41:40 +0000 (14:41 +0000)]
Print masked IRQs.

18 years agoGET_IRQACTIDS, allow SELF in do_vm_map.
Philip Homburg [Thu, 12 Jan 2006 14:38:51 +0000 (14:38 +0000)]
GET_IRQACTIDS, allow SELF in do_vm_map.

18 years agoAdded pci_init1.c, pci_attr_r16.c, pci_attr_w8.c, pci_attr_w16.c,
Philip Homburg [Thu, 12 Jan 2006 14:37:37 +0000 (14:37 +0000)]
Added pci_init1.c, pci_attr_r16.c, pci_attr_w8.c, pci_attr_w16.c,
and pci_rescan_bus.c

18 years agoRestructured defines for bridges, added defines for cardbus.
Philip Homburg [Thu, 12 Jan 2006 14:35:29 +0000 (14:35 +0000)]
Restructured defines for bridges, added defines for cardbus.

18 years agoAdded BUSC_PCI_RESCAN and GET_IRQACTIDS.
Philip Homburg [Thu, 12 Jan 2006 14:34:00 +0000 (14:34 +0000)]
Added BUSC_PCI_RESCAN and GET_IRQACTIDS.

18 years agoAdded sys_getirqactids, pci_init1, pci_rescan_bus, and pci_attr_w8.
Philip Homburg [Thu, 12 Jan 2006 14:33:29 +0000 (14:33 +0000)]
Added sys_getirqactids, pci_init1, pci_rescan_bus, and pci_attr_w8.

18 years agoAdded caching bits
Philip Homburg [Thu, 12 Jan 2006 14:32:42 +0000 (14:32 +0000)]
Added caching bits

18 years agoFixed bug in VLAN support.
Philip Homburg [Thu, 12 Jan 2006 14:31:06 +0000 (14:31 +0000)]
Fixed bug in VLAN support.

18 years agoAdded truncate(1) manpage; added comment about holes in du; removed
Ben Gras [Wed, 11 Jan 2006 17:18:53 +0000 (17:18 +0000)]
Added truncate(1) manpage; added comment about holes in du; removed
minix-vmd specificness of F_FREESP as minix now implements it too.

18 years agoImplementation of truncate(), ftruncate() and the F_FREESP fcntl().
Ben Gras [Wed, 11 Jan 2006 17:14:51 +0000 (17:14 +0000)]
Implementation of truncate(), ftruncate() and the F_FREESP fcntl().

Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.

This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.

This also allowed implementing the F_FREESP fcntl().

18 years agoFixes for #defines growing a _
Ben Gras [Fri, 6 Jan 2006 16:49:58 +0000 (16:49 +0000)]
Fixes for #defines growing a _

18 years agoLICENSE taken from website instead of old PH license.
Ben Gras [Thu, 5 Jan 2006 16:58:38 +0000 (16:58 +0000)]
LICENSE taken from website instead of old PH license.

18 years agoPorted bsd truncate(1)
Ben Gras [Fri, 23 Dec 2005 16:36:00 +0000 (16:36 +0000)]
Ported bsd truncate(1)

18 years agoMoved the print statement till after the K_CLAIM flag check after
Ben Gras [Tue, 20 Dec 2005 14:38:14 +0000 (14:38 +0000)]
Moved the print statement till after the K_CLAIM flag check after
this bug report (snippet):

> From: "Christos Karayiannis" <christos@kar.forthnet.gr>
> To: <bugs@minix3.org>
> Date: Tue, 20 Dec 2005 16:22:49 +0200
> Subject: bootimage.c
>
> Hi,
>
> at exec_image() of bootimage.c the a_bss and a_stack are printed with
> some values and then, if the K_CLAIM flag is set, they become zero. But
> this is then wrong information.

18 years agoMerge of minix-vmd symlink code.
Ben Gras [Tue, 20 Dec 2005 14:23:44 +0000 (14:23 +0000)]
Merge of minix-vmd symlink code.

. new_node() now returns inode of parent dir as argument that
  has to be put_node()d again by the caller of new_node().
  it can also return the name of the last component as last_dir()
  did.
. advance() takes a pointer to a pointer of an inode as the
  parent now. This parent can change, in which case the old
  one is put_node()d and a new one is put there.
. eat_path() replaced by more flexible parse_path()
. last_dir() replaced by call to parse_path().
. do_slink(), do_readlink(), do_lstat() and slink_traverse() added.

Also added some truncate()/ftruncate()-introduction related changes.
(e.g. renamed truncate() to truncate_inode().)

18 years agoAdded truncate() and ftruncate() library calls (no FS support yet).
Ben Gras [Tue, 20 Dec 2005 14:18:16 +0000 (14:18 +0000)]
Added truncate() and ftruncate() library calls (no FS support yet).

Added ELOOP message to errlist.

18 years agoAdded truncate and ftruncate() prototypes and call numbers (prematurely)
Ben Gras [Tue, 20 Dec 2005 14:17:05 +0000 (14:17 +0000)]
Added truncate and ftruncate() prototypes and call numbers (prematurely)

Added symlink-related prototypes

18 years agoBackout of symlink patches.
Ben Gras [Mon, 19 Dec 2005 10:45:50 +0000 (10:45 +0000)]
Backout of symlink patches.

18 years agoPriority explicitization.
Ben Gras [Wed, 14 Dec 2005 12:08:49 +0000 (12:08 +0000)]
Priority explicitization.

18 years agoseteuid() and setegid()
Ben Gras [Tue, 13 Dec 2005 09:48:29 +0000 (09:48 +0000)]
seteuid() and setegid()

18 years agoMake easypack remove tar after it's finished; and check for root, in
Ben Gras [Mon, 12 Dec 2005 14:07:03 +0000 (14:07 +0000)]
Make easypack remove tar after it's finished; and check for root, in
which case don't check for writability of source dir

18 years agoadded -u flag to id for easypack
Ben Gras [Mon, 12 Dec 2005 13:55:58 +0000 (13:55 +0000)]
added -u flag to id for easypack