Commit graph

1158 commits

Author SHA1 Message Date
Philip Homburg
9484279e5a Added sys_getirqactids, pci_init1, pci_rescan_bus, and pci_attr_w8. 2006-01-12 14:33:29 +00:00
Philip Homburg
988493b2e2 Added caching bits 2006-01-12 14:32:42 +00:00
Philip Homburg
ce7b2f64c5 Fixed bug in VLAN support. 2006-01-12 14:31:06 +00:00
Ben Gras
a9dd9784d1 Added truncate(1) manpage; added comment about holes in du; removed
minix-vmd specificness of F_FREESP as minix now implements it too.
2006-01-11 17:18:53 +00:00
Ben Gras
50b06261b6 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().
2006-01-11 17:14:51 +00:00
Ben Gras
d9827f56ba Fixes for #defines growing a _ 2006-01-06 16:49:58 +00:00
Ben Gras
ebca3a434c LICENSE taken from website instead of old PH license. 2006-01-05 16:58:38 +00:00
Ben Gras
f6a3259ef8 Ported bsd truncate(1) 2005-12-23 16:36:00 +00:00
Ben Gras
cccd4e01c5 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.
2005-12-20 14:38:14 +00:00
Ben Gras
6a911b5284 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().)
2005-12-20 14:23:44 +00:00
Ben Gras
ffe192724e Added truncate() and ftruncate() library calls (no FS support yet).
Added ELOOP message to errlist.
2005-12-20 14:18:16 +00:00
Ben Gras
fbc190e562 Added truncate and ftruncate() prototypes and call numbers (prematurely)
Added symlink-related prototypes
2005-12-20 14:17:05 +00:00
Ben Gras
743bdb038e Backout of symlink patches. 2005-12-19 10:45:50 +00:00
Ben Gras
eb1919722d Priority explicitization. 2005-12-14 12:08:49 +00:00
Ben Gras
f6e5052597 seteuid() and setegid() 2005-12-13 09:48:29 +00:00
Ben Gras
f18384d54c Make easypack remove tar after it's finished; and check for root, in
which case don't check for writability of source dir
2005-12-12 14:07:03 +00:00
Ben Gras
0a4047a8fe added -u flag to id for easypack 2005-12-12 13:55:58 +00:00
Ben Gras
d3ee328792 Hack for make libraries 2005-12-12 13:50:13 +00:00
Ben Gras
2f23951221 SIGSTOP can't be masked (report by Jaap Weel). 2005-12-12 13:11:22 +00:00
Ben Gras
32d5141935 Added prototype for getsockopt(). 2005-12-12 10:40:29 +00:00
Philip Homburg
9d8b27a2b1 Support for starting ethernet driver after inet has been started 2005-12-09 13:25:30 +00:00
Philip Homburg
e0634c0b47 Mark ethernet fd nonblocking to avoid waiting for an ethernet address 2005-12-09 13:21:58 +00:00
Philip Homburg
222fddd73a Added PCI driver 2005-12-02 14:47:20 +00:00
Philip Homburg
eec836014a PCI support in a separate driver 2005-12-02 14:45:38 +00:00
Philip Homburg
24cf667abb PCI support in a separate driver. 2005-12-02 14:45:10 +00:00
Philip Homburg
3dd0a97049 Stubs for accessing the PCI driver 2005-12-02 14:41:46 +00:00
Philip Homburg
b3cd15b01b Separate pci driver 2005-12-02 14:40:51 +00:00
Jorrit Herder
2aac756e76 New up() functions in rc scripts. 2005-11-28 15:39:01 +00:00
Ben Gras
7c1b2ef659 typedef dns_hdr_t HEADER;
for applications
2005-11-17 01:29:08 +00:00
Ben Gras
cbea840414 Define
IPPORT_RESERVED as 1024
for applications
2005-11-17 01:23:46 +00:00
Ben Gras
e45c9f2741 Synonyms for helping porting applications. 2005-11-17 01:23:33 +00:00
Ben Gras
348e18d474 Added del_route suggested by mij@bitchx.it. 2005-11-17 00:05:37 +00:00
Ben Gras
f08d6365be add_routes -> add_route in SEE ALSO 2005-11-16 23:52:56 +00:00
Ben Gras
4b59679ebb Add /usr/spool/mail 2005-11-16 13:49:13 +00:00
Ben Gras
9dea6e96bc Updated constant names 2005-11-15 12:12:00 +00:00
Ben Gras
dd99ee67e0 Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
so as to not pollute application namespace.
2005-11-14 18:41:27 +00:00
Ben Gras
549e0bb855 Include X in path 2005-11-14 18:40:36 +00:00
Ben Gras
267c01b493 out-of-date comment fixed 2005-11-14 16:35:32 +00:00
Ben Gras
2ea0f4491d '.' fix for troff 2005-11-14 16:21:33 +00:00
Ben Gras
f9c1f3172d getloadavg 2005-11-14 15:58:07 +00:00
Ben Gras
1266ebcc93 last.c displays load average for uptime(1) 2005-11-14 15:51:28 +00:00
Ben Gras
87f2236ad2 load average measurement implementation, accessable through
getloadavg() system call in the library.
2005-11-14 15:50:46 +00:00
Ben Gras
aabef59faa getloadvg(3) manpage 2005-11-14 15:48:43 +00:00
Ben Gras
282e2f8e78 getloadavg() interface 2005-11-14 15:48:12 +00:00
Philip Homburg
a894f5842f Larger raw keyboard/kbdaux buffer 2005-11-10 15:41:25 +00:00
Philip Homburg
f6bc0beb6f Less debug output 2005-11-10 15:40:36 +00:00
Philip Homburg
233c092280 Resurrected sys_eniop. 2005-11-09 17:14:14 +00:00
Philip Homburg
b85736bd7b Grant tty permission to use SYS_VM_MAP and SYS_IOPENABLE. 2005-11-09 15:48:41 +00:00
Philip Homburg
b3cf63b890 Added /dev/video. /dev/kbd and /dev/kbdaux are renumbered. 2005-11-09 15:46:15 +00:00
Philip Homburg
5556281540 Added /dev/video for mapping video memory. 2005-11-09 15:45:48 +00:00