Arun Thomas
bcaf746508
Import strsep() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:41:31 +00:00
Arun Thomas
652618e458
shquote() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:32:57 +00:00
Arun Thomas
1cee6fe95e
Import asprintf() and vasprintf()
...
Ported from libnbcompat by Gautam Tirumala
2010-07-11 13:46:58 +00:00
Ben Gras
68db8ed0b9
lib: fixes for warnings that clang has for libraries.
2010-07-06 12:08:22 +00:00
Erik van der Kouwe
37325bd7c5
Make service ABI backwards compatible again
2010-07-03 05:02:59 +00:00
Erik van der Kouwe
b5ae3961bb
Fix unintended changes in r7614
2010-07-01 11:56:02 +00:00
Erik van der Kouwe
23284ee7bd
User-space scheduling for system processes
2010-07-01 08:32:33 +00:00
Ben Gras
098412be83
small fixes for pkgsrc by Buccapatnam Tirumala, Gautam.
2010-06-30 12:18:34 +00:00
Cristiano Giuffrida
180358ffb4
Give RS a page table.
2010-06-28 22:07:49 +00:00
Cristiano Giuffrida
06700d05d1
Give RS a page table.
2010-06-28 21:53:37 +00:00
Ben Gras
8379b08845
library function to retrieve kernel proc table and sanity check it
2010-06-28 11:05:15 +00:00
Ben Gras
01b5238d50
getsubopt: use regular assert()s
2010-06-26 02:37:17 +00:00
Ben Gras
aa6ff4c8be
lib: setprogname() + getsubopt()
2010-06-26 00:44:24 +00:00
Arun Thomas
c0c8d25799
Rename mkfiles from minix.*.mk to bsd.*.mk
...
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00
Ben Gras
45e4cce8c2
libc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam.
2010-06-23 23:51:29 +00:00
Erik van der Kouwe
50539c12f5
Remove obsolete mstats call
2010-06-23 10:43:08 +00:00
Ben Gras
24a5f48921
lib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 22:04:43 +00:00
Ben Gras
ddc3f62290
strptime() for minix.
2010-06-22 21:42:49 +00:00
Ben Gras
08f731bae0
original strptime.
2010-06-22 21:41:56 +00:00
Ben Gras
08e4312998
forget netbsd strptime.
2010-06-22 21:41:20 +00:00
Ben Gras
c7050eea55
original netbsd strptime
2010-06-22 21:37:54 +00:00
Ben Gras
81056ac999
stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 16:22:17 +00:00
Ben Gras
82dee9dbc3
add LC_MESSAGES
2010-06-22 09:31:16 +00:00
Ben Gras
6c0fcd575e
lib: getproname: only return last path component
2010-06-20 00:24:35 +00:00
Ben Gras
f60593cc35
libraries: fgetln() from pkgsrc branch.
2010-06-18 14:02:00 +00:00
Arun Thomas
042b5bf606
We have sys/cdefs.h now, so remove hacks.
2010-06-17 15:14:57 +00:00
Arun Thomas
1b2c01db1b
Makefile updates:
...
Turn on optimization
Remove some redundancy in FLAGS
2010-06-11 16:05:36 +00:00
Arun Thomas
f0a158d8c1
More cleanup to remove MM and FS references
2010-06-10 14:04:46 +00:00
David van Moolenbroek
2758519ed2
Change default hostname resolution order
...
Hostnames that contain at least one period, are now first attempted
to be resolved as FQDNs, before adding local domains is tried.
2010-06-10 11:14:36 +00:00
Ben Gras
1ce7983ee3
lib: declarations that needed ANSIfication since prototypes are declared
2010-06-09 13:01:11 +00:00
Ben Gras
ba9990cc00
libc: minor minix changes for new netbsd files
2010-06-09 12:09:39 +00:00
Ben Gras
60d52d68da
libc: add original netbsd files
2010-06-09 12:08:32 +00:00
Tomas Hruby
1207fcc6f0
int to endpoint_t conversions in mmap
2010-06-09 09:14:53 +00:00
Ben Gras
cccfe8e0ce
lib: move tzfile.h from lib/libc/stdtime/ to include/ for general usage.
2010-06-08 19:11:42 +00:00
Arun Thomas
4c10a31440
Remove legacy MM, FS, and FS_PROC_NR macros
2010-06-08 13:58:01 +00:00
Kees van Reeuwijk
36e12d5bd8
Use endpoint_t for the destination of mini_send and _syscall, and the
...
source of mini_receive.
Also some small cleanup.
2010-06-02 21:51:32 +00:00
Erik van der Kouwe
8bca982581
Remove those annoying $Id and $Revision tags
2010-05-31 20:00:08 +00:00
Erik van der Kouwe
1f11a57141
Oops, last commit included more than was intended
2010-05-20 08:07:47 +00:00
Erik van der Kouwe
5f15ec05b2
More system processes, this was not enough for the release script to run on some configurations
2010-05-20 08:05:07 +00:00
Erik van der Kouwe
77d5243f4a
More sensible description for EPERM from http://www.opengroup.org/onlinepubs/000095399/basedefs/errno.h.html
2010-05-19 11:51:49 +00:00
David van Moolenbroek
9ba65d2ea8
This patch switches the MINIX3 ethernet driver stack from a port-based
...
model to an instance-based model. Each ethernet driver instance is now
responsible for exactly one network interface card. The port field in
/etc/inet.conf now acts as an instance field instead.
This patch also updates the data link protocol. This update:
- eliminates the concept of ports entirely;
- eliminates DL_GETNAME entirely;
- standardizes on using m_source for IPC and DL_ENDPT for safecopies;
- removes error codes from TASK/STAT replies, as they were unused;
- removes a number of other old or unused fields;
- names and renames a few other fields.
All ethernet drivers have been changed to:
- conform to the new protocol, and exactly that;
- take on an instance number based on a given "instance" argument;
- skip that number of PCI devices in probe iterations;
- use config tables and environment variables based on that number;
- no longer be limited to a predefined maximum of cards in any way;
- get rid of any leftover non-safecopy support and other ancient junk;
- have a correct banner protocol figure, or none at all.
Other changes:
* Inet.conf is now taken to be line-based, and supports #-comments.
No existing installations are expected to be affected by this.
* A new, select-based asynchio library replaces the old one.
Kindly contributed by Kees J. Bot.
* Inet now supports use of select() on IP devices.
Combined, the last two changes together speed up dhcpd
considerably in the presence of multiple interfaces.
* A small bug has been fixed in nonamed.
2010-05-17 22:22:53 +00:00
Erik van der Kouwe
7570df267f
Full 64-bit multitplication and division added to u64 library
2010-05-17 16:44:26 +00:00
Arun Thomas
5706670029
Convert boot/ and commands/ over to bsdmake
2010-05-12 16:28:54 +00:00
Tomas Hruby
6e25ad8b0a
Use of all NIL_* defines converted to NULL
2010-05-10 13:26:00 +00:00
Kees van Reeuwijk
51d46f8e46
Let memory allocation be aligned on 8-byte boundaries.
2010-05-04 21:02:44 +00:00
Ben Gras
ca86603cd6
libc: malloc: don't enable SLOWDEBUG by default
2010-05-03 22:54:51 +00:00
Erik van der Kouwe
1137ba9b32
Extra assertions on free if SLOWDEBUG is enabled: check whether the block exists and has not been freed before
2010-05-03 19:42:08 +00:00
Kees van Reeuwijk
cfd28b671a
Put the munmap and munmap_text trampolines in a separate .S file, so that they can be overridden independenly of mmap.
2010-04-29 20:12:56 +00:00
Ben Gras
99a13341bd
cpufeature() - rename _SSEx and correct logic in cpufeature() in lib
2010-04-29 19:08:49 +00:00
Erik van der Kouwe
8e918c407a
Enable malloc assertions
2010-04-28 08:34:19 +00:00