]> Zhao Yanbai Git Server - minix.git/log
minix.git
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

18 years agoHack for make libraries
Ben Gras [Mon, 12 Dec 2005 13:50:13 +0000 (13:50 +0000)]
Hack for make libraries

18 years agoSIGSTOP can't be masked (report by Jaap Weel).
Ben Gras [Mon, 12 Dec 2005 13:11:22 +0000 (13:11 +0000)]
SIGSTOP can't be masked (report by Jaap Weel).

18 years agoAdded prototype for getsockopt().
Ben Gras [Mon, 12 Dec 2005 10:40:29 +0000 (10:40 +0000)]
Added prototype for getsockopt().

18 years agoSupport for starting ethernet driver after inet has been started
Philip Homburg [Fri, 9 Dec 2005 13:25:30 +0000 (13:25 +0000)]
Support for starting ethernet driver after inet has been started

18 years agoMark ethernet fd nonblocking to avoid waiting for an ethernet address
Philip Homburg [Fri, 9 Dec 2005 13:21:58 +0000 (13:21 +0000)]
Mark ethernet fd nonblocking to avoid waiting for an ethernet address

18 years agoAdded PCI driver
Philip Homburg [Fri, 2 Dec 2005 14:47:20 +0000 (14:47 +0000)]
Added PCI driver

18 years agoPCI support in a separate driver
Philip Homburg [Fri, 2 Dec 2005 14:45:38 +0000 (14:45 +0000)]
PCI support in a separate driver

18 years agoPCI support in a separate driver.
Philip Homburg [Fri, 2 Dec 2005 14:45:10 +0000 (14:45 +0000)]
PCI support in a separate driver.

18 years agoStubs for accessing the PCI driver
Philip Homburg [Fri, 2 Dec 2005 14:41:46 +0000 (14:41 +0000)]
Stubs for accessing the PCI driver

18 years agoSeparate pci driver
Philip Homburg [Fri, 2 Dec 2005 14:40:51 +0000 (14:40 +0000)]
Separate pci driver

18 years agoNew up() functions in rc scripts.
Jorrit Herder [Mon, 28 Nov 2005 15:39:01 +0000 (15:39 +0000)]
New up() functions in rc scripts.

18 years agotypedef dns_hdr_t HEADER;
Ben Gras [Thu, 17 Nov 2005 01:29:08 +0000 (01:29 +0000)]
typedef dns_hdr_t HEADER;
for applications

18 years agoDefine
Ben Gras [Thu, 17 Nov 2005 01:23:46 +0000 (01:23 +0000)]
Define
IPPORT_RESERVED as 1024
for applications

18 years agoSynonyms for helping porting applications.
Ben Gras [Thu, 17 Nov 2005 01:23:33 +0000 (01:23 +0000)]
Synonyms for helping porting applications.

18 years agoAdded del_route suggested by mij@bitchx.it.
Ben Gras [Thu, 17 Nov 2005 00:05:37 +0000 (00:05 +0000)]
Added del_route suggested by mij@bitchx.it.

18 years agoadd_routes -> add_route in SEE ALSO
Ben Gras [Wed, 16 Nov 2005 23:52:56 +0000 (23:52 +0000)]
add_routes -> add_route in SEE ALSO

18 years agoAdd /usr/spool/mail
Ben Gras [Wed, 16 Nov 2005 13:49:13 +0000 (13:49 +0000)]
Add /usr/spool/mail

18 years agoUpdated constant names
Ben Gras [Tue, 15 Nov 2005 12:12:00 +0000 (12:12 +0000)]
Updated constant names

18 years agoRename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
Ben Gras [Mon, 14 Nov 2005 18:41:27 +0000 (18:41 +0000)]
Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
so as to not pollute application namespace.

18 years agoInclude X in path
Ben Gras [Mon, 14 Nov 2005 18:40:36 +0000 (18:40 +0000)]
Include X in path

18 years agoout-of-date comment fixed
Ben Gras [Mon, 14 Nov 2005 16:35:32 +0000 (16:35 +0000)]
out-of-date comment fixed

18 years ago'.' fix for troff
Ben Gras [Mon, 14 Nov 2005 16:21:33 +0000 (16:21 +0000)]
'.' fix for troff

18 years agogetloadavg
Ben Gras [Mon, 14 Nov 2005 15:58:07 +0000 (15:58 +0000)]
getloadavg

18 years agolast.c displays load average for uptime(1)
Ben Gras [Mon, 14 Nov 2005 15:51:28 +0000 (15:51 +0000)]
last.c displays load average for uptime(1)

18 years agoload average measurement implementation, accessable through
Ben Gras [Mon, 14 Nov 2005 15:50:46 +0000 (15:50 +0000)]
load average measurement implementation, accessable through
getloadavg() system call in the library.